gradle / gradle/develocity-build-validation-scripts

Improve experience when `dualPublish` is configured

Open
#796 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
115
Forks
23
Avg merge
1d 4h
Merged PRs (30d)
6

Description

The following 2 problems exist when `dualPublish` is configured:

- If the secondary publish succeeds, its build scan is written to the `build-scans.csv` file and its build scans are used to create the summary
- If the secondary publish fails but the primary publish succeeds, the experiment aborts (see below)

![Image](https://github.com/user-attachments/assets/be2693ee-7fd5-4a06-9509-1308d86da78d)

We should consider making the following changes:

- If the secondary publish succeeds, do not write its contents to `build-scans.csv` and always use the build scans from the primary publish to create the summary
- If the secondary publish fails but the primary publish succeeds, do not abort the experiment and continue

We need to confirm that the callbacks from the primary publish will always complete before the callbacks of the `dualPublish`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.