Skip to content

feat(ops): add rollout provider scopes#51

Merged
typelicious merged 3 commits into
mainfrom
codex/feature/v0.7-rollout-provider-scopes-2026-03-12
Mar 12, 2026
Merged

feat(ops): add rollout provider scopes#51
typelicious merged 3 commits into
mainfrom
codex/feature/v0.7-rollout-provider-scopes-2026-03-12

Conversation

@typelicious
Copy link
Copy Markdown
Collaborator

What changed

  • adds auto_update.provider_scope with allow_providers and deny_providers
  • validates rollout provider scopes against configured provider ids
  • evaluates rollout-health guardrails against the scoped provider subset instead of always using the full runtime
  • exposes matched rollout providers and scoped health totals through GET /api/update
  • documents the new rollout control in README, publishing, and troubleshooting docs

Why

This lets operators gate helper-driven updates against the providers that matter for a given environment, instead of having one unrelated unhealthy provider block the whole rollout.

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 foundrygate/main.py tests/test_updates.py tests/test_config.py
  • ./.venv-check-313/bin/ruff format --check foundrygate/config.py foundrygate/updates.py foundrygate/main.py tests/test_updates.py tests/test_config.py
  • /usr/bin/git diff --check

@typelicious typelicious changed the base branch from codex/feature/v0.7-maintenance-windows-2026-03-12 to main March 12, 2026 19:12
@typelicious typelicious merged commit 4fce6e0 into main Mar 12, 2026
12 checks passed
@typelicious typelicious deleted the codex/feature/v0.7-rollout-provider-scopes-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