Skip to content

Filter runtime secret bindings by target route#1129

Merged
cbusillo merged 2 commits into
mainfrom
fix-runtime-secret-binding-route-filter
Jun 3, 2026
Merged

Filter runtime secret bindings by target route#1129
cbusillo merged 2 commits into
mainfrom
fix-runtime-secret-binding-route-filter

Conversation

@cbusillo
Copy link
Copy Markdown
Owner

@cbusillo cbusillo commented Jun 3, 2026

Summary

  • ignore unrelated-context managed secret bindings during runtime key-safety evaluation
  • report binding_missing when all candidate bindings are outside the target route
  • add a regression test for an OPW prod target not being satisfied by a CM prod binding

Validation

  • uv run --extra dev ruff check --exit-zero control_plane/runtime_key_safety.py tests/test_runtime_key_safety.py
  • uv run python -m unittest tests.test_runtime_key_safety
  • uv run --extra dev ruff check control_plane/runtime_key_safety.py tests/test_runtime_key_safety.py
  • uv run --extra dev mypy control_plane/runtime_key_safety.py tests/test_runtime_key_safety.py
  • git diff --check

@cbusillo cbusillo merged commit a217819 into main Jun 3, 2026
12 checks passed
@cbusillo cbusillo deleted the fix-runtime-secret-binding-route-filter branch June 3, 2026 13:25
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