Skip to content

fix(workflow-code): keep one babel major so the app image builds - #10355

Merged
waleedlatif1 merged 1 commit into
stagingfrom
fix/workflow-code-single-babel-major
Nov 23, 2026
Merged

waleedlatif1 merged 1 commit into
stagingfrom
fix/workflow-code-single-babel-major

Conversation

@waleedlatif1

Copy link
Copy Markdown
Collaborator

Summary

Test plan

  • bun.lock has no @babel/*@8 entries. Every package.json pins @babel/parser 7.29.9 / @babel/types 7.29.8.
  • tsc --noEmit passes for workflow-code, workspace-code, workflow-sdk and sim-cli. bun run build in sim-cli passes.
  • Tests: workflow-code 789, workspace-code 164 and sim-cli 1133 pass. The check-source-conventions and check-test-patterns script tests pass.
  • check:audits passes (with docs content generated), and lint:check passes.

The app image installs the pruned workspace with bun's hoisted linker. With
apps/sim on Babel 7 and workflow-code/workspace-code on Babel 8, @babel/types 7
was hoisted beside @babel/parser 8, so the parser's types resolved to the wrong
major and `bun run build` failed in packages/sim-cli (TS2322/TS2345 on Node,
Program and ParseResult<File>). Local and CI installs nest the copies, so no
gate caught it; the image build on staging has failed since this merged.

Return workflow-code, workspace-code and the root parser to Babel 7.29 with the
AST code they had before, keeping commander 15, chalk 6 and the Node floor.
Moving to Babel 8 belongs in one change that moves apps/sim as well.
@waleedlatif1
waleedlatif1 requested a review from a team as a code owner November 23, 2026 22:51
@vercel

vercel Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docs Ready Ready Preview Nov 23, 2026 10:56pm UTC

Request Review

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 12 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Turn on auto-fix | Re-trigger cubic

@greptile-apps

greptile-apps Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no actionable defects were found.

Summary

Aligns the root, workflow-code, and workspace-code dependencies with the app’s Babel 7 versions.

  • The app image and code packages now use Babel 7 together.
  • Workflow code still reads Babel 7 expression trees.
  • Repository checks now recognize Babel 7 dynamic imports.

Reviews (1) · Last reviewed commit: "fix(workflow-code): keep one babel major..." · Reviewed by Greptile

@waleedlatif1
waleedlatif1 merged commit dbe0108 into staging Nov 23, 2026
100 checks passed

This branch was successfully deployed

1 active deployment
Preview — 57321cc9 Deployed Nov 23, 2026 by vercel[bot]
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