Skip to content

fix(roleplay): keep the handoff settings within the binding limit - #93

Merged
ALikesToCode merged 1 commit into
mainfrom
fix/roleplay-handoff-binding-budget
Oct 25, 2026
Merged

ALikesToCode merged 1 commit into
mainfrom
fix/roleplay-handoff-binding-budget

Conversation

@ALikesToCode

Copy link
Copy Markdown
Owner

Deploying #92 failed at upload: Cloudflare counted 129 text bindings against its limit of 128. Vars and secrets share that budget, and the two new handoff vars pushed the release over.

Change

  • ROLEPLAY_HANDOFF_FROM and ROLEPLAY_HANDOFF_TO move into RUNTIME_FEATURE_FLAGS, which already holds the other nonsecret settings for this reason.
  • The roleplay settings read them through runtimeFeatureValue, so a separate var of the same name still takes precedence.
  • The var-count pin goes back to 65 (127 bindings in the release) and now explains the budget. The grouped-flag docs describe the limit.

Verification

  • Worker suite: 2079 of 2079 pass.
  • Deploy pipeline and contract tests pass.
  • The outbound inventory is updated.
  • The Worker boots under wrangler dev.
  • A config test resolves the handoff settings from the committed wrangler.jsonc.

Cloudflare rejected the release with 129 text bindings against a limit
of 128: vars and secrets share the budget, and the two handoff vars
pushed it over. ROLEPLAY_HANDOFF_FROM and ROLEPLAY_HANDOFF_TO now live
in RUNTIME_FEATURE_FLAGS like the other nonsecret settings, and the
roleplay settings read them through runtimeFeatureValue, so a separate
var of the same name still takes precedence.

The var count pin returns to 65 and now says why it exists.
@coderabbitai

coderabbitai Bot commented Oct 25, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a873a377-a735-4dab-aeca-e1faf2ca29aa
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-25T07:47:26.929513Z be43a81 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@ALikesToCode
ALikesToCode merged commit 403fadd into main Oct 25, 2026
4 of 6 checks passed
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