No actionable comments were generated in the recent review.
Walkthrough
-
Archiving a thread now fails when it has an active app-owned delegated task. The regression test verifies that archiving succeeds after the task completes. The thread sidebar documentation describes the restriction.
Changes: Delegated task archive guard
Layer / File(s) Summary Check delegated tasks before archiving
apps/server/src/orchestration-v2/Orchestrator.ts,apps/server/src/orchestration-v2/runtimeLayer.test.ts,docs/user/thread-sidebar.mdThe orchestrator rejects archiving when an app-owned delegated task is active. The test verifies that the thread remains unarchived until the task completes, then verifies that archiving succeeds. The sidebar documentation says to wait for delegated tasks to finish or cancel them. Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Bug fix · Severity of issue fixed: Low
Suggested labels:
bugfix,size:MSuggested reviewers:
juliusmarminge,t3dotgg,macroscopeapp
Merge Risk: External image Minimal · up to 94587
-
Archiving is blocked while delegated work is active, and no actionable merge-blocking risk remains after normal checks.
Pre-merge checks: Passed 4
-
Check name Status Explanation Title check Passed The title clearly and concisely describes the main change: preventing archive operations for threads with running delegated tasks. Linked Issues check Passed For #26075,Orchestrator.tsnow checksthread.archiveafter the already-archived check. It rejects anapp_ownedsubagent whenisOrchestrationV2WorkActive(task.status)is true. The error cause …Out of Scope Changes check Passed The changes stay within #26075. The server guard implements the selected refusal outcome. The test verifies the guard. The documentation explains the new archive condition. No unrelated product behavi…Description check Passed The description covers the problem, change, scope and approval context, and focused verification. It also states what was not checked. Full details: Linked Issues check
-
Explanation
For
#26075,Orchestrator.tsnow checksthread.archiveafter the already-archived check. It rejects anapp_ownedsubagent whenisOrchestrationV2WorkActive(task.status)is true. The error cause requests completion or cancellation. Provider-native and inactive tasks do not match the guard. The regression test verifies rejection, the exact cause, unchangedarchivedAt, and successful archiving after child completion. The documentation states the required user action.
Full details: Out of Scope Changes check
-
Explanation
The changes stay within
#26075. The server guard implements the selected refusal outcome. The test verifies the guard. The documentation explains the new archive condition. No unrelated product behavior or client implementation changes are present.
-
Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
External image Recent review info
-
External image Run configuration
-
- Source mode: Auto
- Repository: pingdotgg/t3code
- Branch: main
- File: .coderabbit.config.ts
- Commit: d0b81ce
- Layers: Repository TS config
- Review profile: CHILL
- Plan: Advanced
- Run ID:
ec470d0b-9471-48a2-b8be-1367e0359055
External image Commits
-
Reviewing files that changed from the base of the PR and between d0b81ceb6e225a7386203d590ec84def4abed281 and 9458715adf57359a0452136c1a8d1a0b9c6c4655.
External image Files selected for processing: 3
-
apps/server/src/orchestration-v2/Orchestrator.tsapps/server/src/orchestration-v2/runtimeLayer.test.tsdocs/user/thread-sidebar.md
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.
External image Recent review info
-
External image Run configuration
-
- Source mode: Auto
- Repository: pingdotgg/t3code
- Branch: main
- File: .coderabbit.config.ts
- Commit: d0b81ce
- Layers: Repository TS config
- Review profile: CHILL
- Plan: Advanced
- Run ID:
ec470d0b-9471-48a2-b8be-1367e0359055
External image Commits
-
Reviewing files that changed from the base of the PR and between d0b81ceb6e225a7386203d590ec84def4abed281 and 9458715adf57359a0452136c1a8d1a0b9c6c4655.
External image Files selected for processing: 3
-
apps/server/src/orchestration-v2/Orchestrator.tsapps/server/src/orchestration-v2/runtimeLayer.test.tsdocs/user/thread-sidebar.md
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.
-