Skip to content

Fix DAP routing and session lifecycle - #28

Merged
derekparker merged 2 commits into
masterfrom
stack/02-dap-session-correctness
Sep 22, 2026
Merged

derekparker merged 2 commits into
masterfrom
stack/02-dap-session-correctness

Conversation

@derekparker

Copy link
Copy Markdown
Member

Summary

  • add one durable DAP reader/dispatcher that preserves reordered responses and events
  • honor MCP cancellation, send supported DAP cancellation, and allow pause/stop during execution waits
  • make startup rollback, graceful disconnect, termination, and EOF handling consistent
  • make breakpoint replacements transactional and capability-gate optional requests
  • bound variable expansion and dispatcher resources while supporting frame ID 0 and empty stacks
  • add deterministic fake-adapter coverage for ordering, cancellation, EOF, failed writes, rollback, events, and rejected transactions

Stack

This is 2/5 in a stacked series.

Review only the commits in this PR; GitHub will retarget it after the lower PR merges.

Validation

  • go test -count=1 ./...
  • go test -race -count=1 ./...
  • go vet ./...
  • go build ./...

Base automatically changed from stack/01-security-hardening to master September 22, 2026 19:27
@derekparker
derekparker added this pull request to stack #32 September 22, 2026 19:28
@derekparker
derekparker force-pushed the stack/02-dap-session-correctness branch from 87c38f0 to 94cf09c Compare September 22, 2026 19:29
@derekparker
derekparker merged commit 7064e8f into master Sep 22, 2026
1 check passed
@derekparker
derekparker deleted the stack/02-dap-session-correctness branch September 22, 2026 19:44
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