fix: share one token request, include its error body, pin pnpm #92

Sammanfogat
supernaut sammanfogade 1 incheckning från fix/containerfile-token-errors in i main 2026-10-13 08:00:23 +00:00
Ägare

What

  • Containerfile: pnpm 11.17.0 to 11.28.3, matching packageManager in package.json.
  • Parallel reads now share one in-flight token request. A failed request is not cached.
  • The token error includes the response body, like getJson does.
  • Version 2.1.0 to 2.1.1 (fix).

Tests

Three new tests in src/keycloak-http.test.ts: error body, one token POST for parallel reads, retry after a failed token request. They failed before the change.

pnpm test, typecheck, lint pass. The image builds with podman.

Closes #86

## What - Containerfile: pnpm 11.17.0 to 11.28.3, matching `packageManager` in `package.json`. - Parallel reads now share one in-flight token request. A failed request is not cached. - The token error includes the response body, like `getJson` does. - Version 2.1.0 to 2.1.1 (fix). ## Tests Three new tests in `src/keycloak-http.test.ts`: error body, one token POST for parallel reads, retry after a failed token request. They failed before the change. `pnpm test`, `typecheck`, `lint` pass. The image builds with podman. Closes #86
supernaut lade till 1 incheckning 2026-10-13 06:35:52 +00:00
fix: share one token request, include its error body, pin pnpm 11.28.3
Alla kontroller lyckades
ci / ci (pull_request) Successful in 1m14s
8cddf15342
Closes #86
supernaut tvångsskickade fix/containerfile-token-errors från 8cddf15342
Alla kontroller lyckades
ci / ci (pull_request) Successful in 1m14s
till adf3c089be
Alla kontroller lyckades
ci / ci (pull_request) Successful in 1m9s
2026-10-13 07:26:15 +00:00
Jämför
supernaut sammanfogade incheckning d7b98b8e1f till main 2026-10-13 08:00:23 +00:00
supernaut tog bort grenen fix/containerfile-token-errors 2026-10-13 08:00:24 +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-auth-reconciler!92
Ingen beskrivning angiven.