-
Notifications
You must be signed in to change notification settings - Fork 15
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
[CI] Include delimiter in job title when filtering issues #809
Conversation
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.
@@ -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 |
There was a problem hiding this comment.
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.
Object oldIssue = issues.put(issue, job.getName().split(" / ")[0]); | ||
Object oldIssue = issues.put(issue, job.getName().split(JOB_TITLE_DELIMITER)[0]); |
There was a problem hiding this comment.
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).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct
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)