Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: allow checks to fail from composition (#1525 #1525

Merged
merged 1 commit into from
Feb 23, 2023

Conversation

EverlastingBugstopper
Copy link
Contributor

@EverlastingBugstopper EverlastingBugstopper commented Feb 23, 2023

as of 0.12.0, running rover subgraph check with a schema that fails to compose results in an inscrutable error message: Operation check task has no result.

This PR fixes that by returning composition errors before checking operation check tasks. It also updates the Operation check task has no result error message to be a malformed response error type, which shouldn't occur in practice.

@EverlastingBugstopper EverlastingBugstopper changed the title fix: allow checks to fail from composition fix: allow checks to fail from composition (#1525 Feb 23, 2023
@EverlastingBugstopper EverlastingBugstopper merged commit f64d02d into main Feb 23, 2023
@EverlastingBugstopper EverlastingBugstopper deleted the avery/fix-checks branch February 23, 2023 17:33
EverlastingBugstopper added a commit that referenced this pull request Feb 23, 2023
# [0.12.2] - 2023-02-23

## 🚀 Features

- **Warn when `federation_version` is not pinned -
@EverlastingBugstopper, #1524**

As of this release, we no longer recommend auto-updates for the `rover
supergraph compose` command because of the coordination path that is
required to roll out new versions of Federation. If you do not specify
an exact `federation_version`, a warning will be printed. In a future
version of Rover we will entirely deprecate auto-updating, so please
migrate now. This change includes some changes to our documentation as
well, check out [the
docs](https://www.apollographql.com/docs/rover/commands/supergraphs/#setting-a-composition-version)
for more information.

## 🐛 Fixes

- **Fixes composition error reporting in `rover subgraph check` -
@EverlastingBugstopper, #1525**

In Rover v0.12.0 and v0.12.1, running a `rover subgraph check` with an
invalid schema failed to report the composition errors, this behavior is
fixed in v0.12.2.

## 🛠 Maintenance

- **Updates internal node dependencies - @EverlastingBugstoppe**

  `node` v18.14.0 -> v18.14.1
  `npm` v9.4.2 -> v9.5.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix 🩹 fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants