Skip to content

test(cli): reproduce stdio backpressure#2172

Draft
wan9chi wants to merge 1 commit into
mainfrom
agent/test-stdio-backpressure-e2e
Draft

test(cli): reproduce stdio backpressure#2172
wan9chi wants to merge 1 commit into
mainfrom
agent/test-stdio-backpressure-e2e

Conversation

@wan9chi

@wan9chi wan9chi commented Jul 14, 2026

Copy link
Copy Markdown
Member

Summary

  • add a Unix-only vpt backpressure-run payload that gives a child a non-blocking socket-backed stdout and drains only when the kernel reports backpressure
  • add a vp check fixture with 128 deterministic lint warnings, exercised through both local and global CLI flavors
  • record the current broken behavior with a stable backpressure-run detected truncated child output under stdio backpressure diagnostic
  • normalize both observed failure forms—partial success and an EAGAIN panic—so the regression snapshot is platform-independent

CI behavior

The failing command behavior is the expected snapshot in this layer, so the regression is visible without making this PR's CI red. The next PR in the stack changes the same snapshots to the complete successful output.

Validation

  • just snapshot-test check_backpressure (local and global; repeated compare-mode runs)
  • just check
  • just lint
  • git diff --check

Stack: 1 of 2. Follow-up: #2173.

@netlify

netlify Bot commented Jul 14, 2026

Copy link
Copy Markdown

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit 4bdb273
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a562c85cf615f00088489f0

wan9chi commented Jul 14, 2026

Copy link
Copy Markdown
Member Author

How to use the Graphite Merge Queue

Add the label auto-merge to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions

github-actions Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Native binary sizes (4bdb273)

Final release artifacts built by the canonical build-upstream and build-windows-cli actions.

Artifact Format Base PR Change
vp (Linux x64) Binary 10.32 MiB 10.32 MiB 0 B (0.00%)
vp (Linux x64) gzip -9 4.42 MiB 4.42 MiB 0 B (0.00%)
NAPI (Linux x64) Binary 33.42 MiB 33.42 MiB 0 B (0.00%)
NAPI (Linux x64) gzip -9 12.78 MiB 12.78 MiB 0 B (0.00%)
vp (macOS ARM64) Binary 7.64 MiB 7.64 MiB 0 B (0.00%)
vp (macOS ARM64) gzip -9 3.83 MiB 3.83 MiB 0 B (0.00%)
NAPI (macOS ARM64) Binary 40.78 MiB 40.78 MiB 0 B (0.00%)
NAPI (macOS ARM64) gzip -9 17.05 MiB 17.05 MiB -2 B (-0.00%)
vp (Windows x64) Binary 8.37 MiB 8.37 MiB 0 B (0.00%)
vp (Windows x64) gzip -9 3.64 MiB 3.64 MiB -1 B (-0.00%)
NAPI (Windows x64) Binary 27.88 MiB 27.88 MiB 0 B (0.00%)
NAPI (Windows x64) gzip -9 10.78 MiB 10.78 MiB +1 B (+0.00%)
Trampoline (Windows x64) Binary 203.00 KiB 203.00 KiB 0 B (0.00%)
Trampoline (Windows x64) gzip -9 97.91 KiB 97.91 KiB +2 B (+0.00%)
Installer (Windows x64) Binary 4.46 MiB 4.46 MiB 0 B (0.00%)
Installer (Windows x64) gzip -9 2.08 MiB 2.08 MiB +1 B (+0.00%)

@wan9chi wan9chi force-pushed the agent/test-stdio-backpressure-e2e branch from aaa12f4 to 4bdb273 Compare July 14, 2026 12:33
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