SIGN IN SIGN UP

chore(sdk): deprecate queues.overrideConcurrencyLimit and resetConcurrencyLimit

## Summary

Marks `queues.overrideConcurrencyLimit` and
`queues.resetConcurrencyLimit` as deprecated in the SDK. These functions
belong to the legacy model where a queue carried its own concurrency
limit. On the current model a queue is only the ordered line runs wait
in, concurrency is declared on the task with the `concurrency` option,
and limits are managed through `concurrencyLimits.override` and
`concurrencyLimits.reset`. The server already rejects these calls for
queues on the current model.

The `@deprecated` JSDoc includes a migration example:

```ts
export const myTask = task({
  id: "my-task",
  concurrency: { total: 5 },
  run: async (payload) => {
    // ...
  },
});

await concurrencyLimits.override("task/my-task", { total: 10 });
```

Also adds a deprecation callout to the queues docs pointing at the
concurrency docs, plus a changeset.

`queues.pause` and `queues.resume` are intentionally not deprecated:
pausing a queue remains valid flow control on the current model.

Mono-RevId: e75902f159eda3487596ba4d038ed5eedc45bee8
M
Matt Aitken committed
414e5a268683389bd6d66b4b7b0991bd62dd9438
Parent: fa94feb
Committed by Trigger.dev RepoOps <repoops@trigger.dev> on 9/20/2026, 5:29:15 PM