Repository navigation
Recheck the Preflight Status After the Reload Converges - #506
Conversation
The reload wait refreshed the preflight dump but kept the first status, so a reload that converged on an error passed the preflight. The refresh reads the status too, and a converged answer other than 200 fails. Also tidies three sentences in OPERATIONS.md and checks/README.md. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
A recorded local strict-review pass covers head |
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
There was a problem hiding this comment.
🟢 Approval recommended
All reviewed changes are addressed and no unresolved issues block approval.
No open issues 🎉
What changed in this PR
This pull request hardens release preflight validation by checking the HTTP status after reload convergence and clarifies related operational documentation.
Changes:
- Revalidates the reloaded preflight status and fails when it is not
200. - Adds regression coverage for reload convergence on an HTTP
503. - Corrects grammar and expands documentation of proxy behavior, followed destinations, and the
404probe.
| File | Description |
|---|---|
OPERATIONS.md |
Clarifies the proxy-verdict documentation. |
checks/tests/test_check_live_urls_sample.py |
Adds regression coverage for reload convergence on an HTTP error. |
checks/README.md |
Clarifies response coverage and documents the 404 probe. |
checks/check-live-urls.sh |
Rechecks the preflight status after reload convergence. |
Review effort: Lite
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #506 +/- ##
========================================
Coverage 49.70% 49.70%
========================================
Files 10 10
Lines 3058 3058
========================================
Hits 1520 1520
Misses 1538 1538
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Summary
Answers two findings the Copilot round on promotion #505 raised in its review body, with no thread of their own.
EXPECT_RELEASEwait refreshed the preflight dump but kept the first answer's status, so a reload that converged on an error passed the preflight. The refresh now reads the status the same way the first preflight does, and a converged answer other than200fails withFAIL preflight: after <n>s the reloaded rules answer <base>/ with <status>, expected 200.404probe it had left out.Verification
test_a_reload_converging_on_an_error_fails_the_preflight, fails against develop's script and passes with the fix. The wholechecks/testssuite passes.EXPECT_RELEASEset:rules from release <id> (after 0s),PASS - 34 sampled URLs honored.--strict, pyright, markdownlint, and the prose gate (plussentence-length) are clean. A frontier-tier local pass raised no findings.🤖 Generated with Claude Code