Skip to content

docs: update CHANGELOG.md for 0.1.5#5

Merged
jorben merged 1 commit into
masterfrom
changelog/0.1.5
Apr 7, 2026
Merged

docs: update CHANGELOG.md for 0.1.5#5
jorben merged 1 commit into
masterfrom
changelog/0.1.5

Conversation

@jorben
Copy link
Copy Markdown
Contributor

@jorben jorben commented Apr 7, 2026

Auto-generated changelog update for release 0.1.5.
Comparing changes from 0.1.4 to 0.1.5.

This PR was automatically created by the changelog workflow.

@jorben jorben added automated documentation Improvements or additions to documentation labels Apr 7, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 7, 2026

AI Code Review Summary

PR: #5 (docs: update CHANGELOG.md for 0.1.5)
Preferred language: English

Overall Assessment

No blocking issue was detected in the reviewed diff; keep focused regression testing before merge.

Major Findings by Severity

No major issues identified from the reviewed diff.

Actionable Suggestions

  • Address the highest severity findings first and add targeted tests for changed logic.

Potential Risks

  • Potential hidden risks remain in edge cases not covered by the current diff context.

Test Suggestions

  • Add happy-path + boundary + failure-path tests for touched modules.

File-Level Coverage Notes

No file-level notes.

Inline Downgraded Items (processed but not inline)

  • None

Coverage Status

  • Target files: 0
  • Covered files: 0
  • Uncovered files: 0
  • No-patch/binary covered as file-level: 0
  • Findings with unknown confidence (N/A): 0

Uncovered list:

  • None

No-patch covered list:

  • None

Runtime/Budget

  • Rounds used: 0/4
  • Planned batches: 0
  • Executed batches: 0
  • Sub-agent runs: 0
  • Planner calls: 0
  • Reviewer calls: 0
  • Model calls: 0/64
  • Structured-output summary-only degradation: NO

Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated PR review completed.

  • Findings kept: 0
  • Findings with unknown confidence: 0
  • Inline comments attempted: 0
  • Target files: 0
  • Covered files: 0
  • Uncovered files: 0
    See the summary comment for detailed analysis and coverage details.

@jorben jorben merged commit ade5528 into master Apr 7, 2026
3 of 4 checks passed
@jorben jorben deleted the changelog/0.1.5 branch April 7, 2026 12:27
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant