Repository navigation
refactor: tidy warnings, image planning, and the state lock - #13110
Merged
Merged
Conversation
- RenderContext::add_warnings adds warnings to JSON output for both results and errors. - Static error help text is borrowed instead of copied. - images::plan reads the other platforms' harnesses once, before checking unsupported selections, instead of lazily inside the loop. - Store::lock drops its underscore now that Drop uses it.
Contributor
|
v1 documentation preview: https://nvidia-preview-nemoclaw-v1-pr-13110.docs.buildwithfern.com/nemoclaw |
cv
enabled auto-merge (squash)
October 13, 2026 18:46
This was referenced Oct 13, 2026
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.
Four small cleanups in code changed by #13056, #13058, and the agent image work. Behavior is unchanged.
Change
nemoclaw-cliformatting.rsrenderandrender_erroreach read the warnings and added awarningsfield when there were anyRenderContext::add_warningsadds the field for bothnemoclaw-cliformatting.rsStringso that one case could useformat!Cow<'static, str>: the static text is borrowed and onlyDockerModelUpdateRefusedbuilds a stringnemoclaw-buildimages::plannemoclaw-sdkstate::Store_lockfield had an underscore althoughDropnow unlocks itlockI left
routes.rs::forwardunchanged. Rebuilding the response withresponse.map(Either::Left)would also keep the upstream response's version and extensions, which is a behavior change.Validation
cargo test -p nemoclaw-cli formatting,cargo test -p nemoclaw-sdk --lib state, andcargo test -p nemoclaw-build --test integration images: all passed. The images run had Docker Buildx, so it includedharnesses_missing_from_the_selected_platform_name_the_platforms_that_build_them.cargo cion linux_arm64: all steps passed.