Skip to content

Recheck the Preflight Status After the Reload Converges - #506

Merged
ptr727 merged 1 commit into
developfrom
feature/preflight-status-after-reload
Oct 24, 2026
Merged

ptr727 merged 1 commit into
developfrom
feature/preflight-status-after-reload

Conversation

@ptr727

@ptr727 ptr727 commented Oct 24, 2026

Copy link
Copy Markdown
Owner

Summary

Answers two findings the Copilot round on promotion #505 raised in its review body, with no thread of their own.

  • Preflight status after the reload (moderate). The EXPECT_RELEASE wait 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 than 200 fails with FAIL preflight: after <n>s the reloaded rules answer <base>/ with <status>, expected 200.
  • Grammar nits in OPERATIONS.md and checks/README.md. The round named no lines, so the added prose was reread. Three sentences are fixed: a tense mismatch in the proxied-run paragraph, a dangling "Being a static file" opener, and the list of checked responses, which also gains the followed destinations and the 404 probe it had left out.

Verification

  • A new unit case, test_a_reload_converging_on_an_error_fails_the_preflight, fails against develop's script and passes with the fix. The whole checks/tests suite passes.
  • Sampled run against the local staging mirror with EXPECT_RELEASE set: rules from release <id> (after 0s), PASS - 34 sampled URLs honored.
  • shellcheck, shfmt, ruff, mypy --strict, pyright, markdownlint, and the prose gate (plus sentence-length) are clean. A frontier-tier local pass raised no findings.

🤖 Generated with Claude Code

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]>
Copilot AI lite review requested due to automatic review settings October 24, 2026 20:08
@ptr727

ptr727 commented Oct 24, 2026

Copy link
Copy Markdown
Owner Author

A recorded local strict-review pass covers head d10b3375e0ac2d8c8e4e54a24cba2f62143fe9c6, the content this pull request carries at that commit against develop, and it recorded 0 findings.

@coderabbitai

coderabbitai Bot commented Oct 24, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: bd666dab-3803-42ac-a82e-5b0cb4d67ce1
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copilot AI 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.

🟢 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 404 probe.
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

codecov Bot commented Oct 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 49.70%. Comparing base (2c450a5) to head (d10b337).

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           
Flag Coverage Δ
python-3.13 49.70% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ptr727
ptr727 merged commit df563c4 into develop Oct 24, 2026
13 checks passed
@ptr727
ptr727 deleted the feature/preflight-status-after-reload branch October 24, 2026 20:23
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