Skip to content

[codex] build http ext archive for no-auto HTTP-family parity#4277

Draft
andrewtdiz wants to merge 2 commits into
PerryTS:mainfrom
andrewtdiz:codex/node-compat-http2-noauto-link
Draft

[codex] build http ext archive for no-auto HTTP-family parity#4277
andrewtdiz wants to merge 2 commits into
PerryTS:mainfrom
andrewtdiz:codex/node-compat-http2-noauto-link

Conversation

@andrewtdiz
Copy link
Copy Markdown
Contributor

@andrewtdiz andrewtdiz commented Jun 3, 2026

Summary

  • build perry-ext-http and the matching stdlib external HTTP pump features for no-auto node-suite HTTP-family runs
  • preserve HTTPS Agent and ClientRequest handle dispatch when no-auto links full stdlib ahead of the ext HTTP archive
  • keep external ClientRequest pending events draining through the stdlib active-handle probe so no-auto HTTPS surface runs can exit

Root Cause

The no-auto path consumes prebuilt full-stdlib archives plus well-known ext archives. The runner built the ext HTTP archive, but not the stdlib HTTP pump features, so ext HTTP server/client handle queues were not fully integrated into the event loop. In the HTTPS client surface, full stdlib also owns several https.Agent / ClientRequest helpers, so stdlib direct/generic dispatch needed to recognize ext ClientRequest handles and stdlib Agent handles.

Validation

  • PERRY_NO_AUTO_OPTIMIZE=1 npm exec --yes --package=node@26 -- bash -lc './run_parity_tests.sh --suite node-suite --module https' (3 pass, 0 compile fail)
  • PERRY_NO_AUTO_OPTIMIZE=1 npm exec --yes --package=node@26 -- bash -lc './run_parity_tests.sh --suite node-suite --module http2' (8 pass, 0 compile fail)
  • cargo check -p perry-stdlib -p perry-hir -p perry-ext-http --features perry-stdlib/external-http-server-pump,perry-stdlib/external-http-client-pump
  • cargo fmt --all -- --check
  • git diff --check
  • ./scripts/check_file_size.sh

Fixes #4275.
Covers the HTTPS no-auto compile/surface slice under #2132.

@andrewtdiz andrewtdiz changed the title [codex] build http ext archive for no-auto http2 parity [codex] build http ext archive for no-auto HTTP-family parity Jun 3, 2026
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.

node:http2 no-auto links omit create/connect helper archive

1 participant