rjgoyln opened a new pull request, #70989:
URL: https://github.com/apache/airflow/pull/70989

   `BaseOperations.execute_list` accepts an `offset`, but never sent it on the 
first request, so paging always started at the server default. The loop then 
resumed at `offset + limit`, meaning a non-zero offset both returned the wrong 
first page *and* silently skipped the rows in between — `offset=100, limit=2` 
returned rows 0-1, then jumped straight to row 102.
   
   Nothing in released behaviour is broken today: no caller passes `offset`, 
and `jobs list` takes a separate path when one is given. But the parameter is 
public on the signature and silently discarded, so the first caller to use it 
would get quietly wrong results rather than an error.
   
   Sending `offset` on every request is equivalent to the previous behaviour 
when it is zero — the API's `QueryOffset` already defaults to `0` — so existing 
list commands are unaffected.
   
   ---
   
   ##### 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]

Reply via email to