docs: update CHANGELOG.md for 0.1.5#5
Merged
Merged
Conversation
AI Code Review SummaryPR: #5 (docs: update CHANGELOG.md for 0.1.5) Overall AssessmentNo blocking issue was detected in the reviewed diff; keep focused regression testing before merge. Major Findings by SeverityNo major issues identified from the reviewed diff. Actionable Suggestions
Potential Risks
Test Suggestions
File-Level Coverage NotesNo file-level notes. Inline Downgraded Items (processed but not inline)
Coverage Status
Uncovered list:
No-patch covered list:
Runtime/Budget
|
jorben
added a commit
that referenced
this pull request
Apr 25, 2026
…ignal test - In remove_helper, skip entry removal when state.cancelled is true so the cancellation guard survives helper cleanup (addresses PR review #5) - Add test_abort_signal_cancels_tool_execution integration test verifying pre-cancelled AbortSignal produces Cancelled result via execute_with_timeout (addresses PR review #4)
jorben
added a commit
that referenced
this pull request
Apr 25, 2026
…ls (#135) * fix(core): 🐛 improve cancellation handling for subagents and tool executions Previously, cancelling an agent run could leave its status in an inconsistent state and did not properly cancel in-flight subagent tool calls, causing delays and potential hangs. This change ensures that: - When a run is being cancelled, intermediate events no longer revert the status back to "running", keeping it at "cancelling" until the terminal cancellation event. - Subagent tool executions now receive a child abort signal derived from the session's cancellation, causing them to return immediately when cancelled. - A cancellation guard prevents new helper agents from being registered after cancel_run is invoked. - Tool gateway respects the abort signal during execution, returning a Cancelled result instead of waiting for timeout. * fix(subagent): preserve cancelled flag in remove_helper & add abort signal test - In remove_helper, skip entry removal when state.cancelled is true so the cancellation guard survives helper cleanup (addresses PR review #5) - Add test_abort_signal_cancels_tool_execution integration test verifying pre-cancelled AbortSignal produces Cancelled result via execute_with_timeout (addresses PR review #4) * fix(subagent): clean up cancelled RunHelpersState entries to prevent memory leak Restore unconditional cleanup in remove_helper when helpers vec is empty. The cancelled flag's protective window ends once all aborted helpers have completed; keeping the entry afterward leaks memory over repeated cancel cycles. * feat(tests): ✨ add V8 coverage support and usage docs Add @vitest/coverage-v8 to the project and document how to generate frontend and backend test coverage reports. - Install @vitest/coverage-v8 and update related vitest packages to v4.1.5 - Document frontend coverage command using Vitest + v8 - Document backend coverage command using cargo-llvm-cov --------- Co-authored-by: Jorben <jorbenzhu@gmail.com>
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.
Auto-generated changelog update for release 0.1.5.
Comparing changes from
0.1.4to0.1.5.This PR was automatically created by the changelog workflow.