Deduplicate double-scheduling in github-sync (WL-0MN834ICI00339E7)#1176
Merged
SorraTheOrc merged 12 commits intomainfrom Mar 27, 2026
Merged
Deduplicate double-scheduling in github-sync (WL-0MN834ICI00339E7)#1176SorraTheOrc merged 12 commits intomainfrom
SorraTheOrc merged 12 commits intomainfrom
Conversation
added 12 commits
March 26, 2026 21:11
…es (omit audit when absent)
… audit in show --json
…audit excerpt (sync with snapshots)
…al throttler; add unit test to assert schedule usage (throttler)
…ll issue helpers directly which schedule internally)
…hrottled async helpers directly)
…uled stubs to trigger throttler.schedule
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.
This PR centralizes scheduling for GitHub API calls and removes redundant throttler.schedule wrappers in github-sync.\n\nChanges:\n- Remove double-scheduling of create/update issue calls in src/github-sync.ts (helpers schedule internally).\n- Centralize scheduling for comment list/create/update helpers inside src/github.ts.\n- Update tests to assert throttler.schedule is invoked and to stub helper functions correctly.\n\nCommits:\n- 93d103b: deduplicate double-scheduling in github-sync\n- 5a8dca3: finish deduping comment helper scheduling\n- 64a1d82: adjust test stubs to trigger throttler.schedule\n\nRelated work item: WL-0MN834ICI00339E7\n