Skip to content

feat(ops): add post-update verification gate#52

Merged
typelicious merged 3 commits into
mainfrom
codex/feature/v0.7-post-update-verification-2026-03-12
Mar 12, 2026
Merged

feat(ops): add post-update verification gate#52
typelicious merged 3 commits into
mainfrom
codex/feature/v0.7-post-update-verification-2026-03-12

Conversation

@typelicious
Copy link
Copy Markdown
Collaborator

What changed

  • adds auto_update.verification with a post-update command, timeout, and optional rollback hint
  • extends foundrygate-auto-update --apply to run verification after the update command completes
  • prints a stronger rollback signal when verification fails
  • documents the verification gate in README, publishing, and troubleshooting docs
  • adds focused config and update tests for the new verification block

Why

This gives helper-driven updates a clear post-apply validation step without turning the gateway into a silent self-mutating updater.

How verified

  • PYTHONPYCACHEPREFIX="$PWD/.pycache" python3 -m compileall foundrygate tests
  • PYTHONPATH=. ./.venv-check-313/bin/pytest -q tests/test_updates.py tests/test_config.py
  • ./.venv-check-313/bin/ruff check foundrygate/config.py foundrygate/updates.py tests/test_updates.py tests/test_config.py
  • ./.venv-check-313/bin/ruff format --check foundrygate/config.py foundrygate/updates.py tests/test_updates.py tests/test_config.py
  • bash -n scripts/foundrygate-auto-update
  • /usr/bin/git diff --check

@typelicious typelicious changed the base branch from codex/feature/v0.7-rollout-provider-scopes-2026-03-12 to main March 12, 2026 19:21
@typelicious typelicious merged commit 7d7c845 into main Mar 12, 2026
12 checks passed
@typelicious typelicious deleted the codex/feature/v0.7-post-update-verification-2026-03-12 branch March 12, 2026 20:08
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.

1 participant