chore: forgejo 17 follow-ups (sign-out branch, dead css, runbook) #765

Sammanfogat
supernaut sammanfogade 3 incheckningar från chore/716-v17-followups in i main 2026-10-17 16:22:35 +00:00
Ägare

Cleanup after the Forgejo 17.0.0 upgrade (staging and prod since 2026-10-17). Refs #716.

What

  • Caddyfile.j2: drop the v16 200 JSON branch of the sign-out intercept. v17 answers POST /user/logout with 303, which the remaining branch handles (#762). The stale-navigation handler for /user/sso-logout stays: v17's event stream still sends other tabs to / without the cookie.
  • test_frontchannel_logout.sh: the 303 raw-request check is now the control. The front-channel assertions are unchanged.
  • bitborg.css: remove --color-primary-dark-5/6/7, which v17 no longer defines or reads (PR13224).
  • Runbook: both sign-out paragraphs describe v17, a short "v17 specifics" subsection (log root, unencrypted mirrors refused, reserved actor, rollback needs a DB restore), and a note that v17 PR13811 probably fixes the Zoekt 500 (search stays off).

Checks

  • Test ok in the pinned Caddy image. Removing the 303 branch makes it fail.
  • ansible-lint 0 failures. Syntax check and pinned shellcheck clean.
  • Staging --check: failed=0. Changed: Caddyfile, Caddy restart, CSS, Forgejo restart.

After merge

  • --tags caddy,forgejo on staging and prod. Expect the changes above. Forgejo restarts for the CSS file.
  • Browser: Forgejo sign-out still reaches Keycloak's logout on prod.
Cleanup after the Forgejo 17.0.0 upgrade (staging and prod since 2026-10-17). Refs #716. ## What - `Caddyfile.j2`: drop the v16 `200` JSON branch of the sign-out intercept. v17 answers `POST /user/logout` with `303`, which the remaining branch handles (#762). The stale-navigation handler for `/user/sso-logout` stays: v17's event stream still sends other tabs to `/` without the cookie. - `test_frontchannel_logout.sh`: the `303` raw-request check is now the control. The front-channel assertions are unchanged. - `bitborg.css`: remove `--color-primary-dark-5/6/7`, which v17 no longer defines or reads (PR13224). - Runbook: both sign-out paragraphs describe v17, a short "v17 specifics" subsection (log root, unencrypted mirrors refused, reserved `actor`, rollback needs a DB restore), and a note that v17 PR13811 probably fixes the Zoekt 500 (search stays off). ## Checks - Test `ok` in the pinned Caddy image. Removing the `303` branch makes it fail. - `ansible-lint` 0 failures. Syntax check and pinned shellcheck clean. - Staging `--check`: `failed=0`. Changed: Caddyfile, Caddy restart, CSS, Forgejo restart. ## After merge - [x] `--tags caddy,forgejo` on staging and prod. Expect the changes above. Forgejo restarts for the CSS file. - [x] Browser: Forgejo sign-out still reaches Keycloak's logout on prod.
supernaut lade till 3 incheckningar 2026-10-17 16:16:49 +00:00
Prod and staging run Forgejo 17, which answers sign-out with 303. The control in the test now uses the 303 path. Refs #716.
Forgejo 17 no longer defines or reads them. Refs #716.
docs(runbook): describe v17 sign-out and add v17 specifics
Alla kontroller lyckades
ci / ci (pull_request) Successful in 2m50s
8c1e44cc79
Sign-out is a 303 on v17. Records the log root, mirror encryption, reserved name and rollback notes. Refs #716.
supernaut sammanfogade incheckning 59df3bd04d till main 2026-10-17 16:22:35 +00:00
supernaut tog bort grenen chore/716-v17-followups 2026-10-17 16:22:36 +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!765
Ingen beskrivning angiven.