Skip to content

fix(ci): stop label events from cancelling net-new PR reviews#209

Merged
joryirving merged 1 commit into
mainfrom
fix/label-concurrency-net-new-prs
Jun 13, 2026
Merged

fix(ci): stop label events from cancelling net-new PR reviews#209
joryirving merged 1 commit into
mainfrom
fix/label-concurrency-net-new-prs

Conversation

@joryirving

Copy link
Copy Markdown
Collaborator

Companion to the v1.2.9 label rollout: labeled events shared the concurrency group with cancel-in-progress: true, so an auto-applied label at PR creation could cancel the in-flight opened review and leave the PR unreviewed (root-caused on home-ops#7507, fixed there in joryirving/home-ops#7512). This isolates labeled events into their own concurrency group. No action change. A non-ai-review label add still spins a run, but the action's precheck no-ops it (no model call) and it reports success.

🤖 Generated with Claude Code

Auto-applied labels at PR creation no longer cancel the in-flight opened
review (companion to home-ops#7512 / the v1.2.9 label rollout).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@joryirving joryirving merged commit a72cdcf into main Jun 13, 2026
4 checks passed
@joryirving joryirving deleted the fix/label-concurrency-net-new-prs branch June 13, 2026 18:52

@its-saffron its-saffron Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI Automated Review

Full PR review.

Analysis engine: dsv4f@https://litellm.jory.dev/v1 (openai) — fallback (primary failed)

Recommendation

Approve. This is a targeted CI fix that prevents auto-applied labels from cancelling the initial PR review. The change is correct, well-documented, and passes all CI checks.

Change-by-Change Findings

Modified: .github/workflows/ai-pr-review.yaml (+3, -1)

  • Change: Appends a label-specific suffix (-label-{run_id}) to the concurrency group key when the triggering event is labeled. This isolates label events from the opened/synchronize group, so an auto-applied label (e.g., from Renovate) cannot cancel an in-flight opened review. cancel-in-progress: true remains for all events, which is correct—only the intended cancellation scope is narrowed.
  • Rationale: The PR body explains the root cause (tracked in home-ops#7507, fixed in home-ops#7512) and the fix aligns with the pattern established in the author's other repository.

Source Verification

The PR body references the upstream root cause and fix. No linked issues in this repository. The logic is self-explanatory from the diff and comment.

Standards Compliance

This change only affects a CI workflow definition. No application code, Godot scenes, or game logic are modified. The repository standards (AGENTS.md) focus on game product direction and UI conventions; none are applicable to this CI change.

Linked Issue Fit

No linked issue was found in the PR body. The change is a direct fix for a CI concurrency problem and does not correspond to a feature or bug ticket in this repository.

Evidence Provider Findings

No evidence providers were configured for this review.

Tool Harness Findings

The tool harness performed no requests (0 planned rounds). No issues detected.

CI Check Results

All three CI checks completed successfully:

  • Headless smoke test: success
  • Script test suite: success
  • macOS validation: success

Unknowns or Needs Verification

None. The change is minimal, isolated, and the intended behavior is clear from the diff and comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant