Skip to content

Preserve divergence audit failures when report is absent - #673

Merged
GraciousGazelles merged 2 commits into
mainfrom
w12590-divergence-route-fix
Aug 23, 2026
Merged

GraciousGazelles merged 2 commits into
mainfrom
w12590-divergence-route-fix

Conversation

@GraciousGazelles

Copy link
Copy Markdown
Collaborator

Summary

  • avoid attempting to parse the divergence report when the audit exits before producing it
  • preserve the producer exit status and diagnostics
  • add a regression covering the missing-report failure contract

Validation

  • bash -n .github/scripts/validation-lanes/downstream-divergence-audit.sh
  • python3 -m py_compile .github/scripts/test_ci_planners.py
  • python3 .github/scripts/test_ci_planners.py ValidationLaneRunnerTests

No workflow dispatch, review, or merge-queue actions were performed.

@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 updates the downstream-divergence-audit.sh script to check for the existence of the audit report file before attempting to parse it, preventing a FileNotFoundError if the audit script fails before writing the report. Additionally, a new unit test is added to test_ci_planners.py to verify this behavior. There are no review comments, so no further feedback is provided.

@GraciousGazelles
GraciousGazelles marked this pull request as ready for review August 23, 2026 14:36
@GraciousGazelles
GraciousGazelles added this pull request to the merge queue Aug 23, 2026
Merged via the queue into main with commit 3eda3f2 Aug 23, 2026
85 checks passed
@GraciousGazelles
GraciousGazelles deleted the w12590-divergence-route-fix branch August 23, 2026 14:48
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