bump-test-image

Updates the default Redis docker test image tag and CI matrix, then opens a PR.

17.6k|2.0k|Updated Sep 14, 2010
One-click install
npx skills add https://github.com/redis/node-redis --skill bump-test-image
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bump-test-image
Source: https://github.com/redis/node-redis/tree/main/.agents/skills/bump-test-image
Command: npx skills add https://github.com/redis/node-redis --skill bump-test-image

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Updating the default Redis docker test image in node-redis requires coordinated edits across the shared test-utils config and the CI matrix, plus branch management, force-pushing, and PR creation — a repetitive, error-prone manual process.

Core Features & Use Cases

  • Single-source config update: Edits DEFAULT_DOCKER_CONFIG in packages/test-utils/lib/index.ts with the new tag and Redis version.
  • CI matrix management: Adds a new matrix entry for a new Redis version or replaces the tag for an existing version in .github/workflows/tests.yml.
  • Automated git workflow: Syncs master from upstream, resets the bump-test-image branch, commits with a Conventional Commits message, force-pushes, and opens or updates a PR against redis/node-redis.
  • Use Case: A maintainer wants to test against Redis 8.10 — they invoke the skill with the new image tag, and it performs all edits, verification, and PR creation in one flow.

Quick Start

Ask the assistant to bump the default docker test image to tag 8.8.0 for Redis version 8.8 and open the PR.

Frequently Asked Questions about bump-test-image

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I bump the default Redis docker test image in node-redis?

Invoke the skill with the new image tag, and it edits DEFAULT_DOCKER_CONFIG in packages/test-utils/lib/index.ts, updates the CI matrix in .github/workflows/tests.yml, commits on the bump-test-image branch, force-pushes, and opens a PR against redis/node-redis master.

How does the CI matrix update work when bumping the Redis test image?

If the new tag represents a new Redis version, a new tag/version entry is added to the matrix while keeping the previous entry for coverage. If it is the same version, only the tag of the existing entry is replaced.

What happens with custom or unstable docker image tags?

For custom-* and unstable-* tags the Redis version cannot be derived from the tag, so the skill asks the user which Redis version the tag maps to before making any changes.

What if DEFAULT_DOCKER_CONFIG is missing from the test-utils file?

The skill stops and reports to the user instead of falling back to editing per-package test-utils files, since the default image config must live in exactly one shared location.

Does the skill create a duplicate PR if one already exists?

No. It checks for an existing open PR from the fork's bump-test-image branch using gh pr list; if one exists, the force-push updates it and the title and body are edited to match the new tag.