Skip to content

fix(builder): update typescript-compiler to fix duplicate task validation error#10162

Merged
davidfirst merged 2 commits intomasterfrom
fix-duplicate-task-validation-error
Jan 20, 2026
Merged

fix(builder): update typescript-compiler to fix duplicate task validation error#10162
davidfirst merged 2 commits intomasterfrom
fix-duplicate-task-validation-error

Conversation

@davidfirst
Copy link
Member

Updates typescript-compiler to ^2.0.68 which fixes the "duplicate task" validation error that occurs when a component uses a custom env.

The root cause: when a component uses a custom env, that env appears in graphCapsules as an extension dependency. The TypeScript compiler was returning results for ALL compiled components, causing the same component to appear in results for multiple envs.

Related: https://bit.cloud/teambit/typescript/~change-requests/fix-duplicate-task-results

Copilot AI review requested due to automatic review settings January 20, 2026 18:41
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the @teambit/typescript.typescript-compiler dependency to version ^2.0.68 to fix a duplicate task validation error that occurred when components use custom environments. The root cause was that the TypeScript compiler was returning results for all compiled components, causing the same component to appear in results for multiple environments.

Changes:

  • Updated typescript-compiler dependency from ^2.0.63 to ^2.0.68 in workspace.jsonc
  • Added explicit environment configuration blocks to ~200+ components in .bitmap

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
workspace.jsonc Bumped typescript-compiler version to ^2.0.68 to include duplicate task fix
.bitmap Added config blocks specifying environments for all workspace components, making implicit env assignments explicit

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@davidfirst davidfirst enabled auto-merge (squash) January 20, 2026 19:33
@davidfirst davidfirst merged commit c81c493 into master Jan 20, 2026
12 checks passed
@davidfirst davidfirst deleted the fix-duplicate-task-validation-error branch January 20, 2026 20:21
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