Skip to content

ci: fix release-drafter Maintenance category key#3358

Open
nkaradzhov wants to merge 2 commits into
redis:masterfrom
nkaradzhov:chore-fix-release-drafter-labels
Open

ci: fix release-drafter Maintenance category key#3358
nkaradzhov wants to merge 2 commits into
redis:masterfrom
nkaradzhov:chore-fix-release-drafter-labels

Conversation

@nkaradzhov

@nkaradzhov nkaradzhov commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

Description

The update_release_draft workflow fails on master because every module release-drafter config uses the singular label: key with a list of values in the Maintenance category. release-drafter's schema expects label to be a single string and labels to be the array form, so config parsing fails Zod validation:

categories[3].label: expected "string", invalid_type

(failing run)

Fix

Rename label:labels: in the Maintenance category of all five configs (bloom, entraid, json, search, time-series). The other three categories in each file already correctly use labels:.

🤖 Generated with Claude Code


Note

Low Risk
CI/config and test-harness timing only; no runtime library or security behavior changes.

Overview
Fixes update_release_draft failures by changing the Maintenance category in all five module release-drafter configs (bloom, entraid, json, search, time-series) from label: (invalid with a list) to labels:, matching release-drafter’s schema and the other categories in those files.

Adds optional testTimeout on shared cluster test options in test-utils and applies it inside testWithCluster. The cluster PubSub test that reassigns thousands of slots and waits for cluster_state:ok now sets testTimeout: 30000 so it does not hit Mocha’s default 2s limit on slow CI.

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

nkaradzhov and others added 2 commits July 22, 2026 18:12
The 'should move listeners when PubSub node disconnects from the cluster'
test reassigns all 8192 slots one-by-one and then polls both nodes for
cluster_state:ok. On slow CI runners that work can exceed mocha's default
2000ms timeout, causing intermittent "Timeout of 2000ms exceeded" failures
across many PRs.

testWithCluster ran the it() at the default timeout with no way to override
it (only the before hook set 30000ms). Add an optional testTimeout to the
shared CommonTestOptions, apply it in testWithCluster's it() when set, and
raise this test's timeout to 30000ms. The guard means all other cluster
tests are unaffected.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The Maintenance category in all module release-drafter configs used the
singular `label:` key with a list of values. release-drafter's schema
expects `label` to be a single string and `labels` to be the array form,
so config parsing failed Zod validation:

    categories[3].label: expected string, invalid_type

Rename `label:` to `labels:` in bloom, entraid, json, search, and
time-series configs so the release draft workflow parses again.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

1 participant