On Thu, 31 Oct 2024 09:42:54 GMT, Doug Simon <[email protected]> wrote:

> There have been numerous problems in the past with the logic for removing 
> bundles:
> 
> * [JDK-8340418](https://bugs.openjdk.org/browse/JDK-8340418)
> * [JDK-8336928](https://bugs.openjdk.org/browse/JDK-8336928)
> * [JDK-8338402](https://bugs.openjdk.org/browse/JDK-8338402)
> 
> These problems can be avoided by relying on the [built-in GHA mechanism for 
> specifying a retention 
> limit](https://docs.github.com/en/organizations/managing-organization-settings/configuring-the-retention-period-for-github-actions-artifacts-and-logs-in-your-organization)
>  for these bundles. This PR deletes the code that eagerly removes the bundles 
> prior to the retention limit.
> 
> An additional benefit to preserving the artifacts longer is that it increases 
> the window for being able to download them for extra testing under different 
> configurations than those tested by GHA (e.g. same test, different GC flags).

This pull request has now been integrated.

Changeset: 29ae2651
Author:    Doug Simon <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/29ae26517f9c1fd5e641b3a560aa93e370920506
Stats:     45 lines in 1 file changed: 0 ins; 45 del; 0 mod

8341861: GHA: Use only retention mechanism to remove bundles

Reviewed-by: shade, ihse, erikj

-------------

PR: https://git.openjdk.org/jdk/pull/21801

Reply via email to