fix(builder): update typescript-compiler to fix duplicate task validation error#10162
Merged
davidfirst merged 2 commits intomasterfrom Jan 20, 2026
Merged
fix(builder): update typescript-compiler to fix duplicate task validation error#10162davidfirst merged 2 commits intomasterfrom
davidfirst merged 2 commits intomasterfrom
Conversation
Contributor
There was a problem hiding this comment.
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.63to^2.0.68in 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.
GiladShoham
approved these changes
Jan 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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