Repository navigation
Adds reserved_ip_ranges parameter to RunPipelineJobOperator. - #62739
vrcadore-ig wants to merge 9 commits into
Conversation
|
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contributors' Guide (https://github.com/apache/airflow/blob/main/contributing-docs/README.rst)
|
|
@vrcadore-ig A few things need addressing before review — see our Pull Request quality criteria.
No rush. Note: This comment was drafted by an AI-assisted triage tool and may contain mistakes. Once you have addressed the points above, an Apache Airflow maintainer — a real person — will take the next look at your PR. We use this two-stage triage process so that our maintainers' limited time is spent where it matters most: the conversation with you. |
There was a problem hiding this comment.
Pull request overview
Adds support for Vertex AI PipelineJob reserved_ip_ranges through the Google provider’s RunPipelineJobOperator, wiring the new parameter from operator → hook → underlying PipelineJob.submit() and updating unit tests accordingly.
Changes:
- Add
reserved_ip_rangesparameter toRunPipelineJobOperatorand pass it through on execution. - Add
reserved_ip_rangesparameter toPipelineJobHook.run_pipeline_job()andsubmit_pipeline_job()and forward it toPipelineJob.submit(). - Update unit tests to assert the hook is called with
reserved_ip_ranges.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/pipeline_job.py | Exposes reserved_ip_ranges on the operator and forwards it to the hook. |
| providers/google/src/airflow/providers/google/cloud/hooks/vertex_ai/pipeline_job.py | Extends hook APIs to accept/forward reserved_ip_ranges into PipelineJob.submit(). |
| providers/google/tests/unit/google/cloud/operators/test_vertex_ai.py | Updates assertions to include reserved_ip_ranges in the operator → hook call. |
| Private services access must already be configured for the network. If left unspecified, the | ||
| network set in aiplatform.init will be used. Otherwise, the job is not peered with any network. | ||
| :param create_request_timeout: Optional. The timeout for the create request in seconds. | ||
| :param reserved_ip_ranges: Optional. A list of names for the reserved IP ranges under the VPC network |
There was a problem hiding this comment.
There is trailing whitespace at the end of the new :param reserved_ip_ranges: docstring line(s). This can cause pre-commit/lint failures; please remove the trailing spaces to match existing docstring formatting (e.g., in vertex_ai/ray.py).
| :param reserved_ip_ranges: Optional. A list of names for the reserved IP ranges under the VPC network | |
| :param reserved_ip_ranges: Optional. A list of names for the reserved IP ranges under the VPC network |
| Private services access must already be configured for the network. If left unspecified, the | ||
| network set in aiplatform.init will be used. Otherwise, the job is not peered with any network. | ||
| :param create_request_timeout: Optional. The timeout for the create request in seconds. | ||
| :param reserved_ip_ranges: Optional. A list of names for the reserved IP ranges under the VPC network |
There was a problem hiding this comment.
The added :param reserved_ip_ranges: docstring line contains trailing whitespace at the end of the line. Please remove it to avoid formatting/lint issues.
| :param reserved_ip_ranges: Optional. A list of names for the reserved IP ranges under the VPC network | |
| :param reserved_ip_ranges: Optional. A list of names for the reserved IP ranges under the VPC network |
| Private services access must already be configured for the network. If left unspecified, the | ||
| network set in aiplatform.init will be used. Otherwise, the job is not peered with any network. | ||
| :param create_request_timeout: Optional. The timeout for the create request in seconds. | ||
| :param reserved_ip_ranges: Optional. A list of names for the reserved IP ranges under the VPC network |
There was a problem hiding this comment.
The added :param reserved_ip_ranges: docstring line contains trailing whitespace at the end of the line. Please remove it to avoid formatting/lint issues.
| :param reserved_ip_ranges: Optional. A list of names for the reserved IP ranges under the VPC network | |
| :param reserved_ip_ranges: Optional. A list of names for the reserved IP ranges under the VPC network |
|
@vrcadore-ig This PR was triaged 16 days ago with no reply since. Converting to draft — this PR doesn't yet meet our Pull Request quality criteria.
See the linked criteria for how to fix each item, then mark the PR "Ready for review". This is not a rejection — just an invitation to bring the PR up to standard. No rush. Note: This comment was drafted by an AI-assisted triage tool and may contain mistakes. Once you have addressed the points above, an Apache Airflow maintainer — a real person — will take the next look at your PR. We use this two-stage triage process so that our maintainers' limited time is spent where it matters most: the conversation with you. |
|
Quick follow-up to the triage comment above — one clarification on the "Unresolved review comments" item: Once you believe a thread has been addressed — whether by pushing a fix, or by replying in-thread with an explanation of why the suggestion doesn't apply — please mark the thread as resolved yourself by clicking the "Resolve conversation" button at the bottom of each thread. Reviewers don't auto-close their own threads, so an addressed-but-unresolved thread reads as "still waiting on the author" and keeps the PR from moving forward. The author doing the resolve-click is the expected convention on this project. Note: This comment was drafted by an AI-assisted triage tool and may contain mistakes. Once you have addressed the points above, an Apache Airflow maintainer — a real person — will take the next look at your PR. We use this two-stage triage process so that our maintainers' limited time is spent where it matters most: the conversation with you. |
|
@vrcadore-ig This draft PR has been inactive for 13 days since the last triage comment and no response from the author. Closing to keep the queue clean. You are welcome to reopen this PR when you resume work, or to open a new one addressing the issues previously raised. There is no rush — take your time. Note: This comment was drafted by an AI-assisted triage tool and may contain mistakes. Once you have addressed the points above, an Apache Airflow maintainer — a real person — will take the next look at your PR. We use this two-stage triage process so that our maintainers' limited time is spent where it matters most: the conversation with you. |
PR adds reserved_ip_ranges to RunPipelineJobOperator, changing the internal hook and amending the unit tests.
Related Issues
Was generative AI tooling used to co-author this PR? No
{pr_number}.significant.rstor{issue_number}.significant.rst, in airflow-core/newsfragments.