Skip to content

Add --env_vars flag to KFP runner for compile-time env injection#602

Draft
kmontemayor2-sc wants to merge 1 commit intomainfrom
kmonte/add-kfp-env-vars
Draft

Add --env_vars flag to KFP runner for compile-time env injection#602
kmontemayor2-sc wants to merge 1 commit intomainfrom
kmonte/add-kfp-env-vars

Conversation

@kmontemayor2-sc
Copy link
Copy Markdown
Collaborator

Introduces a generic, repeatable --env_vars KEY=VALUE flag on gigl.orchestration.kubeflow.runner that bakes environment variables into every GiGL-owned container at compile time via PipelineTask.set_env_variable. Applied uniformly across all SPECED_COMPONENTS plus the GLT eligibility check and log_metrics_to_ui tasks; the managed VertexNotificationEmailOp exit handler is intentionally excluded.

Rejected with --action=run_no_compile to prevent silent UX failure (envs are baked at compile time, so the flag would do nothing in that mode).

Scope of work done

Where is the documentation for this feature?: N/A

Did you add automated tests or write a test plan?

Updated Changelog.md? NO

Ready for code review?: NO

Introduces a generic, repeatable --env_vars KEY=VALUE flag on
gigl.orchestration.kubeflow.runner that bakes environment variables into
every GiGL-owned container at compile time via PipelineTask.set_env_variable.
Applied uniformly across all SPECED_COMPONENTS plus the GLT eligibility
check and log_metrics_to_ui tasks; the managed VertexNotificationEmailOp
exit handler is intentionally excluded.

Rejected with --action=run_no_compile to prevent silent UX failure (envs
are baked at compile time, so the flag would do nothing in that mode).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@kmontemayor2-sc
Copy link
Copy Markdown
Collaborator Author

/all_test

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 29, 2026

GiGL Automation

@ 17:22:22UTC : 🔄 E2E Test started.

@ 18:45:18UTC : ✅ Workflow completed successfully.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 29, 2026

GiGL Automation

@ 17:22:22UTC : 🔄 Python Unit Test started.

@ 18:22:52UTC : ✅ Workflow completed successfully.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 29, 2026

GiGL Automation

@ 17:22:27UTC : 🔄 C++ Unit Test started.

@ 17:23:34UTC : ✅ Workflow completed successfully.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 29, 2026

GiGL Automation

@ 17:22:28UTC : 🔄 Scala Unit Test started.

@ 17:31:15UTC : ✅ Workflow completed successfully.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 29, 2026

GiGL Automation

@ 17:22:30UTC : 🔄 Integration Test started.

@ 18:46:57UTC : ✅ Workflow completed successfully.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 29, 2026

GiGL Automation

@ 17:22:32UTC : 🔄 Lint Test started.

@ 17:32:28UTC : ✅ Workflow completed successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants