Skip to content

[Bug]: fetchPublicContributorProfile has no timeout and is unauthenticated (P2) #790

Description

@JSONbored

Problem

src/github/public.ts:58 — the two api.github.com fetches have no AbortSignal.timeout (unlike gittensor/api.ts and github/app.ts) → a half-open connection hangs the 500-login evidence loop; also unauthenticated (60/hr) so the loop exhausts the ceiling and silently returns source:unavailable.

Fix

Add AbortSignal.timeout; use GITHUB_PUBLIC_TOKEN (already in env) to lift the rate ceiling.

Acceptance

  • Bounded request time; authenticated rate ceiling; degraded-evidence is signalled not silent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    gittensor:bugGittensor-scored bug fix — scores a 0.05x multiplier.roadmapOn the Wave-2 agent-layer roadmap board (project 9)

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions