Skip to content

Fix: Use setting.runId for continued checkpoints#447

Merged
FL4TLiN3 merged 2 commits intomainfrom
fix/checkpoint-runid-on-continue
Jan 22, 2026
Merged

Fix: Use setting.runId for continued checkpoints#447
FL4TLiN3 merged 2 commits intomainfrom
fix/checkpoint-runid-on-continue

Conversation

@FL4TLiN3
Copy link
Contributor

Summary

  • Fixed createNextStepCheckpoint to accept runId as a parameter
  • Pass setting.runId when creating next step checkpoint on continue
  • Prevents checkpoint creation with incorrect runId inherited from previous checkpoint

Problem

When continuing a job, createNextStepCheckpoint spread the previous checkpoint's runId. If the previous checkpoint had incorrect runId (e.g., from a bug in wintermute's get-run-params.ts), the new checkpoint would also have the wrong runId, causing duplicate key constraint violations.

Test plan

  • createNextStepCheckpoint tests pass
  • Test on staging with job continuation

🤖 Generated with Claude Code

FL4TLiN3 and others added 2 commits January 22, 2026 05:53
When continuing a job, createNextStepCheckpoint was spreading the
previous checkpoint's runId. This caused checkpoints to be created
with wrong runId when the previous checkpoint had incorrect runId.

Changes:
- Added runId parameter to createNextStepCheckpoint
- Pass setting.runId when creating next step checkpoint on continue
- Updated tests

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@FL4TLiN3 FL4TLiN3 merged commit b2272db into main Jan 22, 2026
9 checks passed
@FL4TLiN3 FL4TLiN3 mentioned this pull request Jan 22, 2026
@FL4TLiN3 FL4TLiN3 deleted the fix/checkpoint-runid-on-continue branch February 25, 2026 13:37
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