Skip to content

MOD-14674 - oss refresh list - #1935

Merged
TalBarYakar merged 2 commits into
masterfrom
tal.ba/feat/refresh_oss_list
Apr 15, 2026
Merged

TalBarYakar merged 2 commits into
masterfrom
tal.ba/feat/refresh_oss_list

Conversation

@TalBarYakar

@TalBarYakar TalBarYakar commented Apr 6, 2026 •

Copy link
Copy Markdown
Contributor

Note

Medium Risk
Moderate risk because it expands the CI/build matrix and packaging OS detection across many new base images, which can introduce build failures and artifact naming inconsistencies.

Overview
Extends the GitHub Actions build/test matrix to cover additional Linux distros (including Ubuntu noble/resolute, Rocky 10, Alma 8/9/10, Debian bookworm/trixie) and adds more macOS runners (including large and intel variants).

Introduces new Dockerfiles for the added Linux targets, refreshes the existing Dockerfile.rocky8 (switch to dnf, updated toolchain/deps, Python 3.11), and updates sbin/pack.sh and sbin/upload-artifacts to correctly map OSNICK for Alma/Rocky 10 and new Ubuntu codenames when naming/uploading artifacts.

Reviewed by Cursor Bugbot for commit cb0127d. Bugbot is set up for automated code reviews on this repo. Configure here.

@TalBarYakar TalBarYakar changed the title add noble job MOD-14674 - oss refresh list Apr 6, 2026
Comment thread .github/workflows/event-nightly.yml Resolved
Comment thread .github/workflows/flow-linux.yml Resolved
Comment thread .github/workflows/flow-linux.yml Resolved
@TalBarYakar
TalBarYakar requested a review from AvivDavid23 April 6, 2026 11:16
@TalBarYakar TalBarYakar self-assigned this Apr 6, 2026
Comment thread sbin/upload-artifacts Outdated
[[ $OSNICK == centos7 ]] && OSNICK=rhel7
[[ $OSNICK == centos8 ]] && OSNICK=rhel8
[[ $OSNICK == centos9 ]] && OSNICK=rhel9
[[ $OSNICK == ol8 ]] && OSNICK=rhel8
[[ $OSNICK == rocky8 ]] && OSNICK=rhel8
[[ $OSNICK == rocky9 ]] && OSNICK=rhel9
[[ $OSNICK == alma8 ]] && OSNICK=rhel8

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 rhel?

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.

As far as I understand almaLinux is a RHEL-compatible distro (same ABI). Its own /etc/os-release declares ID_LIKE="rhel centos fedora". We chose rhel because that's the existing convention -- centos8, ol8, rocky8 all already map to rhel8.

However, this means alma8 and rocky8 both upload artifacts to the same S3 path (Linux-rhel8-x86_64), overwriting each other. The binaries are identical so it works, but it's worth deciding on the preferred approach:

Keep the rhel mapping -- prevents duplicate artifacts in S3, since the binaries are the same across all RHEL-compatible distros. Last build to finish overwrites the previous one (harmless).
Remove the alma mapping -- alma8/alma9 artifacts get their own S3 paths (Linux-alma8-x86_64, Linux-alma9-x86_64). Produces duplicate binaries but gives each distro its own artifact.
Which approach do we prefer?
@AvivDavid23

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.

docker run --rm almalinux:9 cat /etc/os-release
NAME="AlmaLinux"
VERSION="9.7 (Moss Jungle Cat)"
ID="almalinux"
ID_LIKE="rhel centos fedora"
VERSION_ID="9.7"
PLATFORM_ID="platform:el9"
PRETTY_NAME="AlmaLinux 9.7 (Moss Jungle Cat)"
ANSI_COLOR="0;34"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:almalinux:almalinux:9::baseos"
HOME_URL="https://almalinux.org/"
DOCUMENTATION_URL="https://wiki.almalinux.org/"
BUG_REPORT_URL="https://bugs.almalinux.org/"
ALMALINUX_MANTISBT_PROJECT="AlmaLinux-9"
ALMALINUX_MANTISBT_PROJECT_VERSION="9.7"
REDHAT_SUPPORT_PRODUCT="AlmaLinux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.7"
SUPPORT_END=2032-06-01

@TalBarYakar
TalBarYakar requested a review from AvivDavid23 April 6, 2026 11:57
Comment thread .github/workflows/flow-linux.yml Resolved
Comment thread .github/workflows/event-nightly.yml Resolved
@TalBarYakar
TalBarYakar force-pushed the tal.ba/feat/refresh_oss_list branch from 7f18f01 to 244e259 Compare April 14, 2026 12:00
Comment thread Dockerfile.alma8 Resolved
@@ -101,7 +101,7 @@ jobs:
run: |
OS="${{ inputs.os }}"
if [ -z "${OS}" ]; then
OS='["macos-14", "macos-15", "macos-26"]'
OS='["macos-14", "macos-15", "macos-26", "macos-14-large", "macos-15-intel", "macos-26-intel"]'

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Invalid GitHub Actions macOS runner label names

High Severity

The default matrix includes macos-15-intel and macos-26-intel, but these are not valid GitHub-hosted runner labels. According to GitHub's documentation, Intel macOS runners use the -large suffix (e.g., macos-14-large, macos-15-large, macos-26-large). The macos-14-large entry in the same list is correct, making the inconsistency with macos-15-intel and macos-26-intel apparent. Jobs targeting these labels will queue indefinitely waiting for a runner that doesn't exist.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 978deedae0e0e4d13b84e3521fac5b1cb775ef2f. Configure here.

@TalBarYakar
TalBarYakar force-pushed the tal.ba/feat/refresh_oss_list branch from 978deed to cb0127d Compare April 15, 2026 07:32
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
8 Security Hotspots

See analysis details on SonarQube Cloud

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 2 potential issues.

There are 3 total unresolved issues (including 1 from previous review).

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit cb0127d. Configure here.

Comment thread sbin/pack.sh
# shellcheck disable=SC1091
. /etc/os-release
[[ ${ID:-} == almalinux ]] && OSNICK=alma${VERSION_ID%%.*}
fi

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Alma OSNICK override prevents standard rhel path mapping

Medium Severity

The new /etc/os-release override explicitly converts AlmaLinux's OSNICK from the platform-reported centos8/centos9/centos10 to alma8/alma9/alma10. However, unlike every other RHEL-compatible distro (rocky8→rhel8, centos8→rhel8, ol8→rhel8), there is no subsequent mapping of alma*→rhel*. This means alma artifacts are written to Linux-alma8-x86_64 instead of the conventional Linux-rhel8-x86_64 path used by all other RHEL-compatible distros. The PR discussion states "We chose rhel because that's the existing convention," but the override actively prevents that by intercepting the centos→rhel mapping. Either the override block needs to be removed (letting centos flow through to rhel), or alma*→rhel* mapping lines need to be added after the override.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit cb0127d. Configure here.

Comment thread sbin/upload-artifacts
# shellcheck disable=SC1091
. /etc/os-release
[[ ${ID:-} == almalinux ]] && OSNICK=alma${VERSION_ID%%.*}
fi

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Upload-artifacts override ignores explicitly pre-set OSNICK value

Low Severity

The [[ -z $OSNICK ]] guard on line 43 is designed to respect a pre-set OSNICK, but the new AlmaLinux override block on lines 44–48 unconditionally sources /etc/os-release and overwrites OSNICK if ID equals almalinux. This bypasses the pre-set guard. In the CI context (running on Ubuntu), ID is ubuntu so the override is dead code, but if the script is run directly on an AlmaLinux host with an explicitly pre-set OSNICK, the value will be silently clobbered. The pack.sh version doesn't have this issue because it always auto-detects first.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit cb0127d. Configure here.

@TalBarYakar
TalBarYakar merged commit f9b14f1 into master Apr 15, 2026
56 of 57 checks passed
@TalBarYakar
TalBarYakar deleted the tal.ba/feat/refresh_oss_list branch April 15, 2026 11:18
YaacovHazan pushed a commit to redis/redis that referenced this pull request Jun 14, 2026
## Summary

Bumps the pinned `MODULE_VERSION` for **RedisTimeSeries** from `v8.8.0`
to `v8.9.80`. RedisBloom and RedisJSON are unchanged.

| Module          | From    | To       |
|-----------------|---------|----------|
| RedisTimeSeries | v8.8.0  | v8.9.80  |

> **Note:** `v8.9.80` is the **8.10 LTS branch cut** (targets Redis
8.10) and has diverged from `v8.8.0`. The `v8.8.0...v8.9.80` ancestry
diff contains 37 commits, but **7 are backports already shipped in
`v8.8.0`** (verified with `git cherry`, see below); the **30 genuinely
new** changes are listed here.

## Module changes ([v8.8.0 →
v8.9.80](RedisTimeSeries/RedisTimeSeries@v8.8.0...v8.9.80))

- MOD-14124 — m commands acl
([#1913](RedisTimeSeries/RedisTimeSeries#1913))
- MOD-14250 — missing artifacts logs fix
([#1932](RedisTimeSeries/RedisTimeSeries#1932))
- MOD-14289 — Increase LibMR execution timeout for Valgrind builds
([#1933](RedisTimeSeries/RedisTimeSeries#1933))
- MOD-12726 — unique snapshot name + new output params for nighly event
([#1937](RedisTimeSeries/RedisTimeSeries#1937))
- MOD-14674 — oss refresh list
([#1935](RedisTimeSeries/RedisTimeSeries#1935))
- nightly build, upload snapshot artifact
([#1954](RedisTimeSeries/RedisTimeSeries#1954))
- MOD-14902 — existence check to prevent Timeseries crash when Redis is
not aligned with new redis-core changes
([#1940](RedisTimeSeries/RedisTimeSeries#1940))
- MOD-14850 — Bump libmr
([#1962](RedisTimeSeries/RedisTimeSeries#1962))
- MOD-14715 — add apt retries/timeouts to Debian/Ubuntu Dockerfiles
([#1965](RedisTimeSeries/RedisTimeSeries#1965))
- MOD-15262 — Align TimeSeries with the RedisModule_GetUserUserName API
changes
([#1975](RedisTimeSeries/RedisTimeSeries#1975))
- RED-180951 RED-180027 — fixing bugs and improving the code
([#2004](RedisTimeSeries/RedisTimeSeries#2004))
- MOD-14239 — Ignore known init-rdbchannel migration timeout under
sanitizer
([#1979](RedisTimeSeries/RedisTimeSeries#1979))
- MOD-15105 — make one generic getUser function
([#1981](RedisTimeSeries/RedisTimeSeries#1981))
- MOD-15741 MOD-14091 — add dont-cache command tip to non-cacheable read
commands
([#2031](RedisTimeSeries/RedisTimeSeries#2031))
- MOD-15731 — modules modernization alignment
([#2027](RedisTimeSeries/RedisTimeSeries#2027))
- MOD-15728 — Tal.ba/feat/blocking get
([#2028](RedisTimeSeries/RedisTimeSeries#2028))
- MOD-8187 — fix the aggregation bugs (fix reverse iterator)
([#2036](RedisTimeSeries/RedisTimeSeries#2036))
- MOD-15749 — Link to new version of LibMR with short-form CLUSTERSET
and add tests
([#2034](RedisTimeSeries/RedisTimeSeries#2034))
- Fix REDISMODULE_MAIN typo + drop common.h forward-decl workarounds
([#2044](RedisTimeSeries/RedisTimeSeries#2044))
- CI: switch flow-linux arm64 runner to standard ubuntu-24.04-arm
([#2048](RedisTimeSeries/RedisTimeSeries#2048))
- MOD-15999 — Centralize Redis ref into a single source-of-truth file
for CI
([#2045](RedisTimeSeries/RedisTimeSeries#2045))
- CI: trigger OSS cluster (multi-shard) benchmarks on demand
([#2050](RedisTimeSeries/RedisTimeSeries#2050))
- MOD-15899 — oom try calloc
([#2051](RedisTimeSeries/RedisTimeSeries#2051))
- MOD-8187 — fix non twa aggregation
([#2053](RedisTimeSeries/RedisTimeSeries#2053))
- MOD-16224 — Fix filter-blind neighbor lookups in EMPTY aggregation
([#2056](RedisTimeSeries/RedisTimeSeries#2056))
- MOD-15893 — Nrange new command
([#2052](RedisTimeSeries/RedisTimeSeries#2052))
- MOD-16160 — update blocking get syntax
([#2054](RedisTimeSeries/RedisTimeSeries#2054))
- MOD-16160 — Fix client-side cache tips for TS.BGET and
TS.NRANGE/TS.NREVRANGE
([#2057](RedisTimeSeries/RedisTimeSeries#2057))
- Cut 8.10 LTS branch: bump version to 8.9.80, target Redis 8.10
([27484f7](RedisTimeSeries/RedisTimeSeries@27484f7))
- Fix event-nightly CI on 8.10: read Redis ref from dedicated redis_ref
field
([#2058](RedisTimeSeries/RedisTimeSeries#2058))

<details>
<summary>7 commits excluded — already shipped in v8.8.0 as
backports</summary>

These show up in the `v8.8.0...v8.9.80` ancestry diff with different
SHAs, but `git cherry` confirms their patch content is already in
`v8.8.0`: they were backported to the 8.8 release branch (the "in 8.8
via" PR below), so they are **not** new in this bump.

- MOD-9320 — Multiple aggregators single command
([#1916](RedisTimeSeries/RedisTimeSeries#1916))
→ in 8.8 via
[#1921](RedisTimeSeries/RedisTimeSeries#1921)
- MOD-9320 — rename AGGREGATION token in m commands
([#1926](RedisTimeSeries/RedisTimeSeries#1926))
→ in 8.8 via
[#1927](RedisTimeSeries/RedisTimeSeries#1927)
- MOD-13142 — Allow changing number of threads while pool hasn't started
([#1928](RedisTimeSeries/RedisTimeSeries#1928))
→ in 8.8 via
[#1934](RedisTimeSeries/RedisTimeSeries#1934)
- MOD-14439 — Detect cluster topology changes during a multi-shard
command
([#1930](RedisTimeSeries/RedisTimeSeries#1930))
→ in 8.8 under the same PR
- ci: skip Event CI when PR only changes src/version.h
([#1984](RedisTimeSeries/RedisTimeSeries#1984))
→ in 8.8 via
[#1986](RedisTimeSeries/RedisTimeSeries#1986)
- MOD-15020 — remove bionic os support
([#1983](RedisTimeSeries/RedisTimeSeries#1983))
→ in 8.8 via
[#1996](RedisTimeSeries/RedisTimeSeries#1996)
- MOD-14420 — fix count reducers return wrong NaN
([#2013](RedisTimeSeries/RedisTimeSeries#2013))
→ in 8.8 via
[#2016](RedisTimeSeries/RedisTimeSeries#2016)

</details>

## Test plan
- [ ] CI passes for RedisTimeSeries at the new pinned version
- [ ] `make all` builds RedisTimeSeries cleanly against `unstable`
- [ ] Module tests run under `make test`

Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
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.

2 participants