这是indexloc提供的服务,不要输入任何密码
Skip to content

Turbo build swallows errors #11056

@avcharovBetsson

Description

@avcharovBetsson

Verify canary release

  • I verified that the issue exists in the latest Turborepo canary release.

Link to code that reproduces this issue

none

Which canary version will you have in your reproduction?

turbo@2.1.1

Environment information


Expected behavior

If one of MFEs fails, dropdown must not be closed, it should be open showing error

Actual behavior

while running in Micro frontend environment with
turbo run build --concurrency=75% --filter=./micro-frontends/*

it swallows MFEs built with errors:
turbo run build --concurrency=75% --filter=./micro-frontends/*

• Packages in scope: app-account, app-cashier, app-control-panel, app-customer, app-dynamic-form, app-examples, app-gaming, app-horse-racing, app-notifications, app-offers, app-payments, app-responsible-gaming, app-rtf-tester, app-site, app-wallet, app-web3, lib-fabric-design-system, lib-fabric-icons, lib-fabric-utils, lib-router, lib-websson-design-system, svc-config, svc-content, svc-platform, svc-realtime, svc-request, svc-telemetry
• Running build in 27 packages
• Remote caching disabled
@obg/fabric-cli:build
remote-module-context:build
component-library-utils:build
@obg/mfe-config:build
app-horse-racing:build
@obg/fabric-extensions:build
app-control-panel:build
rxf:build
app-customer:build
lib-router:build
svc-request:build
svc-realtime:build
app-examples:build
app-notifications:build
svc-platform:build
lib-websson-design-system:build
svc-config:build
svc-telemetry:build
app-payments:build
lib-fabric-utils:build
svc-content:build
app-rtf-tester:build
app-cashier:build
app-gaming:build
app-wallet:build
lib-fabric-icons:build
lib-fabric-design-system:build
app-web3:build
app-offers:build
app-responsible-gaming:build
app-dynamic-form:build
app-account:build
app-site:build

Tasks: 33 successful, 33 total
Cached: 1 cached, 33 total
Time: 1m36.505s

But if we open app-gaming mfe it will show error inside:
app-gaming:build
cache miss, executing e70684dac972901b

app-gaming@0.0.345 build
fabric-cli build-stencil

[30:12.3] @stencil/core
[30:12.7] v4.27.1 🍸
[30:17.6] build, app-gaming, prod mode, started ...
[30:17.6] transpile started ...
[30:26.1] transpile finished in 8.51 s
[ ERROR ] TypeScript: src/components/gaming-multigame_frame/gaming-multigame_frame.tsx:135:2
Duplicate function implementation.

  L135:  	componentDidLoad() {
  L136:  		document.obgEventBus.dispatch(GamingAppCommand.InitializeMultiGame, {

[30:26.1] build failed in 8.52 s

To Reproduce

.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions