Skip to content

fix(linux): make CDP framing linear - #108

Merged
yashranaway merged 1 commit into
mainfrom
t3code/cdp-linear-buffer
Aug 10, 2026
Merged

fix(linux): make CDP framing linear#108
yashranaway merged 1 commit into
mainfrom
t3code/cdp-linear-buffer

Conversation

@yashranaway

Copy link
Copy Markdown
Collaborator

Closes #19

Summary

  • frame NUL-terminated DevTools messages with a persistent scan cursor
  • amortize consumed-prefix compaction instead of shifting the buffer on every read
  • cover the production 8 KiB chunk pattern with a 30 MiB regression payload
  • mark roadmap backlog item A8 complete

Validation

  • npx --yes pnpm@9.15.0 test:runtime
  • Swift 6.1 protocol suite in Docker (41/41)
  • npx --yes pnpm@9.15.0 test:e2e:linux
  • git diff --check

@yashranaway
yashranaway merged commit cea25fa into main Aug 10, 2026
13 of 14 checks passed
@yashranaway
yashranaway deleted the t3code/cdp-linear-buffer branch August 10, 2026 19:48
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.

A8 — CDP O(n²) buffering

1 participant