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(pm-aggregator): bound search + registry twin payloads (#14060 slice 2) by dezren39 · Pull Request #15813 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Nov 26, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

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.

All reactions
@dezren39
fix(pm-aggregator): bound search + registry twin payloads (#14060 sli…
7ffad7d
…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

coderabbitai Bot commented Nov 26, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown

Important

  • Trigger review

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

  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

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

@dezren39 dezren39 mentioned this pull request Nov 26, 2026
pm-aggregator: search takes 33s and the registry twin ships 6.7 MB — bound the search + registry reads #14060
Open
@developing-today-fleet developing-today-fleet Bot mentioned this pull request Nov 26, 2026
pm-stack: search and registry read bounds (slice 2 of #14060) #15785
Closed
2 tasks done
@dezren39
Merge remote-tracking branch 'origin/main' into xaltha/14060-bound-se…
8a4f680
…arch-registry
@dezren39
dezren39 merged commit ce66317 into main Nov 27, 2026
2 checks passed

Uh oh!

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

@dezren39
dezren39 deleted the xaltha/14060-bound-search-registry branch November 27, 2026 00:54
@developing-today-fleet developing-today-fleet Bot mentioned this pull request Nov 27, 2026
epic(pm-stack): maintenance #12458
Open
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

No one assigned

Labels

None yet

Projects

None yet

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.

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.