Repository navigation
[ci-failure-sweep] Fix red CI: CI / Check / Clippy / Test / Await the test build and nextest shards - #9784
Merged
Conversation
[ci-failure-sweep] Fix red CI: CI / Check / Clippy / Test / Await the test build and nextest shards Fixed flaky CI failure in Test partition 12: orbit-web::http_api events::change_stream_notices_other_process_writes_and_resumes_after_reconnect failed at events.rs:163 with run notice task_id null vs expected task id (CI run 43798882679, job 133075754041, checked-out e4e6ef1). Root cause: test helper drain_run seeded the run with input None via seed_run/save_run, then saved again with task_id; a 75ms change-stream scan between the two saves emitted a run notice with task_id null, which await_notice matched. Fix: drain_run now builds the JobRun with input set and saves once. Culprit: helper introduced in e66ecc6 [ORB-19621]; failing head e4e6ef1 [ORB-25187] only touched dashboard JS and is a bystander. Regression: nature=defect_in_new, escape=nondeterministic, severity=low. Validation: cargo nextest run -p orbit-web --test http_api events::change_stream_notices_other_process_writes_and_resumes_after_reconnect passed before-fix once (flake, non-deterministic) and passed after fix; make ci-guards passed; cargo fmt --all -- --check passed; clippy -p orbit-web --lib --bins and --all-targets passed; cargo doc -p orbit-web passed; git diff --check clean. Pipeline final_validation commands: not_run (pipeline final validation). Diff: crates/orbit-web/tests/http_api/events.rs only. Orbit-Task: ORB-25210 Fixes: e66ecc6 ("feat: Dashboard change stream: push workspace change events over SSE so… [ORB-19621] (#6829)") Regression-From: ORB-19621 Regression: defect_in_new; escape=nondeterministic; severity=low
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.
Task
ORB-25210 — [ci-failure-sweep] Fix red CI: CI / Check / Clippy / Test / Await the test build and nextest shards
Description
This task was filed automatically from a host-side sweep of this repository's GitHub Actions runs. Every CI query ran on the host before this task existed, so the evidence below is the authoritative record for the named run and job. Where the granted read-only
github.run.logs/github.run.viewtools are available, they may be used to read more of that run or job.Failure
CICheck / Clippy / TestAwait the test build and nextest shardse4e6ef11bbe76f0ddc02caa9d85802bcc0c62dc7linux(runner labelsubuntu-latest); taggedos:linuxso only a host of that OS admits itorbit-dependency-evidence:{"dependencies": [{"conclusion": "failure", "job_id": <n>, "job_name": "test partition <n>", "status": "completed", "step": null}], "execution_contract": "isolated-source-v1"…constellation-works/orbitagent-mainRuns exhibiting this failure
Three commits are routinely conflated and are kept apart here: the SHA the workflow event reported, the SHA the ref points at now, and the commit the runner actually checked out. A pull-request merge SHA is not a pull-request head SHA.
43798882679(push onagent-main) — statuscompleted, conclusionfailuree4e6ef11bbe76f0ddc02caa9d85802bcc0c62dc7e4e6ef11bbe76f0ddc02caa9d85802bcc0c62dc7e4e6ef11bbe76f0ddc02caa9d85802bcc0c62dc7* branch e4e6ef11bbe76f0ddc02caa9d85802bcc0c62dc7 -> FETCH_HEAD##[group]Checking out the ref[command]/usr/bin/git checkout --progress --force e4e6ef11bbe76f0ddc02caa9d85802bcc0c62dc7Check / Clippy / Test(id133074607505): https://github.com/constellation-works/orbit/actions/runs/43798882679/job/133074607505Await the test build and nextest shardsFailed-step log excerpt
The collection display was truncated. Selected evidence is used for diagnosis; its retention limits are independent of that display.
The run-scoped failed-step log came back empty, so this excerpt is the evidence from job
Check / Clippy / Test(id133074607505), read from the job log API.Stale or superseded runs of this workflow
These are already excluded from the failure above. They are listed so the repair is not attributed to a run that no longer reflects the current head.
CIrun https://github.com/constellation-works/orbit/actions/runs/43798791702 — superseded_by_newer_workflow_run: newer relevant run 43798882679 at 2026-11-16T03:33:23Z is completed with conclusion failureCIrun https://github.com/constellation-works/orbit/actions/runs/43790820913 — superseded_by_newer_workflow_run: newer relevant run 43798451062 at 2026-11-16T03:29:05Z is completed with conclusion successCIrun https://github.com/constellation-works/orbit/actions/runs/43788544649 — superseded_by_newer_workflow_run: newer relevant run 43798451062 at 2026-11-16T03:29:05Z is completed with conclusion successCIrun https://github.com/constellation-works/orbit/actions/runs/43787767183 — superseded_by_newer_workflow_run: newer relevant run 43798451062 at 2026-11-16T03:29:05Z is completed with conclusion successCIrun https://github.com/constellation-works/orbit/actions/runs/43787473018 — superseded_by_newer_workflow_run: newer relevant run 43798451062 at 2026-11-16T03:29:05Z is completed with conclusion successCIrun https://github.com/constellation-works/orbit/actions/runs/43787245572 — superseded_by_newer_workflow_run: newer relevant run 43798451062 at 2026-11-16T03:29:05Z is completed with conclusion successCollection bounds
Reported so "no more failures" is never mistaken for "we stopped looking".
{ "refs_scanned": 3, "runs_listed": 100, "max_runs": 100, "pull_requests_scanned": 2, "max_pull_requests": 10, "current_failures_discovered": 2, "current_failures_investigation_attempted": 3, "current_failures_investigated": 2, "inconclusive": 0, "log_max_bytes": 16384, "job_log_reads": 2, "max_job_log_reads": 6, "checkout_log_reads": 1, "max_checkout_log_reads": 3, "retired_refs": [], "closed_pull_request_refs": [], "cancellation_annotation_reads": 0, "max_cancellation_annotation_reads": 12, "unverified_refs": [], "max_retired_ref_probes": 20, "investigation_cursor": 498555, "pending_supersession_window_minutes": 30, "notes": [ "repository-wide workflow runs were listed at the cap (100); a workflow whose latest run is older than the newest 100 runs in this repository may be absent entirely", "2 current failure(s) are held in pending_supersession because a newer push run of the same workflow on the same branch is still running at a descendant commit and the failure has not reproduced on a previous completed run; each is filed once it reproduces or after 30 minutes" ] }How to finish
Reproduce the failure at the current repository head using the exact command or the narrowest faithful local equivalent, fix the repository-owned cause, and rerun that command. Do not disable a workflow, weaken an assertion or lint level, add a broad allow rule, or mark a failing gate non-blocking. Then run the repository's documented pre-handoff gate. Verification happens on this task's own pull request: CI runs there normally, and if the failure is still current the next sweep will see it again.
Attribute the regression
Identify the task whose landed change introduced this failure and record it on this task. Start from the commit the runner checked out and walk back to the newest commit at which the failing command last passed; the commit that broke it is the culprit. The commit the runner checked out is often a later bystander, not the culprit. Read the task ID from the culprit commit — squash-merge subjects carry it as
[<task-id>]— and confirm from that commit's diff that its change is the one at fault, not a later commit that merely touched the same file. Then set the relation withorbit tool run orbit.task.update --input '{"id":"<this task ID>","relations":[<existing relations from orbit.task.show>,{"type":"regression_from","target":"<culprit task ID>","regression":{"nature":"<nature>","escape":"<escape>","severity":"<severity>"}}]}'—relationsreplaces the whole list, so carry the existing entries forward. In claimed execution, whereorbit.task.updateis unavailable, return"regression_from":["<culprit task ID>"]in your output instead and name the culprit commit, nature, escape and severity in the execution summary; the owner checks the target and records the relation when it accepts the handoff. When the culprit commit carries no task ID, or the failure is infrastructure rather than repository-owned, record that conclusion and its evidence in the execution summary instead of blaming a bystander task.Choose
unclassifiedrather than guess.natureis what kind of regression the link records:broke_existing: the culprit broke behavior that worked before it landed.defect_in_new: the defect is in code the culprit itself introduced.incomplete: the culprit shipped without part of what its task required.merge_reintroduced: a merge restored code or assets an earlier change had removed.contract_drift: docs, schemas or a contract drifted from the behavior the culprit shipped.unclassified: the evidence does not settle the nature.escapeis why the delivery gates missed it:no_test: no test covered the broken behavior.test_not_selected: a covering test existed but the delivery's gates did not run it.platform_only: it shows only on a platform or host the gates did not exercise.review_missed: it was visible in the diff and review did not flag it.spec_ambiguous: the task or spec left the expected behavior open to the shipped reading.nondeterministic: it depends on timing, ordering or environment and passed when gated.unclassified: the evidence does not settle the escape.severityis how much the defect matters, on the one scale findings and regression links share; a new link without it is refused. Rate the worst real impact the evidence shows, not the size of the fix, and take the lower level when torn:critical: data loss or corruption, a security hole, every drain halted, or silently wrong results (a migration drops task history).high: a core workflow broken with no workaround (everyuidelivery fails at handoff).medium: a feature broken or wrong in a real path, with a workaround (--jsondrops a field the plain output shows).low: an edge case, a misleading message or a minor UX defect (an error names the wrong flag).nit: wording or doc drift, cosmetic, no behavior impact (a stale sentence in a reference doc).Acceptance Criteria
CIfailure recorded below is fixed in this repository; the workflow, assertion, or lint level is not disabled, weakened, or made non-blocking to obtain green.regression_fromrelation, or, in claimed execution, returned in the implementer output'sregression_fromfield for the owner to record when it accepts the handoff, with the culprit commit named in the execution summary. Otherwise the execution summary states why no task can be held responsible (no task ID on the culprit commit, or the failure is infrastructure rather than repository-owned).Execution Summary
Click to expand
Fixed flaky CI failure in Test partition 12: orbit-web::http_api events::change_stream_notices_other_process_writes_and_resumes_after_reconnect failed at events.rs:163 with run notice task_id null vs expected task id (CI run 43798882679, job 133075754041, checked-out e4e6ef1). Root cause: test helper drain_run seeded the run with input None via seed_run/save_run, then saved again with task_id; a 75ms change-stream scan between the two saves emitted a run notice with task_id null, which await_notice matched. Fix: drain_run now builds the JobRun with input set and saves once. Culprit: helper introduced in e66ecc6 [ORB-19621]; failing head e4e6ef1 [ORB-25187] only touched dashboard JS and is a bystander. Regression: nature=defect_in_new, escape=nondeterministic, severity=low. Validation: cargo nextest run -p orbit-web --test http_api events::change_stream_notices_other_process_writes_and_resumes_after_reconnect passed before-fix once (flake, non-deterministic) and passed after fix; make ci-guards passed; cargo fmt --all -- --check passed; clippy -p orbit-web --lib --bins and --all-targets passed; cargo doc -p orbit-web passed; git diff --check clean. Pipeline final_validation commands: not_run (pipeline final validation). Diff: crates/orbit-web/tests/http_api/events.rs only.
Validation
Branch Freshness
refs/remotes/origin/agent-mainorbit/ORB-25210-52ee1075