chore: drop the rootless rehearsal and always-on flags #642

Sammanfogat
supernaut sammanfogade 4 incheckningar från chore/drop-dead-paths in i main 2026-10-10 17:00:18 +00:00
Ägare

What

Remove code paths that can no longer run. About 990 lines deleted, 26 added.

  • Rootless cutover (ADR 0031) is done. Delete ansible/rehearsal-rootless.yml, the forgejo migrate-rootless.yml task file, its include_tasks gate, the forgejo_migrate_rootless default, and the runbook rehearsal section.
  • Drop flags that are never set false: web_deploy_verify_enabled, base_swap_enabled, backup_restic_enabled, backup_verify_enabled, forgejo_actions_enabled. The always-on path stays. The verify timer is still gated on the vaulted age identity.
  • Drop the unused runner_controller_image_tag default. The live tag is the content hash in tasks/main.yml.
  • Restore drill: a missing gitborg_web.dump is now a hard failure instead of a skip.

Why the drill change is safe

backup_retention_days is 14 and the drill restores the newest archive. The dump was added to backups on 2026-07-19. An archive without it would have to be older than 80 days. Retention prunes it long before that.

Not changed

  • backup-verify.sh.j2 keeps its own pre-dump skip (backup role, left for the Keycloak drill work).
  • Backup-drill HOLD mode, its log lines, and the :2222 rule in opentofu/backup-drill.tofu still mention the removed playbook. HOLD mode only existed for the rehearsal. Worth a follow-up.
  • No -e override on an operator command line can be ruled out from the repo.

Verified

  • ansible-playbook site.yml --syntax-check, ansible-lint (0 failures)
  • check-alert-rules.py, check-handlers-unique.py, check-metric-names.py, check-no-password-output.py, check-renovate-annotations.py
  • Jinja parse of the edited templates
  • Nothing applied to prod or staging.
## What Remove code paths that can no longer run. About 990 lines deleted, 26 added. - Rootless cutover (ADR 0031) is done. Delete `ansible/rehearsal-rootless.yml`, the forgejo `migrate-rootless.yml` task file, its `include_tasks` gate, the `forgejo_migrate_rootless` default, and the runbook rehearsal section. - Drop flags that are never set false: `web_deploy_verify_enabled`, `base_swap_enabled`, `backup_restic_enabled`, `backup_verify_enabled`, `forgejo_actions_enabled`. The always-on path stays. The verify timer is still gated on the vaulted age identity. - Drop the unused `runner_controller_image_tag` default. The live tag is the content hash in `tasks/main.yml`. - Restore drill: a missing `gitborg_web.dump` is now a hard failure instead of a skip. ## Why the drill change is safe `backup_retention_days` is 14 and the drill restores the newest archive. The dump was added to backups on 2026-07-19. An archive without it would have to be older than 80 days. Retention prunes it long before that. ## Not changed - `backup-verify.sh.j2` keeps its own pre-dump skip (backup role, left for the Keycloak drill work). - Backup-drill HOLD mode, its log lines, and the `:2222` rule in `opentofu/backup-drill.tofu` still mention the removed playbook. HOLD mode only existed for the rehearsal. Worth a follow-up. - No `-e` override on an operator command line can be ruled out from the repo. ## Verified - `ansible-playbook site.yml --syntax-check`, `ansible-lint` (0 failures) - `check-alert-rules.py`, `check-handlers-unique.py`, `check-metric-names.py`, `check-no-password-output.py`, `check-renovate-annotations.py` - Jinja parse of the edited templates - Nothing applied to prod or staging.
supernaut lade till 4 incheckningar 2026-10-10 16:42:31 +00:00
supernaut tvångsskickade chore/drop-dead-paths från 5d93b3b8de
Alla kontroller lyckades
ci / ci (pull_request) Successful in 1m59s
till d40a97309c
Alla kontroller lyckades
ci / ci (pull_request) Successful in 2m0s
2026-10-10 16:57:47 +00:00
Jämför
supernaut schemalade den här ändringsförfrågan för automatisk sammanfogning när alla kontroller lyckas 2026-10-10 16:57:51 +00:00
supernaut sammanfogade incheckning cc4696175c till main 2026-10-10 17:00:18 +00:00
supernaut tog bort grenen chore/drop-dead-paths 2026-10-10 17:00:18 +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!642
Ingen beskrivning angiven.