refactor(reconciler): drop the -next suffix, rename to gitborg-reconciler (#229) #230

Sammanfogat
supernaut sammanfogade 1 incheckning från refactor/reconciler-drop-next-suffix in i main 2026-07-28 07:08:02 +00:00
Ägare

Closes #229. Cosmetic follow-up to the ADR 0035 reconciler extraction: drops the -next suffix the container units + role vars still carried from the dry-run parallel-run era. It's the only reconciler now, so gitborg-reconciler-next → gitborg-reconciler.

Changes

  • Renamed templates (gitborg-reconciler-next.{container,timer}.j2, reconciler-next.env.j2) and tasks/next-container.yml → tasks/container.yml (git-tracked renames).
  • Renamed role vars reconciler_next_* → reconciler_* (folding _on_calendar into the existing reconciler_on_calendar).
  • main.yml: replaced the (already-applied, #227) bash teardown with a one-time gitborg-reconciler-next teardown — stop+disable the old timer and remove its unit/timer/env before installing the renamed units, so the two timers never fire the reconciler twice per tick. The renamed env/timer reuse the retired bash basenames, so the teardown targets only the -next paths.
  • runbook updated.

No behaviour change — container image, metrics (gitborg_reconciler_*), and alerts are untouched.

Applied + verified on prod (2026-07-28)

site.yml --tags reconciler applied (changed=6), re-apply idempotent (changed=0). Verified: old gitborg-reconciler-next.timer not-found + its files gone; exactly one reconciler timer (gitborg-reconciler.timer → gitborg-reconciler.service); on-demand run reconcile complete (APPLY=true) exit 0; scraped reconciler.prom fresh (status=0). Health gates green.

Refs #226, ADR 0035.

Closes #229. Cosmetic follow-up to the ADR 0035 reconciler extraction: drops the `-next` suffix the container units + role vars still carried from the dry-run parallel-run era. It's the only reconciler now, so `gitborg-reconciler-next` → `gitborg-reconciler`. ## Changes - **Renamed** templates (`gitborg-reconciler-next.{container,timer}.j2`, `reconciler-next.env.j2`) and `tasks/next-container.yml` → `tasks/container.yml` (git-tracked renames). - **Renamed** role vars `reconciler_next_*` → `reconciler_*` (folding `_on_calendar` into the existing `reconciler_on_calendar`). - **`main.yml`:** replaced the (already-applied, #227) bash teardown with a one-time `gitborg-reconciler-next` teardown — stop+disable the old timer and remove its unit/timer/env **before** installing the renamed units, so the two timers never fire the reconciler twice per tick. The renamed env/timer reuse the retired bash basenames, so the teardown targets **only** the `-next` paths. - runbook updated. **No behaviour change** — container image, metrics (`gitborg_reconciler_*`), and alerts are untouched. ## Applied + verified on prod (2026-07-28) `site.yml --tags reconciler` applied (`changed=6`), re-apply idempotent (`changed=0`). Verified: old `gitborg-reconciler-next.timer` `not-found` + its files gone; **exactly one** reconciler timer (`gitborg-reconciler.timer → gitborg-reconciler.service`); on-demand run `reconcile complete (APPLY=true)` exit 0; scraped `reconciler.prom` fresh (`status=0`). Health gates green. Refs #226, ADR 0035.
supernaut lade till 1 incheckning 2026-07-28 07:05:43 +00:00
refactor(reconciler): drop the -next suffix, rename to gitborg-reconciler (#229)
Alla kontroller lyckades
ci / ci (pull_request) Successful in 1m25s
78aec504f5
The reconciler container units + role vars still carried the -next suffix from the
ADR 0035 dry-run parallel run (#221). It's the only reconciler now (#226), so drop it:

- Rename templates (gitborg-reconciler-next.{container,timer}.j2, reconciler-next.env.j2)
  and tasks/next-container.yml -> tasks/container.yml.
- Rename reconciler_next_* vars -> reconciler_* (fold _on_calendar into reconciler_on_calendar).
- main.yml: replace the (already-applied) bash teardown with a one-time gitborg-reconciler-next
  teardown -- stop+disable the old timer and remove its unit/timer/env BEFORE installing the
  renamed units, so both timers don't fire the reconciler twice. The renamed env/timer reuse the
  retired bash basenames, so the teardown targets ONLY the -next paths.
- runbook updated.

No behaviour change -- container image, metrics (gitborg_reconciler_*), and alerts untouched.
supernaut sammanfogade incheckning 3f98e88675 till main 2026-07-28 07:08:02 +00:00
supernaut tog bort grenen refactor/reconciler-drop-next-suffix 2026-07-28 07:08:02 +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-infra!230
Ingen beskrivning angiven.