mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-04 02:04:03 +00:00
## What changed? - WISOTT ## Why? - User experience. ## How did you test it? - [x] built - [ ] run locally and tested manually - [x] covered by existing tests - [ ] added new unit test(s) - [ ] added new functional test(s) ## Potential risks - None --- > [!NOTE] > Enhances error clarity and batch behavior around version overrides. > > - Introduces `ErrPinnedVersionNotInTaskQueueSubstring` and `FormatPinnedVersionNotInTaskQueueError` to produce detailed messages (deployment, build ID, task queue, type) > - Replaces generic errors in `validatePinnedVersionInTaskQueue` with formatted message; updates related tests to expect new text > - Adds operation-aware non-retryable detection in `batcher` (`isNonRetryableError`) for `BATCH_OPERATION_TYPE_UPDATE_EXECUTION_OPTIONS` using the new substring; integrates into `handleTaskResult` > - Removes frontend-added non-retryable string for update-execution-options; responsibility moved to worker > - Adds unit tests for new formatter and non-retryable detection > > <sup>Written by [Cursor Bugbot]() for commit eb8942394b599c09cfa641f1c987aa85c73b9a94. This will update automatically on new commits. Configure [here]().</sup>