Skip to content

fix(artifacts): expand nested ASARs on Windows - #582

Merged
morluto merged 1 commit into
mainfrom
fix/windows-nested-asar
Oct 5, 2026
Merged

morluto merged 1 commit into
mainfrom
fix/windows-nested-asar

Conversation

@morluto

@morluto morluto commented Oct 5, 2026

Copy link
Copy Markdown
Owner

Summary

Expand ASARs inside directory inputs on Windows. The inventory reader previously recognized filesystem-backed ASARs only when their adapter keys started with /, so Windows bundle inventory retained the archive as an opaque file and JavaScript reconstruction found no nested sources.

Use the host's absolute-path predicate, matching the JavaScript reconstruction reader. Update the two direct @electron/asar.listPackage cache assertions to expect the documented host separator.

Evidence and regression coverage

The native Windows lane added in #581 exposed four failures: two actual nested archive failures and two POSIX-specific provider-path assertions. Standalone Windows ASAR reads and the suffix-directory regression already passed.

The existing packed-ASAR tests exercise changed archive inventory for directory and standalone inputs, full nested JavaScript source reconstruction, and actual provider cache behavior. The Windows lane retains all these cases.

Validation

  • 13 focused ASAR inventory and JavaScript reconstruction tests passed on macOS arm64.
  • npm run check:fast, formatting, and staged diff checks passed.
  • Native Windows verification runs in the existing CI lane; no local Windows result is claimed.
  • No real Hopper/Ghidra verification performed; these providers and tool schemas are unchanged.

Follow-up to #581 and #570. No added filesystem scopes, permissions, or dependencies.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@morluto
morluto merged commit ebb4c45 into main Oct 5, 2026
19 checks passed
@morluto
morluto deleted the fix/windows-nested-asar branch October 5, 2026 15:34
darsrc pushed a commit to darsrc/rea that referenced this pull request Oct 10, 2026
@morluto morluto added bug Something isn't working area: evidence Evidence, artifacts, and reconstruction labels Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: evidence Evidence, artifacts, and reconstruction bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant