Skip to content

Commit 4794ada

Browse files
authored
Merge branch 'master' into master
2 parents 99a09c6 + 8d15d03 commit 4794ada

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+6799
-550
lines changed

.github/actions/run-tests/action.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ runs:
2525
2626
# Mapping of redis version to redis testing containers
2727
declare -A redis_version_mapping=(
28-
["8.0.1"]="8.0.1-pre"
29-
["7.4.2"]="rs-7.4.0-v2"
30-
["7.2.7"]="rs-7.2.0-v14"
28+
["8.2.x"]="8.2-rc2-pre"
29+
["8.0.x"]="8.0.2"
30+
["7.4.x"]="rs-7.4.0-v5"
31+
["7.2.x"]="rs-7.2.0-v17"
3132
)
3233
3334
if [[ -v redis_version_mapping[$REDIS_VERSION] ]]; then

.github/wordlist.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,5 @@ OAuth
7373
Azure
7474
StreamingCredentialsProvider
7575
oauth
76-
entraid
76+
entraid
77+
MiB

.github/workflows/build.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Go
22

33
on:
44
push:
5-
branches: [master, v9, v9.7, v9.8]
5+
branches: [master, v9, v9.7, v9.8, 'ndyakov/*', 'ofekshenawa/*', 'htemelski-redis/*', 'ce/*']
66
pull_request:
7-
branches: [master, v9, v9.7, v9.8]
7+
branches: [master, v9, v9.7, v9.8, 'ndyakov/*', 'ofekshenawa/*', 'htemelski-redis/*', 'ce/*']
88

99
permissions:
1010
contents: read
@@ -18,8 +18,9 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
redis-version:
21-
- "8.0.1" # 8.0.1
22-
- "7.4.2" # should use redis stack 7.4
21+
- "8.2.x" # Redis CE 8.2
22+
- "8.0.x" # Redis CE 8.0
23+
- "7.4.x" # Redis stack 7.4
2324
go-version:
2425
- "1.23.x"
2526
- "1.24.x"
@@ -43,8 +44,9 @@ jobs:
4344
4445
# Mapping of redis version to redis testing containers
4546
declare -A redis_version_mapping=(
46-
["8.0.1"]="8.0.1-pre"
47-
["7.4.2"]="rs-7.4.0-v2"
47+
["8.2.x"]="8.2-rc2-pre"
48+
["8.0.x"]="8.0.2"
49+
["7.4.x"]="rs-7.4.0-v5"
4850
)
4951
if [[ -v redis_version_mapping[$REDIS_VERSION] ]]; then
5052
echo "REDIS_VERSION=${redis_version_np}" >> $GITHUB_ENV
@@ -72,9 +74,10 @@ jobs:
7274
fail-fast: false
7375
matrix:
7476
redis-version:
75-
- "8.0.1" # 8.0.1
76-
- "7.4.2" # should use redis stack 7.4
77-
- "7.2.7" # should redis stack 7.2
77+
- "8.2.x" # Redis CE 8.2
78+
- "8.0.x" # Redis CE 8.0
79+
- "7.4.x" # Redis stack 7.4
80+
- "7.2.x" # Redis stack 7.2
7881
go-version:
7982
- "1.23.x"
8083
- "1.24.x"

.github/workflows/doctests.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@ jobs:
1616

1717
services:
1818
redis-stack:
19-
image: redis/redis-stack-server:latest
20-
options: >-
21-
--health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s --health-retries 5
19+
image: redislabs/client-libs-test:8.0.2
20+
env:
21+
TLS_ENABLED: no
22+
REDIS_CLUSTER: no
23+
PORT: 6379
2224
ports:
2325
- 6379:6379
2426

@@ -38,4 +40,4 @@ jobs:
3840

3941
- name: Test doc examples
4042
working-directory: ./doctests
41-
run: go test -v
43+
run: make test

.github/workflows/spellcheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
- name: Checkout
99
uses: actions/checkout@v4
1010
- name: Check Spelling
11-
uses: rojopolis/spellcheck-github-actions@0.49.0
11+
uses: rojopolis/spellcheck-github-actions@0.51.0
1212
with:
1313
config_path: .github/spellcheck-settings.yml
1414
task_name: Markdown

.github/workflows/stale-issues.yml

Lines changed: 90 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,97 @@
1-
name: "Close stale issues"
1+
name: "Stale Issue Management"
22
on:
33
schedule:
4-
- cron: "0 0 * * *"
4+
# Run daily at midnight UTC
5+
- cron: "0 0 * * *"
6+
workflow_dispatch: # Allow manual triggering
7+
8+
env:
9+
# Default stale policy timeframes
10+
DAYS_BEFORE_STALE: 365
11+
DAYS_BEFORE_CLOSE: 30
12+
13+
# Accelerated timeline for needs-information issues
14+
NEEDS_INFO_DAYS_BEFORE_STALE: 30
15+
NEEDS_INFO_DAYS_BEFORE_CLOSE: 7
516

6-
permissions: {}
717
jobs:
818
stale:
9-
permissions:
10-
issues: write # to close stale issues (actions/stale)
11-
pull-requests: write # to close stale PRs (actions/stale)
12-
1319
runs-on: ubuntu-latest
1420
steps:
15-
- uses: actions/stale@v9
16-
with:
17-
repo-token: ${{ secrets.GITHUB_TOKEN }}
18-
stale-issue-message: 'This issue is marked stale. It will be closed in 30 days if it is not updated.'
19-
stale-pr-message: 'This pull request is marked stale. It will be closed in 30 days if it is not updated.'
20-
days-before-stale: 365
21-
days-before-close: 30
22-
stale-issue-label: "Stale"
23-
stale-pr-label: "Stale"
24-
operations-per-run: 10
25-
remove-stale-when-updated: true
21+
# First step: Handle regular issues (excluding needs-information)
22+
- name: Mark regular issues as stale
23+
uses: actions/stale@v9
24+
with:
25+
repo-token: ${{ secrets.GITHUB_TOKEN }}
26+
debug-only: true
27+
28+
# Default stale policy
29+
days-before-stale: ${{ env.DAYS_BEFORE_STALE }}
30+
days-before-close: ${{ env.DAYS_BEFORE_CLOSE }}
31+
32+
# Explicit stale label configuration
33+
stale-issue-label: "stale"
34+
stale-pr-label: "stale"
35+
36+
stale-issue-message: |
37+
This issue has been automatically marked as stale due to inactivity.
38+
It will be closed in 30 days if no further activity occurs.
39+
If you believe this issue is still relevant, please add a comment to keep it open.
40+
41+
close-issue-message: |
42+
This issue has been automatically closed due to inactivity.
43+
If you believe this issue is still relevant, please reopen it or create a new issue with updated information.
44+
45+
# Exclude needs-information issues from this step
46+
exempt-issue-labels: 'no-stale,needs-information'
47+
48+
# Remove stale label when issue/PR becomes active again
49+
remove-stale-when-updated: true
50+
51+
# Apply to pull requests with same timeline
52+
days-before-pr-stale: ${{ env.DAYS_BEFORE_STALE }}
53+
days-before-pr-close: ${{ env.DAYS_BEFORE_CLOSE }}
54+
55+
stale-pr-message: |
56+
This pull request has been automatically marked as stale due to inactivity.
57+
It will be closed in 30 days if no further activity occurs.
58+
59+
close-pr-message: |
60+
This pull request has been automatically closed due to inactivity.
61+
If you would like to continue this work, please reopen the PR or create a new one.
62+
63+
# Only exclude no-stale PRs (needs-information PRs follow standard timeline)
64+
exempt-pr-labels: 'no-stale'
65+
66+
# Second step: Handle needs-information issues with accelerated timeline
67+
- name: Mark needs-information issues as stale
68+
uses: actions/stale@v9
69+
with:
70+
repo-token: ${{ secrets.GITHUB_TOKEN }}
71+
debug-only: true
72+
73+
# Accelerated timeline for needs-information
74+
days-before-stale: ${{ env.NEEDS_INFO_DAYS_BEFORE_STALE }}
75+
days-before-close: ${{ env.NEEDS_INFO_DAYS_BEFORE_CLOSE }}
76+
77+
# Explicit stale label configuration
78+
stale-issue-label: "stale"
79+
80+
# Only target ISSUES with needs-information label (not PRs)
81+
only-issue-labels: 'needs-information'
82+
83+
stale-issue-message: |
84+
This issue has been marked as stale because it requires additional information
85+
that has not been provided for 30 days. It will be closed in 7 days if the
86+
requested information is not provided.
87+
88+
close-issue-message: |
89+
This issue has been closed because the requested information was not provided within the specified timeframe.
90+
If you can provide the missing information, please reopen this issue or create a new one.
91+
92+
# Disable PR processing for this step
93+
days-before-pr-stale: -1
94+
days-before-pr-close: -1
95+
96+
# Remove stale label when issue becomes active again
97+
remove-stale-when-updated: true

CHANGELOG.md

Lines changed: 0 additions & 133 deletions
This file was deleted.

0 commit comments

Comments
 (0)