Skip to content

fix(deploy): kill switch for Safe House harness gates#119

Merged
alexgarden-mnemom merged 1 commit intomainfrom
fix/safe-house-harness-kill-switch
May 8, 2026
Merged

fix(deploy): kill switch for Safe House harness gates#119
alexgarden-mnemom merged 1 commit intomainfrom
fix/safe-house-harness-kill-switch

Conversation

@alexgarden-mnemom
Copy link
Copy Markdown
Member

Summary

  • Adds vars.SAFE_HOUSE_HARNESS_DISABLED != '1' to the if: clauses on fast-lane-harness and nightly-recency. Both are already informational (per the comments and ADR-048 cutover 2026-05-07), so disabling them does not affect the prod gate.
  • Operator can flip the switch with gh variable set SAFE_HOUSE_HARNESS_DISABLED --body 1 --repo mnemom/deploy.

Why now

The fast-lane harness is broken and being fixed. While broken, cancelling a stuck run is futile: the deploy.yml concurrency group has cancel-in-progress: true plus a cancel-stale-runs job that proactively kills older runs in the same (repo, env) group. Under normal traffic (mnemom-api + mnemom-platform), a fresh dispatch lands within minutes, supersedes the cancel, and the 45-minute fast-lane poll restarts from zero.

Test plan

  • Merge.
  • Set SAFE_HOUSE_HARNESS_DISABLED=1; confirm both Safe House jobs show as skipped on the next deploy.
  • Once the harness is repaired, delete the variable to re-enable.

🤖 Generated with Claude Code

Both fast-lane-harness and nightly-recency are informational. Add
SAFE_HOUSE_HARNESS_DISABLED repo variable so they can be skipped
without code changes while the harness is being repaired. Without
this, cancelling a stuck run is futile — the next dispatch (~minutes
later under normal traffic) supersedes via concurrency and restarts
the 45-min poll.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@alexgarden-mnemom alexgarden-mnemom merged commit c46034a into main May 8, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants