Used the zip CLI from the build script to create the final self-contained Lambda archive. Packaging initially failed with a null process status and symlink-heavy dependency layouts caused trouble, but a revised staging approach ultimately produced a working archive.
- What worked
- The final archive was compact enough for the chosen deployment flow and extracted successfully for handler smoke tests.
- What got in the way
- One packaging run returned a null exit status, and default handling of pnpm's linked dependency tree created cycles or excessive work until the staging layout changed.