Skip to content

chore(studio): Add Coding Agent Studio feature flag#97

Open
htolentino-nvidia wants to merge 1 commit into
mainfrom
studio-coding-agent-feature-flag/htolentino
Open

chore(studio): Add Coding Agent Studio feature flag#97
htolentino-nvidia wants to merge 1 commit into
mainfrom
studio-coding-agent-feature-flag/htolentino

Conversation

@htolentino-nvidia
Copy link
Copy Markdown
Contributor

@htolentino-nvidia htolentino-nvidia commented May 28, 2026

https://linear.app/nvidia/issue/ASTD-177/create-a-ff-for-coding-agents-in-studio

Summary by CodeRabbit

  • Chores
    • Added feature flag infrastructure to enable configuration-based control of the Coding Agent Studio feature across development and production environments.

Review Change Stack

Signed-off-by: Henrique Tolentino <htolentino@nvidia.com>
@htolentino-nvidia htolentino-nvidia requested review from a team as code owners May 28, 2026 19:29
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 28, 2026

Actionable comments posted: 0

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 28, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: c32deed8-bfe8-4ac7-87bd-6884f98e7217

📥 Commits

Reviewing files that changed from the base of the PR and between 4f8e160 and 777991f.

📒 Files selected for processing (5)
  • services/studio/src/nmp/studio/env_mappings.py
  • web/packages/studio/env/.env.dev.local.sample
  • web/packages/studio/env/.env.fastapi
  • web/packages/studio/src/constants/environment.ts
  • web/packages/studio/src/constants/featureFlags/featureFlags.ts

📝 Walkthrough

Walkthrough

Backend environment mapping is added to connect platform configuration to a new Vite feature flag. Frontend environment files expose the flag, which is then defined in the feature flag system and exported as a TypeScript constant for UI consumption.

Changes

Coding Agent Studio Feature Flag

Layer / File(s) Summary
Backend environment variable mapping
services/studio/src/nmp/studio/env_mappings.py
Backend maps STUDIO_UI_VITE_FF_CODING_AGENT_STUDIO_ENABLED to studio.feature_flags.coding_agent_studio_enabled configuration with a "false" default.
Frontend environment configuration
web/packages/studio/env/.env.dev.local.sample, web/packages/studio/env/.env.fastapi
Development and FastAPI environment files expose VITE_FF_CODING_AGENT_STUDIO_ENABLED, reading from the backend-mapped platform configuration.
Feature flag definition
web/packages/studio/src/constants/featureFlags/featureFlags.ts
Feature flag system defines codingAgentStudioEnabled in flagDefinitions, backed by the Vite environment variable with a false default.
Feature flag export
web/packages/studio/src/constants/environment.ts
Exports CODING_AGENT_STUDIO_ENABLED constant derived from the feature flag, defaulting to true unless explicitly false.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed Title clearly describes the main change: adding a feature flag for Coding Agent Studio across multiple configuration files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch studio-coding-agent-feature-flag/htolentino

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown
Contributor

Suite Lines Covered Line Rate Branch Rate
Unit Tests 18271/24224 75.4% 61.9%
Integration Tests 11670/23001 50.7% 25.9%

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.

1 participant