Skip to content

#54 Follow the broker to Valkey 7.2.14: CI image, scratch server, grant, docs - #156

Merged
gregoryfoster merged 6 commits into
mainfrom
54-valkey
Nov 27, 2026
Merged

gregoryfoster merged 6 commits into
mainfrom
54-valkey

Conversation

@gregoryfoster

Copy link
Copy Markdown
Member

Follows the broker to Valkey 7.2.14 (CannObserv/broker#85). Brief: #54 comment 7225818577; corrections 7225911381; host swap 7226392738.

What changes

  • Integration user (tests/test_consumer.py): GRANTS takes +client|setinfo, matching broker deploy/redis-acl.conf:737.
  • CI (ci.yml, tests/test_ci.py): the service is mirror.gcr.io/valkey/valkey:7.2.14, and the health check is valkey-cli ping (now pinned too). The comments are rewritten: the grant arrived with the engine, the fallback is 24.04's apt valkey-server 7.2.14, and a 7.0 rollback reverts the pin and the grant together.
  • Docs and names: AGENTS.md, DEPENDENCIES.md, PATCHING.md (step 2 reads the valkey-server candidate), PROVISIONING.md (valkey-cli, which reads REDISCLI_AUTH, measured), the knob's comment, the pytest marker, the smoke script, skip messages, the context manifest.
  • Spec: an Amended entry for 2026-11-27, +client|setinfo in Section 2's grants, and valkey-server at first boot (Section 8).
  • No src/ change.

Evidence

  • Red (the scratch server is already Valkey 7.2.14, GRANTS unchanged): pytest -m integration gave 60 passed and 36 errors. Every error came at teardown, from an ACL LOG client|setinfo denial for processor-test (count 2 per connect).
  • Green: after the grant, 60 passed.
  • test_ci went red on the pin before ci.yml moved, then green.
  • Full gate on 587288f: 1142 passed, 16 skipped; child containment required (Landlock ABI 6); ruff, format, uv lock --locked and shellcheck clean. The scratch server is clean afterwards: only default, maxmemory 0, db 15 empty.
  • Live (before any merge): ack: complete at 18:50:02Z, 19:18Z and 19:24Z, after the broker's 18:11Z cutover. NRestarts=0, MainPID 115936.

Code review (vendored reviewing-code-python-fastapi, blanket)

Item Action Result
1 Fixed 15d49cd: the Amended entry cited Section 3/7; the grants table is Section 2 and Section 7 is unchanged
2 Fixed e1817d4: PATCHING step 2's "probe reads valkey, not dormant" is an expectation until the 12-01 run measures it
3 Fixed 587288f: redis-py sends CLIENT SETINFO on every engine; 7.2 is the first that has the command, so the ACL checks it
4 Recorded The red runs are session-only (above, and on #54)

Known limits

  • Smoke run not yet on Valkey. scripts/smoke_scratch_bus.py needs /etc/processor through systemd-run, so it first runs in this PR's deploy.
  • The probe's valkey reading is unmeasured on this host: probe.sh is a sudo gate. It is first checked at the 2026-12-01 run.
  • library/valkey on the mirror: it answered 429, not 404, so "there is no library/valkey" stays [stated: broker#85]. The comments cite broker's choice instead of asserting it.
  • The integration suite's INFO reads redis_version:7.2.4 on Valkey, its compat field. Nothing here reads it.
  • No docs/plans/ file: the plan of record is the brief on Follow the broker to Valkey 7.2 (CannObserv/broker#85): CI image, scratch server, 7.0.15-only claims #54 and its corrections.

Deploy

.skills/patching-hosts changed, so the merge deploys: Sat 11-28 to Mon 11-30, before 23:00Z. Not Fri, and not the Tue 05:00–10:00Z window.

Refs #54 (closed by hand after the deploy).

🤖 Generated with Claude Code

gregoryfoster and others added 6 commits November 27, 2026 19:20
Valkey 7.2.14 is the scratch server now. Without the grant, 36
integration tests error at teardown on ACL LOG client|setinfo denials
(redis-py 7.4 sends CLIENT SETINFO on every connect). Mirrors broker
deploy/redis-acl.conf's processor stanza (P4).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The broker's engine since broker#85. Health check waits on valkey-cli
ping, pinned by test_ci. Comments: the grant arrived with the engine;
the apt fallback is 24.04's valkey-server 7.2.14 (noble-updates).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
AGENTS.md, DEPENDENCIES.md, PATCHING.md (step 2 now reads the
valkey-server candidate), PROVISIONING.md (valkey-cli, which reads
REDISCLI_AUTH), the knob's comment, pyproject's marker, the smoke
script, test skip messages, the context manifest. The spec: an Amended
entry, +client|setinfo in Section 3's grants, first-boot valkey-server.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The grants table is in Section 2, and Section 7 is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…easured

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…re the ACL checks it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@gregoryfoster
gregoryfoster merged commit 587288f into main Nov 27, 2026
3 checks passed
@gregoryfoster
gregoryfoster deleted the 54-valkey branch November 27, 2026 19:54
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