feat(sessions-pipeline): optional rearmSweeper.image override, backport onto prod infra_ref bb41fe6f (HOLD)
What
Backport onto bb41fe6f (agentrelay-prod's current infra_ref), into base branch backport/agentrelay-prod-bb41fe6f. Route (B), "sweeper-only", of #owner-decisions 251927619257282560 item 2 (cleared by infragrok).
An optional rearmSweeper.image (repository, digest, pullPolicy) for the rearm-sweeper CronJob only. Each unset field falls back to ingestEdge.image, so the default {} renders exactly as before. INGEST_REARM_IMAGE_DIGEST follows the sweeper's image. A digest that is not sha256:<64 hex> is refused.
Why: the sweeper needs the services image with the pass-receipt code (relayhistory-pipeline fde1fe24, 96bulls-services@sha256:fe310fc3…, publish run 45951595065). Until now its image was hard-wired to ingestEdge.image, so bumping it would also roll the live ingest-edge Deployment. That is route (A), not approved.
Proof (helm template, this branch, agentrelay-prod values: values-eks.yaml + EO sessions-pipeline)
- Override unset:
diff -ragainstbb41fe6fis empty (byte-identical render). - With
rearmSweeper.image.digest = sha256:fe310fc3…: the only diff isrearm-sweeper.yaml.ingest-edge.yamlis byte-identical (Deployment unchanged).
- image: "ghcr.io/agentworkforce/96bulls-services@sha256:3274ca4008824137e3d8b37711188b9283ff5f399851a0b29d9d5383934ace7d"
+ image: "ghcr.io/agentworkforce/96bulls-services@sha256:fe310fc3a7a77ab6ec0d3e0ee90463327743d64cbdfe6a76efaf6cac008aa1ec"
- - { name: INGEST_REARM_IMAGE_DIGEST, value: "sha256:3274ca40…" }
+ - { name: INGEST_REARM_IMAGE_DIGEST, value: "sha256:fe310fc3…" }
Tests: new test_sweeper_image_override (default, override, ingest-edge Deployment unchanged, bad digest refused). ci/sessions-pipeline-s3-ledger/test_chart.py passes locally: 19 tests OK.
No chart version bump: this is an unreleased backport, kept consistent with #564. The "Chart version bumped" step will be red by design. The versioned change is the main PR.
merge-train:hold. Prod pins this branch's head directly via an EO infra_ref PR; plan and apply are cleared separately.
🤖 Generated with Claude Code

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Summary by cubic
Adds an optional rearmSweeper.image override so the sweeper CronJob can use a different image without rolling the ingest-edge Deployment.
- Unset fields fall back to
ingestEdge.image, so the default{}renders byte-identically;INGEST_REARM_IMAGE_DIGESTfollows the sweeper image. - Rejects malformed or explicitly empty/falsy digests; with
releaseContract.unifiedServicesDigestenabled, the sweeper digest must matchworker.image.digest. - Adds tests for overrides and digest validation. No chart version bump; this is an unreleased backport.