fix: validate config at startup, run dev from the build, immutable release tags #68

Sammanfogat
supernaut sammanfogade 4 incheckningar från fix/startup-and-release in i main 2026-10-13 07:26:21 +00:00
Ägare

What

  • Startup now throws on a token under 32 characters, a duplicate token, an unparseable non-blank source=token pair and an invalid port (not an integer 1 to 65535).
  • New src/server.test.ts covers 401 (no sentinel written), 204 (sentinel written), 500 (unwritable path) and GET /healthz.
  • pnpm dev builds, then runs dist/main.js. The README matches.
  • The release workflow does a full-depth checkout and fails if the tag commit is not an ancestor of origin/main. It also fails if the version tag already exists in the registry, or if that check cannot run.

Not changed

The Containerfile already has no corepack prepare line. corepack enable follows packageManager, and a local build logged pnpm 11.28.5. #59 needs no change.

Version

No bump here. Releases bump in a separate chore(release) PR before the tag.

Notes

  • RECONCILE_SHIM_TOKENS values in production must be at least 32 characters and unique, or the container will not start.
  • The release tag check relies on the registry answering manifest unknown for a missing tag.

Closes #58
Closes #57
Closes #61

## What - Startup now throws on a token under 32 characters, a duplicate token, an unparseable non-blank `source=token` pair and an invalid port (not an integer 1 to 65535). - New `src/server.test.ts` covers 401 (no sentinel written), 204 (sentinel written), 500 (unwritable path) and `GET /healthz`. - `pnpm dev` builds, then runs `dist/main.js`. The README matches. - The release workflow does a full-depth checkout and fails if the tag commit is not an ancestor of `origin/main`. It also fails if the version tag already exists in the registry, or if that check cannot run. ## Not changed The Containerfile already has no `corepack prepare` line. `corepack enable` follows `packageManager`, and a local build logged pnpm 11.28.5. #59 needs no change. ## Version No bump here. Releases bump in a separate `chore(release)` PR before the tag. ## Notes - `RECONCILE_SHIM_TOKENS` values in production must be at least 32 characters and unique, or the container will not start. - The release tag check relies on the registry answering `manifest unknown` for a missing tag. Closes #58 Closes #57 Closes #61
supernaut lade till 4 incheckningar 2026-10-13 06:36:35 +00:00
supernaut sammanfogade incheckning 68c10f3024 till main 2026-10-13 07:26:21 +00:00
supernaut tog bort grenen fix/startup-and-release 2026-10-13 07:26:21 +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!68
Ingen beskrivning angiven.