Skip to content

Commit

Permalink
feat: worker pooling (#962)
Browse files Browse the repository at this point in the history
<!--
Pull requests are squashed and merged using:
- their title as the commit message
- their description as the commit body

Having a good title and description is important for the users to get
readable changelog.
-->

<!-- 1. Explain WHAT the change is about -->

- Solve
[MET-806](https://linear.app/metatypedev/issue/MET-806/worker-pooling)

<!-- 2. Explain WHY the change cannot be made simpler -->



<!-- 3. Explain HOW users should update their code -->

#### Migration notes

---

- [ ] The change comes with new or modified tests
- [ ] Hard-to-understand functions have explanatory comments
- [ ] End-user documentation is updated to reflect the change


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Bug Fixes**
	- Corrected a typographical error in a log message.
	- Enhanced error handling and reporting in various runtime components.

- **Refactor**
	- Improved worker management lifecycle methods.
	- Updated task delegation and worker allocation strategies.
	- Refined interrupt and workflow completion handling.
	- Enhanced configuration schema for worker settings.

- **New Features**
	- Introduced a more robust wait queue mechanism with timeout support.
	- Enhanced type safety for interrupt handling.
- Added new environment variables for managing Deno and substantial
worker settings.

- **Tests**
	- Added a comprehensive test suite for wait queue implementation.
- Updated test configuration to ignore tests for the latest release
version.
	- Enhanced validation logic for version handling.

- **Chores**
- Updated versioning across multiple configuration files and
dependencies to reflect the transition to a release candidate version.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
  • Loading branch information
Natoandro authored Jan 27, 2025
1 parent 68cfb17 commit 1c5420a
Show file tree
Hide file tree
Showing 43 changed files with 1,077 additions and 183 deletions.
1 change: 1 addition & 0 deletions .ghjk/deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ exclude = [
]

[workspace.package]
version = "0.5.0"
version = "0.5.1-rc.0"
edition = "2021"

[workspace.dependencies]
Expand Down
Loading

0 comments on commit 1c5420a

Please sign in to comment.