Skip to content

[airflow-ctl/v0-1-test] Fix airflowctl list operations ignoring the requested offset (#70989) - #71119

Merged
henry3260 merged 1 commit into
apache:airflow-ctl/v0-1-testfrom
henry3260:backport-b541458-airflow-ctl/v0-1-test
Aug 5, 2026
Merged

[airflow-ctl/v0-1-test] Fix airflowctl list operations ignoring the requested offset (#70989)#71119
henry3260 merged 1 commit into
apache:airflow-ctl/v0-1-testfrom
henry3260:backport-b541458-airflow-ctl/v0-1-test

Conversation

@henry3260

Copy link
Copy Markdown
Contributor

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 b541458)

Co-authored-by: rjgoyln 151457491+rjgoyln@users.noreply.github.com


Was generative AI tooling used to co-author this PR?
  • Yes — Claude Code (Opus 5)

Generated-by: Claude Code (Opus 5) following the guidelines

@henry3260
henry3260 marked this pull request as ready for review August 5, 2026 12:19
@henry3260
henry3260 merged commit ef6905c into apache:airflow-ctl/v0-1-test Aug 5, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants