Skip to content

Conversation

@sigmachirality
Copy link
Member

@sigmachirality sigmachirality commented Jan 31, 2026

Remove custom VM image feature flag checks as the feature is rolling out to GA.

The custom-vm-images feature is now generally available, making the conditional logic based on its feature flag obsolete. This PR removes all related feature flag checks, making the custom VM image functionality always available. This includes removing isFeatureEnabled calls and imports, updating the FeatureFlags type, and converting previously async functions to synchronous where the feature flag check was the only await.


Open in Cursor Open in Web

- Remove feature flag check from nodes/redeploy.ts
- Remove feature flag check from nodes/create.ts
- Remove feature flag check from nodes/image/index.ts
- Remove feature flag check from vm/index.ts
- Remove 'custom-vm-images' from FeatureFlags type
- Update function signatures to be synchronous (no longer async)
- VM image functionality now always available

Co-authored-by: danieltaox <danieltaox@gmail.com>
@cursor
Copy link

cursor bot commented Jan 31, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@semanticdiff-com
Copy link

semanticdiff-com bot commented Jan 31, 2026

Review changes with  SemanticDiff

Changed Files
File Status
  src/lib/vm/index.ts  63% smaller
  src/lib/nodes/index.ts  26% smaller
  src/lib/posthog.ts  5% smaller
  src/lib/nodes/create.ts  3% smaller
  src/lib/nodes/redeploy.ts  3% smaller
  src/lib/nodes/image/index.ts  0% smaller

cursoragent and others added 2 commits January 31, 2026 02:30
- Remove addCreate, addRedeploy, and addImage wrapper functions
- Add --image option directly in command definitions
- Import and add commands directly like other commands
- Change registerNodes from async to sync function
- Simplify vm/index.ts to use direct command import

Co-authored-by: danieltaox <danieltaox@gmail.com>
@sigmachirality sigmachirality self-assigned this Jan 31, 2026
@sigmachirality sigmachirality marked this pull request as ready for review January 31, 2026 02:36
@sigmachirality sigmachirality changed the title Custom vm image ga perf: delete feature flag checks for vm images as they are now GA Jan 31, 2026
@sigmachirality sigmachirality merged commit 1d679db into main Jan 31, 2026
1 check passed
@sigmachirality sigmachirality deleted the cursor/custom-vm-image-ga-b0a6 branch January 31, 2026 02:37
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