Repository navigation
fix(resilience): rebuild healthy education cohort - #6517
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Aug 12, 2026
This branch was successfully deployed
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.
Summary
The 12:04Z Resilience-Scores run published batch-wide education
source-failureeven though the education seed was healthy. Railway had admitted all 196 pre-warmed country scores, and the active Vercel deployment then rebuilt only the ranking aggregate, so no country scorer ran and the pre-fix poisoned cohort was republished.An authorized ranking refresh now rotates every per-country score before it publishes the aggregate. Concurrent countries share one bounded recovery read after an exhausted seed-metadata read, which contains the staged failure to one country without creating a retry herd. The seeder also builds intervals from the final post-rotation score cohort, so fresh scores cannot ship beside stale intervals. If the forced ranking rebuild fails or exceeds its 60-second deadline, the seeder now stops before interval publication and preserves the previous interval generation.
Validation
mktempfailures in the pre-push-hook fixture. The exact failing file passes 16/16 outside the filesystem sandbox.Related: #6510
Post-deploy monitoring and validation
formula=pcwith education enabled. The liveseed-bundle-resilienceservice has recovered from the namespace mismatch tracked in fix(resilience): seed-bundle-resilience crashes every tick — Railway SKIPPED the #6450 build, so the seeder reads score:v25 while production writes v26 #6483, but this PR's interval-ordering change remains dormant until Railway builds the new image.durationMson both runs. More than 45 seconds fails the operational gate: investigate the route budget and workload before changing the 60-second seeder timeout, so the cron does not flap.observedfor 181 countries; any batch-widesource-failurecohort fails the gate.RESILIENCE_EDUCATION_ENABLED, revert this change, and redeploy. Do not treat merge, deployment, or an HTTP 200 as production acceptance.