test(ai-builder): Skip flaky sequential-interrupt checkpoint test (no-changelog) (#31280)

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Arvin A 2026-05-28 12:58:21 +01:00 committed by GitHub
parent 1eee149ab8
commit 71b35e298d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -126,7 +126,12 @@ describe('LangGraph Checkpoint Message Persistence', () => {
expect(contents).toContain('user-answers');
});
it('should persist Command.update messages across two sequential interrupts and resumes', async () => {
// Skipped: flaky due to a race in @langchain/langgraph@1.0.2's
// Command.update + Command.resume + interrupt handling. On a failing run, the
// first Command.resume is dropped — step1 re-interrupts instead of returning, so
// the graph never advances to step2's final write. Tracked in AI-2531.
// eslint-disable-next-line n8n-local-rules/no-skipped-tests
it.skip('should persist Command.update messages across two sequential interrupts and resumes', async () => {
// Two separate interrupt points in sequence (mimics questions interrupt → plan interrupt)
const parent = new StateGraph(ParentState)
.addNode('step1', (state) => {