Handle SIGTERM and fix the vacuous audit gate #60
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-reconcile-trigger#60
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
Two small items. Node as PID 1 ignores SIGTERM unless the unit passes an init.
pnpm audit --prodchecks zero packages because there are no runtime dependencies.Why
podman stopwaits 10 s then SIGKILLs, which can cut a sentinel write. The audit gate can never fail.Failing case
podman stoptakes 10 s on the running container.pnpm audit --prodreports nothing to audit.Fix
Add
process.on("SIGTERM", () => server.close())after checking whether the Quadlet already sets an init. Drop--prodor document that the gate is vacuous.Done when