[PR #6819] tests: add checkpoint resume parity regression #5322

Open
opened 2026-02-20 17:51:32 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langchain-ai/langgraph/pull/6819

State: open
Merged: No


Problem

Checkpointed crash/resume paths needed explicit parity coverage against uninterrupted runs.

What changed

  • Added test_checkpoint_resume_matches_uninterrupted_outcome in libs/langgraph/tests/test_pregel.py.
  • Test simulates one crash, resumes from checkpoint, and asserts final output/state equals uninterrupted execution.

Validation

  • cd libs/langgraph && make format
  • cd libs/langgraph && make lint
  • cd libs/langgraph && TEST=tests/test_pregel.py::test_checkpoint_resume_matches_uninterrupted_outcome make test

Refs #6818

**Original Pull Request:** https://github.com/langchain-ai/langgraph/pull/6819 **State:** open **Merged:** No --- ## Problem Checkpointed crash/resume paths needed explicit parity coverage against uninterrupted runs. ## What changed - Added `test_checkpoint_resume_matches_uninterrupted_outcome` in `libs/langgraph/tests/test_pregel.py`. - Test simulates one crash, resumes from checkpoint, and asserts final output/state equals uninterrupted execution. ## Validation - `cd libs/langgraph && make format` - `cd libs/langgraph && make lint` - `cd libs/langgraph && TEST=tests/test_pregel.py::test_checkpoint_resume_matches_uninterrupted_outcome make test` Refs #6818
yindo added the pull-request label 2026-02-20 17:51:32 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraph#5322