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

Update protobuf #7411

Merged
merged 4 commits into from
Mar 2, 2023
Merged

Update protobuf #7411

merged 4 commits into from
Mar 2, 2023

Conversation

trevor-scheer
Copy link
Member

Update protobuf to latest, which notably introduces a ConditionNode needed to reintroduce support for @skip/@include in gateway traces.

These changes were produced by running the following:

npm run update-proto -w @apollo/usage-reporting-protobuf
npm run generate -w @apollo/usage-reporting-protobuf

@netlify
Copy link

netlify bot commented Mar 2, 2023

Deploy Preview for apollo-server-docs ready!

Name Link
🔨 Latest commit fc449e5
🔍 Latest deploy log https://app.netlify.com/sites/apollo-server-docs/deploys/6400fd22aaa3360008794268
😎 Deploy Preview https://deploy-preview-7411--apollo-server-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Mar 2, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit fc449e5:

Sandbox Source
Apollo Server Typescript Configuration
Apollo Server Configuration

Copy link
Member

@glasser glasser left a comment

Choose a reason for hiding this comment

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

a couple optional suggestions, plus fix smoke test (we looked into it separately and it seems to be due to older versions of Gateway depending on apollo-usage-reporting-protobuf which should also get updated first)

@@ -19,6 +19,7 @@ dictionaries:
useGitignore: true
ignorePaths:
- '**/generated/**'
- 'packages/usage-reporting-protobuf/src/reports.proto'
Copy link
Member

Choose a reason for hiding this comment

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

I guess flipside here is, if there are typos in this file then we should fix them at the source? (Perhaps with a temporary addition to local dictionary?)

Copy link
Member Author

Choose a reason for hiding this comment

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

Eh, the word is nestedness which seems reasonable / not something I'd fix over there. I do think this falls into the "generated" category and shouldn't be spell checked here going forward, but not opposed to just adding to dictionary too.

Copy link
Member Author

Choose a reason for hiding this comment

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

Maybe we do want to permit nestedness and catch future spelling problems here 🤷

trevor-scheer added a commit that referenced this pull request Mar 2, 2023
The protobuf doesn't actually need to be updated, however it is causing compatibility
issues with the protobuf update on `main` given that we're smoke testing against old
versions of the gateway as well which depend on the v3 version of the
`apollo-reporting-protobuf` package.

Related: #7411
@trevor-scheer trevor-scheer merged commit 021460e into main Mar 2, 2023
@trevor-scheer trevor-scheer deleted the trevor/update-protobuf branch March 2, 2023 19:52
@github-actions github-actions bot mentioned this pull request Mar 2, 2023
trevor-scheer pushed a commit that referenced this pull request Mar 2, 2023
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## @apollo/usage-reporting-protobuf@4.1.0

### Minor Changes

- [#7411](#7411)
[`021460e95`](021460e)
Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Update
protobuf which includes updates for supporting (notably) ConditionNode
in the gateway

## @apollo/server-integration-testsuite@4.4.1

### Patch Changes

- [#7381](#7381)
[`29038a4d3`](29038a4)
Thanks [@renovate](https://github.com/apps/renovate)! - Update
graphql-http dependency

- Updated dependencies
\[[`021460e95`](021460e)]:
    -   @apollo/usage-reporting-protobuf@4.1.0
    -   @apollo/server@4.4.1

## @apollo/server@4.4.1

### Patch Changes

- Updated dependencies
\[[`021460e95`](021460e)]:
    -   @apollo/usage-reporting-protobuf@4.1.0

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@github-actions github-actions bot mentioned this pull request Mar 2, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants