Repository navigation
ci: attribute dequeue failures against main - #37277
Merged
Merged
Conversation
pmbrull
requested review from
a team,
akash-jain-10,
harshach and
tutte
as code owners
November 6, 2026 13:48
Manual queue removals do not diagnose a failure. Return before publishing event outputs so the dequeue reporter sends neither a PR comment nor a Slack alert.
Code Review ✅ Approved🟡 Medium risk · Comparing Java failure evidence against main in dequeue reports could misattribute failures and mislead CI triage if evidence is mismatched. Adds CI dequeue attribution that classifies dequeued Java test failures against executed main-base evidence as Also failing on main, Possible PR/merge-group regression, or Unknown, with evidence recorded by a new composite action. No issues found. VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
5 tasks done
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.
Describe your changes:
Internal CI tooling. No linked issue;
skip-pr-checksexempts PR metadata validation.Classify dequeued Java test failures as Also failing on main, Possible PR/merge-group regression, or Unknown using executed test evidence from the exact main base. Attribution names render separately for GitHub Markdown and Slack mrkdwn.
Ports Collate PR #8342, adapted to OSS's service and operator unit tests and all three Java integration profiles and their lanes.
The dequeue reporter ignores manual removals, so it posts neither a PR comment nor a Slack alert.
Type of change:
High-level design:
An optional composite action records test outcomes, failure fingerprints, source and base revisions, suite, and runner details. Integration suites include the profile and lane. The dequeue reporter compares only the same workflow and displayed job against an executed push or manual run at that base, with matching suite and runner.
Job conclusions alone do not establish whether the same tests failed. Missing, skipped, expired, incompatible, or conflicting evidence stays Unknown. The reporter does not launch baseline reruns. Artifacts retain seven days of evidence and the reader caps archives and JSON entries at 16 MiB.
The privileged report checks out trusted base code and reads evidence as data. Existing Playwright failure details and conflict explanations remain in their current destinations. OSS uses one checkout, so the port omits Collate's independent submodule revisions.
Decision: Dequeue attribution requires comparable test evidence.
Tests:
Use cases covered
Unit tests
python3 -m unittest discover -s .github/scripts -p test_merge_queue_evidence.py -v: 26 passed.actionlintpassed for all six changed workflows.Backend integration tests
Not applicable: no backend code or API changes.
make java_affected ARGS='--scope focused'selected no tests.python3 .github/scripts/plan_local_java_tests.py --check-branchpassed.Ingestion integration tests
Not applicable: no ingestion changes. Full Maven and ingestion suites were not run.
Playwright (UI) tests
No UI code changed.
make playwright_affectedcould not complete dependency expansion because this fresh worktree lacks@playwright/test. No UI tests were run.Manual testing performed
manualandMANUALpublish no reporting outputs; failed-check and conflict variants preserve reason, SHA, and timestamp. Both PR-comment and Slack steps stay gated. The check failed before this change in this repo. Workflow lint and the 26 attribution tests also passed.41673751087.python3 scripts/harness/check_decision_records.py: passed.UI screen recording:
Not applicable: CI reporting only.
Checklist:
REVIEW.md: reviewed07f4f2c8da; fresh follow-up review found no unanswered Important defects, with prior evidence retained for unchanged attribution code.