docs: ADR 0030 — environments & promotion strategy (bitborg-infra#38) #39

Sammanfogat
supernaut sammanfogade 1 incheckning från docs/0030-environments-promotion in i main 2026-07-18 21:28:10 +00:00
Ägare

Accepted after a grilling pass on the draft. Records the phased strategy from the 2026-07-18 incidents (#94 exec-crash, #96 metric-mode).

Decisions (post-grill)

  • Trunk-based, single main, branch-protected on CI-green (Tier-0 must pass to merge); review soft (solo operator). Directory-scoped environments, not Gitflow.
  • Tier 0 CI smoke — shipped (bitborg-infra#104).
  • Tier 2 post-apply health gate — build now (bitborg-infra#107): fixed host-scoped core-liveness (core containers active + public endpoints serve + node_textfile_scrape_error==0), halt + alert, fix-forward (no auto-rollback), excludes standing monitoring alerts.
  • Tier 1 ephemeral staging + the group_vars/inventory split — deferred/last-ditch (bitborg-infra#103/#105/#106): documented as the target shape, built only if a real-host-only failure demands it (may never be needed).
  • One hard rule: major Postgres/Forgejo (irreversible-forward) upgrades must be rehearsed first — restore-drill clone (ADR 0027) is the first-choice vehicle before full staging.

Near-term effect

Only bitborg-infra#107 is built now; #103/#105/#106 defer. Epic bitborg-docs#37 re-scoped to match.

Closes #38.

Accepted after a grilling pass on the draft. Records the **phased** strategy from the 2026-07-18 incidents (#94 exec-crash, #96 metric-mode). ## Decisions (post-grill) - **Trunk-based, single `main`, branch-protected on CI-green** (Tier-0 must pass to merge); review soft (solo operator). Directory-scoped environments, **not Gitflow**. - **Tier 0 CI smoke — shipped** (bitborg-infra#104). - **Tier 2 post-apply health gate — build now** (bitborg-infra#107): fixed host-scoped core-liveness (core containers active + public endpoints serve + `node_textfile_scrape_error==0`), **halt + alert, fix-forward (no auto-rollback)**, excludes standing monitoring alerts. - **Tier 1 ephemeral staging + the group_vars/inventory split — deferred/last-ditch** (bitborg-infra#103/#105/#106): documented as the target shape, built only if a real-host-only failure demands it (may never be needed). - **One hard rule:** major Postgres/Forgejo (irreversible-forward) upgrades must be rehearsed first — **restore-drill clone (ADR 0027) is the first-choice vehicle** before full staging. ## Near-term effect Only bitborg-infra#107 is built now; #103/#105/#106 defer. Epic bitborg-docs#37 re-scoped to match. Closes #38.
supernaut lade till 1 incheckning 2026-07-18 21:24:12 +00:00
docs: ADR 0030 — environments & promotion strategy (gitborg-infra#38)
Alla kontroller lyckades
ci / ci (pull_request) Successful in 12s
71dd2285ef
Accepted after a grilling pass. Records the phased strategy that came out
of the 2026-07-18 incidents (#94, #96):

- trunk-based, single main, branch-protected on CI-green (review soft —
  solo operator); directory-scoped environments (not Gitflow)
- Tier 0 CI smoke: SHIPPED (#104)
- Tier 2 post-apply health gate: BUILD NOW (#107) — fixed host-scoped
  core-liveness check, halt+alert, fix-forward (no auto-rollback),
  excludes standing monitoring alerts
- Tier 1 ephemeral staging + the group_vars/inventory split: DEFERRED /
  last-ditch (#103/#105/#106) — documented as target shape, built only
  if a real-host-only failure demands it
- one hard rule: major Postgres/Forgejo (irreversible-forward) upgrades
  must be rehearsed first, restore-drill clone (ADR 0027) as first-choice
  vehicle before full staging

Closes gitborg-infra#38.
supernaut tvångsskickade docs/0030-environments-promotion från 71dd2285ef
Alla kontroller lyckades
ci / ci (pull_request) Successful in 12s
till bbd79d8523
Alla kontroller lyckades
ci / ci (pull_request) Successful in 12s
2026-07-18 21:27:13 +00:00
Jämför
supernaut sammanfogade incheckning bf3169b64a till main 2026-07-18 21:28:10 +00:00
supernaut tog bort grenen docs/0030-environments-promotion 2026-07-18 21:28:11 +00:00
supernaut ändrade titeln från docs: ADR 0030 — environments & promotion strategy (gitborg-infra#38) till docs: ADR 0030 — environments & promotion strategy (bitborg-infra#38) 2026-08-03 09:59:21 +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-docs!39
Ingen beskrivning angiven.