GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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

@dezren39 dezren39 commented Oct 29, 2026 •
edited by coderabbitai Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

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).


View with [code]smith Autofix with [code]smith
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
All reactions
  • 👍 1 reaction
@dezren39
fix(id): drop literal placeholder from meta_client over-cap error (#2088
5940a13
)

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
@dezren39
dezren39 requested a review from a team as a code owner October 29, 2026 02:28
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 29, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

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-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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@coderabbitai

coderabbitai Bot commented Oct 29, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Review in Change Stack →

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

  • developing-today/code#1719: This PR changes the error message and test introduced by that PR.
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: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the main change: removing the literal placeholder from the meta_client over-cap error.
Linked Issues check Passed 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 Passed 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 Passed 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
  • X
  • Mastodon
  • Reddit
  • LinkedIn

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 merged commit bd88019 into main Oct 29, 2026
6 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 deleted the creator-b/2088-metaclient-error-message branch October 29, 2026 02:45
@dezren39 dezren39 mentioned this pull request Oct 29, 2026
id(meta_client): over-cap response error prints a literal (MAX_RESPONSE_BYTES) placeholder #2088
Closed
3 tasks
@github-actions github-actions Bot assigned dezren39 Oct 29, 2026
This was referenced Oct 29, 2026
ci: Actions check runs stuck in queued across PRs — no runner pickup since ~05:00Z 2026-10-28 #1599
Closed
id(sync): split serve range sessions onto /id-range-sync/1 (#179) #2214
Merged
Phase 3: /id-sync/1 is used by both range and LogSync handshakes #179
Closed
id: pkgs/id/src/meta_client.rs is not rustfmt-clean on main — every PR inherits three failing fmt checks #2151
Closed
@coderabbitai coderabbitai Bot mentioned this pull request Nov 1, 2026
fix(id): migrate List/ListPeers 1 MiB response reads to read_capped_response (#1761) #3277
Merged
This was referenced Nov 8, 2026
Unowned PR batch from branch disposition (2026-11-07) #7297
Open
⚡ Bolt: optimize goto-line traversals and string allocations #7109
Closed
This was referenced Nov 21, 2026
Closure audit: every closed issue/PR verified; unmerged branches + unpushed worktrees inventoried #7079
Open
AUDIT-7 Lane 4 — MERGED-PR-AUDIT: merged PRs since 2026-10-23 vs their spawning issues #13879
Open
AUDIT-7 Lane 2 — Closed-Issues Review (past month, since 2026-10-23) #13878
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@dezren39 dezren39

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

id(meta_client): over-cap response error prints a literal (MAX_RESPONSE_BYTES) placeholder

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.