Skip to content

DAOS-19447 cq: overhaul jira_query.py - #18835

Open
daltonbohning wants to merge 1 commit into
masterfrom
dbohning/daos-19447
Open

DAOS-19447 cq: overhaul jira_query.py#18835
daltonbohning wants to merge 1 commit into
masterfrom
dbohning/daos-19447

Conversation

@daltonbohning

Copy link
Copy Markdown
Contributor
  • Use ArgumentParser for proper argument parsing
  • Remove "priority" handling since this was incomplete and not easy to determine programatically.
  • Handle generic DAOS versions by parsing the VERSION file and Jira fields
  • Set/remove release-* labels on a best-effort basis
  • Set/remove approved-to-merge labels

Doc-only: true

Steps for the author:

  • Commit message follows the guidelines.
  • Appropriate Features or Test-tag pragmas were used.
  • Appropriate Functional Test Stages were run.
  • At least two positive code reviews including at least one code owner from each category referenced in the PR.
  • Testing is complete. If necessary, forced-landing label added and a reason added in a comment.

After all prior steps are complete:

  • Gatekeeper requested (daos-gatekeeper added as a reviewer).

@daltonbohning daltonbohning self-assigned this Aug 11, 2026
@github-actions

Copy link
Copy Markdown

Ticket title is 'Update JIRA Query GitHub Action to handle current DAOS Versions'
Status is 'In Progress'
https://daosio.atlassian.net/browse/DAOS-19447

@github-actions github-actions Bot added the release-3.0.0 Targeted for release 3.0.0 label Aug 11, 2026
@daltonbohning
daltonbohning force-pushed the dbohning/daos-19447 branch 2 times, most recently from 276b0db to 28d1043 Compare August 11, 2026 22:30
- Use ArgumentParser for proper argument parsing
- Remove "priority" handling since this was incomplete and not easy to
  determine programatically.
- Handle generic DAOS versions by parsing the VERSION file and Jira
  fields
- Set/remove release-* labels on a best-effort basis
- Set/remove approved-to-merge labels

Doc-only: true

Signed-off-by: Dalton Bohning <dalton.bohning@hpe.com>
@daltonbohning
daltonbohning marked this pull request as ready for review August 11, 2026 22:33
@daltonbohning
daltonbohning requested a review from phender August 11, 2026 22:33
@daltonbohning

Copy link
Copy Markdown
Contributor Author

The jira_query GHA is written in such a way that it runs with the workflow file from the TARGET branch, not the PR branch. So it can't be tested directly. I have a separate commit here where it ran and added the release-3.0.0 label to this PR:
https://github.com/daos-stack/daos/actions/runs/31542732803/job/93948575354

Overall, we will have to land this and then watch it to make sure it is behaving as expected.

Comment thread ci/jira_query.py
version_minor += 1
version_patch = 0

# If the minor version is at 10, bump the major version and reset the minor version to 0.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why do we want to do this?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Because, e.g., version 2.9.x is what will become release 3.0.0

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

So

2.9 -> 2.10 -> 3.0

It's a consequence of our complicated versioning system

@daltonbohning
daltonbohning requested a review from phender August 18, 2026 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-3.0.0 Targeted for release 3.0.0

Development

Successfully merging this pull request may close these issues.

2 participants