Repository navigation
[parity] node:async_hooks — 113 failing node-suite tests (2026-07-22 baseline) #6764
Copy link
Copy link
Closed
Labels
parityCompatibility gap with Node.js, ECMAScript, or the supported ecosystemCompatibility gap with Node.js, ECMAScript, or the supported ecosystem
Description
Part of the node-suite parity sweep of 2026-07-22 (full run: 3,815 tests, 3,019 pass, 79.1% — report test-parity/reports/parity_report_20260722_120605.json, oracle Node 26.5.0 per .node-version). Umbrella: #793.
node:async_hooks has 113 failing test(s) in test-parity/node-suite/async_hooks/.
Reproduce:
./run_parity_tests.sh --suite node-suite --module async_hooksFailing tests
-
node-suite/async_hooks/api-function-metadata— output mismatch- Node: module function metadata: createHook:createHook/1|executionAsyncId:executionAsyncId/0|executionAsyncResource:executionAsyncResource/0|triggerAsyncId:triggerAsyncId/0
- Perry: module function metadata: createHook:createHook/1|executionAsyncId:executionAsyncId/0|executionAsyncResource:executionAsyncResource/0|triggerAsyncId:triggerAsyncId/0
-
node-suite/async_hooks/hooks/async-await-trigger-chain— output mismatch- Node: async-await continuation ids: true true true
- Perry: async-await continuation ids: false false false
-
node-suite/async_hooks/hooks/async-wrap-providers-table— output mismatch- Node: provider table shape: object true true
- Perry: provider table shape: object false true
-
node-suite/async_hooks/hooks/cancelled-immediate-destroy— output mismatch- Node: cancelled immediate resource identity: true
- Perry: cancelled immediate resource identity: false
-
node-suite/async_hooks/hooks/cancelled-timeout-destroy— output mismatch- Node: cancelled timeout resource identity: true
- Perry: cancelled timeout resource identity: false
-
node-suite/async_hooks/hooks/destroy-enqueues-destroy— output mismatch- Node: destroy queue identities: true true true
- Perry: destroy queue identities: false false false
-
node-suite/async_hooks/hooks/disable-during-promise— output mismatch- Node: disable during promise init: 3
- Perry: disable during promise init: 0
-
node-suite/async_hooks/hooks/disable-in-init— SIGSEGV (exit 139)- Perry died after printing 1 line(s); Node exited 0.
- Last Perry line: ./run_parity_tests.sh: line 118: 27939 Segmentation fault: 11 $TIMEOUT_CMD "$seconds" "$@"
-
node-suite/async_hooks/hooks/enable-before-promise-resolve— output mismatch- Node: enabled-before-resolve continuation: true true true
- Perry: enabled-before-resolve continuation: false false false
-
node-suite/async_hooks/hooks/enable-during-promise— output mismatch- Node: enable during promise tick init: 1
- Perry: enable during promise tick init: 0
-
node-suite/async_hooks/hooks/enable-in-init— SIGSEGV (exit 139)- Perry died after printing 1 line(s); Node exited 0.
- Last Perry line: ./run_parity_tests.sh: line 118: 29671 Segmentation fault: 11 $TIMEOUT_CMD "$seconds" "$@"
-
node-suite/async_hooks/hooks/execution-resource-mapping— output mismatch- Node: execution resource mapping: true true true true
- Perry: execution resource mapping: false false true false
-
node-suite/async_hooks/hooks/execution-resource-property-propagation— output mismatch- Node: execution resource propagated values: first,second
- Perry: execution resource propagated values: ,
-
node-suite/async_hooks/hooks/fs-readfile-trigger-chain— output mismatch- Node: readFile hook result/count: read-file-chain 4
- Perry: readFile hook result/count: read-file-chain 0
-
node-suite/async_hooks/hooks/immediate-nested-lifecycle— output mismatch- Node: nested immediate count: 2
- Perry: nested immediate count: 0
-
node-suite/async_hooks/hooks/interval-repeat-lifecycle— output mismatch- Node: interval resource relationship: true true true
- Perry: interval resource relationship: false false false
-
node-suite/async_hooks/hooks/late-enable-immediate— output mismatch- Node: late immediate after/destroy: true true
- Perry: late immediate after/destroy: false false
-
node-suite/async_hooks/hooks/late-enable-nexttick— output mismatch- Node: late nextTick after/destroy: true true
- Perry: late nextTick after/destroy: false false
-
node-suite/async_hooks/hooks/late-enable-timer— output mismatch- Node: late timer after/destroy: true true
- Perry: late timer after/destroy: false false
-
node-suite/async_hooks/hooks/multiple-hooks— SIGSEGV (exit 139)- Perry died after printing 1 line(s); Node exited 0.
- Last Perry line: ./run_parity_tests.sh: line 118: 33566 Segmentation fault: 11 $TIMEOUT_CMD "$seconds" "$@"
-
node-suite/async_hooks/hooks/multiple-promise-hook-shapes— SIGSEGV (exit 139)- Perry died after printing 1 line(s); Node exited 0.
- Last Perry line: ./run_parity_tests.sh: line 118: 33898 Segmentation fault: 11 $TIMEOUT_CMD "$seconds" "$@"
-
node-suite/async_hooks/hooks/nested-timeout-lifecycle— output mismatch- Node: timeout count: 3
- Perry: timeout count: 0
-
node-suite/async_hooks/hooks/nexttick-default-trigger— output mismatch- Node: nextTick trigger relationships: true true true true
- Perry: nextTick trigger relationships: false false true false
-
node-suite/async_hooks/hooks/nexttick-sibling-trigger— output mismatch- Node: nextTick sibling count: 2
- Perry: nextTick sibling count: 0
-
node-suite/async_hooks/hooks/options-accessors— output mismatch- Node: hook option accessor order: init,before,after,destroy,promiseResolve
- Perry: hook option accessor order: init,before,after,destroy,promiseResolve
-
node-suite/async_hooks/hooks/precreated-promise-chain— output mismatch- Node: precreated promise init count: 1
- Perry: precreated promise init count: 0
-
node-suite/async_hooks/hooks/promise-created-before-enable— output mismatch- Node: late hook child supplied: true
- Perry: late hook child supplied: false
-
node-suite/async_hooks/hooks/promise-resolve— output mismatch- Node: promise hook resource supplied: true
- Perry: promise hook resource supplied: false
-
node-suite/async_hooks/hooks/promise-trigger-chain— output mismatch- Node: promise chain resources supplied: true true
- Perry: promise chain resources supplied: false false
-
node-suite/async_hooks/hooks/provider-blob-reader-lifecycles— output mismatch- Node: blob reader results: blob-reader 11
- Perry: blob reader results: blob-reader 11
-
node-suite/async_hooks/hooks/provider-child-process-lifecycles— output mismatch- Node: child result: 0 ok
- Perry: child result: 0 ok
-
node-suite/async_hooks/hooks/provider-crypto-lifecycle— output mismatch- Node: crypto hook trigger root: true
- Perry: crypto hook trigger root: false
-
node-suite/async_hooks/hooks/provider-crypto-request-lifecycles— output mismatch- Node: DERIVEBITSREQUEST crypto lifecycle: 1 true true 1/1/1
- Perry: DERIVEBITSREQUEST crypto lifecycle: 0 false false
-
node-suite/async_hooks/hooks/provider-dirhandle-lifecycle— output mismatch- Node: dirhandle operation: true
- Perry: dirhandle operation: true
-
node-suite/async_hooks/hooks/provider-dns-channel-lifecycle— output mismatch- Node: dns channel count: 1
- Perry: dns channel count: 0
-
node-suite/async_hooks/hooks/provider-dns-lookup-lifecycle— output mismatch- Node: dns lookup hook result shape: true
- Perry: dns lookup hook result shape: true
-
node-suite/async_hooks/hooks/provider-dns-lookup-service-lifecycle— output mismatch- Node: lookupService hook result shape: true
- Perry: lookupService hook result shape: true
-
node-suite/async_hooks/hooks/provider-dns-query-lifecycle— output mismatch- Node: dns query hook result shape: true
- Perry: dns query hook result shape: true
-
node-suite/async_hooks/hooks/provider-fs-lifecycle— output mismatch- Node: fs hook trigger root: true
- Perry: fs hook trigger root: false
-
node-suite/async_hooks/hooks/provider-fs-promises-lifecycles— output mismatch- Node: fs promises hook result: abc 3
- Perry: fs promises hook result: abc 3
-
node-suite/async_hooks/hooks/provider-fs-watcher-lifecycles— output mismatch- Node: FSEVENTWRAP watcher lifecycle: 1 true 0/0/1
- Perry: FSEVENTWRAP watcher lifecycle: 0 false
-
node-suite/async_hooks/hooks/provider-microtask-lifecycle— output mismatch- Node: microtask hook trigger root: true
- Perry: microtask hook trigger root: false
-
node-suite/async_hooks/hooks/provider-net-lifecycle-matrix— output mismatch- Node: net hook provider counts: 1 2 1 2
- Perry: net hook provider counts: 0 0 0 0
-
node-suite/async_hooks/hooks/provider-nexttick-lifecycle— output mismatch- Node: nextTick hook trigger root: true
- Perry: nextTick hook trigger root: false
-
node-suite/async_hooks/hooks/provider-pbkdf2-lifecycle— output mismatch- Node: pbkdf2 callback lifecycle: true true 1
- Perry: pbkdf2 callback lifecycle: false false 0
-
node-suite/async_hooks/hooks/provider-random-bytes-lifecycle— output mismatch- Node: randomBytes hook relationship: 16 true true true
- Perry: randomBytes hook relationship: 16 false false false
-
node-suite/async_hooks/hooks/provider-signal-lifecycle— output mismatch- Node: signal resources: 1
- Perry: signal resources: 0
-
node-suite/async_hooks/hooks/provider-timer-lifecycle— output mismatch- Node: timer hook trigger root: true
- Perry: timer hook trigger root: false
-
node-suite/async_hooks/hooks/provider-udp-socket-lifecycle— output mismatch- Node: udp socket resource: true true true
- Perry: udp socket resource: false false false
-
node-suite/async_hooks/hooks/provider-webcrypto-request-lifecycles— output mismatch- Node: webcrypto verified: true
- Perry: webcrypto verified: true
-
node-suite/async_hooks/hooks/provider-zlib-lifecycle— output mismatch- Node: zlib hook relationship: true true true
- Perry: zlib hook relationship: true false false
-
node-suite/async_hooks/hooks/resource-argument— output mismatch- Node: resource argument type: ParityResourceArgument
- Perry: resource argument type:
-
node-suite/async_hooks/hooks/scheduler-resource-identity— output mismatch- Node: scheduler handles match resources: true true
- Perry: scheduler handles match resources: false false
-
node-suite/async_hooks/hooks/scope-throw-lifecycle— output mismatch- Node: scope throw error: expected
- Perry: scope throw error: expected
-
node-suite/async_hooks/hooks/track-promises— SIGSEGV (exit 139)- Perry died after printing 2 line(s); Node exited 0.
- Last Perry line: ./run_parity_tests.sh: line 118: 49134 Segmentation fault: 11 $TIMEOUT_CMD "$seconds" "$@"
-
node-suite/async_hooks/integrations/crypto-generate-key— output mismatch- Node: generateKey return undefined: true
- Perry: generateKey store: generate-key
-
node-suite/async_hooks/integrations/crypto-generate-key-pair— output mismatch- Node: generateKeyPair return undefined: true
- Perry: generateKeyPair store: generate-key-pair
-
node-suite/async_hooks/integrations/crypto-hkdf— output mismatch- Node: hkdf return undefined: true
- Perry: hkdf store: hkdf
-
node-suite/async_hooks/integrations/crypto-prime— output mismatch- Node: generatePrime return undefined: true
- Perry: generatePrime return undefined: false
-
node-suite/async_hooks/integrations/crypto-random-int— output mismatch- Node: randomInt return undefined: true
- Perry: randomInt store: random-int
-
node-suite/async_hooks/integrations/event-emitter-async-resource— output mismatch- Node: event async resource id positive: true
- Perry: event async resource id positive: true
-
node-suite/async_hooks/integrations/event-emitter-back-reference— output mismatch- Node: event resource back reference: object true
- Perry: event resource back reference: object false
-
node-suite/async_hooks/integrations/event-emitter-brand-validation— output mismatch- Node: event resource prototype surface: function function true true true
- Perry: event resource prototype surface: function undefined false false false
-
node-suite/async_hooks/integrations/event-emitter-resource-names— output mismatch- Node: event resource names observed: ExplicitOptions,ExplicitString,NamedEmitter
- Perry: TypeError: on is not a function
-
node-suite/async_hooks/integrations/stream-finished— output mismatch- Node: finished callback store: finished
- Perry: Warning: Detected unsettled top-level await
-
node-suite/async_hooks/integrations/zlib-brotli— output mismatch- Node: brotli compress store: brotli-compress
- Perry: brotli compress store: undefined
-
node-suite/async_hooks/integrations/zlib-create-gzip— output mismatch- Node: gzip stream events: data:gzip-stream:true|finish:gzip-stream|data:gzip-stream:true|end:gzip-stream
- Perry: gzip stream events: data:undefined:true|data:undefined:true|end:undefined|finish:undefined
-
node-suite/async_hooks/integrations/zlib-deflate-inflate— output mismatch- Node: deflate store: deflate
- Perry: deflate store: undefined
-
node-suite/async_hooks/integrations/zlib-gzip-gunzip— output mismatch- Node: gzip store: gzip
- Perry: gzip store: undefined
-
node-suite/async_hooks/module-export-surface— output mismatch- Node: module export keys: AsyncLocalStorage,AsyncResource,asyncWrapProviders,createHook,default,executionAsyncId,executionAsyncResource,triggerAsyncId
- Perry: module export keys: AsyncLocalStorage,AsyncResource,asyncWrapProviders,createHook,default,executionAsyncId,executionAsyncResource,triggerAsyncId
-
node-suite/async_hooks/module-namespace-brand— output mismatch- Node: namespace tags: [object Module] [object Module]
- Perry: namespace tags: [object Object] [object Object]
-
node-suite/async_hooks/propagation/disable-pending— output mismatch- Node: disabled synchronously: undefined
- Perry: disabled synchronously: undefined
-
node-suite/async_hooks/propagation/dynamic-import— output mismatch- Node: dynamic import store: dynamic-import
- Perry: Error: Cannot find module 'data:text/javascript,export const store = globalThis.parityDynamicImportStore()'
-
node-suite/async_hooks/propagation/vm-context— output mismatch- Node: vm immediate store: vm-context
- Perry: Warning: Detected unsettled top-level await
-
node-suite/async_hooks/providers/child-exec— output mismatch- Node: child exec store: child-exec
- Perry: child exec store: undefined
-
node-suite/async_hooks/providers/child-exec-file— output mismatch- Node: child execFile store: child-exec-file
- Perry: child execFile store: undefined
-
node-suite/async_hooks/providers/child-spawn-events— output mismatch- Node: child spawn event store: child-spawn
- Perry: child spawn event store: undefined
-
node-suite/async_hooks/providers/dgram-dual-context— output mismatch- Node: dgram dual stores: server-context client-context client-context
- Perry: dgram dual stores: undefined client-context undefined
-
node-suite/async_hooks/providers/dgram-events— output mismatch- Node: dgram listening store: dgram-events
- Perry: dgram listening store: dgram-events
-
node-suite/async_hooks/providers/events-on-async— output mismatch- Node: events.on iterator store: events-on first
- Perry: events.on iterator store: events-on first
-
node-suite/async_hooks/providers/http-agent-isolation— output mismatch- Node: http agent stores: 0,1,2
- Perry: http agent stores: -1,-1,-1
-
node-suite/async_hooks/providers/http-client-events— output mismatch- Node: client finish event store: http-client-events
- Perry: client finish event store: undefined
-
node-suite/async_hooks/providers/http-execution-resource— output mismatch- Node: http listen resource mapped: true
- Perry: http listen resource mapped: false
-
node-suite/async_hooks/providers/http-multiclient-isolation— output mismatch- Node: http concurrent response stores: 0,1,2,3,4 false
- Perry: http concurrent response stores: true
-
node-suite/async_hooks/providers/http-request— output mismatch- Node: http response store: http-request
- Perry: http response store: undefined
-
node-suite/async_hooks/providers/https-agent-isolation— output mismatch- Node: https agent stores: 0,1,2
- Perry: https agent stores: -1,-1,-1
-
node-suite/async_hooks/providers/https-request— output mismatch- Node: https request events: finish:https-client|response:https-client|data:https-client:https-payload|end:https-client
- Perry: https request events: finish:undefined|response:undefined|data:undefined:https-payload|end:undefined
-
node-suite/async_hooks/providers/net-connect— output mismatch- Node: net connect callback store: net-connect
- Perry: net connect callback store: undefined
-
node-suite/async_hooks/providers/net-data-isolation— output mismatch- Node: net concurrent data stores: a,b,c,d false
- Perry: net concurrent data stores: false
-
node-suite/async_hooks/providers/net-dual-context— output mismatch- Node: net dual stores: server-context client-context
- Perry: net dual stores: undefined undefined
-
node-suite/async_hooks/providers/net-get-connections-context— output mismatch- Node: getConnections callback: true 0 connections
- Perry: getConnections callback: true 0 undefined
-
node-suite/async_hooks/providers/net-server-events— output mismatch- Node: net server listening store: net-server
- Perry: net server listening store: undefined
-
node-suite/async_hooks/providers/net-write-callbacks— output mismatch- Node: net write callback store: net-write
- Perry: net write outside: undefined
-
node-suite/async_hooks/providers/readline-interface— output mismatch- Node: readline line store: readline first
- Perry: Warning: Detected unsettled top-level await
-
node-suite/async_hooks/providers/tls-connect— TIMEOUT (killed after 10s)- Perry died after printing 0 line(s); Node exited 0.
- Last Perry line:
-
node-suite/async_hooks/providers/worker-message-events— output mismatch- Node: worker online store: worker-events
- Perry: worker online store: undefined
-
node-suite/async_hooks/resource/construction— output mismatch- Node: custom init count: 1
- Perry: custom init count: 0
-
node-suite/async_hooks/resource/destroy-lifecycle— output mismatch- Node: init matched resource: true
- Perry: init matched resource: false
-
node-suite/async_hooks/resource/execution-resource-nesting— output mismatch- Node: outer resource identity: true
- Perry: outer resource identity: true
-
node-suite/async_hooks/resource/hook-scope-lifecycle— output mismatch- Node: scope events: before>callback>after
- Perry: scope events: callback
-
node-suite/async_hooks/resource/method-receiver-validation— output mismatch- Node: detached asyncId TypeError no-code
- Perry: detached asyncId TypeError no-code
-
node-suite/async_hooks/resource/options-accessors— output mismatch- Node: resource option accessor order: triggerAsyncId,triggerAsyncId,requireManualDestroy
- Perry: resource option accessor order: triggerAsyncId
-
node-suite/async_hooks/resource/post-destroy-scope— output mismatch- Node: post-destroy scope lifecycle: true 1 1 1
- Perry: post-destroy scope lifecycle: true 0 0 0
-
node-suite/async_hooks/resource/static-bind-types— output mismatch- Node: static bind inferred types: NamedTask,ExplicitType,ExplicitReceiver,bound-anonymous-fn
- Perry: static bind inferred types:
-
node-suite/async_hooks/resource/subclass-lifecycle— output mismatch- Node: subclass shape: true true
- Perry: TypeError: value is not a function
-
node-suite/async_hooks/static/snapshot-context— output mismatch- Node: snapshot contexts: snapshot-first snapshot-second
- Perry: snapshot contexts: snapshot-first snapshot-second
-
node-suite/async_hooks/storage/immediate-self-clear— output mismatch- Node: self-cleared immediate contexts: first:true:Immediate|second:true:Immediate|third:true:Immediate
- Perry: self-cleared immediate contexts: first:true:undefined|second:true:undefined|third:true:undefined
-
node-suite/async_hooks/storage/method-receiver-validation— output mismatch- Node: detached getStore TypeError no-code
- Perry: detached getStore ok store
-
node-suite/async_hooks/storage/subclass-propagation— output mismatch- Node: als subclass shape: true true
- Perry: als subclass shape: true false
-
node-suite/async_hooks/validation/constructor-call— output mismatch- Node: AsyncResource call TypeError no-code
- Perry: AsyncResource call no-throw
-
node-suite/async_hooks/validation/empty-resource-type— output mismatch- Node: hooks disabled empty type: ok
- Perry: hooks disabled empty type: ok
-
node-suite/async_hooks/validation/options-accessor-errors— output mismatch- Node: hook accessor error: true
- Perry: hook accessor error: true
-
node-suite/async_hooks/validation/track-promises— output mismatch- Node: trackPromises 0 TypeError ERR_INVALID_ARG_TYPE
- Perry: trackPromises 0 no-throw
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
parityCompatibility gap with Node.js, ECMAScript, or the supported ecosystemCompatibility gap with Node.js, ECMAScript, or the supported ecosystem
Activity
fix(async_hooks): root prototype metadata construction (#6764)
fix(async_hooks): expose constructor prototypes (#7093)
fix(async_hooks): track scheduler resource lifecycles (#8328)
proggeramlug commentedon Aug 21, 2026
The complete OpenCode source target (#8506) depends on this for Effect/OpenTelemetry context propagation. Acceptance for that target should include propagation through promises, timers, fetch/http, child processes, workers, and dgram callbacks used by OpenCode.
proggeramlug commentedon Aug 26, 2026
Closed by #8853, which landed on
mainvia the #8857 batch. The close keyword did not fire because the PR was merged through a wrapper.fix(hir): a native factory's result is a tagged receiver when used di…
fix(hir): a native factory's result is a tagged receiver when used di…