fix(openclaw_agent): pin openclaw_version default for reproducibility#2004
Open
j-nolan wants to merge 1 commit into
Open
fix(openclaw_agent): pin openclaw_version default for reproducibility#2004j-nolan wants to merge 1 commit into
j-nolan wants to merge 1 commit into
Conversation
The default was None, which falls back to npm install openclaw@latest in the task container and drifts as new OpenClaw releases land, so evals are not reproducible. Pin the default to 2026.6.11 (what @latest currently resolves to, so no behavior change for current runs) and align the example config. Mirrors how hermes_agent pins its agent by a git ref in requirements.txt; overridable per config. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
ananthsub
reviewed
Jul 15, 2026
| openclaw_config: dict[str, Any] = Field(default_factory=dict) | ||
| openclaw_version: Optional[str] = None | ||
| # pin a default so runs are reproducible; None falls back to `npm install openclaw@latest`, which drifts | ||
| openclaw_version: Optional[str] = "2026.6.11" |
Contributor
There was a problem hiding this comment.
one challenge with pinning the default is any configs which don't specify this will fallback to the repo's default here. if we ever update the default, this would be a breaking change to be safe for reproducibility, should the openclaw version be required instead?
also @cmunley1 for feedback
Contributor
|
yes, i would suggest main too |
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.
The default was None, which falls back to npm install openclaw@latest in the task container and drifts as new OpenClaw releases land, so evals are not reproducible. Pin the default to 2026.6.11 (what @latest currently resolves to, so no behavior change for current runs) and align the example config. Mirrors how hermes_agent pins its agent by a git ref in requirements.txt; overridable per config.