RHEL 10 falls through to `multi` in `_parse_download_json_os_identifier` for Connect and Package Manager
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
Research direction
Start in posit_bakery/config/image/posit_product/main.py at _parse_download_json_os_identifier, focusing on the CONNECT and PACKAGE_MANAGER branches. Confirm the RHEL 10 identifiers published in each product's downloads.json, then update both mappings and verify that RHEL 10 no longer falls through to "multi" during release-channel resolution.
Written by the indexing model from the issue text.
Description
Problem
_parse_download_json_os_identifier (posit_bakery/config/image/posit_product/main.py) hardcodes RHEL-family version handling per product and silently falls through to a "multi" OS identifier for RHEL 10 in two of three branches:
ProductEnum.CONNECT: handles versions 8 (redhat8) and 9 (rhel9); nothing for 10.ProductEnum.PACKAGE_MANAGER: handles versions 7 (rhel7_64), 8 (fedora28), 9 (rhel9); nothing for 10.ProductEnum.WORKBENCH/WORKBENCH_SESSION: already generic ("rhel" + _os.version), unaffected.
The fallthrough means the release-channel resolver silently looks up the wrong download_json_os key when fetching version/download-URL metadata for a RHEL 10 build, instead of failing loudly.
Where
posit_bakery/config/image/posit_product/main.py:296-334(_parse_download_json_os_identifier)
Why fix it here, not in each product repo
images-package-manager#130 already plans to patch the PACKAGE_MANAGER branch as part of its own RHEL 10 (UBI) work. This file is shared library code in images-shared (posit-bakery), consumed by every product repo — patching only the PACKAGE_MANAGER branch there doesn't help images-connect#143, which will independently hit the identical fallthrough for the CONNECT branch and need the same file patched again, plus a new posit-bakery release either way. Fixing both branches together here avoids that duplication.
Note
Package Manager's own version-to-identifier mapping isn't a clean function of version number (rhel7_64, fedora28, rhel9), so this likely isn't a one-line elif. Confirm what identifier Connect's and Package Manager's downloads.json actually publish for RHEL 10 once artifacts exist there, for both branches, before wiring in a value.
Related
- Dominant language
- Python
- Stars
- 2
- Forks
- 0
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 24
Getting set up
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from posit-dev/images-shared
-
cvp:0 docker tdp:1
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
posit-dev/images-shared#757 · 2 comments ·
Maintainers usually reply within 1 day
-
bug cvp:0 docker priority/medium python tdp:1
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
posit-dev/images-shared#685 ·
Maintainers usually reply within 1 day
-
slack-build-notify: no persisted alert state — causes suppressed repeat-failure and recovery alertsOpenbug cicd cvp:0 docker needs discussion observability tdp:2
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
posit-dev/images-shared#677 ·
Maintainers usually reply within 1 day
-
cvp:0 docker tdp:2 tech debt
Difficulty 4/5 3-5 days Newbie friendliness 48/100
posit-dev/images-shared#795 ·
Maintainers usually reply within 1 day
-
cicd cvp:0 docker enhancement tdp:2
Difficulty 5/5 Over a week Newbie friendliness 35/100
posit-dev/images-shared#773 ·
Maintainers usually reply within 1 day
All issues in posit-dev/images-shared
Similar issues
-
correction metadata
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
acl-org/acl-anthology#10104 · 1 comment ·
Maintainers usually reply within 1 day
-
bug status/needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
prowler-cloud/prowler#12885 · 1 comment ·
Maintainers usually reply within 1 day
-
Bug in GaussianTailProbabilityCalibrator: running_statistics=False still uses a windowed varianceOpenbug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
selimfirat/pysad#107 ·
Maintainers usually reply within 1 day
-
bug ci-failure high priority
Difficulty 1/5 Under an hour Newbie friendliness 88/100
vllm-project/vllm-omni#8194 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day