CI: bound wiki search backend sync request time #134
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pokebedrock/wiki#134
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The
wiki-searchworkflow currently syncsbuild/search-indices.jsonto the website backend with a barecurlcall in.github/workflows/search-index.yml.Because that call has no connect timeout or overall timeout, a stalled backend/network hop can keep the scheduled or manually-dispatched sync job hanging until the runner-level timeout kills it.
Evidence
Current step on
main:That means:
Impact
Acceptance criteria
curlstep.Already fixed on
mainby47c8890(PR #135)..github/workflows/search-index.ymlsync curl uses--connect-timeout 10and--max-time 30(lines 48-50). The step still postsbuild/search-indices.jsonwithWIKI_SEARCH_SYNC_TOKENon theprivaterunner, and still skips the post when either secret is unset.