STR-3701: Reconcile stale checkpoint artifacts on startup#1926
Conversation
|
Commit: 3c67176 SP1 Execution Results
|
Codecov Report❌ Patch coverage is @@ Coverage Diff @@
## main #1926 +/- ##
==========================================
- Coverage 84.42% 84.41% -0.01%
==========================================
Files 637 638 +1
Lines 76805 76963 +158
==========================================
+ Hits 64840 64971 +131
- Misses 11965 11992 +27
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 5 files with indirect coverage changes 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 461e1cb845
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Startup reconciliation deletes unaccepted checkpoint payloads, proofs, and prover tasks, but nothing re-drove their rebuild on a restart where no new terminal epoch arrived: the epoch-summary watch channel is re-created as `None` and never replays persisted summaries, so the checkpoint worker and prover runner both stayed idle. Drive a one-shot catch-up in the checkpoint worker's `on_launch` to rebuild payloads for already-summarized epochs, and seed the prover runner's `latest_epoch` from `get_last_summarized_epoch` so cleared proofs are regenerated without waiting for a fresh watch notification.
main renamed `AsmStateManager::fetch_most_recent_state` to explicit `_blocking`/`_async` variants; use the blocking accessor in checkpoint reconciliation so the branch builds against current main.
60f15b9 to
97d94bf
Compare
|
All review threads are resolved and CI is green on current head |
Summary
Jira: STR-3701