Skip to content

ci: emit typed early failure diagnostics - #817

Merged
GraciousGazelles merged 4 commits into
mainfrom
worker/w13762-early-ci-diagnostic-20260907
Sep 7, 2026
Merged

GraciousGazelles merged 4 commits into
mainfrom
worker/w13762-early-ci-diagnostic-20260907

Conversation

@GraciousGazelles

Copy link
Copy Markdown
Collaborator

Adds a bounded ci-diagnostic-v1 producer for Rust compiler, Clippy, rustfmt, and planner evidence. It preserves the existing ci-proof-v1 lane summary contract, projects only typed diagnostic fields into aggregation, and records missing/cancelled lane states without raw logs, commands, secrets, or absolute paths. rust-ci-full captures rustfmt and full-Clippy failures immediately after their commands, uploads typed artifacts, and preserves the original command exit status. Hosted fixture coverage runs in the existing full Rust general job.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 7, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review ✅ Completed 2026-09-07T13:50:18.548503Z 7e49523 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@gemini-code-assist gemini-code-assist 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.

Code Review

This pull request introduces a typed early-failure diagnostic system (ci-diagnostic-v1) for CI workflows, adding a new write_failure_diagnostic.py script, a test suite, and integrating diagnostic aggregation into aggregate_validation_summary.py and write_lane_summary.py. The review feedback correctly identifies a critical bug in write_failure_diagnostic.py where args.structured_input and args.log_file are checked directly for truthiness despite being Path objects; because empty Path objects are truthy, this leads to unintended directory-reading attempts and incorrect error classifications.

@GraciousGazelles
GraciousGazelles added this pull request to the merge queue Sep 7, 2026
Merged via the queue into main with commit 7a88607 Sep 7, 2026
117 of 120 checks passed
@GraciousGazelles
GraciousGazelles deleted the worker/w13762-early-ci-diagnostic-20260907 branch September 7, 2026 14:50
sedna-release-publisher Bot pushed a commit that referenced this pull request Sep 15, 2026
* ci: emit typed early failure diagnostics

* ci: repair typed diagnostic input handling

* ci: preserve explicit diagnostic identities

* ci: allowlist diagnostic artifact filenames
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.

2 participants