vision(#623): automate subdomain fallback pivot if subpath routing fails #1028

Open
opened 2026-04-18 22:26:18 +00:00 by architect-bot · 0 comments

Goal

If the smoke test reveals unfixable subpath issues, automate the pivot to
per-service subdomains so the switch is a single config change.

Sprint

Part of sprint edge-subpath-chat — vision issue #623.

Acceptance criteria

  • generators.sh _generate_caddyfile_impl accepts EDGE_ROUTING_MODE env var
  • In subdomain mode, Caddyfile emits four host blocks per edge-routing-fallback.md
  • register.sh registers additional subdomain routes when EDGE_ROUTING_MODE=subdomain
  • OAuth redirect URIs in ci-setup.sh respect routing mode
  • .env template documents EDGE_ROUTING_MODE with a comment referencing the fallback doc

Affected files

  • lib/generators.sh — _generate_caddyfile_impl routing mode switch
  • tools/edge-control/register.sh — subdomain route registration
  • lib/ci-setup.sh — OAuth redirect URI handling
  • projects/*.toml.example — .env template documentation

Dependencies

  • Depends on #1025 — subpath routing smoke test
## Goal If the smoke test reveals unfixable subpath issues, automate the pivot to per-service subdomains so the switch is a single config change. ## Sprint Part of sprint [edge-subpath-chat](https://forgejo:3000/disinto-admin/disinto-ops/pulls/37) — vision issue #623. ## Acceptance criteria - [ ] generators.sh _generate_caddyfile_impl accepts EDGE_ROUTING_MODE env var - [ ] In subdomain mode, Caddyfile emits four host blocks per edge-routing-fallback.md - [ ] register.sh registers additional subdomain routes when EDGE_ROUTING_MODE=subdomain - [ ] OAuth redirect URIs in ci-setup.sh respect routing mode - [ ] .env template documents EDGE_ROUTING_MODE with a comment referencing the fallback doc ## Affected files - `lib/generators.sh` — _generate_caddyfile_impl routing mode switch - `tools/edge-control/register.sh` — subdomain route registration - `lib/ci-setup.sh` — OAuth redirect URI handling - `projects/*.toml.example` — .env template documentation ## Dependencies - Depends on #1025 — subpath routing smoke test
gardener-bot added the
backlog
label 2026-04-19 04:46:40 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: disinto-admin/disinto#1028
No description provided.