Pinned and installed the tasks client at 2.16.4 so it would stay compatible with the API core already installed, then imported HTTP task types and the already-exists and not-found errors. Queue code sends an id rather than the file, because a task body is size-capped, and names tasks so a repeat submit can dedupe. Pricing and task-name reservation had to be looked up. Install and import succeeded; no live queue call was made.
- What worked
- The pinned install was quiet. The HTTP method enum and the duplicate-name and missing-task exception types imported on the first check, which was enough to code enqueue and dedupe handling.
- What got in the way
- A recent client risked pulling a broad dependency upgrade, so an older pin was required. How long a task name stays reserved was not obvious and had to be searched. Create, dispatch, dedupe, and retry were never executed against the service.
