Skip to content

Explain CI build failure caused by @itwin/core-react Sass deprecation warnings#418

Closed
Copilot wants to merge 1 commit intogytis/audit-issuesfrom
copilot/sub-pr-417
Closed

Explain CI build failure caused by @itwin/core-react Sass deprecation warnings#418
Copilot wants to merge 1 commit intogytis/audit-issuesfrom
copilot/sub-pr-417

Conversation

Copy link

Copilot AI commented Feb 25, 2026

The CI rush rebuild step exits with code 1 after upgrading @itwin/core-react from 5.11.25.24.2. Rush 5.112.2 treats SUCCESS WITH WARNINGS as a non-zero exit, and the newer @itwin/core-react emits Sass if() deprecation warnings from its published SCSS files.

Affected packages

Four packages that transitively depend on @itwin/core-react are impacted:

  • @itwin/desktop-viewer-test
  • @itwin/web-viewer-test
  • itwin-desktop-viewer-template
  • itwin-web-viewer-template

Warning origin

DEPRECATION WARNING [if-function]: The Sass if() syntax is deprecated in favor of the modern CSS syntax.
 20 │   $type: if(map.has-key($sizes, $type), $type, body);
     @itwin/core-react/lib/core-react/text/mixins.scss

Notes

The warning originates in @itwin/core-react's published source — it cannot be suppressed from this repo. Resolution requires either an upstream fix in that package or pinning @itwin/core-react to a version that does not produce this warning.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Fix vulnerable minimatch versions with rush update Explain CI build failure caused by @itwin/core-react Sass deprecation warnings Feb 25, 2026
@GytisCepk
Copy link
Contributor

I asked for explanation, not for PR. Bad bot.

@GytisCepk GytisCepk closed this Feb 25, 2026
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.

2 participants