Skip to content

chore(ci): wire THROTTLE_BYPASS_SECRET into staging deploy#335

Merged
FSM1 merged 2 commits into
mainfrom
chore/add-throttle-bypass-to-staging-deploy
Mar 23, 2026
Merged

chore(ci): wire THROTTLE_BYPASS_SECRET into staging deploy#335
FSM1 merged 2 commits into
mainfrom
chore/add-throttle-bypass-to-staging-deploy

Conversation

@FSM1

@FSM1 FSM1 commented Mar 23, 2026

Copy link
Copy Markdown
Owner

Summary

Adds THROTTLE_BYPASS_SECRET to the staging .env.staging generated during deploy. Without this, each deploy overwrites the env file and loses the throttle bypass, causing SDK E2E and load tests to hit 429s.

GitHub secret STAGING_THROTTLE_BYPASS_SECRET has been set on the staging environment.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Added new environment variable to staging deployment configuration.
    • Updated release tag detection logic to prioritize component-specific tags.
    • Modified release configuration to include component name in generated tags.
    • Updated release tag input example format.

FSM1 and others added 2 commits March 23, 2026 05:58
include-component-in-tag: false is broken in release-please multi-package
mode — the release scanner cannot match bare v{version} tags to path "."
even when the release was created by release-please itself. This caused
persistent "Missing 1 paths: ." errors and tagging deadlocks.

Switch to include-component-in-tag: true with component "cipher-box".
Root package tags become cipher-box-v{version} (e.g., cipher-box-v0.26.4).

Also updates tag-staging.yml description and release-gate.yml to handle
the new tag format with fallback to legacy v* tags.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Entire-Checkpoint: e2e8eb7a398d
Without this, each deploy overwrites .env.staging and loses the
throttle bypass secret, causing SDK E2E and load tests to 429.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Entire-Checkpoint: 45150687c2b6
@coderabbitai

coderabbitai Bot commented Mar 23, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: b8091cd0-f3e8-43e3-9ea3-135a6134fc03

📥 Commits

Reviewing files that changed from the base of the PR and between d331cce and d5c3f01.

📒 Files selected for processing (4)
  • .github/workflows/deploy-staging.yml
  • .github/workflows/release-gate.yml
  • .github/workflows/tag-staging.yml
  • release-please-config.json

Walkthrough

The PR updates CI/CD configuration files to introduce a throttle bypass secret to staging deployment, refine release tag detection logic to prefer cipher-box-v* tags, update a workflow input example, and configure release-please with a cipher-box component identifier.

Changes

Cohort / File(s) Summary
Staging & Release Workflows
.github/workflows/deploy-staging.yml, .github/workflows/tag-staging.yml
Added THROTTLE_BYPASS_SECRET environment variable to staging deployment and updated workflow input example from v0.3.0 to cipher-box-v0.26.4.
Release Gate Workflow
.github/workflows/release-gate.yml
Refined tag detection logic to prefer cipher-box-v* tags when selecting the previous release Git tag, falling back to generic v* tags if none match.
Release Configuration
release-please-config.json
Set root package component to "cipher-box" and enabled include-component-in-tag to include component metadata in release tags.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the primary change: adding THROTTLE_BYPASS_SECRET to the staging deployment workflow.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/add-throttle-bypass-to-staging-deploy

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@FSM1 FSM1 merged commit acab276 into main Mar 23, 2026
25 checks passed
@FSM1 FSM1 deleted the chore/add-throttle-bypass-to-staging-deploy branch March 23, 2026 14:26
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