Skip to content

Conversation

@hannesrudolph
Copy link
Collaborator

@hannesrudolph hannesrudolph commented Nov 7, 2025

3,558 of these added lines are tests :o

  • Total additions across PR: 4,077
  • Total additions in test files: 3,558
  • Percentage of additions in tests: 87.27%
  • Test files with additions: 18

Per-test-file additions (top 20)

How to test

  • Enable experiment in settings (metadata-driven subtasks)
  • Trigger new_task → attempt_completion; verify parent auto-continues and no resume_task ask
  • Nested: A→B→C returns B then A
  • Open delegated parent, click Terminate or New Task; badge/link persist

@hannesrudolph hannesrudolph added the Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. label Nov 7, 2025
@hannesrudolph hannesrudolph moved this from Triage to PR [Draft / In Progress] in Roo Code Roadmap Nov 7, 2025
@hannesrudolph hannesrudolph added PR - Draft / In Progress and removed Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. labels Nov 7, 2025
@hannesrudolph hannesrudolph force-pushed the feat/metadata-delegation-subtasks-qa branch from f71b6bb to 53f3b2d Compare November 7, 2025 05:06
@hannesrudolph hannesrudolph force-pushed the feat/metadata-delegation-subtasks-qa branch from 6d0d066 to 9fa17c7 Compare November 7, 2025 17:05
…nused import; type-safe ExtensionChannel event publishing
The Task.resumeAfterDelegation() method was added in the implementation but
the test mocks were not updated accordingly. This caused test failures with
'resumeAfterDelegation is not a function' errors.

Updated mock task instances in:
- src/__tests__/history-resume-delegation.spec.ts
- src/__tests__/attempt-completion-delegation.spec.ts

All mocks now include:
- resumeAfterDelegation: vi.fn().mockResolvedValue(undefined)
- overwriteClineMessages: vi.fn().mockResolvedValue(undefined) (where needed)
- overwriteApiConversationHistory: vi.fn().mockResolvedValue(undefined) (where needed)
@hannesrudolph hannesrudolph force-pushed the feat/metadata-delegation-subtasks-qa branch from b2a0e60 to d734788 Compare November 8, 2025 03:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: PR [Draft / In Progress]

Development

Successfully merging this pull request may close these issues.

2 participants