fix(sdk): keep isLoading true across interrupt→running hydration (#2703)
After a HITL interrupt is answered, replaying `interrupted` → `running` on hydrate could leave `useStream().isLoading` stuck `false`: the deferred interrupt reset fired after the later `running` and stomped it. Deferred terminal resets now skip clearing when a newer `running` seq has already been seen. <!-- Thank you for contributing to LangGraph.js! Your PR will appear in our next release under the title you set above. Please make sure it highlights your valuable contribution. To help streamline the review process, please make sure you read our contribution guidelines: https://github.com/langchain-ai/langgraphjs/blob/main/CONTRIBUTING.md Replace this block with a description of the change, the issue it fixes (if applicable), and relevant context. Finally, we'd love to show appreciation for your contribution - if you'd like us to shout you out on Twitter, please also include your handle below! --> <!-- Remove if not applicable --> Fixes # (issue)
C
Christian Bromann committed
51b42020f7c730a15193aa907056881e3d961924
Parent: f6b41bf
Committed by GitHub <noreply@github.com>
on 8/18/2026, 11:35:33 PM