Skip to content

Update max sandbox time to 20 minutes - #68

Open
ai-yappa[bot] wants to merge 1 commit into
mainfrom
agent/slack-v1-T07DMLN1JE6-C0BTJCJD69K-1789288218.048859
Open

ai-yappa[bot] wants to merge 1 commit into
mainfrom
agent/slack-v1-T07DMLN1JE6-C0BTJCJD69K-1789288218.048859

Conversation

@ai-yappa

@ai-yappa ai-yappa Bot commented Sep 13, 2026

Copy link
Copy Markdown

What

Raises the default max sandbox time to 20 minutes by changing DEFAULT_CONFIG.max_time from "30m" to "20m" in packages/shared/src/config.ts.

Why

The default max_time is the maximum lifetime of a sandbox/coding session. Sessions created without an explicit --max-time / max_session_time — including those started from the CLI, web UI, and Slack (@codevil mentions) — inherit this value via the session-directory and orchestrator defaults. Updating the default means new sessions get a 20-minute sandbox lifetime.

Changes

  • packages/shared/src/config.ts: max_time: "30m""20m".
  • packages/shared/test/config.test.mjs (new): locks in the 20-minute default and the other default config values.

Verification

  • pnpm --filter @codevil/shared test: 226 pass (2 new)
  • pnpm --filter @codevil/worker test: 491 pass
  • pnpm --filter @codevil/cli test: 28 pass
  • pnpm --filter @codevil/web test: 254 pass
  • pnpm --filter @codevil/shared typecheck: clean

Existing sessions keep their stored max_session_time; only the default for new sessions changes.

Change DEFAULT_CONFIG.max_time from 30m to 20m so new sessions created
via the CLI, web, or Slack default to a 20-minute sandbox lifetime.
Add a shared config test locking the default in place.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants