Repository navigation
Conversation
added 3 commits
October 5, 2026 13:15
Signed-off-by: Rudy Celekli <[email protected]>
Signed-off-by: Rudy Celekli <[email protected]>
Signed-off-by: Rudy Celekli <[email protected]>
Author
|
The shared shard failure was inherited from the recovered-source fixture and is now corrected upstream in #609. This branch preserves the owner’s exact fixture through a signed normal merge at 7c5f359. The package resolver and source-map focused tests pass together, and static checks pass; hosted CI is running separately. #610 was withdrawn after the owner’s fix landed. |
Owner
|
Thanks, @rudycelekli, for your work on “fix(javascript): preserve Node exports fallback stop reasons.” I appreciate your contribution to REA. |
2 tasks done
9 tasks done
10 tasks done
darsrc
pushed a commit
to darsrc/rea
that referenced
this pull request
Oct 10, 2026
…#606) * fix(javascript): preserve Node exports fallback stop reasons Signed-off-by: Rudy Celekli <[email protected]> * test(browser): preserve unknown with-scope loader bindings Signed-off-by: Rudy Celekli <[email protected]> --------- Signed-off-by: Rudy Celekli <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow up on merged #591: preserve Node's distinction between unmatched nested conditions, explicit
null, and invalid array fallback entries.No separate issue: this is a focused correctness follow-up found while verifying the maintainer's expanded condition/array support in #591.
Problem and expected behavior
Real installed-package Node comparisons exposed five remaining differences:
default; explicitnullmust still block it.Change and scope
Add an explicit unmatched outcome to the existing private resolver and stop array selection at the first usable target. Retain the maintainer's active
node/node-addonsconditions, nested targets, ordered conditions, and refusal diagnostics.The target check covers the supported relative
./prefix. This does not establish universal equivalence with Node's export grammar: top-level array exports, subpath patterns, and other target-segment grammar remain outside the existing supported contract.Contract and boundary impact
Evidence and regression coverage
The added differential cases fail on current upstream
bae87b4: five failed, 29 passed. After the fix, 34 real Node comparison cases plus 28 existing resolver tests pass. Tests retain Node's actual error codes for all-invalid and explicit-null controls. No module mocks are used.Validation performed
On the final signed head:
npm run test:focused -- tests/boundary/javascript/packageConditionalExports.test.ts src/application/JavaScriptArtifactPathResolution.test.ts— 62 passed.npm run check— passed, including type checking, lint, formatting, dead-code and metadata checks.npm run check:fast— passed.These follow the current ordinary-fix workflow in CONTRIBUTING after #599.
check:pris optional for this routine change and was not run on this head; upstream CI provides full coverage. Package contents and installation paths are unchanged.Compatibility and remaining limits
No migration or new provider support. Real Hopper/Ghidra verification is not relevant to this application resolver change. Preserve explicit unavailable/external outcomes rather than claiming all Node package forms are supported.
Prepared with AI assistance.
CI baseline reconciliation
The final head 7c5f359 preserves upstream #609’s exact recovered-source fixture through a signed normal merge. The package resolver regression and source-map tests pass together, and
npm run checkpasses on this head. Earlier whole-suite receipts refer to earlier heads; no whole-suite or hosted-CI pass is claimed for this update.