fix(dgram): expose socket shape stub#3391
Conversation
# Conflicts: # crates/perry-codegen/src/lower_call/native_table/node_core.rs # crates/perry-runtime/src/object/native_module.rs # docs/api/perry.d.ts # docs/src/api/reference.md
|
Merged current origin/main into this branch and resolved the API manifest/doc conflicts by keeping the mainline module.SourceMap entry plus the dgram socket shape stubs. Regenerated docs now report 1823 entries across 90 modules.\n\nLocal verification:\n- cargo fmt --all -- --check\n- git diff --check && git diff --cached --check\n- ./scripts/check_file_size.sh\n- ./scripts/regen_api_docs.sh equivalent using the freshly built release binary |
# Conflicts: # docs/api/perry.d.ts # docs/src/api/reference.md
|
Updated this branch after the latest mainline merge.\n\n- The branch was already rebased/merged up to origin/main on the fork ref I fetched.\n- Added the shared cargo-test disk-pressure mitigation to the CI workflow.\n- Local checks passed: cargo fmt --all -- --check, git diff --check, scripts/check_file_size.sh, and workflow YAML parsing. |
|
Fixed the cargo-test failure from the latest run. The failing test was stable_hash::tests::expr_variant_stable_hash_tags_are_unique, caused by duplicate Expr stable-hash tag 12043 for RegExpEscape and StringRaw. I applied the same RegExpEscape stable-hash tag fix used on #3414. Local checks passed: CARGO_TARGET_DIR=/root/perry/target cargo test -p perry-hir stable_hash::tests::expr_variant_stable_hash_tags_are_unique, cargo fmt --all -- --check, and git diff --check HEAD~1..HEAD. |
# Conflicts: # docs/api/perry.d.ts # docs/src/api/reference.md
|
Fixed the cargo-test failure by merging current origin/main, which now carries the ReflectIsExtensible stable-hash tag correction for the RegExpEscape collision. Local checks passed: CARGO_TARGET_DIR=/root/perry/target cargo test -p perry-hir stable_hash::tests::expr_variant_stable_hash_tags_are_unique and git diff --check. |
# Conflicts: # crates/perry-hir/src/lower/expr_member.rs # docs/api/perry.d.ts # docs/src/api/reference.md
Summary
node:dgramnamespace/socket shape stubs forcreateSocket,Socket, and socket method fields.test_parity_dgramknown-failure entry and regenerate API docs.Verification
cargo check -p perry-runtime -p perry-hir -p perry-codegen -p perry-api-manifestcargo test -p perry-codegen --test manifest_consistency./run_parity_tests.sh --filter test_parity_dgram./scripts/regen_api_docs.shcargo fmt --all -- --check./scripts/check_file_size.shjq empty test-parity/known_failures.jsongit diff --check