Commit 8b2551a
authored
fix(deps): move @cipherstash/auth to 0.42.0, lockstep with its bindings (#679)
The rc.2 skilltester run found every project-local npm install of the
CLI/SDK dying at startup with "Failed to load native binding" (B1,
reproduced 5/5 surfaces). Root cause: Dependabot bumped the six
@cipherstash/auth-* catalog entries to 0.42.0 while @cipherstash/auth —
individually ignored in dependabot.yml — stayed 0.41.0. auth pins its
bindings as exact-version optional peerDependencies, so the skew makes
npm nest per-consumer binding copies that the hoisted auth package
cannot resolve.
Reproduced against the published rc.2 and verified fixed with aligned
versions (npm dedupes to one hoisted binding; auth loads):
npm i @cipherstash/stack@1.0.0-rc.2 @cipherstash/stack-supabase@1.0.0-rc.2
npm i -D stash@1.0.0-rc.2
node -e "require('@cipherstash/auth')" # fatal before, loads after
Three changes so it can't recur:
- catalog: all seven @cipherstash/auth* entries at 0.42.0, with the
lockstep invariant documented as load-bearing
- dependabot: ignore @cipherstash/auth-* alongside @cipherstash/auth —
partial bumps of this set are never safe
- supply-chain e2e: a test that fails on any version skew across the
seven entries (verified red against the exact rc.2 skew)
auth 0.42.0 compatibility verified: stack 828/828 (incl. live ZeroKMS
auth), cli 513/513, wizard 145/145.
Claude-Session: https://claude.ai/code/session_01MxTTPaPP16m6br7Hoab94w1 parent 3a86939 commit 8b2551a
5 files changed
Lines changed: 91 additions & 20 deletions
File tree
- .changeset
- .github
- e2e/tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
40 | 49 | | |
41 | 50 | | |
42 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
90 | 123 | | |
91 | 124 | | |
92 | 125 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
15 | 21 | | |
16 | 22 | | |
17 | 23 | | |
| |||
0 commit comments