Repository navigation
Publish less: from Envoy 1.36, only API changes, stub javadoc - #5
Merged
Merged
Conversation
Maven Central now limits how much each organization publishes a month. - Start at Envoy 1.36.0, the oldest release upstream still supports. - Skip a release whose protos are the same as the release before: Envoy's Buf labels point at content-addressed commits, so those share a commit. In 1.36 to 1.40 that leaves 12 of 17 releases. - The javadoc jar only holds a README pointing to Envoy's API docs. Javadoc of the generated code was ~55 MB of each ~100 MB release, and the sources jar already serves IDEs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LjfJneYfZvPVJht93FjFQW
Buf's commit changes even when the protos don't (1.36.3 and 1.36.4 export identical files), and comment changes don't change the generated classes. api-changes.sh compares descriptors built without source info, minus the module commit Buf stamps into each. In 1.36 to 1.40 that leaves 7 of 18 releases instead of 12: most patch releases change no protos, or only comments. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LjfJneYfZvPVJht93FjFQW
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.
Maven Central now limits how much each organization publishes a month. Each release was ~100 MB, and the daily run was set to publish all 39 Envoy releases from 1.31.0.
MIN_ENVOY_VERSIONis the oldest Envoy release upstream still supports..github/scripts/api-changes.shbuilds each release's descriptors without source info, drops the module commit Buf stamps into each, and prints a release only if that differs from the release before. Comment changes don't count, since they don't change the generated classes. Comparing Buf commits wasn't enough: 1.36.3 and 1.36.4 export identical protos under different commits. In 1.36 to 1.40 this leaves 7 of 18 releases: 1.36.0, 1.36.3, 1.37.0, 1.37.1, 1.38.0, 1.39.0, 1.40.0. 1.36.0 and 1.40.0 are already out.Tested locally:
api-changes.sh 1.36.0prints the 7 releases above, and the 1.40.0 build produces a 5 KB javadoc jar.🤖 Generated with Claude Code
https://claude.ai/code/session_01LjfJneYfZvPVJht93FjFQW