r/SideProject • • Oct 27 '26

PR Redline: a Chrome extension that tints GitHub PRs red when they merge into main/production

On GitHub a PR into production looks exactly like one into staging. The base branch is a small grey label, and I've approved the wrong one more than once.

PR Redline is a Chrome extension that colours PR pages by their base branch:

  • Red for main/production by default, any colours for other branches (up to 8 groups)
  • Marks matching PRs on the repo's PR list
  • Sidebar lists the other open PRs into the same branches
  • New in 1.6.0: an "Agent prompt" drawer that copies a claude/codex/opencode command to update all those branches and resolve conflicts (it never merges)

It runs only on github.com, needs no token or account, and collects no data. It reads the PR list with your existing GitHub session.

Chrome Web Store: https://chromewebstore.google.com/detail/pr-redline-production-pr/bddnpilanolcofleogjnpceflakmpgea

Feedback welcome

1 Upvotes

11 comments sorted by

1

u/dawedev Oct 27 '26

The base branch being a tiny grey label is a real problem, I've seen that mistake happen too. Two things I'd want before installing: does it pick up repos where production is called something like release or prod-eu without setting it up per repo, and does the color config sync across machines through Chrome sync? For the agent prompt drawer, I'd show the full command in the drawer before copying it, since people will be careful with anything that touches several branches at once.

1

u/noir_cafe Oct 27 '26

Thanks, good questions.

  1. Branch lists are global, not per repo, so you set them once and they apply everywhere. Out of the box it's main, master, prod and production. Wildcards work, so adding prod-* and release* once covers prod-eu, release/1.2 and so on.
  2. Yes, settings are stored in Chrome sync, so your colours and branches follow your Chrome profile to other machines.
  3. Agreed, and that's how it works now: the drawer shows the exact command before you copy it, and copying is all it does. Nothing runs until you paste it into your own terminal. The prompt also tells the agent it may not merge, approve, close or retarget any PR.

1

u/dawedev Nov 02 '26

Global lists with wildcards is the right call, prod-* and release* covers most setups I've seen. Chrome sync and the copy-only drawer answer the other two. I'd put the "may not merge, approve, close or retarget" rule on the store listing too, careful people will look for exactly that before installing.

1

u/noir_cafe Oct 27 '26

Branch lists are global, so you set them once and they apply to every repo. A * matches anything, so prod-* covers prod-eu, prod-us and so on. Your comment made me realise prod-* should be there by default, so the next version (1.6.1) adds prod-* and production-* out of the box. "release" you'd add yourself, since a lot of teams use it as pre-prod.

Thank you for input!

2

u/dawedev Oct 28 '26

prod-* by default makes sense, and leaving release out is the right call for teams that use it as pre-prod. Thanks for shipping it so fast.

1

u/noir_cafe Oct 29 '26

np, thanks for checking 🎉 if you can - please leave a review, that will help to bring it to others :) thanks!

2

u/dawedev Oct 29 '26

Will do once I've run it on a few real PRs, I'd rather not review something I haven't used yet. Good luck with 1.6.1.

1

u/noir_cafe Oct 30 '26

ah, for sure, give it a spin :) my understanding was you already tried :) cheers!

1

u/dawedev Oct 30 '26

Not yet, I only went through the post. I'll install it this weekend and try it on a few PRs into main before I write anything.