Skip to content

fix(lambda): preserve installed package archive metadata#855

Draft
jperezrealini wants to merge 2 commits into
alchemy-run:mainfrom
jperezrealini:codex/lambda-install-archive-metadata
Draft

fix(lambda): preserve installed package archive metadata#855
jperezrealini wants to merge 2 commits into
alchemy-run:mainfrom
jperezrealini:codex/lambda-install-archive-metadata

Conversation

@jperezrealini

Copy link
Copy Markdown
Contributor

Preserve Unix file modes when packaging installed Lambda dependencies so executables remain runnable and npm-created symlinks survive archive extraction.

  • Capture regular-file modes and represent symlinks as ZIP link entries.
  • Pass Unix permissions through zipCode.
  • Cover executable and symlink metadata in the installed-package tests.

content: yield* Effect.sync(() =>
new TextEncoder().encode(linkTarget),
),
mode: 0o120777,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why hard coded?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants