Skip to content

Fix task reset API environment validation#11

Merged
anish749 merged 1 commit intomainfrom
claude/fix-task-reset-validation-4eTPg
Jan 13, 2026
Merged

Fix task reset API environment validation#11
anish749 merged 1 commit intomainfrom
claude/fix-task-reset-validation-4eTPg

Conversation

@anish749
Copy link
Owner

Previously, tasks in different environments were silently skipped when attempting to reset, cancel, or delete them. This could lead to confusion where operations appeared successful but had no effect.

Changes:

  • ResetTasksByIds: Return error if task is in different environment
  • CancelTasksByIds: Return error if task is in different environment
  • DeleteTasksByIds: Return error if task is in different environment
  • Updated documentation for all three APIs
  • Updated interface documentation
  • Updated test expectations

This ensures users receive explicit feedback when attempting to operate on tasks that don't belong to their current environment.

Previously, tasks in different environments were silently skipped
when attempting to reset, cancel, or delete them. This could lead
to confusion where operations appeared successful but had no effect.

Changes:
- ResetTasksByIds: Return error if task is in different environment
- CancelTasksByIds: Return error if task is in different environment
- DeleteTasksByIds: Return error if task is in different environment
- Updated documentation for all three APIs
- Updated interface documentation
- Updated test expectations

This ensures users receive explicit feedback when attempting to
operate on tasks that don't belong to their current environment.
@anish749 anish749 merged commit a84dfeb into main Jan 13, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants