You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[ci] pr-intake.yml leaves manually-opened PRs with no linked issue completely unlabeled #343
Found repeatedly this session: PRs opened directly (not via the issue → dev-agent pipeline, and not referencing an issue with `Closes #N`) get zero `risk:`/`status:` label, ever. `pr-intake.yml`'s classify-and-label step requires a resolvable linked issue (`resolve_linked_issue.sh`) before it will run `classify_pr_risk.py` at all — a PR with no linked issue exits early with "not a pipeline PR, nothing to do."
This is a distinct failure mode from issue #223 (which was about authorship — a human-opened PR with no App-token identity). This one is about the issue link precondition specifically, and it means:
No automated `risk:high`/`risk:low` signal, ever, for these PRs.
`principal-review.yml` never fires either (it triggers on `status:needs-review`, which nothing ever applies).
Give `pr-intake.yml` a fallback path for PRs with no resolvable linked issue: still run `classify_pr_risk.py` and apply the resulting `risk:*` label (and probably `status:needs-review` or `status:needs-qa` too, so the rest of the pipeline actually picks it up), rather than exiting early. The "no linked issue" case should degrade to "treat it like any other manually-opened PR," not "skip labeling entirely."
Not urgent — the current workaround (a human/session manually classifies and labels) works fine — but worth fixing so this stops being a recurring manual step.
Activity