Tidy Containerfile pnpm pin and token request errors #86
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
priority
high
priority
low
priority
medium
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-auth-reconciler#86
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "%!s()"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
What
Three small items. The Containerfile pins pnpm 11.17.0 while
package.jsonpins 11.28.3. Six parallel reads each request a token at start. A failed token request drops the response body from the error.Why
The Containerfile comment says the pins match. The parallel token POSTs are redundant. A bad client secret is harder to diagnose without the body.
Failing case
Build the image: it uses pnpm 11.17.0, not the Volta pin. Start a run: six token requests are sent.
Fix
Use 11.28.3 in the Containerfile. Await one token before the fan-out, or cache the pending promise. Include
res.text()in the token error likegetJsondoes.Done when
package.jsonpin