Skip to content

fix(k8s): give the runner Jobs the credentials of the cache Valkey - #7296

Merged
dan-petty merged 2 commits into
mainfrom
fix/7293-runner-jobs-cache-valkey-credentials
Nov 26, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/7293-runner-jobs-cache-valkey-credentials

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The stage, implement and fix-checks Jobs sent no credentials to the cache Valkey. Each command failed authentication, so each read of the shared tier of the project brain went to GitHub: in 24 hours the stage Jobs had 0 hits of the issue cache in 3,492 reads.

The container stage of CronJob roadmap-stage and the containers prepare and publish of CronJob devops-cli-runner now read DEVOPS_CLI_VALKEY_PASSWORD from Secret devops-cli. They already hold the private key of the App. The container agent gets no new key (#6518).

The admission policy roadmap-service-jobs admits the third key and still refuses it in agent. The owner approved this on 2026-11-26. The gate check that held the password refused in each container now holds it admitted in prepare and publish only.

Closes #7293

Change: openspec/changes/archive/2026-11-26-7293-runner-jobs-cache-valkey-credentials/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/k8s Kubernetes commands, Helm charts, pods, services, and policies labels Nov 26, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Merge order: merge this pull request after the pull request of #7292, which keeps private repositories out of the shared issue cache. This pull request stays a draft until then.

No step of a person comes before the merge: the key DEVOPS_CLI_VALKEY_PASSWORD is in the cluster today.

Checks on the branch:

  • uv run devops ci --check --only k8s failed on the base with 3 cases after the change of the gate checks, and passes with the change (275 cases).
  • The rows lint, format, docs, constructs, openspec, test-settings, test-tree, startup-imports and swallowed-failures pass. mypy passes for the changed module.
  • The full suite did not run on the workstation. The required checks of this pull request run it.

Pending after the release: devops_cli_valkey_cache_errors_total{job="roadmap-stage",error="auth"} stays at 0 for 24 hours, and devops_cli_brain_cache_total{job="roadmap-stage",result="hit"} is above 0.

@dan-petty
dan-petty force-pushed the fix/7293-runner-jobs-cache-valkey-credentials branch from 43fa8f7 to 22e2f38 Compare November 26, 2026 14:46
@dan-petty

Copy link
Copy Markdown
Owner Author

The order is met: #7297 (the fix of #7292) merged on 2026-11-26 14:41 UTC. This branch is rebased on main at 22e2f38, and each of its 29 checks is green. uv run devops ci fail-to-pass --base origin/main gives 3 of 275 cases failed on the base and 0 on the head.

No step of a person comes before the merge.

@dan-petty
dan-petty marked this pull request as ready for review November 26, 2026 14:56
@dan-petty
dan-petty merged commit def639d into main Nov 26, 2026
29 checks passed
@dan-petty
dan-petty deleted the fix/7293-runner-jobs-cache-valkey-credentials branch November 26, 2026 14:57
dan-petty-release Bot added a commit that referenced this pull request Nov 26, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.221.15](v0.221.14...v0.221.15)
(2026-11-26)


### Bug Fixes

* **k8s:** give the runner Jobs the credentials of the cache Valkey
([#7296](#7296))
([def639d](def639d))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/k8s Kubernetes commands, Helm charts, pods, services, and policies type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(k8s): give the runner Jobs the credentials of the cache Valkey

1 participant