Skip to content

Update version checks for nvme_core.io_timeout on Azure#531

Open
achilleas-k wants to merge 1 commit intoosbuild:mainfrom
achilleas-k:drop/nvme_core.io_timeout
Open

Update version checks for nvme_core.io_timeout on Azure#531
achilleas-k wants to merge 1 commit intoosbuild:mainfrom
achilleas-k:drop/nvme_core.io_timeout

Conversation

@achilleas-k
Copy link
Member

The command line argument was dropped on 9.8+ and 10.2+. See osbuild/images#2127 as well as RHEL-126678 and RHEL-127204.

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey - I've left some high level feedback:

  • The equality check against explicit strings for host.system_info.release may be brittle if the value includes minor/patch versions (e.g. 9.6.1), consider using a proper version comparison or a prefix/regex match to ensure all intended sub-versions are covered.
  • To make the special-case handling clearer and easier to maintain, consider extracting the allowed releases ("9.6", "9.7", "10.0", "10.1") into a named constant or set near the top of the file instead of hardcoding them in the conditional.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- The equality check against explicit strings for `host.system_info.release` may be brittle if the value includes minor/patch versions (e.g. `9.6.1`), consider using a proper version comparison or a prefix/regex match to ensure all intended sub-versions are covered.
- To make the special-case handling clearer and easier to maintain, consider extracting the allowed releases ("9.6", "9.7", "10.0", "10.1") into a named constant or set near the top of the file instead of hardcoding them in the conditional.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@achilleas-k achilleas-k force-pushed the drop/nvme_core.io_timeout branch 2 times, most recently from 027995f to 0c41719 Compare March 3, 2026 12:12
The command line argument was dropped on 9.8+ and 10.2+.
See osbuild/images#2127
as well as RHEL-126678 and RHEL-127204.
@achilleas-k achilleas-k force-pushed the drop/nvme_core.io_timeout branch from 0c41719 to 1bb81a4 Compare March 3, 2026 12:13
@achilleas-k
Copy link
Member Author

I think given the current state of things, we're going to have to ignore CI failures here until I chip away at every change that needs to be made.

Alternatively, I can make one PR that updates every test to match the current state of composer. Not sure what the repo maintainers prefer.

@F-X64
Copy link
Collaborator

F-X64 commented Mar 4, 2026

@achilleas-k I'd usually prefer to have individual PRs for those changes but given the amount of work and the amount of PRs we will have to merge while flying blind I would lean towards a one PR approach.
Do you have a list of what's currently missing?

@achilleas-k
Copy link
Member Author

Do you have a list of what's currently missing?

Not a complete one. But I think I compile one from the PR I have open and start chipping away.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants