You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[TASK] Refactor remove the legacy tools.sandbox deprecation warning #1478
PR #1473 moved the sandbox policy into the userspace sandbox.yaml. A legacy tools.sandbox block in config.yaml is no longer read, and while landing that change commit b52d5da made its presence print a deprecation warning pointing at the new file (the v.IsSet("tools.sandbox") block in loadConfigFromViper, cmd/runtime/config.go):
ifv.IsSet("tools.sandbox") {
logger.Warn("config.yaml tools.sandbox is ignored, the sandbox policy lives in the userspace sandbox.yaml")
}
The notice is a migration aid, not a permanent fixture: remove it once users have had roughly ten releases to migrate (v0.222.1 was current when filing on 2026-10-02, so target a version around ten releases out and pin the exact one when scheduling). Nothing else needs cleanup in the same pass: config.yaml never carries the policy since the move, infer config set already refuses the key, and nothing migrates. ToolsConfig.Sandbox stays as is; it is the in-memory carrier of the userspace policy, not a legacy surface.
Acceptance Criteria
The v.IsSet("tools.sandbox") warning block is removed from cmd/runtime/config.go
A legacy tools.sandbox block in config.yaml is still silently ignored, with no log output and no functional change
The cmd/runtime tests keep passing, including the userspace-first ones pinning that config.yaml never carries the policy
Activity