Skip to content

python: add comprehensive checkpoint test#6185

Merged
gz merged 1 commit into
mainfrom
checkpoint-test
May 5, 2026
Merged

python: add comprehensive checkpoint test#6185
gz merged 1 commit into
mainfrom
checkpoint-test

Conversation

@gz

@gz gz commented May 5, 2026

Copy link
Copy Markdown
Contributor

We didn't have reasonable coverage for checkpoints making sure that we don't break it in a backward incompatible way.

This test attempts to fix that.

Describe Manual Test Plan

I ran the test

Checklist

  • Integration tests added/updated

Breaking Changes?

No

@gz gz requested a review from abhizer May 5, 2026 06:51
@gz gz force-pushed the checkpoint-test branch 2 times, most recently from bb68480 to b69c718 Compare May 5, 2026 07:34

@mythical-fred mythical-fred 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.

Nice piece of work. Test is well-structured: deterministic data gen, completion-token waits (no sleeps), order-independent hash asserts, explicit cache-key rotation guidance. A few questions/concerns inline — none blocking.

Comment thread python/tests/runtime/test_checkpoint_runtime_upgrade.py
Comment thread python/tests/runtime/test_checkpoint_runtime_upgrade.py
Comment thread python/tests/runtime/test_checkpoint_runtime_upgrade.py
Comment thread python/tests/platform/test_checkpoint_sync.py
Comment thread python/tests/runtime/test_checkpoint_runtime_upgrade.py
@gz gz force-pushed the checkpoint-test branch from b69c718 to 0555ef7 Compare May 5, 2026 16:12
@gz gz enabled auto-merge May 5, 2026 16:14
@gz gz added this pull request to the merge queue May 5, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 5, 2026
@gz gz force-pushed the checkpoint-test branch from 0555ef7 to f11a689 Compare May 5, 2026 16:53
@gz gz enabled auto-merge May 5, 2026 16:53
@gz gz added this pull request to the merge queue May 5, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 5, 2026
We didn't have reasonable coverage for checkpoints making
sure that we don't break it in a backward incompatible way.

This test attempts to fix that.

Signed-off-by: Gerd Zellweger <[email protected]>
@gz gz force-pushed the checkpoint-test branch from f11a689 to 26eceb3 Compare May 5, 2026 17:33
@gz gz enabled auto-merge May 5, 2026 17:39
@gz gz added this pull request to the merge queue May 5, 2026
Merged via the queue into main with commit e4a4f7e May 5, 2026
1 check passed
@gz gz deleted the checkpoint-test branch May 5, 2026 19:16
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.

3 participants