henry3260 opened a new pull request, #71119: URL: https://github.com/apache/airflow/pull/71119
Backport of #70989 to `airflow-ctl/v0-1-test`. Cherry-picked cleanly, no conflicts and no adaptation needed — `execute_list` on this branch is identical to main's pre-fix state. `BaseOperations.execute_list` accepts an `offset` but never sent it on the first request, so paging started at the server default while the loop still resumed at `offset + limit` — a non-zero offset both returned the wrong first page and skipped the rows in between. `offset=100, limit=2` returned rows 0-1, then jumped to row 102. Sending `offset=0` is equivalent to omitting it — the API's `QueryOffset` already defaults to `0`, so this is compatible. (cherry picked from commit b5414588d3ef97512cbe0b3595e6fc9f042a5861) Co-authored-by: rjgoyln <[email protected]> --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Code (Opus 5) Generated-by: Claude Code (Opus 5) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) -- 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]
