Skip to content

Update gVisor to release 20261026.0 - #3364

Merged
Dmitry Berkovich (dberkov) merged 1 commit into
agent-substrate:mainfrom
nybidari:gvisor-release-20261026
Oct 28, 2026
Merged

Dmitry Berkovich (dberkov) merged 1 commit into
agent-substrate:mainfrom
nybidari:gvisor-release-20261026

Conversation

@nybidari

@nybidari nybidari commented Oct 28, 2026 •

Copy link
Copy Markdown
Collaborator

gvisor-default gains v6, release 20261026.0, as its default version. v5 stays enabled, so actors with memory snapshots taken on v5 still restore with their memory.

In a sandbox which ateworker-gvisor runs, the new release's restore picks each container's real init process. The old one could take an orphan, so signals reached the wrong process and runsc reported a running container as stopped.

The new gVisor release includes some reliability fixes such as:

  • Fix nil pointer crash in restoreDone on the sandbox restore path.
  • Fix no-root-container-mode sandboxes: shared PID namespace could panic the Sentry.
  • Fix kernel state dependency-cycle which could panic or recurse forever.

AI use:
AI-assisted, I reviewed and tested it.

  • Tests pass
  • Docs updated

gvisor-default replaces v5 with v6, release 20261026.0. An actor with
a memory snapshot taken on v5 cold boots on its next resume. It keeps
its files and loses its memory.

In a sandbox with no root container, which ateworker-gvisor runs, the
new release's restore picks each container's real init process. The
old one could take an orphan, so signals reached the wrong process and
runsc reported a running container as stopped.

Signed-off-by: Nayana Bidari <nybidari@google.com>
@nybidari
nybidari force-pushed the gvisor-release-20261026 branch from 746c956 to c945b03 Compare October 28, 2026 01:14
@dberkov
Dmitry Berkovich (dberkov) added this pull request to the merge queue Oct 28, 2026
Merged via the queue into agent-substrate:main with commit 6aa6a75 Oct 28, 2026
5 checks passed
@BenTheElder Benjamin Elder (BenTheElder) added this to the M3 milestone Oct 28, 2026
Jay (jay23606) added a commit to jay23606/substrate that referenced this pull request Nov 29, 2026
gvisor-default gains v6, release 20261026.0, as its default version. v5
stays enabled, so actors with memory snapshots taken on v5 still restore
with their memory.

In a sandbox which ateworker-gvisor runs, the new release's restore
picks each container's real init process. The old one could take an
orphan, so signals reached the wrong process and runsc reported a
running container as stopped.

The new gVisor release includes some reliability fixes such as:
- Fix nil pointer crash in restoreDone on the sandbox restore path.
- Fix no-root-container-mode sandboxes: shared PID namespace could panic
the Sentry.
- Fix kernel state dependency-cycle which could panic or recurse
forever.

AI use:
AI-assisted, I reviewed and tested it.

- [x] Tests pass
- [x] Docs updated

Signed-off-by: Nayana Bidari <nybidari@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants