RFR: 8338402: GHA: some of bundles may not get removed
Magnus Ihse Bursie
ihse at openjdk.org
Wed Aug 14 14:48:47 UTC 2024
On Wed, 14 Aug 2024 14:30:28 GMT, Zdenek Zambersky <zzambers at openjdk.org> wrote:
> 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))
Looks good, but the 75 current artifacts looks dangerously close to the 100 limit. We'll have to try to keep in mind that if we continue increase the number of artifacts, we might have to replace this with a series of repeated calls.
-------------
Marked as reviewed by ihse (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/20585#pullrequestreview-2238417823
More information about the build-dev
mailing list