fix(nix): harden pnpm prepared workspace builds#636
Merged
schickling merged 5 commits intomainfrom Apr 29, 2026
Merged
Conversation
4a287bf to
6d53ced
Compare
2cce812 to
44d4d1d
Compare
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
Local proof
PNPM constraints
This keeps the long-term contract intentionally narrow: dependency preparation is manifest/lockfile driven, fixed-output, frozen, and lifecycle-script free. Packages that require generated native artifacts should model that explicitly in their package build phase instead of smuggling it through dependency prep. The remaining large-tree archive/restore cost is now visible through phase timing logs and can be optimized separately without weakening the install contract.
Prior-work check
I reviewed the recent pnpm builder history before applying this so the patch preserves the frozen-lockfile regression fix, nested install roots, optional completion generation, tar-stream prepared output, and existing phase trace logs.
Posted on behalf of @schickling
agent_nameagent_session_idagent_toolagent_tool_versionagent_runtimeagent_modelworktreemachinetooling_profile