Skip to content

Conversation

@jormundur00
Copy link
Member

What does this PR do?

This PR introduces automatic closing of open GitHub pre-release version issues generated by automation, when the corresponding full release version becomes available.

The workflow step closes issues in two situations:

  1. If a test fails for the full version (and we open an issue for that version), we close the pre-release issue for that version.
  2. If a test passes for a full release version and a pre-release issue exists for that version, we close the pre-release issue.

The changes to the workflow have been tested on a fork. Examples of both situations can be found here:

  1. Situation 1: pre-release issue closed when full version fails
  2. Situation 2: pre-release issue closed when full version passes

The new workflow step uses the same regex logic when looking for pre-release versions as it does in the tests/tck-build-logic/src/main/java/org/graalvm/internal/tck/TestedVersionUpdaterTask.java, just converted to a bash compatible regex.

Fixes: #807

…-release issues when full release is present
@jormundur00 jormundur00 requested a review from vjovanov November 25, 2025 14:19
@jormundur00 jormundur00 self-assigned this Nov 25, 2025
@jormundur00 jormundur00 added the enhancement New feature or request label Nov 25, 2025
@jormundur00 jormundur00 requested a review from kimeta November 25, 2025 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Automatically close RC (and friends) tickets for a library when the new version exists

1 participant