Repository navigation
release: v0.4.0 - #38
Merged
Merged
Conversation
- Added stable task names via TaskBuilder::name; names are unique per scheduler and add_task rejects duplicates with TaskError::DuplicateTaskName - Added runtime control on SchedulerHandle: pause/resume/trigger/remove, each by id or by name (pause_name, trigger_name, ...) - Added per-task run history (RunRecord: run_id, started/finished, outcome, attempts), bounded by TaskBuilder::history_limit and read via SchedulerHandle::history(id) - Added per-step observability (StepState/StepStatus) for the last completed run, read via SchedulerHandle::step_states(id) - Enriched TaskState with name, paused, run_count and last_outcome, plus SchedulerHandle::state_of/id_of_name/status_of_name - Added an optional `serde` feature that derives Serialize/Deserialize on the observable state types (TaskState, Status, RunRecord, StepState, RunOutcome) - Added Blackboard: a cheaply-clonable, typed key/value store for passing data between tasks and steps, replacing ad-hoc Arc<Mutex<HashMap>> - Reworked the scheduler's observability into a shared registry rebuilt each round so a SchedulerHandle can both observe and control the live task set - Added examples/control_and_observability.rs (names, control, history, blackboard); updated README with naming/control/history and blackboard sections - Added unit and serde-gated tests (84 unit + 39 doctests by default; 86 unit + 39 doctests with --features serde); clippy, fmt and cargo doc clean - Bumped version to 0.4.0
stav121
force-pushed
the
release/v0.4.0
branch
from
August 21, 2026 12:33
7d9cf0e to
a1445b2
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #38 +/- ##
==========================================
+ Coverage 72.54% 75.72% +3.17%
==========================================
Files 6 7 +1
Lines 488 659 +171
==========================================
+ Hits 354 499 +145
- Misses 134 160 +26 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
serdefeature that derives Serialize/Deserialize on the observable state types (TaskState, Status, RunRecord, StepState, RunOutcome)