Repository navigation
Conversation
|
Label |
ff99e28 to
8e08be4
Compare
| .fields(&format!("metadata.name={pod_name}")) | ||
| .timeout(watch_timeout); | ||
| let events = watch_pods | ||
| .watch(¶ms, "0") |
There was a problem hiding this comment.
Could this watch return an old Pod after recreating a sandbox with the same name? With resourceVersion=0, stale data is allowed so the owner check could fail and cancel the new creation ?
There was a problem hiding this comment.
Should be addressed in latest.
8e08be4 to
1dc992b
Compare
Signed-off-by: Evan Lezar <elezar@nvidia.com>
1dc992b to
a11e71b
Compare
|
This pull request has had no activity for 14 days and is now marked stale. |
|
This pull request has had no activity for 14 days and is now marked stale. |
Summary
Make Kubernetes sandbox creation tolerate timing-sensitive Agent Sandbox controller reconciliation without retrying the scenario. The failed v1beta1/v1.0.3 Kubernetes E2E job in Actions run 36408201964, attempt 1 failed one
CreateSandboxafter 30.1 seconds because the gated workload Pod had not appeared; the rerun passed, pointing to transient controller latency rather than a deterministic scenario failure.Related Issue
No issue required: this is a localized robustness fix for an observed CI timing failure.
Changes
This does not mask controller failures: there is no scenario or workflow retry, API calls remain individually bounded, mismatched Pod ownership still fails immediately, and a controller that does not produce the Pod within 90 seconds still fails creation with additional state preserved for diagnosis.
Testing
mise run pre-commitpassescargo test -p openshell-driver-kubernetes --lib(274 passed)mise run e2e:kubernetesreached the local Linux gateway cross-build but could not start the cluster because the existing Zig 0.14 wrapper rejectedaarch64-linux-gnu.2.28, causing the bundled Z3 CMake build to abort.mise run testwas attempted, but the existingtest:install-shtask fails first on this macOS host under Bash 3.2 while parsing a function inside command substitution; the same task fails identically when run alone.Checklist