GeezerVison is showing github.com — fix(pm-aggregator): bound search + registry twin payloads (#14060 slice 2) by dezren39 · Pull Request #15813 · developing-today/code
Conversation
dezren39
commented
Nov 26, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Refs #14060 (slice 2 — payload bounds; does not close: the cold-registry merge wait and the per-query full scan remain).
What
- /api/search.json: paginated + capped —
limit/offset params (strict decimal, default 50, max 200), total stays the full match count, remainingAfterPage reports the rest. Previously every match shipped (901 KB JSON measured for q=fleet).
- /search HTML: renders the first bounded page (50) with the true total in the heading + a refine note, instead of every match (941 KB measured).
- /api/registry.json:
identities scoped to the returned page. identitiesFromRecords emits one identity per record, so the twin shipped ~28k identity entries beside a 100-record page — the bulk of the measured 6.7 MB. The full identity list stays available from /api/author-identities (the on-demand picker endpoint, unchanged).
Tests / verification
New test/search-pagination-14060.test.ts (oracle: page = results[offset, offset+limit), total unpaginated, strict-decimal params, clamped limit, render heading shows true total), run with the existing search-view + registry-view suites by remote dispatch (fleet-command.yml fallback while #13185 blocks fleet queue dispatch): run 45913395070 — result in the issue note.
Remaining on #14060 after this slice
- Cold registry merge: no request should wait on a cold merge (sessions first-hit 36 s measured) — needs the profiler's per-stage split of the shared read path.
- Search still scans in memory per query; this slice bounds what it ships/renders, not the scan itself.
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-26T23:52:15Z",
"session_id": null,
"lane": null,
"host": "htch-runtime",
"worktree": "/home/hatch/workspace/github-work/code-14060",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/hatch/workspace/github-work/code-14060",
"repo": "developing-today/code",
"branch": "xaltha/14060-bound-search-registry",
"sha": "7ffad7d1410e98bcc355bacf3dfd4aabe311e347"
},
"auth_subject": "xaltha",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…ce 2)
- /api/search.json: paginate results (limit/offset, default 50, max 200);
total stays the full match count, remainingAfterPage reports the rest.
- /search HTML: render the first bounded page with the true total in
the heading instead of every match (941 KB measured for q=fleet).
- /api/registry.json: scope identities to the returned page —
identitiesFromRecords over the whole store shipped one identity per
record (~28k entries, the bulk of the measured 6.7 MB twin) beside a
100-record page. Full list remains at /api/author-identities.
- Tests: search-pagination-14060.test.ts names the page-slice oracle
(page = results[offset, offset+limit), total unpaginated, strict
decimal params, clamped limit) and the render heading total.
coderabbitai
Bot
commented
Nov 26, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Important
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:
a5998213-e005-4691-98f0-adc3bcb3a87b
- 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
-
|
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.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|