Anurag-S1ngh opened a new pull request, #76123:
URL: https://github.com/apache/airflow/pull/76123
## Summary
A task that passes `queue: undefined` (for example an optional value spread
into the spec) serializes with no queue, because `withDagQueue` treated the
presence of the key as an explicit queue. The task then falls back to the
default queue and is routed to the Python coordinator instead of the TypeScript
one.
## Changes
- `ts-sdk/src/coordinator/serde.ts`: treat `queue` as named only when its
value is not `undefined`
- `ts-sdk/tests/coordinator/serde.test.ts`: regression test for a task
placed with `{ queue: undefined }` on a Dag with a queue
## Testing
- `cd ts-sdk && pnpm test` (957 tests, 32 files)
- `pnpm run typecheck`
- `pnpm run lint`
- `pnpm run format:check`
Closes: #76093
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]