Skip to content

armgit / AiSOC

Public Imported from GitHub
0

Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.

chore(infra): retire two workflows that deployed to apps that no longer exist (#1002)

Beenu Arora6a1120add0be
diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml
index 0694cbd76..49d9142a1 100644
--- a/.github/FUNDING.yml
+++ b/.github/FUNDING.yml
@@ -15,4 +15,8 @@
# liberapay:
# issuehunt:
# otechie:
-# custom: ["https://tryaisoc.com/support"]
+# custom: []
+#
+# Whatever goes in `custom:` must return HTTP 200 before it is uncommented.
+# The example that used to sit on that line pointed at a path that 404s, and
+# a Sponsor button is the most visible link a repository has.
diff --git a/.github/workflows/deploy-api.yml b/.github/workflows/deploy-api.yml
deleted file mode 100644
index b7e2efbb5..000000000
--- a/.github/workflows/deploy-api.yml
+++ /dev/null
@@ -1,135 +0,0 @@
-name: Deploy API to Fly
-
-# ── Why this no longer runs on push ──────────────────────────────────────────
-#
-# The Fly account has overdue invoices and both demo apps were reclaimed for
-# non-payment. Fly says so itself, verbatim, on every attempt:
-#
-# Error: Your account has overdue invoices. Please update your payment
-# information: https://fly.io/dashboard/<account>/billing
-#
-# That is a billing action, not an engineering one, so a push trigger here can
-# only ever fail — and a job that cannot pass teaches everyone to ignore a red
-# `main`, which is how a real breakage gets through.
-#
-# The fix is deliberately NOT a silent `exit 0`. That is exactly what hid this
-# for weeks of green runs before: the workflow swallowed "app not found" and
-# reported success while nothing was deployed. It still fails loudly — it just
-# no longer fails on every push for a reason no contributor can act on.
-#
-# Settle the invoice, then run this from the Actions tab. Nothing else needs
-# to change. The OSS demo path meanwhile is Codespaces, not Fly.
-
-on:
- workflow_dispatch:
-
-permissions:
- contents: read
-
-concurrency:
- group: deploy-api
- cancel-in-progress: true
-
-jobs:
- deploy:
- name: Deploy aisoc-demo-api
- runs-on: ubuntu-latest
- env:
- FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
- steps:
- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- with:
- fetch-depth: 0
-
- - name: Install flyctl
- uses: superfly/flyctl-actions/setup-flyctl@ed8efb33836e8b2096c7fd3ba1c8afe303ebbff1 # master
-
- # Deploy only when the demo app is actually provisioned. The public Fly
- # demo can be torn down / re-provisioned out-of-band; when the app is
- # absent (or no token is configured) a hard `flyctl deploy` fails the run
- # with "app not found" and turns main red for an infra state that isn't a
- # code problem. Gate the remaining steps instead — deploy auto-resumes as
- # soon as the app exists again.
- - name: Check Fly app provisioned
- id: flycheck
- run: |
- set -uo pipefail
- # Without a token there is nothing to do, so skipping is the only
- # option. A missing *app* is different: self-provision it. Exiting
- # 0 on a missing app is how the public demo stayed down for weeks
- # while every run showed green — nothing in the history
- # distinguished "nothing to deploy to" from "deployed fine", and a
- # warning inside a passing run is a warning nobody reads.
- if [ -z "${FLY_API_TOKEN:-}" ]; then
- echo "::warning title=deploy-api::FLY_API_TOKEN not set — skipping deploy (nothing to deploy to)."
- echo "deploy=false" >> "$GITHUB_OUTPUT"
- elif ! flyctl status --app aisoc-demo-api >/dev/null 2>&1; then
- echo "Fly app 'aisoc-demo-api' not found — creating it."
- # Capture the vendor's own error rather than guessing. The
- # first real run of this said "Your account has overdue
- # invoices", which no list of plausible reasons would have
- # included, and which is the actual reason the demo is down.
- if create_output=$(flyctl apps create aisoc-demo-api --org personal 2>&1); then
- echo "deploy=true" >> "$GITHUB_OUTPUT"
- else
- echo "$create_output"
- echo "::error title=deploy-api::Could not create 'aisoc-demo-api'. Fly said: ${create_output//$'\n'/ }"
- exit 1
- fi
- else
- echo "deploy=true" >> "$GITHUB_OUTPUT"
- fi
-
- - name: Set up Python
- if: steps.flycheck.outputs.deploy == 'true'
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
- with:
- python-version: "3.11"
-
- # Mirror infra/fly/fly-demo-deploy.sh::stage_marketplace_index. The api
- # Dockerfile does `COPY . .` against services/api/, so anything outside
- # that dir is invisible to the image. /api/v1/marketplace returns 503
- # without index.json present at /app/marketplace/index.json in the image.
- - name: Stage marketplace/index.json into services/api
- if: steps.flycheck.outputs.deploy == 'true'
- run: |
- python3 -m pip install --quiet pyyaml
- python3 scripts/build_marketplace.py
- mkdir -p services/api/marketplace
- cp marketplace/index.json services/api/marketplace/index.json
- ls -la services/api/marketplace/
-
- # The api Dockerfile was written assuming build context = services/api/
- # (it does `COPY pyproject.toml ./` and `COPY . .`). flyctl deploy uses
- # its cwd as the build context, so we cd into services/api/ and pass an
- # absolute path to the fly.toml so flyctl still finds it. This mirrors
- # the deploy_app() helper in infra/fly/fly-demo-deploy.sh.
- - name: Deploy to Fly (context=services/api)
- if: steps.flycheck.outputs.deploy == 'true'
- working-directory: services/api
- run: |
- flyctl deploy \
- --remote-only \
- --config "${GITHUB_WORKSPACE}/infra/fly/api/fly.toml" \
- --app aisoc-demo-api
-
- # A deploy that returns zero is not an API that works. /health is the
- # cheapest thing that tells the two apart, and without it a green run
- # says nothing about whether the demo is reachable.
- - name: Verify the API actually responds
- if: steps.flycheck.outputs.deploy == 'true'
- run: |
- set -uo pipefail
- URL="https://aisoc-demo-api.fly.dev/health"
- for attempt in $(seq 1 20); do
- code=$(curl -s -o /dev/null -w '%{http_code}' --max-time 15 \
- -A 'AiSOC-deploy-check/1.0' "$URL" || echo 000)
- if [ "$code" = "200" ]; then
- echo "api responding: HTTP 200 after ${attempt} attempt(s)"
- exit 0
- fi
- echo " attempt ${attempt}: HTTP ${code} — waiting for the machine to start"
- sleep 15
- done
- echo "::error title=deploy-api::Deploy succeeded but ${URL} never returned 200. Fly Postgres autostop can leave the database unwakeable, which 500s every data-backed route while the deploy itself looks clean."
- exit 1
diff --git a/.github/workflows/deploy-web.yml b/.github/workflows/deploy-web.yml
deleted file mode 100644
index 9359998ee..000000000
--- a/.github/workflows/deploy-web.yml
+++ /dev/null
@@ -1,104 +0,0 @@
-name: Deploy Web to Fly
-
-# ── Why this no longer runs on push ──────────────────────────────────────────
-#
-# The Fly account has overdue invoices and both demo apps were reclaimed for
-# non-payment. Fly says so itself, verbatim, on every attempt:
-#
-# Error: Your account has overdue invoices. Please update your payment
-# information: https://fly.io/dashboard/<account>/billing
-#
-# That is a billing action, not an engineering one, so a push trigger here can
-# only ever fail — and a job that cannot pass teaches everyone to ignore a red
-# `main`, which is how a real breakage gets through.
-#
-# The fix is deliberately NOT a silent `exit 0`. That is exactly what hid this
-# for weeks of green runs before: the workflow swallowed "app not found" and
-# reported success while nothing was deployed. It still fails loudly — it just
-# no longer fails on every push for a reason no contributor can act on.
-#
-# Settle the invoice, then run this from the Actions tab. Nothing else needs
-# to change. The OSS demo path meanwhile is Codespaces, not Fly.
-
-on:
- workflow_dispatch:
-
-permissions:
- contents: read
-
-concurrency:
- group: deploy-web
- cancel-in-progress: true
-
-jobs:
- deploy:
- name: Deploy aisoc-demo-web
- runs-on: ubuntu-latest
- env:
- FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
- steps:
- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- with:
- fetch-depth: 0
-
- - name: Install flyctl
- uses: superfly/flyctl-actions/setup-flyctl@ed8efb33836e8b2096c7fd3ba1c8afe303ebbff1 # master
-
- - name: Deploy to Fly
- run: |
- set -uo pipefail
- # Deploy only when the demo app is actually provisioned. The public
- # Fly demo can be torn down / re-provisioned out-of-band; when the
- # app is absent (or no token is configured) a hard `flyctl deploy`
- # fails the run with "app not found" and turns main red for an
- # infra state that isn't a code problem. Skip cleanly instead — the
- # deploy auto-resumes as soon as the app exists again.
- if [ -z "${FLY_API_TOKEN:-}" ]; then
- echo "::warning title=deploy-web::FLY_API_TOKEN not set — skipping deploy (demo not provisioned)."
- exit 0
- fi
- # Self-provision rather than skip. The previous behaviour printed a
- # warning and exited 0 when the app was absent, which is how the
- # public demo stayed down for weeks while every deploy run showed
- # green: nothing distinguished "nothing to deploy to" from
- # "deployed fine", and a warning in a passing run is a warning
- # nobody reads.
- if ! flyctl status --app aisoc-demo-web >/dev/null 2>&1; then
- echo "Fly app 'aisoc-demo-web' not found — creating it."
- # Capture the vendor's own error rather than guessing at the
- # cause. The first real run of this said "Your account has
- # overdue invoices", which no list of plausible reasons would
- # have included — and which is the actual reason the public
- # demo has been unreachable.
- if ! create_output=$(flyctl apps create aisoc-demo-web --org personal 2>&1); then
- echo "$create_output"
- echo "::error title=deploy-web::Could not create 'aisoc-demo-web'. Fly said: ${create_output//$'\n'/ }"
- exit 1
- fi
- fi
-
- flyctl deploy \
- --remote-only \
- --dockerfile apps/web/Dockerfile \
- --config apps/web/fly.toml \
- .
-
- # A deploy that returns zero is not a demo that works. The app can boot,
- # fail its first request and sit there — which is indistinguishable from
- # success unless something asks it.
- - name: Verify the demo actually responds
- run: |
- set -uo pipefail
- URL="https://aisoc-demo-web.fly.dev"
- for attempt in $(seq 1 20); do
- code=$(curl -s -o /dev/null -w '%{http_code}' --max-time 15 \
- -A 'AiSOC-deploy-check/1.0' "$URL" || echo 000)
- if [ "$code" = "200" ]; then
- echo "demo responding: HTTP 200 after ${attempt} attempt(s)"
- exit 0
- fi
- echo " attempt ${attempt}: HTTP ${code} — waiting for the machine to start"
- sleep 15
- done
- echo "::error title=deploy-web::Deploy succeeded but ${URL} never returned 200. The demo is down; a green deploy that leaves the demo unreachable is the failure this check exists to surface."
- exit 1
diff --git a/apps/web/fly.toml b/apps/web/fly.toml
index eb5e06700..e4d740ccb 100644
--- a/apps/web/fly.toml
+++ b/apps/web/fly.toml
@@ -1,19 +1,20 @@
# fly.toml — AiSOC web app (Fly.io)
#
-# This file mirrors the live configuration of the `aisoc-demo-web` Fly app.
-# It is the source of truth for the web app's Fly deployment.
+# The `aisoc-demo-web` Fly app this describes DOES NOT EXIST. It was reclaimed
+# for non-payment and `aisoc-demo-web.fly.dev` was NXDOMAIN when last measured
+# (2026-09-28). See infra/fly/README.md for what must be true before any of
+# this can be deployed again.
#
# Secrets are NEVER stored here. They are managed server-side via:
# flyctl secrets set KEY=value -a aisoc-demo-web
# flyctl secrets list -a aisoc-demo-web
#
-# Auto-deploy: any push to `main` that touches `apps/web/**`,
-# `packages/types/**`, `packages/ui/**`, `pnpm-lock.yaml`,
-# `pnpm-workspace.yaml`, or `.github/workflows/deploy-web.yml`
-# triggers `.github/workflows/deploy-web.yml`, which runs
-# `flyctl deploy --remote-only` against this file.
+# There is no auto-deploy. This file used to be deployed by a push-triggered
+# workflow; that workflow was removed along with its API counterpart, because
+# a workflow that deploys to nothing is dead code pointing at a dead
+# destination.
#
-# Manual deploy (from repo root):
+# Manual deploy (from repo root), once the app exists again:
# flyctl deploy --remote-only \
# --dockerfile apps/web/Dockerfile \
# --config apps/web/fly.toml \
diff --git a/infra/fly/README.md b/infra/fly/README.md
index 3e82291ba..994a3729c 100644
--- a/infra/fly/README.md
+++ b/infra/fly/README.md
@@ -1,21 +1,71 @@
-# AiSOC Hosted Demo (Fly.io)
-
-This directory contains the infrastructure-as-code for the public demo at
-**[tryaisoc.com](https://tryaisoc.com)**, deployed on Fly.io.
-
-Three public hostnames front the stack:
+# AiSOC on Fly.io — nothing here is currently deployed
+
+> ## Status, measured 2026-09-28
+>
+> **This stack does not exist.** The Fly organisation has overdue invoices and
+> every app was reclaimed for non-payment. Measured with `dig` and `curl` on
+> the date above:
+>
+> ```
+> aisoc-demo-web.fly.dev NXDOMAIN
+> aisoc-demo-api.fly.dev NXDOMAIN
+> aisoc-demo-realtime.fly.dev NXDOMAIN
+> ```
+>
+> The `api.` and `ws.` subdomains in the table below still resolve — to
+> Cloudflare — and answer **HTTP 525**: the edge is up and the origin behind
+> it is gone. The apex is served from somewhere else entirely and is not this
+> stack.
+>
+> The two workflows that deployed from this directory, `deploy-api.yml` and
+> `deploy-web.yml`, were **removed**. They had already been reduced to
+> `workflow_dispatch`-only, every one of their last runs on `main` failed, and
+> a workflow that deploys to nothing is dead code pointing at a dead
+> destination. Nothing they did is lost: `fly-demo-deploy.sh` performs the
+> deploy, the "Smoke checks" section below is the post-deploy verification
+> they ran, and "Bringing this back" is the precondition list they encoded.
+>
+> **The open-source front door is <https://beenuar.github.io/AiSOC/>. The
+> self-host path is `make up`. Neither involves Fly, and neither depends on
+> anything in this directory.**
+
+Read the rest of this file as a runbook for a stack that is not running.
+
+## Bringing this back
+
+Four things must be true, in this order. Only the first is not an engineering
+task, and it blocks all three that follow.
+
+1. **The Fly invoice is settled.** Every `flyctl` call against this
+ organisation answers `Your account has overdue invoices. Please update your
+ payment information`. That is a billing action. No change in this
+ repository can work around it, and any attempt below fails on it first.
+2. **The apps are re-created.** They were reclaimed, not stopped, so the names
+ may also have been released. `fly-demo-deploy.sh --provision` creates them,
+ the Postgres and Redis attachments, and requests the certificates.
+3. **DNS and certificates are re-issued.** The CNAME targets in "First-time
+ setup" point at `*.fly.dev` names that currently do not resolve, so they
+ have to be re-pointed after step 2 rather than assumed intact.
+4. **The result is verified by asking the app, not the deploy tool.** A
+ `flyctl deploy` that returns zero is not a demo that works — the machine
+ can boot, fail its first request, and sit there. Run the "Smoke checks"
+ below and require HTTP 200 before calling it deployed. This is the one
+ thing the deleted workflows added over the shell script, and it is the
+ reason the public demo once stayed down for weeks behind green runs.
+
+Three public hostnames fronted the stack:
| Hostname | Fly app | Purpose |
|----------------------|------------------------|----------------------------------|
-| `tryaisoc.com` | `aisoc-demo-web` | Next.js UI (apex/root domain) |
-| `api.tryaisoc.com` | `aisoc-demo-api` | FastAPI: `/health`, `/api/v1/*` |
-| `ws.tryaisoc.com` | `aisoc-demo-realtime` | WebSocket fanout (`wss://`) |
-
-Why three hostnames instead of routing everything through `tryaisoc.com`:
-the realtime service speaks raw WebSocket which Next.js rewrites can't
-proxy in production, and sending all `/api/v1/*` through the web app's
-machine would double latency. Splitting api/ws onto their own Fly certs
-is the standard pattern and keeps the browser's CORS/CSP boundary explicit.
+| apex | `aisoc-demo-web` | Next.js UI (apex/root domain) |
+| `api.` subdomain | `aisoc-demo-api` | FastAPI: `/health`, `/api/v1/*` |
+| `ws.` subdomain | `aisoc-demo-realtime` | WebSocket fanout (`wss://`) |
+
+Why three hostnames instead of routing everything through the apex: the
+realtime service speaks raw WebSocket which Next.js rewrites can't proxy in
+production, and sending all `/api/v1/*` through the web app's machine would
+double latency. Splitting api/ws onto their own Fly certs is the standard
+pattern and keeps the browser's CORS/CSP boundary explicit.
## Goal
diff --git a/infra/fly/agents/fly.toml b/infra/fly/agents/fly.toml
index e030b09fb..b1d6152fc 100644
--- a/infra/fly/agents/fly.toml
+++ b/infra/fly/agents/fly.toml
@@ -1,7 +1,11 @@
# ──────────────────────────────────────────────────────────────────────────────
# AiSOC Demo - Agents service (LangGraph orchestrator + investigator)
#
-# Deployed at: https://aisoc-demo-agents.fly.dev
+# NOT DEPLOYED. The app was reclaimed for non-payment and
+# aisoc-demo-agents.fly.dev was NXDOMAIN when last measured (2026-09-28).
+# infra/fly/README.md records the status and what must be true first.
+#
+# App URL when it exists: https://aisoc-demo-agents.fly.dev
# Internal name: aisoc-demo-agents.internal:8084
#
# Reads: Postgres, Redis, KB (in-image), MITRE ATT&CK JSON (in-image)
diff --git a/infra/fly/api/fly.toml b/infra/fly/api/fly.toml
index f1b4e9594..3009f37e1 100644
--- a/infra/fly/api/fly.toml
+++ b/infra/fly/api/fly.toml
@@ -1,7 +1,12 @@
# ──────────────────────────────────────────────────────────────────────────────
# AiSOC Demo - API service (FastAPI)
#
-# Deployed at: https://aisoc-demo-api.fly.dev
+# NOT DEPLOYED. The app was reclaimed for non-payment and
+# aisoc-demo-api.fly.dev was NXDOMAIN when last measured (2026-09-28); the
+# public domain below answers HTTP 525, the edge without its origin.
+# infra/fly/README.md records the status and what must be true first.
+#
+# App URL when it exists: https://aisoc-demo-api.fly.dev
# Public domain: https://api.tryaisoc.com (CNAME → aisoc-demo-api.fly.dev)
# Internal name: aisoc-demo-api.internal:8000
#
diff --git a/infra/fly/fly-demo-deploy.sh b/infra/fly/fly-demo-deploy.sh
index bf4a6ff31..d89e32a17 100755
--- a/infra/fly/fly-demo-deploy.sh
+++ b/infra/fly/fly-demo-deploy.sh
@@ -2,7 +2,14 @@
#
# fly-demo-deploy.sh
#
-# Deploys the full AiSOC live demo stack to Fly.io behind tryaisoc.com.
+# NOTHING THIS DEPLOYS IS CURRENTLY RUNNING. The Fly apps were reclaimed for
+# non-payment and all three `*.fly.dev` hostnames were NXDOMAIN when last
+# measured (2026-09-28); every flyctl call against the organisation answers
+# "Your account has overdue invoices". infra/fly/README.md records the
+# measurements and the four preconditions, the first of which is a billing
+# action no change in this repository can work around.
+#
+# Deploys the full AiSOC live demo stack to Fly.io behind the hosted domain.
# Idempotent: safe to re-run after partial failures.
#
# Usage:
diff --git a/infra/fly/realtime/fly.toml b/infra/fly/realtime/fly.toml
index 739ab004a..fb2865b52 100644
--- a/infra/fly/realtime/fly.toml
+++ b/infra/fly/realtime/fly.toml
@@ -1,7 +1,12 @@
# ──────────────────────────────────────────────────────────────────────────────
# AiSOC Demo - Realtime service (WebSocket)
#
-# Deployed at: https://aisoc-demo-realtime.fly.dev
+# NOT DEPLOYED. The app was reclaimed for non-payment and
+# aisoc-demo-realtime.fly.dev was NXDOMAIN when last measured (2026-09-28);
+# the public WS host below answers HTTP 525, the edge without its origin.
+# infra/fly/README.md records the status and what must be true first.
+#
+# App URL when it exists: https://aisoc-demo-realtime.fly.dev
# Internal name: aisoc-demo-realtime.internal:4000
# Public WS: wss://ws.tryaisoc.com (CNAME → aisoc-demo-realtime.fly.dev)
#
diff --git a/infra/fly/web/fly.toml b/infra/fly/web/fly.toml
index 790639f30..feb4c5580 100644
--- a/infra/fly/web/fly.toml
+++ b/infra/fly/web/fly.toml
@@ -1,7 +1,13 @@
# ──────────────────────────────────────────────────────────────────────────────
# AiSOC Demo - Web (Next.js)
#
-# Deployed at: https://aisoc-demo-web.fly.dev
+# NOT DEPLOYED. The app was reclaimed for non-payment and
+# aisoc-demo-web.fly.dev was NXDOMAIN when last measured (2026-09-28). The
+# apex below still answers 200 — it is served from somewhere else, not from
+# this app. infra/fly/README.md records the status and what must be true
+# first.
+#
+# App URL when it exists: https://aisoc-demo-web.fly.dev
# Public domain: https://tryaisoc.com (CNAME → aisoc-demo-web.fly.dev)
#
# Three public hostnames front this stack:
diff --git a/scripts/check_hosted_hostname.py b/scripts/check_hosted_hostname.py
index 0e42cb63e..224130b25 100644
--- a/scripts/check_hosted_hostname.py
+++ b/scripts/check_hosted_hostname.py
@@ -110,8 +110,18 @@ _GATE_FIXTURE = "deliberate regression assertion that the hostname is absent"
# path -> (expected occurrences, why this one is allowed)
ALLOWED: dict[str, tuple[int, str]] = {
# --- managed-instance deploy configs -----------------------------------
- "infra/fly/fly-demo-deploy.sh": (27, _MANAGED_DEPLOY),
- "infra/fly/README.md": (17, _MANAGED_DEPLOY),
+ # 27 before the status banner. The one that went was the header sentence
+ # claiming the script "deploys the stack behind <hosted domain>" — present
+ # tense about apps that no longer exist. The remaining 26 are flags and
+ # printed DNS records, which are what the script configures.
+ "infra/fly/fly-demo-deploy.sh": (26, _MANAGED_DEPLOY),
+ # 17 before the Fly apps were confirmed reclaimed. Six went with the
+ # claims that were no longer true: the file opened by saying the hosted
+ # demo is "deployed on Fly.io" when the three `*.fly.dev` names are
+ # NXDOMAIN, and the hostname/app table stated a mapping that resolves to
+ # HTTP 525. The table stays, describing what fronted the stack, with the
+ # hostnames named by role instead of spelled out as if they worked.
+ "infra/fly/README.md": (11, _MANAGED_DEPLOY),
"infra/fly/web/fly.toml": (13, _MANAGED_DEPLOY),
"infra/fly/api/fly.toml": (9, _MANAGED_DEPLOY),
"infra/fly/realtime/fly.toml": (4, _MANAGED_DEPLOY),
@@ -124,7 +134,10 @@ ALLOWED: dict[str, tuple[int, str]] = {
"apps/web/fly.toml": (4, _MANAGED_DEPLOY),
"scripts/demo-public.sh": (3, _MANAGED_DEPLOY),
"scripts/adoption_snapshot.py": (1, _MANAGED_DEPLOY),
- ".github/FUNDING.yml": (1, _MANAGED_DEPLOY),
+ # `.github/FUNDING.yml` used to sit here for one occurrence: a commented-out
+ # `custom: ["<hosted host>/support"]` example. The path 404s, and a Sponsor
+ # button is the most visible link a repository has, so the example was
+ # replaced with an empty list and a rule rather than exempted.
".github/ISSUE_TEMPLATE/benchmark_submission.yml": (2, _MANAGED_DEPLOY),
"apps/web/e2e/demo/screencast.spec.ts": (1, _MANAGED_DEPLOY),
# --- marketing surface, served from the hosted site --------------------
diff --git a/services/api/app/scripts/run_migrations.py b/services/api/app/scripts/run_migrations.py
index 0f258e9c3..7a62e0565 100644
--- a/services/api/app/scripts/run_migrations.py
+++ b/services/api/app/scripts/run_migrations.py
@@ -118,9 +118,8 @@ async def _connect() -> asyncpg.Connection:
own boot. asyncpg surfaces these as ``ConnectionDoesNotExistError``,
``ConnectionResetError``, or ``OSError`` raised *inside the initial
handshake* — i.e. before the connection is ever usable. A single
- failed connect would crash the entire deploy, which made the
- "Deploy API to Fly" workflow look like a code regression when it
- was really just a cold-start race.
+ failed connect would crash the entire deploy, which made a Fly deploy
+ look like a code regression when it was really just a cold-start race.
We retry on the small set of connect-time exceptions that are
actually transient. Anything authentication- or schema-related