Repository navigation
ci: remove bom-assertion-test job and BomContentAssertionsTest - #15432
Merged
Merged
Conversation
Contributor
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
lqiu96
force-pushed
the
ci/trim-bom-assertion-test-install
branch
from
December 4, 2026 06:49
2170494 to
26d8615
Compare
lqiu96
marked this pull request as ready for review
December 4, 2026 18:54
jinseopkim0
approved these changes
Dec 4, 2026
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.
Removes the
bom-assertion-testjob from.github/workflows/java-cloud-bom-ci.yaml, along withjava-cloud-bom/tests/src/test/java/com/google/cloud/BomContentAssertionsTest.java, its static fixturejava-cloud-bom/tests/src/test/resources/bom-with-typo-artifact.xml, and the now-unusedcom.google.truth:truthtest dependency injava-cloud-bom/tests/pom.xml.What the old
bom-assertion-testjob was doingbom-assertion-testdid not test the PR's BOM or any library code in this repository. It installed the entire monorepo (~22 minutes) and then ran two JUnit tests inBomContentAssertionsTest.javaagainst static/hardcoded inputs to test helper methods insideBomContentTest.java:testInvalidBomUnreachable: loads a static fixture (bom-with-typo-artifact.xmlcontaining a nonexistentcom.google.guava:guava-invalid:31.1-jrecoordinate) and checks thatBomContentTest.checkBomReachable(...)throwsIOException.testAssertDependencyConvergenceWithinCloudJavaLibraries: downloads a hardcoded 2022 Maven Central BOM (com.google.cloud:libraries-bom:26.0.0) and checks thatBomContentTest.assertDependencyConvergenceWithinCloudJavaLibraries(...)throwsAssertionErroron a known 2022 BigQuery version mismatch.Why it is safe to remove
BomContentAssertionsTestis exercised by CI:java-cloud-bom-ci.yamlonly runsBomContentTest#testLibrariesBom(which callscheckBom(), notcheckBomReachable()), andBomContentTest#testLibrariesBOMCloudClientConvergencehas been@Ignored due to Remove the experimental convergence check. java-cloud-bom#5757.test-invalid-bomin the same workflow already verifies thatvalidate-bomrejects a broken BOM.BomContentAssertionsTest.java,bom-with-typo-artifact.xml, and the orphanedcom.google.truth:truthdependency keepsjava-cloud-bom/testsclean and keepsmvn dependency:analyze -DfailOnWarning=truepassing.Impact
Eliminates a ~24-minute runner job on every
java-cloud-bom cirun with no loss of BOM validation coverage.