Skip to content

feat: enable sandbox environments by default and remove related featu… - #1002

Merged
govindavashishtha merged 3 commits into
mainfrom
feat/remove-env-flag
Oct 8, 2026
Merged

govindavashishtha merged 3 commits into
mainfrom
feat/remove-env-flag

Conversation

@thesujai

@thesujai thesujai commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

…re flag

Summary

Closes #

Changes

How was this tested?

Checklist

  • I have read the contributing guidelines
  • pnpm build, pnpm test, pnpm typecheck, pnpm lint:ci, and pnpm format:check pass locally
  • Tests added/updated where it makes sense
  • No hand-edits to generated code (packages/trueforge-sdk, python/trueforge_sdk, .github/fern/openapi/openapi.json, docs/openapi.json) — fork PRs omit SDK regen; maintainers regenerate after merge
  • Docs / .env.example updated if configuration or behavior changed

Note

Low Risk
Frontend-only graduation of an existing UI path; no auth or data-model changes, though embedders can no longer disable environments via the removed sandboxEnvironments server prop.

Overview
Removes the sandbox environments frontend feature flag so the environments UI is always on in dev, Docker builds, and the default Harness adapter.

Build & host: Drops VITE_SANDBOX_ENVIRONMENTS_ENABLED from the Dockerfile frontend stage and from packages/frontend (App.tsx no longer passes sandboxEnvironments on the TrueForgeUI server config). README no longer documents opting in via that env var.

@truefoundry/trueforge-ui: Deletes the sandboxEnvironments?: boolean option from TrueForgeBuiltInServerConfig and createTrueForgeAgentUIServer; the adapter always registers createSandboxEnvironmentServer. Draft composer and agent runtime config no longer hide the Environment tab or environment selector when a sandbox-environment server port was absent—they always render those controls (still subject to sandbox enablement / availability). Tests that asserted flag-off behavior are removed or updated.

Reviewed by Cursor Bugbot for commit 4e5630f. Bugbot is set up for automated code reviews on this repo. Configure here.

@changeset-bot

changeset-bot Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 4e5630f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@truefoundry/trueforge Patch
@truefoundry/trueforge-ui Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@chiragjn chiragjn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blind approve, get reviewed with @harshil-2096

@govindavashishtha
govindavashishtha merged commit 95f5c5c into main Oct 8, 2026
15 checks passed
@govindavashishtha
govindavashishtha deleted the feat/remove-env-flag branch October 8, 2026 07:47
thesujai added a commit that referenced this pull request Oct 8, 2026
#1002)

* feat: enable sandbox environments by default and remove related feature flag

* refactor: remove sandbox environments feature flag and enable environments UI by default

(cherry picked from commit 95f5c5c)
truefoundry-saas added a commit that referenced this pull request Oct 8, 2026
* feat: validate sandbox environment resource limits and enhance form validation (#976)

* feat: validate sandbox environment resource limits and enhance form validation

* test: remove sandbox environment validation tests

Co-authored-by: Cursor <cursoragent@cursor.com>

* Regenerate OpenAPI document and SDKs

* feat: add configurable resource limits for sandbox environments and update UI validation

* Regenerate OpenAPI document and SDKs

* feat: update sandbox environment resource limits and enhance validation in schemas and UI

* Regenerate OpenAPI document and SDKs

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: trueforge-dev-bot[bot] <trueforge-dev-bot[bot]@users.noreply.github.com>

* feat: enable sandbox environments by default and remove related featu… (#1002)

* feat: enable sandbox environments by default and remove related feature flag

* refactor: remove sandbox environments feature flag and enable environments UI by default

(cherry picked from commit 95f5c5c)

* fix: point Environments secrets Learn more at sandbox session docs (#969)

* feat: update sandbox documentation and link to secret management details

* fix: update Daytona API key permissions in sandbox documentation

* fix: remove redundant mention of secret rotations in sandbox documentation

(cherry picked from commit 6b42368)

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: trueforge-dev-bot[bot] <trueforge-dev-bot[bot]@users.noreply.github.com>
Co-authored-by: Sujai Kumar Gupta <120925871+thesujai@users.noreply.github.com>
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.

3 participants