Skip to content

fix(contributors): prevent visitor-side GitHub requests when contributor data is unavailable #1097

Description

@castrojo

Problem

fetch-contributors.js writes an empty object when no contributor requests succeed. PageContributors.tsx treats every missing key as a cache miss and requests commits from the visitor browser.

Evidence

With the current empty contributor map, contributorsData["docs/installation.md"] is undefined and the component falls back to an unauthenticated GitHub API request on each page footer.

Expected

Emit the standard unavailable payload for a failed complete fetch and suppress client-side API fallback for a globally unavailable dataset.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3-clanker-queueWork admitted to the agent-maintained queue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions