feat(infra): enable federation on the flagship (social-federation 12.5)
Wiring follows the IS_FLAGSHIP pattern: the compose env defaults every FEDERATION_* var to empty (off — the safe self-host default; all federation surfaces 404), and cd-apps.yml appends FEDERATION_ENABLED=true + FEDERATION_LOG_LEVEL=info to the flagship's app.env. FEDERATION_KEY_ENCRYPTION_KEY was already in SOPS. Rollout 12.2/12.3 soaked on staging against a real Mastodon (2026-06-06/07); the trails↔trails Accept bug found by the §11 harness is fixed and deployed. Rollback: drop the two echo lines, merge, rerun cd-apps — instant off, follow rows persist. First boot with the flag enqueues backfill-user-keypairs (idempotent) and registers the federation jobs. Applied via manual cd-apps dispatch after merge since workflow-file changes don't trigger the path filter. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
b7ae8d2aa0
commit
f3a17cf78c
3 changed files with 18 additions and 2 deletions
7
.github/workflows/cd-apps.yml
vendored
7
.github/workflows/cd-apps.yml
vendored
|
|
@ -83,6 +83,13 @@ jobs:
|
|||
echo "DOMAIN=trails.cool" >> infrastructure/app.env
|
||||
# Flagship marker — see cd-infra.yml for what this gates.
|
||||
echo "IS_FLAGSHIP=true" >> infrastructure/app.env
|
||||
# Federation on (social-federation rollout 12.5, flipped
|
||||
# 2026-06-07 after the staging + Mastodon soak). The
|
||||
# FEDERATION_KEY_ENCRYPTION_KEY comes from the SOPS env
|
||||
# decrypted above. Rollback: delete these two lines, merge,
|
||||
# rerun cd-apps — instant off, federation surfaces 404.
|
||||
echo "FEDERATION_ENABLED=true" >> infrastructure/app.env
|
||||
echo "FEDERATION_LOG_LEVEL=info" >> infrastructure/app.env
|
||||
# Sentry DSNs (public — see workflow top-level env for context).
|
||||
echo "SENTRY_DSN_JOURNAL=$SENTRY_DSN_JOURNAL" >> infrastructure/app.env
|
||||
echo "SENTRY_DSN_PLANNER=$SENTRY_DSN_PLANNER" >> infrastructure/app.env
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue