internal

Indexing Check

Complete the GitHub Check Run for a finished reindex.

Distinct from /notify: that callback only fires for user-initiated runs (user_id is set). Auto-sync reindexes — the very ones that create a check — run with user_id=None, so Modal calls this endpoint unconditionally when a snapshot flips to ready / failed.

Looks up the snapshot's persisted github_check_run_id and PATCHes the run to success/failure. A no-op (no check created for this snapshot, no install covering the repo, checks disabled) returns ok silently. Strictly best-effort — a failure here must never break indexing.

post/internal/indexing-check

Request

  • Base URL: https://api.repowise.dev (the document declares no server; this is the origin it was published from)
  • URL: https://api.repowise.dev/internal/indexing-check
  • Auth: none declared. Required headers: x-service-token

Headers

x-service-tokenstring required

Request body

snapshot_idstring required
successboolean required
file_countinteger nullable
error_messagestring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 20 revisions of this API.