You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(k8s): resolve cluster secrets fixture in installed package #6948
priority/p1-highPriority P1: high-impact work for the next planned milestonescope/k8sKubernetes commands, Helm charts, pods, services, and policiestype/bugType bug: the code does not do what it must
src/devops_cli/k8s/cluster_secrets.py defines _FIXTURE_SECRETS_FILE = Path(__file__).resolve().parents[3] / 'tests' / 'fixtures' / 'cluster-secrets.toml'. When devops_cli runs from an installed package (such as in /app/.venv inside the Service test image devops-cli-service:local), parents[3] points to the Python directory rather than the repository root. _FIXTURE_SECRETS_FILE does not exist, so load_cluster_secrets_table() falls back to an empty environment secret list (returning only 10 product secrets instead of 23). This causes all cluster Secret and k8s tests to fail in Service Image Tests (shards 1-6).
Expected vs Actual Behavior
Expected: load_cluster_secrets_table() resolves tests/fixtures/cluster-secrets.toml from the repository root when running tests inside the service container.
Actual: load_cluster_secrets_table() fails to find the fixture and returns an incomplete table, breaking all PR checks in Service Image Tests.
priority/p1-highPriority P1: high-impact work for the next planned milestonescope/k8sKubernetes commands, Helm charts, pods, services, and policiestype/bugType bug: the code does not do what it must
Activity
fix(k8s): Resolve cluster secrets fixture in installed package
fix(k8s): Resolve cluster secrets fixture in installed package
fix(k8s): Resolve cluster secrets fixture in installed package
devops-cli-service commentedon Nov 24, 2026
Released in v0.206.1: https://github.com/dan-petty/devops-cli/releases/tag/v0.206.1
devops-cli-service commentedon Nov 24, 2026
Live since 2026-11-24 13:45 UTC