Skip to content

Agent Skills well-known proxy fetch has no timeout #3676

Description

@SebTardif

Summary

The site handler for /{owner}/skills/{slug}/.well-known/agent-skills/index.json fetches the Convex agent-skills index with no AbortSignal. A stalled upstream holds the Node request until the platform limit. Installers that probe this well-known URL hang.

This is a source-level hang. I did not stall production Convex from the site handler.

Verification / reproduction

  1. Read src/routes/$owner/skills/$slug/[.]well-known/agent-skills/index[.]json.ts.
  2. Confirm GET and HEAD fetch have no signal.
  3. Compare with OG helpers that use withOgFetchTimeout.

Actual

  • A stalled Convex /api/v1/agent-skills/.../index.json hangs the well-known route.

Expected

  • Upstream GET and HEAD use a timeout signal.
  • Timeout returns a failed discovery response instead of hanging.

Evidence

Source: the well-known TanStack server handler above. Proposed patch: PR #3621.

Siblings: CLI body timeout #3548; changelog #3615; Hermit #3579. Those cover different fetches.

Security / privacy

Hang / availability only.

Acceptance criteria

  • Well-known GET and HEAD pass a timeout to the upstream fetch.
  • A stalled origin fails inside that budget.
  • Successful upstream responses still proxy status, selected headers, and GET body.

This tracker stays open if PR #3621 is closed without landing on main.

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

    P2Normal backlog priority with limited blast radius.clawsweeper:bulk-filedClawSweeper detected a high recent issue-filing volume from this author.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:crash-loopCrash, hang, restart loop, or process-level availability failure.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions