Skip to content

Stop morph e2e runs from blocking on server stdout#706

Merged
srid merged 1 commit intomasterfrom
fix-e2e-morph-backpressure
May 4, 2026
Merged

Stop morph e2e runs from blocking on server stdout#706
srid merged 1 commit intomasterfrom
fix-e2e-morph-backpressure

Conversation

@srid
Copy link
Copy Markdown
Owner

@srid srid commented May 4, 2026

Morph e2e runs now keep the live Emanote server responsive for the whole smoke file. The harness used to spawn emanote run with stdout piped, but never read it; after enough route/render output, that pipe could fill and block the child process. The observed failure was late in just e2e-morph, where fresh page.goto("/") calls timed out while priming morph navigation.

The fix sends routine stdout to /dev/null while preserving stderr under the existing [emanote:live] prefix. That addresses the server backpressure root cause without filtering scenarios, raising timeouts, or weakening assertions.

Verification

  • just e2e-live — 42 scenarios / 132 steps passed
  • just e2e-static — 39 passed, 3 @morph scenarios skipped as expected
  • just e2e-morph — 42 scenarios / 132 steps passed
  • just fmt — cabal-fmt, fourmolu, hlint, nixpkgs-fmt passed

Generated by Codex (model gpt-5).

@srid srid merged commit 716976d into master May 4, 2026
4 checks passed
@srid srid deleted the fix-e2e-morph-backpressure branch May 4, 2026 21:09
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