Skip to content

chore(deps): upgrade OpenTofu to 1.12.12 - #14248

Merged
cv merged 3 commits into
v1from
chore/opentofu-1.12.12
Nov 6, 2026
Merged

cv merged 3 commits into
v1from
chore/opentofu-1.12.12

Conversation

@cv

@cv cv commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator

Bundles now pin OpenTofu 1.12.12, which keeps the resources that a killed first apply saved in its state, so the SDK no longer creates the state file with a refresh-only apply before a deployment's first apply.

Problem

In a new state directory, OpenTofu 1.12.9 saved each in-progress snapshot with only the latest change, so a first apply that was killed after a snapshot lost the bindings of the resources it had created before (opentofu/opentofu#4809). #14169 worked around it by having OpenTofu create the state file before the first plan. OpenTofu 1.12.12 fixes the bug (opentofu/opentofu#4811, backported to 1.12 in opentofu/opentofu#4813).

Part of #14227: this completes its OpenTofu items. The Helm provider items stay open until hashicorp/terraform-provider-helm#1886 is fixed.

Change

  • versions.json pins OpenTofu 1.12.12 for all five platforms, and the nine HCL test modules require it. Each archive's SHA-256 matches the release's SHA256SUMS, whose signature verifies with OpenTofu's signing key, and GitHub's asset digests. The pin stays on 1.12; 1.13 has breaking changes.
  • The SDK drops create_state and its call before initialize. Only that step ran an apply -refresh-only, so the CLI's "Creating infrastructure state" step and the 5 s grace for an interrupted refresh-only apply go too, along with the scripted OpenTofu's refresh-only handling.
  • kubernetes_interruption::a_first_apply_starts_opentofu_with_a_state_file checked the workaround against a script. The integration test multi_agent::killed_apply::a_killed_first_apply_keeps_a_binding_for_every_object_it_saved replaces it: through the bundled OpenTofu, a first apply of three agents saves a snapshot after one sandbox finishes, OpenTofu is killed while the other two are still being created, and every workspace, provider, and sandbox that the fixture gateway created must have a binding in the state. The OpenShell fixture gains sandbox_create_permits to hold sandbox creations.
    • The test takes about 22 s: OpenTofu saves a snapshot at most every 20 s, and an interrupt can't trigger one here, because the Rust providers exit on the interrupt and OpenTofu then writes the complete state at exit.
    • It kills OpenTofu's process group without an interrupt, so it runs on Unix only. Stopping through the SDK sends an interrupt first, and killing OpenTofu right after one can catch it while it rewrites the state file.
  • internal-docs/design/scope.md drops the workaround's entry.

Beyond CI

  • The new test fails on OpenTofu 1.12.9 without the workaround, losing the workspace and provider bindings (id-1, id-3), and passes on 1.12.12 without it, including 8 copies run in parallel on linux_arm64.

cv added 3 commits November 5, 2026 17:27
OpenTofu 1.12.12 fixes opentofu/opentofu#4809, so the SDK no longer
creates the state file before a first apply (#14227). An integration test
now checks that a first apply stopped at once keeps every binding it
created.
Stopping now right after an interrupt can kill OpenTofu while it writes
the state file, so the test kills OpenTofu's process group without an
interrupt instead.
@cv

cv commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator Author
Authoring session — opening
Field Status Value Evidence or limit
Harness recorded pi 1.5.0, as a helper agent started by another agent Session metadata and the harness install path in its instructions
Skills recorded test-driven-development (complete read); write-tests (complete read); nemoclaw-contributor-create-pr (complete read) Skill file reads to cutoff
Instruction files recorded AGENTS.md (injected); WRITING.md (complete read); .github/PULL_REQUEST_TEMPLATE.md (complete read); .github/SESSION_REPORT_TEMPLATE.md (complete read) Startup injection and reads to cutoff; internal-docs pages were read only in part and are not counted
Tool calls partial typescript: 126, 2 of them failed Wrapper calls to cutoff, including failures; the wrapper hides the nested git, gh, cargo, and shell invocations, which are not counted
Session window recorded 2026-11-05T23:55Z to 2026-11-06T01:00Z; 65 min First event to cutoff (PR opened), including idle time
Compactions recorded 0 Complete record to cutoff; 23 context edits elided or summarized earlier tool output
Models recorded claude-opus-5-5 Model change events; no changes
Reasoning levels recorded high Thinking-level events; no changes

@cv
cv enabled auto-merge (squash) November 6, 2026 01:01
@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

@cv
cv merged commit 978d9a9 into v1 Nov 6, 2026
68 of 69 checks passed
@cv
cv deleted the chore/opentofu-1.12.12 branch November 6, 2026 01:19
cv added a commit that referenced this pull request Nov 11, 2026
…ms (#14413)

The release notes now list every user-visible change on `v1` since the
`v0.1.0-rc9` tag, including the breaking ones, and four example pages
drop claims that later changes made false.

## Problem

`docs/about/release-notes.md` listed three breaking changes and none of
the features, fixes, and onboarding changes that reached `v1` after
`v0.1.0-rc9`; it didn't name the configuration shapes the parser now
rejects or the intent record version `v0.1.0-rc9` writes.
Some example claims went stale:

- `examples/spark/README.md` said the pinned OpenShell has the Podman
TLS initialization blocker, ai-openshell/openshell#3427; its fix merged before
OpenShell 0.1.0, and `v1` pins 0.1.7.
- `examples/station/README.md` and `examples/gtc-dc/README.md` required
exactly one visible GPU on the host; since #13929,
`container.gpuDevices` lets a service on a host with more GPUs request
one.
- `examples/hcl/travel-team` said Fabric's Deep Agents adapter can't
turn reasoning off, NVIDIA/NeMo-Fabric#433; NVIDIA/NeMo-Fabric#439 fixed
that, and the pinned catalog's Deep Agents `reasoning_effort` accepts
`none`.
- The travel team cited #13313 for the booking key its service doesn't
receive, but #13313 closed when `openshell_api` landed.

## Change

- `docs/about/release-notes.md` gains "Changes Since v0.1.0-rc9",
grouped by area, from the commits in `v0.1.0-rc9..origin/v1`; where a
later commit changed an earlier one, the entry describes the current
code, and changes added and removed after the tag aren't listed:
- Agents and interfaces: #14037, #14038, #14269, #13981, #14024, #14186,
#14052, #14385, #13971, #13858, #13947, #14039, #14042, #14044, #14343.
- Inference: #13929, #14391, #14396, #14398, #14400, #13963, #13912,
#13964, #14388, #14390, #14397.
- Gateways and Kubernetes: #13909, #13970, #13922 (an existing
namespace, refused at plan by #13756, is now bound; cluster-wide reads
dropped), #14014, #14169, #13921.
- Plan, apply, and diagnostics: #14224, #13756, #14141, #14133, #14135,
#13775, #13744, #13701.
- Onboarding: #13693, #13695, #13741, #13757, #13851, #13978, #14228,
#14233, #14334, #14336.
- Examples and builds: #14166, #14184, #14188, #14191, #14192, #14200,
#13889, #14267, #14312, #14315, #14355, b30e9b4, #13781, #13813,
#14246, and the pins in `versions.json` and `image/fabric/Dockerfile`.
- Its breaking changes since the tag:
- the intent record moving from 15, which `v0.1.0-rc9` writes, through
16 (#14266), 17 (#14343), 18 (#13929), 19 (#14391) and 20 (#14394);
  - name-keyed `sandboxes` and `inferenceProviders` (#13703, #13705);
- a recipe `compatibility.gpu` outside every hardware profile (#13912);
- model tuning the adapter doesn't accept (#14111), and Hermes's
`max_tokens` losing its default (#14296);
  - `skills.paths` resolution (#14296);
  - endpoint and `networkCIDR` validation (#13847, #14081);
- the HCL `gateway_values` attribute (#14014), and Kubernetes ownership
receipts from before #13922 and #14014.
  The two earlier items stay, under their own heading.
- `examples/spark/README.md` replaces the closed OpenShell#3427 blocker
with the Podman and remote-model limits in `docs/resources/limits.md`.
- `examples/station/README.md` and `examples/gtc-dc/README.md` require
one GPU visible in the model container, and point to
`container.gpuDevices` for a host with more.
- `examples/hcl/travel-team/README.md` and `WALKTHROUGH.md` drop the
NeMo-Fabric#433 limitation, and the travel team's booking-key statements
link #14417 instead of #13313.

Not listed, because both changes landed after the tag: Deep Agents Code
(#14043, #14250), `compatibility.gpuCount` (#14391, #14394), and the
"Creating infrastructure state" progress step (#14169, #14248).

Checked and left unchanged: the root `README.md`,
`crates/nemoclaw-onboarding/README.md`,
`crates/nemoclaw-cli/assets/README.md`, `internal-docs/README.md`, the
other example READMEs, and every example YAML header comment. The GPU
autoscaling README and `load.sh` read the JSON fields `OperationResult`
serializes, and ai-openshell/openshell#4287 is fixed only after the pinned
0.1.7. The two pre-tag release-note items still match the schema and
SDK. `docs/README.md` is left to #14412, which retires the stale field
reference snapshot it describes.

Not verified: whether Hermes sends the booking key's placeholder to MCP
servers; #14417 tracks the live check.

## Beyond CI

Each relative link and anchor in the changed files resolves to an
existing file and heading.
@wscurran wscurran added area: e2e End-to-end tests, nightly failures, or validation infrastructure area: packaging Packages, images, registries, installers, or distribution area: sandbox OpenShell sandbox lifecycle, runtime, config, or recovery chore Build, CI, dependency, or tooling maintenance v1 NemoClaw v1 branch labels Nov 13, 2026
@cv cv added this to the Roadmap: GTC DC 2026 milestone Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: e2e End-to-end tests, nightly failures, or validation infrastructure area: packaging Packages, images, registries, installers, or distribution area: sandbox OpenShell sandbox lifecycle, runtime, config, or recovery chore Build, CI, dependency, or tooling maintenance v1 NemoClaw v1 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants