Skip to content

[ci] pr-intake.yml leaves manually-opened PRs with no linked issue completely unlabeled #343

Closed

Description

@libravault-xyz

Context

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:

Ask

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

  1. added
    enhancement
    on Aug 20, 2026
  2. added
    status:ready-for-dev
    status:in-progress
    on Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementstatus:in-progressstatus:ready-for-dev

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions