RFR: 8338402: GHA: some of bundles may not get removed
Zdenek Zambersky
zzambers at openjdk.org
Wed Aug 14 14:39:12 UTC 2024
Some of bundles may not get removed. This is follows [JDK-8336928](https://bugs.openjdk.org/browse/JDK-8336928). Problem does not always show up, so I have not seen it in my test runs, but since then I have seen some GHA runs affected by this.
**Details:**
Turns out, that call to list artifacts is by default limited to first 30 artifacts. GHA of openjdk currently produces 75 artifacts of which 10 are bundles (built jdk). Problem happens if build on some platform takes too long and enough test results (other platforms) got uploaded in meantime. Bundle can then be shifted down in list and not fall into list of first 30 artifacts. Problem can be fixed by increasing per_page limit ([API allows up to 100](https://docs.github.com/en/rest/actions/artifacts?apiVersion=2022-11-28#list-workflow-run-artifacts)).
**Testing:**
GHA: OK (see [artifacts in summary tab](https://github.com/zzambers/jdk/actions/runs/10373518734#artifacts))
-------------
Commit messages:
- GHA: list artifacts with higher limit
Changes: https://git.openjdk.org/jdk/pull/20585/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20585&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8338402
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/20585.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/20585/head:pull/20585
PR: https://git.openjdk.org/jdk/pull/20585
More information about the build-dev
mailing list