Skip to content

fix(code): clean native sandbox state when spawn does not settle #128

Closed

Description

@danny-avila

After wrapWithSandboxArgv succeeds, per-command SRT cleanup currently runs only from runWrapped settlement. An abort between wrapping and spawning, or a synchronous spawn throw, can leave command state allocated until a later command or close().

Source: #101, packages/code/src/native-sandbox.ts around wrap/spawn and cleanupAfterCommand.

Please guarantee cleanup on all pre-settlement exits and add focused abort/spawn-throw coverage.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions