reconcile trigger core: sentinel + .path oneshot + 30s floor (ADR 0037 P1) #235
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
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-infra#235
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?
Part of the event-driven reconcile trigger (ADR 0037). Phase 1 (infra half).
Give the existing oneshot reconciler a prompt trigger without changing the reconciler and without a daemon or queue.
What to build (bitborg-infra)
.pathunit. A systemd user.pathunit (undergitborg_user) watches a sentinel file and starts the existinggitborg-reconciler.service(oneshot) when it appears.ExecStartPredeletes the sentinel at run start → a touch that arrives during a run re-fires the.pathunit after the run (at-least-once-after-last-write)..pathunit re-fires when the window clears. Collapses bursts (e.g. repo-import) to one sweep; a lone sign-up still fires near-instantly.ExecStartPre, owned bygitborg_user.Done when
.pathunit.Pairs with the web adapter issue (Phase 1, bitborg-web).
Part of epic bitborg-docs#54 (ADR 0037).