Repository navigation
Follow the host's CRE settings via the CL_SETTINGS_URL env var - #930
Closed
DylanTinianov wants to merge 1 commit into
Closed
DylanTinianov wants to merge 1 commit into
DylanTinianov wants to merge 1 commit into
Conversation
The host picks its settings gRPC address at launch and exports it as CL_SETTINGS_URL, but nothing read it, so capability processes never followed the host's settings and every limit stayed at its compiled-in default. Co-Authored-By: Claude Code <noreply@anthropic.com>
Contributor
|
👋 DylanTinianov, thanks for creating this pull request! To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team. Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks! |
product-security-plaid-production
Bot
requested review from
dhaidashenko and
ilija42
November 20, 2026 14:05
DylanTinianov
marked this pull request as draft
November 20, 2026 15:23
DylanTinianov
marked this pull request as ready for review
November 20, 2026 15:25
DylanTinianov
enabled auto-merge
November 20, 2026 15:28
DylanTinianov
marked this pull request as draft
November 20, 2026 15:36
auto-merge was automatically disabled
November 20, 2026 15:36
Pull request was converted to draft
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Capability processes never followed the host's CRE settings, so every setting stayed at its compiled-in default.
Why: the host exports its settings gRPC address as the
CL_SETTINGS_URLenv var, but the capability side never read it — it only used a URL from the process's own config file, which can't name the address in advance because the host chooses it at launch.Fix: read
CL_SETTINGS_URLas the fallback when the config doesn't set a URL.Impact
All scoped limits and feature flags in plugin-hosted standard capabilities now resolve against the host's pushed settings. For example,
FeatureEVMWriteReportL1FeeActivePeriodpreviously never applied, so metered transaction fees omitted thel1Feeterm on chains whose receipts expose it (OP-stack); they now match the receipt-derived fee.