Skip to content

feat(ops): add rollout guardrails#47

Merged
typelicious merged 1 commit intomainfrom
codex/feature/v0.7-rollout-guardrails-r2-2026-03-12
Mar 12, 2026
Merged

feat(ops): add rollout guardrails#47
typelicious merged 1 commit intomainfrom
codex/feature/v0.7-rollout-guardrails-r2-2026-03-12

Conversation

@typelicious
Copy link
Copy Markdown
Collaborator

Supersedes #46 without force-pushing the original branch.

What changed

  • adds provider-health rollout guardrails to the auto-update eligibility path
  • adds config fields for require_healthy_providers and max_unhealthy_providers
  • updates README, publishing, troubleshooting, and tests for the stricter rollout policy

Why

  • prevents helper-driven updates from being marked eligible while the gateway is already degraded
  • gives operators a small but meaningful safety budget for scheduled rollouts

How verified

  • 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/main.py foundrygate/updates.py tests/test_updates.py tests/test_config.py
  • ./.venv-check-313/bin/ruff format --check foundrygate/config.py foundrygate/main.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 merged commit cbf445e into main Mar 12, 2026
12 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.

1 participant