Repository navigation
Conversation
A hand-written change never moves .spec-version, so the Breaking changes check passed it untouched. The surface comparison the regen ran moves into the check, now over hand-written code too, and the regen writes breaking footers from its own sdk lines, as stream-sdk-java and getstream-net do.
👋 Hi 🌵, want a second pair of eyes on this?I'm Jeffery, Stream's review agent. I look for bugs, regressions, missing tests and slow paths, and I only post findings I've checked against the code.
Or comment |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
A hand-written PR can remove or change public API without a
!in its title and ship as a minor. The Breaking changes check only looks at.spec-version, so such a PR passes it untouched.Solution
!or the PR is labelledsdk-not-breaking. It now covers all oflib/, skips private and protected methods, and compares keyword arguments by name, since Ruby binds them by name.getstream-rubysdk lines that chat allowlisted, as stream-sdk-java and getstream-net do, and the Breaking changes check counts those sdk tickets. A regen whose methods break callers in a way chat's check allows (chat matches optional arguments by name) now fails the new step, and the regen's existing "failing required check" heads-up brings a human..spec-versionat the merge base, as stream-py does. Comparing against the base tip reported a downgrade on any branch cut before a regen merged.How to verify
actions/checkoutbuilds them: v13.3.0 to master reported nothing; v13.0.0 to master reported only thefork_message_i_dsandget_channelchanges already judged on feat: regenerate client from openapi-v241.19.0 #119; renamingClient#feed_resourceandConfigurationErrorfailed; renaming a private method passed; forClient#initialize, an optional positional or keyword argument passed, while a removed keyword, a keyword made required, or a moved positional argument failed.