Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Include delimiter in job title when filtering issues #809

Merged

Conversation

zakkak
Copy link
Collaborator

@zakkak zakkak commented Nov 21, 2024

Top level jobs might share a common prefix, e.g. "Q main M24 latest" is shared in both linux and windows builds. Including the delimiter we ensure that we are getting the full top level job title and prevent false negatives in our reports.

Also updates quarkus-ecosystem-issue.java script dependencies

Resolves issue observed in #755 (comment)

Top leve jobs might share a common prefix, e.g. "Q main M24 latest" is
shared in both linux and windows builds. Including the delimiter we
ensure that we are getting the full top level job title and prevent
false negatives in our reports.
@zakkak zakkak requested a review from jerboaa November 21, 2024 13:26
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Nov 21, 2024
@@ -16,8 +16,9 @@

//usr/bin/env jbang "$0" "$@" ; exit $?

//DEPS org.kohsuke:github-api:1.321
//DEPS info.picocli:picocli:4.2.0
//JAVA 21
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's not mandatory for the changes, but there is also no reason to support older versions.

Comment on lines -260 to +270
Object oldIssue = issues.put(issue, job.getName().split(" / ")[0]);
Object oldIssue = issues.put(issue, job.getName().split(JOB_TITLE_DELIMITER)[0]);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, so this solves the "common prefix" problem by including the delimiter for "Linux" jobs, correct?

I.e. Q main M 24 latest windows / Mandrel build no longer is matched by prefix Q main M 24 latest / , which would have been the case when the prefix previously was Q main M 24 latest (without the positive look behind match).

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct

@zakkak zakkak merged commit e19ab4e into graalvm:default Nov 21, 2024
1 check passed
@zakkak zakkak deleted the 2024-11-21-make-job-name-check-more-strict branch November 21, 2024 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants