RFR: 8341861: GHA: Use only retention mechanism to remove bundles

Doug Simon dnsimon at openjdk.org
Thu Oct 31 12:48:28 UTC 2024


On Thu, 31 Oct 2024 09:42:54 GMT, Doug Simon <dnsimon at openjdk.org> 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).

The initial discussion I'm referring to is a brief internal discussion with no pertinent details apart from what I've stated here.

Anyway, this is a trivial PR and so it seems appropriate to discuss the impacts as part of the review on GitHub so let me know of any further concerns you might have about this change.

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

PR Comment: https://git.openjdk.org/jdk/pull/21801#issuecomment-2449760594


More information about the build-dev mailing list