Skip to content

Make Javadoc CI jobs succeed when there is no change to the generated output.#2069

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_933215637
Jun 16, 2026
Merged

Make Javadoc CI jobs succeed when there is no change to the generated output.#2069
copybara-service[bot] merged 1 commit into
mainfrom
test_933215637

Conversation

@copybara-service

Copy link
Copy Markdown
Contributor

Make Javadoc CI jobs succeed when there is no change to the generated output.

Truth's Javadoc-generation jobs has failed from d37a61a onward. The trigger for the problem, however, is the commit before that one, 77c6a82: By upgrading to a new version of Javadoc, we put an end to trivial changes to .zip files each time we regenerate the output (likely timestamps or directory ordering, similar to the complaints I've had in google/guava#7597). That meant that git commit started failing because there were no changes to the Javadoc output to commit after each of the recent changes to the code. (But the job for the Javadoc version itself succeeded because it naturally did produce changes to the output.)

The fix is to just exit successfully when there is nothing to commit.

I'm preemptively making this same change to Auto.

RELNOTES=n/a

… output.

Truth's Javadoc-generation jobs has failed from [`d37a61a`](google/truth@d37a61a) onward. The trigger for the problem, however, is the commit _before_ that one, [`77c6a82`](google/truth@77c6a82): By upgrading to a new version of Javadoc, we put an end to [trivial changes to `.zip` files each time we regenerate the output](google/truth@ea9b387) (likely timestamps or directory ordering, similar to the complaints I've had in google/guava#7597). That meant that `git commit` started failing because there were no changes to the Javadoc output to commit after each of the recent changes to the code. (But the job for the Javadoc version itself succeeded because it naturally [did produce changes to the output](google/truth@4feaa60).)

The fix is to just exit successfully when there is nothing to commit.

I'm preemptively making this same change to Auto.

RELNOTES=n/a
PiperOrigin-RevId: 933236220
@copybara-service copybara-service Bot merged commit e201339 into main Jun 16, 2026
@copybara-service copybara-service Bot deleted the test_933215637 branch June 16, 2026 19:28
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.

1 participant