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

Headers

x-service-tokenstring required

Request body

snapshot_idstring required
successboolean required
file_countinteger nullable
error_messagestring nullable

Response

Successful Response

{"stackTrail":"paths:/internal/indexing-check:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.