Skip to content

perf: scope registry data to each page - #152

Merged
777genius merged 1 commit into
mainfrom
perf/route-scoped-registry
Sep 5, 2026
Merged

perf: scope registry data to each page#152
777genius merged 1 commit into
mainfrom
perf/route-scoped-registry

Conversation

@777genius

Copy link
Copy Markdown
Owner

Summary

  • keep the complete reviewed registry server-side at build time
  • prerender catalog, client, and plugin-specific JSON projections
  • preserve live Discovery and Security augmentation on catalog surfaces
  • add route payload budgets and projection contracts

Measured impact

  • plugin detail HTML gzip: 90.5 KB -> 58.5 KB
  • download HTML gzip: 67.2 KB -> 55.5 KB
  • home HTML gzip: 95.2 KB -> 84.1 KB

Verification

  • pnpm test:registry (32 passed)
  • pnpm generate
  • playwright test --workers=3 (48 passed)
  • pnpm lint (0 errors)
  • focused Go landing contract

@coderabbitai

coderabbitai Bot commented Sep 5, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 38 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review 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: c7d0a8d8-93de-4152-9bda-afdd89dda212

📥 Commits

Reviewing files that changed from the base of the PR and between b7ec270 and 7dd279a.

📒 Files selected for processing (15)
  • landing/composables/useRegistry.ts
  • landing/nuxt.config.ts
  • landing/pages/agents/[client].vue
  • landing/pages/index.vue
  • landing/pages/plugins/[slug].vue
  • landing/pages/plugins/community.vue
  • landing/pages/plugins/index.vue
  • landing/server/api/registry/catalog.get.ts
  • landing/server/api/registry/client/[client].get.ts
  • landing/server/api/registry/empty.get.ts
  • landing/server/api/registry/plugin/[slug].get.ts
  • landing/tests/browser/payload-scoping.spec.ts
  • landing/tests/registry.test.ts
  • landing/utils/registryProjection.ts
  • repotests/landing_contract_integration_test.go

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.

@777genius
777genius merged commit 9b1bf99 into main Sep 5, 2026
17 checks passed
@777genius
777genius deleted the perf/route-scoped-registry branch September 5, 2026 21:33
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