Skip to content

Conversation

@vjovanov
Copy link
Member

No description provided.

@vjovanov vjovanov force-pushed the vj/fix-infra-testing branch 2 times, most recently from c624325 to 51e8c2d Compare December 1, 2025 10:34
@vjovanov vjovanov force-pushed the vj/fix-infra-testing branch 5 times, most recently from e30ec27 to 22f721e Compare December 8, 2025 10:48
@vjovanov vjovanov force-pushed the vj/fix-infra-testing branch 4 times, most recently from 54cedc8 to 95ffef6 Compare December 10, 2025 17:03
@vjovanov vjovanov force-pushed the vj/fix-infra-testing branch from cccfa78 to c4c8e05 Compare December 11, 2025 06:32
Copy link
Member

@jormundur00 jormundur00 left a comment

Choose a reason for hiding this comment

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

LGTM! Didn't test every possible combination of commands locally, but what I did worked (and I see that all the changed-build-logic tests passed in the CI, so we should be good).

registerPerCoordinateTask(coordinates, javaTest, "javaTest", JavaTestInvocationTask, true)
registerPerCoordinateTask(coordinates, nativeTestCompile, "nativeTestCompile", NativeTestCompileInvocationTask, true)
// No aggregate wiring for per-coordinate docker pulls; they are invoked by dedicated workflows.
registerPerCoordinateTask(coordinates, null, "pullAllowedDockerImages", DockerTask.class, false) { t ->
Copy link
Member

Choose a reason for hiding this comment

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

With the addition of ComputeAndPullAllowedDockerImagesTask, I don't think DockerTask is used anywhere (you removed it here, but it's still an unused import). I think we can consider deleting it from the repository, but we can do that in a follow-up PR to avoid rerunning all tests for this change.

protected String resolveSingleCoordinate() {
List<String> coords = resolveCoordinates()
if (coords.isEmpty()) {
throw new GradleException("No matching coordinates found. Provide a concrete coordinate via -Pcoordinates=group:artifact:version")
Copy link
Member

Choose a reason for hiding this comment

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

Small nit: in the root build.gradle, when throwing the GradleException, the message states to use -Pcoordinate (or -Pcoordinates in brackets), but here we ask for -Pcoordinates explicitly. If we intend to have -Pcoordinate as a valid property, maybe we should add and use it here as well (as a fallback at least). We can also do this in a follow-up, or just ignore it.

Copy link
Member Author

Choose a reason for hiding this comment

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

I will fix this up later, as this PR runs for a long long time.

@vjovanov vjovanov merged commit 586fc26 into master Dec 11, 2025
63 checks passed
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.

2 participants