Skip to content

Sandbox session follow-ups: shared helpers and fixtures #4306

Open

Description

@yaoyu-33

Scope

Non-blocking follow-ups from the OpenCode session review, after the focused fixes in #3639:

  • Consolidate genuinely identical sandbox preparation, path validation and provider-error handling across Pi, Codex, OpenClaw and OpenCode. Keep harness-specific runtime installation and artifact parsing separate.
  • Align session test names and fixture organization across harnesses. Add shared conformance assertions only where the lifecycle contract is actually the same.

Acceptance

  • No change to sandbox ownership, cleanup-before-verification, HTTP error propagation or retained observations.
  • Before/after tests cover owned/borrowed sessions, setup failure, execution failure, close retry and unseeded local routing.
  • Representative real-model rollouts for behavior changes; existing benchmark recipes stay unchanged unless separately requested.

These are follow-ups, not additional requirements for the focused #3639 runtime/diagnostic repairs. No implementation or validation is claimed by this issue.

Update: the request allow-list is fixed directly in #3637 (01218cdaf) and
#3639 (d15f554df), with regressions for future schema fields. It is no longer
deferred here.

Activity

  1. changed the title [-]OpenCode session follow-ups: shared helpers, request contract and fixtures[/-] [+]Sandbox session follow-ups: shared helpers and fixtures[/+] on Oct 9, 2026
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions