Skip to content

Make sure tests fail if typecheck fails#508

Merged
Gawor270 merged 3 commits intomainfrom
fce-3046
Mar 25, 2026
Merged

Make sure tests fail if typecheck fails#508
Gawor270 merged 3 commits intomainfrom
fce-3046

Conversation

@Gawor270
Copy link
Member

@Gawor270 Gawor270 commented Mar 25, 2026

Description

Removed echo print indicating test failed from yarn tsc which caused to return command to exit always with 0 which is interpreted as passed test

Motivation and Context

Why is this change required? What problem does it solve? If it fixes an open
issue, please link to the issue here.

Documentation impact

  • Documentation update required
  • Documentation updated in another PR
  • No documentation update required

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to
    not work as expected)

@linear
Copy link

linear bot commented Mar 25, 2026

@Gawor270 Gawor270 requested a review from Copilot March 25, 2026 11:52
@Gawor270 Gawor270 changed the title Make sure tests fail if typecheck fail Make sure tests fail if typecheck fails Mar 25, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the root TypeScript typecheck script so that typecheck failures correctly propagate a non-zero exit code (e.g., in CI), instead of being masked.

Changes:

  • Remove the || echo ... fallback from the root tsc script so failures cause the command to fail.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Collaborator

@MiloszFilimowski MiloszFilimowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:nice

@Gawor270 Gawor270 merged commit 0939def into main Mar 25, 2026
6 checks passed
@Gawor270 Gawor270 deleted the fce-3046 branch March 25, 2026 14:37
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.

4 participants