Skip to content

[Bug]: Version 1.4.9 is breaking Azure DevOps build pipelines #11152

@rubensbarbosa88

Description

@rubensbarbosa88

Version

System:
  OS: Ubuntu 22.04 (Azure DevOps pipeline VM image)

npmPackages:
  @rsbuild/core: ^1.3.22 => 1.4.9

Details

Hi team,

After upgrading to rsbuild version 1.4.9, all my build pipelines on Azure DevOps started failing.

Everything was working fine with the previous version (1.4.8 or earlier), but as soon as I switched to 1.4.9, the builds broke. Unfortunately, I couldn't fully understand what changed or what caused the issue, since the logs aren't very clear.

Here's what I observed in the logs:

1.284 info    build started...
4.411 Panic occurred at runtime. Please file an issue on GitHub with the backtrace below: https://github.com/web-infra-dev/rspack/issues: panicked at crates/rspack_core/src/lib.rs:342:26:
4.411 Chunk(ChunkUkey(Ukey(36), PhantomData<rspack_core::chunk::Chunk>)) not found in ChunkByUkey
13.88 Aborted (core dumped)
13.89 error Command failed with exit code 134.
13.89 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
------

 4 warnings found (use docker --debug to expand):
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1)
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 20)
 - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 21)
 - JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals (line 30)
Dockerfile:15
--------------------
  13 |     # Build the app
  14 |     ENV GENERATE_SOURCEMAP=false
  15 | >>> RUN yarn build
  16 |     
  17 |     # Bundle static assets with nginx
--------------------
ERROR: failed to build: failed to solve: process "/bin/sh -c yarn build" did not complete successfully: exit code: 134

##[error]Bash exited with code '1'.

Reproduce link

no example

Reproduce Steps

  1. Run the build pipeline in Azure DevOps using Docker (e.g., a Dockerfile that runs yarn build inside a Node.js image).

  2. The build fails during the rsbuild build step.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions