Repository navigation
feat(#435): MCP progress notifications with timeout reset - #449
Merged
admarble merged 1 commit intoMar 25, 2026
Merged
Conversation
10 tasks
- Extend ProgressEvent with event type (start/complete/failed), durationSeconds, and error fields - Batch executor emits structured events at phase start, completion, and failure with duration and error data - spawnAsync detects SEQUANT_PROGRESS lines from stderr internally and resets per-phase timeout (30min), capped by absolute ceiling (2hr) - Add injectable maxTotalTimeout for testing the ceiling path - Only complete/failed events increment progress counter - Event-appropriate messages: started, ✓ (Ns), ✗ — error - Unit tests for parseProgressLine, createLineBuffer, formatProgressMessage, timeout reset, maxTotalTimeout ceiling, emitProgressLine roundtrip - Update existing MCP integration tests for new event schema - Update MCP server docs for enhanced progress notifications Closes #435 Entire-Checkpoint: 46b569dad6e6
admarble
force-pushed
the
feature/435-mcp-add-progress-notifications-for-sequant-run
branch
from
March 25, 2026 23:04
19a2e63 to
ee662b2
Compare
admarble
deleted the
feature/435-mcp-add-progress-notifications-for-sequant-run
branch
March 25, 2026 23:05
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ProgressEventinterface witheventtype (start/complete/failed),durationSeconds, anderrorfieldsspawnAsyncdetectsSEQUANT_PROGRESS:lines from stderr and resets per-phase timeout (30min ceiling, 2hr absolute max)#N: phase started,#N: phase ✓ (Ns),#N: phase ✗ — errorAC Coverage
run.tsprogressToken + sendNotificationcreateLineBufferstreams stderrformatProgressMessagewith event-appropriate messagesspawnAsyncresettable timeout via internal progress detectionemitProgressLinewith start/complete/failed events + duration/errorTest plan
npm run buildpassesnpm run lintpassesCloses #435