Skip to content

(MOT-4661) perf(pdf,canvas,a2ui,tailscale,bridge,pubsub,web,worktree,provider-llamacpp): trim request docs over 140 chars - #1067

Merged
andersonleal merged 1 commit into
mainfrom
andersonleal/mot-4661-small-workers-prose
Sep 3, 2026
Merged

(MOT-4661) perf(pdf,canvas,a2ui,tailscale,bridge,pubsub,web,worktree,provider-llamacpp): trim request docs over 140 chars#1067
andersonleal merged 1 commit into
mainfrom
andersonleal/mot-4661-small-workers-prose

Conversation

@andersonleal

Copy link
Copy Markdown
Collaborator

Closes MOT-4661. Sub-issue of MOT-4636; the long tail of the prose survey after #1056, #1058, #1060, #1061, #1063, #1065, #1066.

Change

No function description in these crates was over 300 chars; 14 request property docs were over 140 and are now one sentence each. Internal notes moved from /// to //. No type, field, or serde change. 11 goldens regenerated with UPDATE_GOLDENS=1, description lines only.

crate field before after
pdf PdfSource.fs_scope (flattened into all 5 requests) 193 113
pdf items::Request.max_items / markdown::Request.pages / classify::Request.sample_pages 143 / 173 / 144 120 / 111 / 129
worktree create::Request.pr 179 127
canvas syntax::Request.family / validate::Request.format 174 / 182 131 / 135
a2ui Component.properties 177 127
bridge InvokeInput.timeout_ms 142 103
pubsub SubscribeTriggerSpec.condition_function_id 146 91
tailscale ServeAddInput.target 155 139
web FetchPayload.format 177 92 (value list dropped, PageFormat is a schema enum)
provider-llamacpp CountTokensRequest.model / EmbedRequest.model 175 / 151 113 / 108

memory, approval-gate and rbac-proxy were on the survey list but only had response, config or internal docs over the limit (Memory.tags, PendingKind, RbacConfig), so they are untouched.

Gates

All nine touched crates: cargo fmt, cargo clippy --all-features --all-targets -D warnings green; cargo test green for pdf (103), canvas (78), a2ui (38), tailscale (34), bridge (37), pubsub (30), web (105). worktree and provider-llamacpp: every target green except tests/integration.rs, which spawns a local iii engine and fails identically on an untouched main checkout on this machine ("engine did not become ready in 15s"); CI runs them with its own engine.

https://claude.ai/code/session_01EUoLR66baA2QL7x6fH72bT

…provider-llamacpp): trim request docs over 140 chars

Long tail of the prose survey (MOT-4639 / MOT-4654 / MOT-4655 / MOT-4656 /
MOT-4658 / MOT-4659 / MOT-4660): no function description in these crates
was over 300 chars; 14 request property docs were over 140 and are now
one sentence each. Internal notes moved from `///` to `//`; no type,
field, or serde change; 11 goldens regenerated (description lines only).

  pdf PdfSource.fs_scope        193 -> 113   canvas validate.format   182 -> 135
  web FetchPayload.format       177 ->  92   a2ui Component.properties 177 -> 127
  provider-llamacpp CountTokensRequest.model 175 -> 113
  worktree create.Request.pr    179 -> 127   tailscale ServeAddInput.target 155 -> 139

memory, approval-gate and rbac-proxy had only response/config/internal
docs over the limit and are untouched.

Claude-Session: https://claude.ai/code/session_01EUoLR66baA2QL7x6fH72bT
@vercel

vercel Bot commented Sep 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
workers Ready Ready Preview Sep 2, 2026 9:44pm UTC
workers-tech-spec Ready Ready Preview Sep 2, 2026 9:44pm UTC

Request Review

@coderabbitai

coderabbitai Bot commented Sep 2, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 12 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Team

Run ID: bf3c18d7-0e4a-4b98-b11b-c3cb7f4d1b69

📥 Commits

Reviewing files that changed from the base of the PR and between 92564af and d7992df.

📒 Files selected for processing (25)
  • a2ui/src/protocol.rs
  • bridge/src/functions.rs
  • canvas/src/functions/syntax.rs
  • canvas/src/functions/validate.rs
  • canvas/tests/golden/schemas/canvas.syntax.json
  • canvas/tests/golden/schemas/canvas.validate.json
  • pdf/src/functions/classify.rs
  • pdf/src/functions/items.rs
  • pdf/src/functions/markdown.rs
  • pdf/src/source.rs
  • pdf/tests/golden/schemas/pdf.classify.json
  • pdf/tests/golden/schemas/pdf.extract-items.json
  • pdf/tests/golden/schemas/pdf.extract-regions.json
  • pdf/tests/golden/schemas/pdf.extract-text.json
  • pdf/tests/golden/schemas/pdf.to-markdown.json
  • provider-llamacpp/src/count_tokens.rs
  • provider-llamacpp/src/embed.rs
  • provider-llamacpp/tests/golden/schemas/provider.llamacpp.count_tokens.json
  • provider-llamacpp/tests/golden/schemas/provider.llamacpp.embed.json
  • pubsub/src/trigger.rs
  • tailscale/src/functions/share.rs
  • tailscale/tests/golden/schemas/tailscale.serve.add.json
  • web/src/schemas.rs
  • worktree/src/functions/create.rs
  • worktree/tests/golden/schemas/worktree.create.json

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.

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

skill-check — worker

0 verified, 70 skipped (no docs/).

Layer Result
structure
vale
ai
render

Four for four. Nicely done.

@andersonleal
andersonleal merged commit 8d76179 into main Sep 3, 2026
44 checks passed
@andersonleal
andersonleal deleted the andersonleal/mot-4661-small-workers-prose branch September 3, 2026 11:10
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