Skip to content

/org/ page does not paginate packages #2507

@jonchurch

Description

@jonchurch

Describe the bug

Check https://www.npmx.dev/~sindresorhus with empty cache.

There's a 400 on trying to enrich all packages via Algolia because there is a 1k item limit on the getObjects endpoint which is not accounted for.

This enters a fallback codepath, which then does 1 API call per 1690 packages, and takes a very long time to load the page.

Additional context

No response

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    backServer, DatafrontFrontend, Design

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions