Skip to content

RC: Supported regions automation#3008

Open
cmilesb wants to merge 3 commits intomainfrom
test-supported-region-automation
Open

RC: Supported regions automation#3008
cmilesb wants to merge 3 commits intomainfrom
test-supported-region-automation

Conversation

@cmilesb
Copy link
Copy Markdown
Contributor

@cmilesb cmilesb commented Apr 9, 2026

I used Augment to write a script and Github workflow to check the Redis Cloud API for changes to the supported regions table. This workflow checks for new regions or new supported regions for Essentials and Pro in Redis Cloud and updates a JSON file. A shortcode reads the JSON file to generate the tables automatically. If anything's changed, it'll open a PR - whoever is in charge of cloud (assuming me) will have to add location and area data manually, but support for Essentials/Pro should be updated automatically.

Before merge, we need to add a Redis Cloud API key and secret key to our secrets. I made one to connect to the Product account that's labeled docs-region-sync-api-key, but maybe there's an easier or more secure way that I'm missing.


Note

Medium Risk
Introduces a scheduled GitHub Action that uses Redis Cloud API credentials to auto-update docs data and open PRs, which could create noisy or incorrect updates if the API/schema or secrets are misconfigured. Also changes how the supported regions page is rendered by moving from hardcoded tables to JSON-driven shortcodes.

Overview
Adds automation for Redis Cloud supported regions: a new scheduled/manual GitHub Actions workflow runs build/rc_supported_regions_sync.py, commits changes to data/rc_supported_regions.json, pushes to a dedicated branch, and opens a PR when region support changes.

Replaces the large, hardcoded region tables in supported-regions.md with a new rc-supported-regions shortcode that renders AWS/GCP tabbed tables and an Azure table from the JSON dataset.

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

@cmilesb cmilesb requested review from a team, NoamSternRedis and paoloredis April 9, 2026 18:02
@cmilesb cmilesb self-assigned this Apr 9, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 9, 2026

@jit-ci
Copy link
Copy Markdown

jit-ci bot commented Apr 9, 2026

🛡️ Jit Security Scan Results

CRITICAL HIGH MEDIUM

✅ No security findings were detected in this PR


Security scan by Jit

Copy link
Copy Markdown

@cursor cursor bot left a comment

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.

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 3be3f56. Configure here.

Copy link
Copy Markdown
Contributor

@kaitlynmichael kaitlynmichael left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants