Skip to content

chore: add a unit test for .github/release_prep.sh#26247

Closed
alexeagle wants to merge 8 commits into
mainfrom
test_release_sh
Closed

chore: add a unit test for .github/release_prep.sh#26247
alexeagle wants to merge 8 commits into
mainfrom
test_release_sh

Conversation

@alexeagle

@alexeagle alexeagle commented Mar 7, 2026

Copy link
Copy Markdown
Contributor

Requested by protobuf team after having a rough time in v34.0 release

Comment thread .github/BUILD.bazel
echo "should be excluded" > compatibility/README
echo "# protobuf" > README.md

git add -A

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Does this work in bazel??

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

sure, the sandbox doesn't prevent test actions from executing arbitrary binaries on the PATH

@JasonLunn

Copy link
Copy Markdown
Member

The new test seems to fail in multiple configurations, but not giving any observable indication of why:

FAIL: //.github:release_prep_test (Exit 1) (see /workspace/_build/out/execroot/_main/bazel-out/k8-fastbuild/testlogs/.github/release_prep_test/test.log)
INFO: From Testing //.github:release_prep_test:
==================== Test output for //.github:release_prep_test:
================================================================================

@acozzette

Copy link
Copy Markdown
Collaborator

@mkruskal-google I got the test to pass and I think this is now ready for another look.

@runzw
runzw requested a review from mkruskal-google June 29, 2026 21:22
copybara-service Bot pushed a commit that referenced this pull request Jul 8, 2026
Requested by protobuf team after having a rough time in v34.0 release

Closes #26247

COPYBARA_INTEGRATE_REVIEW=#26247 from protocolbuffers:test_release_sh c6f620d
FUTURE_COPYBARA_INTEGRATE_REVIEW=#26247 from protocolbuffers:test_release_sh c6f620d
PiperOrigin-RevId: 943904725
@copybara-service copybara-service Bot closed this in 8ccb4fa Jul 8, 2026
protobuf-team-bot added a commit that referenced this pull request Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants