Skip to content

fix: redirect bundling problems to stderr instead on stdout#2541

Draft
tatomyr wants to merge 1 commit intomainfrom
fix/put-bundle-problems-to-stderr
Draft

fix: redirect bundling problems to stderr instead on stdout#2541
tatomyr wants to merge 1 commit intomainfrom
fix/put-bundle-problems-to-stderr

Conversation

@tatomyr
Copy link
Collaborator

@tatomyr tatomyr commented Feb 5, 2026

What/Why/How?

Redirected bundling problems (such as lint errors and warnings) to stderr instead of stdout to avoid interfering with the bundled output.

Reference

Addresses #661 (comment).

Created as a potential replacement for #2525.

Testing

Screenshots (optional)

Check yourself

  • Code changed? - Tested with Redoc/Realm/Reunite (internal)
  • All new/updated code is covered by tests
  • New package installed? - Tested in different environments (browser/node)
  • Documentation update considered

Security

  • The security impact of the change has been considered
  • Code follows company security practices and guidelines

@changeset-bot
Copy link

changeset-bot bot commented Feb 5, 2026

🦋 Changeset detected

Latest commit: f734539

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@redocly/respect-core Patch
@redocly/openapi-core Patch
@redocly/cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Feb 5, 2026

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 78.59% (🎯 78%) 6132 / 7802
🔵 Statements 78.03% (🎯 78%) 6338 / 8122
🔵 Functions 82.31% (🎯 82%) 1247 / 1515
🔵 Branches 70.31% (🎯 70%) 4187 / 5955
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/cli/src/commands/bundle.ts 87.8% 76.66% 100% 87.8% 118-122, 129-133, 151
packages/cli/src/commands/join.ts 69.1% 59.17% 71.42% 70.09% 139, 147-156, 178, 220, 234, 249, 273, 278, 289-293, 298-299, 305, 344, 350, 359-363, 427-428, 435, 446-449, 461, 473-484, 503, 554-557, 559-572, 616-646, 660, 661, 671-682, 690-739, 761-773, 780, 782-784, 786, 788-792
packages/cli/src/commands/lint.ts 76% 50% 50% 76% 79-81, 134-163
packages/core/src/format/format.ts 50.8% 41.5% 58.06% 50.56% 25, 67-68, 113, 117-143, 161, 165, 173-191, 200-305, 310, 323-329, 354-360, 367, 412-425, 439-440, 467
packages/respect-core/src/modules/flow-runner/get-test-description-from-file.ts 100% 76.47% 100% 100%
Generated in workflow #8496 for commit f734539 by the Vitest Coverage Report Action

@github-actions
Copy link
Contributor

github-actions bot commented Feb 5, 2026

CLI Version Mean Time ± Std Dev (s) Relative Performance (Lower is Faster)
cli-latest 3.554s ± 0.030s ▓ 1.00x
cli-next 3.546s ± 0.028s ▓ 1.00x (Fastest)

@tatomyr tatomyr requested a review from RomanHotsiy February 5, 2026 19:56
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.

1 participant