Repository navigation
Pin the harness CLI versions to one source + sync the worker to 2.1.193 - #742
Merged
Merged
Conversation
… 2.1.193 The worker Dockerfile pinned claude-code 2.1.191 while the harness DefaultVersion constants reported 0.2.0 / 2.1.0 (stale) and a dev box could run anything — three version surfaces drifting silently with nothing to catch it. Make the worker Dockerfile ARGs the single source of truth: bump CLAUDE_CODE_VERSION to 2.1.193 (matches the latest + the local install; codex stays 0.142.2, the latest), update CodexHarness/ClaudeCodeHarness.DefaultVersion to the same strings, and add HarnessVersionPinTests that read the Dockerfile and fail if either constant drifts from its ARG — so a bump in one place that isn't mirrored is caught in CI, not in production. deploy/sync-local-harnesses.sh installs the same pinned versions on a dev box and warns if a native install shadows them. Bump the ARG, follow the test, run the script — the three surfaces stay in lockstep.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
2.1.191, the harnessDefaultVersionconstants reported0.2.0/2.1.0(stale), and a dev box could run anything.backend/Dockerfile.worker'sCODEX_CLI_VERSION/CLAUDE_CODE_VERSIONARGs the single source of truth: bump claude to2.1.193(latest + matches the local install; codex stays0.142.2, latest), alignCodexHarness/ClaudeCodeHarness.DefaultVersion, and addHarnessVersionPinTeststhat read the Dockerfile and fail in CI if either C# constant drifts from its ARG.backend/deploy/sync-local-harnesses.shinstalls the same pinned versions on a dev box and warns if a native install shadows them on PATH.Test plan
HarnessVersionPinTests: Codex/ClaudeDefaultVersion== the Dockerfile ARG (readsbackend/Dockerfile.worker) — 2/2DefaultVersioninstead of a hardcoded literalcodex=0.142.2 claude=2.1.193from the Dockerfile