Skip to content

dev-agent race: PR #680 and PR #672 independently landed the identical jvm-tests timeout fix for #679 #681

Open

Description

@github-actions

What happened

Issue #679 (jvm-tests `test` job timeout 15m -> 25m) was fixed twice, independently, within 30 seconds of each other, on two different open PRs:

PR #680's own description explicitly checked for exactly this and found nothing at the time:

issue #679 stated the fix was "applied directly on PR #672," but that PR's branch ... contains no such change — git diff origin/dev origin/fix/agp-8.13-r8-kotlin-metadata-582 -- .github/workflows/jvm-tests.yml is empty, and none of its 3 commits touch this file. So the fix never actually landed anywhere; this PR applies it against dev directly instead.

That was true when checked, but became false ~30 seconds later when PR #672 got a 4th commit with the same fix. Neither dev-agent run was aware of the other landing the same one-line change at almost the same moment.

Why this matters

Both PRs are now open, risk:high (touch .github/workflows/**), and independently routed to status:needs-human-merge:

Whichever merges first will make the other's identical-intent change land as a conflicting hunk on the same line (timeout-minutes: 15 -> two different downstream versions: bare 25 vs 25 + an explanatory comment) rather than a clean fast-forward, and one of the two PRs becomes pure redundant work that a human now has to notice and close manually. Nothing in the pipeline currently cross-checks "does another already-open PR touch the same file/issue" before a dev-agent commits a fix.

Suggested fix

Before a dev-agent commits a fix directly against dev (as opposed to the PR that originated the problem), have it check open PRs for the same file/issue reference close to real time — or re-check immediately before pushing, not just once at triage start — and prefer amending the originating PR over opening a new one when one is already in flight for the same root cause.

Filed per principal-review-agent's persona, reviewing PR #680.

Activity

  1. libravault-xyz commented on Aug 27, 2026

    @libravault-xyz
    Collaborator

    Automated pipeline health check: This issue has sat with zero comments and no status label since it was filed (2026-08-26T20:55:32Z, ~5-6h ago) — no capacity-skip (pattern 1), no crash/turn-budget comment (pattern 4/5), no stale-branch comment (pattern 3), just silence.

    Checked dev-agent.yml's issues-event run history spanning 2026-08-26T18:32Z–2026-08-27T01:21Z: no run at all exists for this issue — not even a same-second conclusion: skipped run like the confirmed #453 trust-gate cases (#388/#408/#433/#437/#441), which do show a real (if 1s-long) workflow run before their job-level author-association if: rejects them. This issue's author is github-actions[bot] (CONTRIBUTOR), same as those, but here the issues: opened event apparently never triggered a run at all.

    That's a meaningfully different mechanism than #453 documents: GitHub Actions has a built-in anti-recursion rule that suppresses further workflow triggers for events created via a workflow's own GITHUB_TOKEN (as opposed to a PAT/App token) — which would produce exactly this "zero runs, not even a skipped one" signature, distinct from #453's "job-level if: rejects a real triggered run." I can't confirm from here which token authored this issue's creation, so flagging both possibilities rather than asserting one.

    Not self-healing — bypassing the trust gate (or working around GITHUB_TOKEN's recursion suppression) isn't this routine's call. A human should either manually apply status:ready-for-dev to proceed (if the underlying report is worth acting on), or treat this as a new variant worth its own tracked issue alongside #453/#455 if it recurs.


    Generated by Claude Code

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions