GeezerVison is showing github.com — fix(id): drop literal placeholder from meta_client over-cap error by dezren39 · Pull Request #2089 · developing-today/code
Conversation
dezren39
commented
Oct 29, 2026
•
edited by coderabbitai
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Fixes #2088.
capped_response_error (pkgs/id/src/meta_client.rs:57, from PR #1719) built the over-cap message as "response too large: exceeds the {MAX_RESPONSE_BYTES}-byte limit (MAX_RESPONSE_BYTES)" — the number interpolated, then 14 spaces and a literal placeholder printed verbatim to users.
- Message is now exactly
response too large: exceeds the 67108864-byte limit.
over_cap_error_names_the_limit tightened from substring assertions (which could not see trailing junk) to an exact-message assertion.
One file, +6/−3. Verification: this PR's CI (meta_client tests).
![Autofix with [code]smith](/api/image?u=https%3A%2F%2Fcamo.githubusercontent.com%2F33b6f70f3541c4e93f4503d29cbfec051fa1b040d8e0ae9313a51c4ece44a627%2F68747470733a2f2f70722d636f6d6d656e74732d6173736574732e626c61636b736d6974682e73682f636f6465736d6974682f6175746f6669782d776974682d636f6465736d6974682d6461726b2d33782e706e67)
Need help on this PR? Tag @codesmith-bot with what you need.
Summary by CodeRabbit
- Bug Fixes
- Clarified the response-size limit error message by removing trailing placeholder text.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
chatgpt-codex-connector[bot] reacted with thumbs up emoji
)
The TooLong message in capped_response_error interpolated
{MAX_RESPONSE_BYTES} and then appended 14 spaces and a literal
(MAX_RESPONSE_BYTES), printed verbatim to users. Make the message
exactly the named limit, and tighten over_cap_error_names_the_limit
from substring assertions to an exact-message assertion so trailing
junk of this shape fails the test.
Fixes #2088
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-29T02:30:07.521224Z |
5940a13 |
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.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Oct 29, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

No actionable comments were generated in the recent review.
Recent review info
-
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:
80fc6657-2978-4011-9f65-e1b770ca0104
Commits
-
Reviewing files that changed from the base of the PR and between 39e8410 and 5940a13.
Files selected for processing: 1
-
pkgs/id/src/meta_client.rs
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
Walkthrough
-
The over-cap response error no longer includes trailing placeholder text. Its test now checks the complete expected message.
Changes: Meta-client response error
| Layer / File(s) |
Summary |
Error message and regression test pkgs/id/src/meta_client.rs |
The over-cap error message omits the literal placeholder suffix. The test checks the full expected message, including the byte limit. |
Priority: Low
Estimated code review effort: 2 (Simple) | ~8 minutes
Change: Bug fix · Severity of issue fixed: Low
Possibly related PRs
Merge Risk: Minimal · up to 5940a
-
The error now displays the correct byte limit without placeholder text, and the regression test rejects extra text. No actionable merge-blocking risk remains; merge after normal checks pass.
Pre-merge checks: 5
-
| Check name |
Status |
Explanation |
| Description Check |
 |
Check skipped - CodeRabbit’s high-level summary is enabled. |
| Title check |
 |
The title clearly and concisely describes the main change: removing the literal placeholder from the meta_client over-cap error. |
| Linked Issues check |
 |
Issue #2088 requires the exact over-cap message, removal of the literal placeholder and stray whitespace, an exact-message test, and passing meta_client tests. At the reviewed head, `capped_response_e… |
| Out of Scope Changes check |
 |
The supplied whole-PR summary limits the change to pkgs/id/src/meta_client.rs and describes only the error-message fix and its regression test. These changes directly implement issue #2088. No unrel… |
| Docstring Coverage |
 |
Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat… |
Full details: Linked Issues check
-
Explanation
Issue #2088 requires the exact over-cap message, removal of the literal placeholder and stray whitespace, an exact-message test, and passing meta_client tests. At the reviewed head, capped_response_error formats response too large: exceeds the {MAX_RESPONSE_BYTES}-byte limit. over_cap_error_names_the_limit uses assert_eq! with the same complete message. The supplied PR evidence reports successful meta_client CI verification.
Full details: Out of Scope Changes check
-
Explanation
The supplied whole-PR summary limits the change to pkgs/id/src/meta_client.rs and describes only the error-message fix and its regression test. These changes directly implement issue #2088. No unrelated change is shown.
Full details: Docstring Coverage
-
Explanation
Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 1 functions across 1 files.
Finishing Touches
-
📝 Generate docstrings
-
- Commit to this branch
- Create a new PR
🧪 Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Warning Some tools did not complete. Review the errors below.
Clippy (1.99.0)
-
Clippy execution timed out
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.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Oct 29, 2026
This was referenced Nov 8, 2026
This was referenced Nov 21, 2026
Uh oh!
There was an error while loading. Please reload this page.
Milestone
No milestone
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.
|