fix(image): copy pnpm-workspace.yaml into the build stage #47

Sammanfogat
supernaut sammanfogade 1 incheckning från fix/containerfile-workspace in i main 2026-09-29 15:02:56 +00:00
Ägare

The v0.1.1 release build failed at pnpm install:

[ERR_PNPM_IGNORED_BUILDS] Ignored build scripts: lefthook@2.1.14

The build stage copied package.json and pnpm-lock.yaml but not pnpm-workspace.yaml, so pnpm never saw allowBuilds: lefthook: true. lefthook became a devDependency after v0.1.0, so this is the first release to hit it.

This copies pnpm-workspace.yaml into the build stage and bumps the version to 0.1.2. v0.1.1 stays as a tag with no image.

Tested locally with podman build: it passes with the fix and fails at the same step without it.

After merge: tag v0.1.2, bump bitborg_reconcile_shim_image_tag in bitborg-infra, apply with --tags reconciler.

The `v0.1.1` release build failed at `pnpm install`: ``` [ERR_PNPM_IGNORED_BUILDS] Ignored build scripts: lefthook@2.1.14 ``` The build stage copied `package.json` and `pnpm-lock.yaml` but not `pnpm-workspace.yaml`, so pnpm never saw `allowBuilds: lefthook: true`. lefthook became a devDependency after `v0.1.0`, so this is the first release to hit it. This copies `pnpm-workspace.yaml` into the build stage and bumps the version to 0.1.2. `v0.1.1` stays as a tag with no image. Tested locally with `podman build`: it passes with the fix and fails at the same step without it. After merge: tag `v0.1.2`, bump `bitborg_reconcile_shim_image_tag` in bitborg-infra, apply with `--tags reconciler`.
supernaut lade till 1 incheckning 2026-09-29 14:51:52 +00:00
fix(image): copy pnpm-workspace.yaml into the build stage
Alla kontroller lyckades
ci / ci (pull_request) Successful in 29s
dedf0dbccd
Without it the build never sees allowBuilds, and pnpm 11 fails the install on lefthook's ignored
postinstall (ERR_PNPM_IGNORED_BUILDS). The v0.1.1 release build failed on exactly this. Bumps to
0.1.2 so the fixed image ships under a fresh tag.
supernaut sammanfogade incheckning ee5f0fd1a8 till main 2026-09-29 15:02:56 +00:00
supernaut tog bort grenen fix/containerfile-workspace 2026-09-29 15:02:56 +00:00
Logga in för att delta i denna konversation.
Inga granskare
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Förfallodatumet är ogiltigt eller utanför gränserna. Använd formatet "åååå-mm-dd".

Inget förfallodatum satt.

Beroenden

Inga beroenden satta

Referens
bitborg/bitborg-reconcile-trigger!47
Ingen beskrivning angiven.