github docker/docker-agent v1.138.1

3 hours ago

This release adds kubectl and AWS CLI to sandbox templates, introduces secure HTTP relay packages and improved share signing, fixes session and race condition bugs, and includes several CI pipeline improvements.

What's New

  • Adds kubectl and AWS CLI to the sbx-templates image, making them available in sandboxes without manual installation
  • Adds secure HTTP relay packages (pkg/config/httprelay and pkg/modelsgateway/relay) for agent configuration fetching and model-API forwarding
  • Changes share push --key to sign a DSSE-wrapped in-toto statement instead of raw YAML bytes, adding metadata about where and when the artifact was published

Bug Fixes

  • Fixes the starred flag being silently dropped when forking a starred session (the AddSession insert omitted the starred column)
  • Fixes a production data race in App where ReplaceSession wrote a.session from the update loop while background goroutines started by App.Start read it concurrently
  • Fixes a data race in evaluation tests where container stderr was read without going through exec.Cmd
  • Fixes HCL examples not being decoded through the HCL loader during the live models check in TestExamplesAgainstLiveModelsDev

Technical Changes

  • Consolidates CI workflows: single gate job, merged image job, shared composite actions, merged docs workflows, shared module/build caches, and checksum-verified tools
  • Adds race detector job (go test -race -shuffle=on) on pushes to main
  • Skips Go CI jobs on docs-only PRs and skips redundant lint/license checks on main push (already verified in merge queue)
  • Stops sidebar tests from reading the checkout's git branch to avoid environment-dependent failures in CI
  • Tears down bubbletea programs in t.Cleanup and freezes animation clock in exact-frame TUI tests to eliminate test flakiness
  • Stops parallel tests from mutating version.Version to prevent race conditions

What's Changed

  • docs: update CHANGELOG.md for v1.138.0 by @docker-read-write[bot] in #4226
  • fix(session): preserve the starred flag in AddSession by @kitadesign in #4182
  • ci: single gate, merged image job, shared composite actions, docs workflow merge by @aheritier in #4221
  • test(tui): stop sidebar tests from reading the checkout's git branch by @aheritier in #4231
  • ci: fix the failures in the new test-race job by @aheritier in #4228
  • fix(app): snapshot the session before spawning background goroutines by @aheritier in #4230
  • docs: auto-update for merged PRs (2026-09-11) by @aheritier in #4234
  • feat: add secure HTTP relay packages by @dgageot in #4235
  • fix(test): load HCL examples in live models check by @aheritier in #4236
  • ci: skip redundant main push checks by @aheritier in #4237
  • feat(sandbox): add kubectl and aws cli to sbx-templates image by @maxcleme in #4218
  • feat(share): sign a DSSE-wrapped in-toto statement, not just the YAML bytes by @gtardif in #4238

New Contributors

Full Changelog: v1.138.0...v1.138.1

Don't miss a new docker-agent release

NewReleases is sending notifications on new releases.