Repository navigation
fix(widgets): busy pull requests no longer time out GitHub's search - #80
Merged
Merged
Conversation
A list searched GitHub for up to 50 items with full card data in one GraphQL request. For pull requests with many checks that takes GitHub past its 10 s limit, and it answers 502 or 504 (or an empty 200), so the list showed "GitHub answered 504." every time. Issue search now asks only for ids, then reads the items by node id in batches of 20, side by side, keeping the search's order. An empty body is an error rather than a throw. Card fetches use batches of 20 too.
🚀 Deploying Preview to Cloudflare 🚀Preview Deployments by commit
|
…fore the run, so the stale finder never counts them as quiet once October has passed
… the page loads, so the stale finder only finds the ones meant to be quiet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brings over the one bugfix from the emdash-cms/tack fork. The fork's instance config (tack.emdashcms.com) is left out.
A list searched GitHub for up to 50 items with full card data in a single GraphQL request. For pull requests with many checks, GitHub goes past its 10 s limit and answers 502 or 504 (or an empty 200), so the list showed "GitHub answered 504." every time.
test/github-search.test.ts.Checks:
pnpm checkandpnpm buildpass.pnpm testhas two failures that also happen without this change:test/widget-queries.test.ts > milestone and stale finder queriesfails onmainas well, andtest/docs-agents.test.tsfails because a site dependency wasn't installed in my local worktree.