-
Notifications
You must be signed in to change notification settings - Fork 102
New package: Task Herder #377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
584a6f6
chore: add skeleton for task-herder library
cwillisf 4b5d396
style: use eslint-config-scratch@12 recommended
cwillisf aba5b8c
build: activate library mode
cwillisf b33cb1b
feat!: first pass TokenBucket implementation
cwillisf 3e62998
refactor(deps): externalize dependencies
cwillisf 09bf643
refactor: rename limits for better self-documentation
cwillisf 85f4052
style: remove blanket indenting setting
cwillisf 22ad900
fix: wait for task completion so the concurrency limit works
cwillisf 1e0dbef
feat: clean up TaskHerder API and expose options and cancel reasons
cwillisf ee84600
test: add tests for TaskHerder
cwillisf f72dddc
docs: add TaskHerder README.md
cwillisf c48f3d6
fix: allow the AbortSignal to prevent a task from running
cwillisf f25a237
test: add tests for canceling tasks
cwillisf e1f29dc
ci: add path filter for task-herder
cwillisf 51ef8f8
ci: record junit output from Vitest
cwillisf c030110
test: include coverage
cwillisf 60514a6
test: add tests for task results and limit hacks
cwillisf 4c103ca
chore: add @scratch/ scope to task-herder package
cwillisf 569d064
fix: respond to automated review feedback
cwillisf 8e929a9
build: generate `dist/*.d.ts` files during build
cwillisf 8beccb7
refactor: split task record from queue
cwillisf 3bc929c
refactor: use the cute name only for the libary, not the class
cwillisf File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.