Skip to content

fix(javascript): verify loader origins, assignment operators, and bootstrap integrity in static analysis - #4338

Closed
1aifanatic wants to merge 5 commits into
morluto:mainfrom
1aifanatic:fix/4202-native-addon-assignment-operator
Closed

1aifanatic wants to merge 5 commits into
morluto:mainfrom
1aifanatic:fix/4202-native-addon-assignment-operator

Conversation

@1aifanatic

@1aifanatic 1aifanatic commented Oct 16, 2026 •

Copy link
Copy Markdown

Summary

Validation

  • Executed:
    • npm run test:local -- src/domain/javascript/electronNativeLoaderPaths.test.ts src/domain/javascript/electronWrappedCallPaths.test.ts src/domain/javascript/electronBundledRequireIdentity.test.ts
    • npm run check:fast
    • npm run format:check
  • Not run / unavailable:
    • Full npm run check:pr gate was not run for this focused domain change.

Performance and Evidence impact

  • Not performance-sensitive: Reuses existing AST scopes, binding environments, and symbol maps during static analysis; Evidence schemas and token footprint are unchanged.

Author readiness

Leave these unchecked until a human owner has reviewed the diff and validation evidence and is ready to request initial maintainer review.

  • A human contributor reviewed the final diff and owns this pull request.
  • Validation entries above report only checks that actually ran, and unavailable coverage is explicit.
  • Scope, authority, and user-visible changes are accurately described.

Human owner:

@1aifanatic 1aifanatic changed the title fix(javascript): do not classify compound native-addon assignments as re-exports fix(javascript): verify loader origins, assignment operators, and bootstrap integrity in static analysis Oct 16, 2026
@1aifanatic
1aifanatic force-pushed the fix/4202-native-addon-assignment-operator branch from c568997 to a20f4f1 Compare October 21, 2026 04:59
@1aifanatic

Copy link
Copy Markdown
Author

Rebased onto latest main (f1126ff7b) to resolve merge conflicts:

@morluto

morluto commented Oct 26, 2026

Copy link
Copy Markdown
Owner

Thank you for bringing these loader and bootstrap cases together. Main now covers the reported assignment, loader-origin, optional-call, computed-slot and alias-write defects; the closures for #3883, #3884, #3885, #4202 and #4229 link the owning implementations and regressions. I’m closing this PR as superseded. Its additional unrelated-loader-key control may still be useful; please feel free to reopen if you would like to pursue that focused coverage. I did not rerun the tests in this pass.

@morluto morluto closed this Oct 26, 2026
@morluto morluto added area: tests Test suite and verification bug Something isn't working labels Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: tests Test suite and verification bug Something isn't working

Projects

None yet

2 participants