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

   ## Summary
   
   The `--provider` flag in `breeze registry extract-data` was only passed to 
`extract_metadata.py` but not to `extract_parameters.py` or 
`extract_connections.py`. This caused incremental builds to correctly extract 
metadata for just the requested provider, but then scan all 99 providers and 
all 1625 modules for parameters and connections.
   
   Example from [CI 
run](https://github.com/apache/airflow/actions/runs/23171286589/job/67323487080)
 — metadata correctly scoped to `common-ai`, but parameters processed 
everything:
   
   ```
   Incremental mode: extracting provider(s) {'common-ai'}
   Wrote 1 providers to /opt/airflow/registry/src/_data    ← correct
   
   Found 99 provider.yaml files                            ← should be 1
   Processed 1625 classes                                  ← should be ~3
   Extracted 14514 total parameters                        ← way too many
   ```
   
   The fix forwards the `--provider` flag to all three extraction scripts. Both 
`extract_parameters.py` and `extract_connections.py` already support 
`--provider` — it just wasn't being passed through.


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