Skip to content

Fix red upgrade CI: HITL test must not depend on a re-asked card keeping its id - #12

Merged
khanhphamj merged 2 commits into
mainfrom
fix/upgrade-ci-hitl-test
Nov 9, 2026
Merged

khanhphamj merged 2 commits into
mainfrom
fix/upgrade-ci-hitl-test

Conversation

@khanhphamj

Copy link
Copy Markdown
Contributor

The upgrade job has been red on main since the dependency drift of 2026-11-09 (also on a manual run of main, so not caused by PR #11).

Cause (reproduced locally, then isolated by pinning): the job re-locks an old project, which now resolves langgraph 1.2.20 while the shipped uv.lock pins 1.2.18. With 1.2.20, when the approval node asks a card again (stale decisions backstop), the interrupt gets a new id; with 1.2.18 it kept the old one. test_approval_node_reasks_instead_of_applying_unknown_ids asserted the old id.

Fix: the test no longer asserts id equality (the documented contract is that each card has its own id and the client echoes the one it was given; the test still resumes with the id it receives). No app code changed. Full test_upgrade.py --pytest passes locally: 606 passed with langgraph 1.2.20, ruff clean.

Not done: the shipped uv.lock still pins langgraph 1.2.18, so fresh projects test against the old behaviour; bumping the lock is a separate change.

🤖 Generated with Claude Code

khanhphamj and others added 2 commits November 9, 2026 09:03
…rrupt id

langgraph 1.2.20 issues a new id there; the contract is that the client echoes the id it was given. Fixes the red
upgrade CI job (it re-locks an old project and picked up 1.2.20).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@khanhphamj
khanhphamj merged commit a51e555 into main Nov 9, 2026
6 checks passed
@khanhphamj
khanhphamj deleted the fix/upgrade-ci-hitl-test branch November 9, 2026 02:24
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.

1 participant