Link branch views to their GitHub PRs - #311
Open
srid wants to merge 3 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Branch and job pages now show a direct GitHub PR link when the branch has one. Vira derives the GitHub repository from the configured clone URL, asks
gh pr listfor a matching head branch, and renders a compact external PR button beside the existing page actions.The lookup keeps the no-PR, unsupported-repo, and failed-lookup states separate. To avoid shelling out on every page load, branch PR lookups now go through a bounded in-process cache: entries live for 60 seconds, are keyed by clone URL plus branch, and are capped at 256 entries. Failed fresh lookups are logged; cached failures stay quiet.
This also records the project rule to never force push and never rebase in the APM source instructions, with generated agent files refreshed through
just apm.Verified
Try it locally
Generated by
/doon Codex (modelgpt-5).