mysterious-dinner-77632
12/16/2025, 11:21 AMancient-wolf-19325
12/16/2025, 11:21 AMmysterious-dinner-77632
12/16/2025, 11:23 AMancient-wolf-19325
12/16/2025, 11:23 AMmysterious-dinner-77632
12/16/2025, 11:27 AMancient-wolf-19325
12/16/2025, 11:27 AMRELAUNCH and a reference to the source execution. This information can be accessed programmatically and could be used by admission webhooks to identify relaunches. See execution_manager.go for how the relaunch sets these fields.
Would you like more detail on how to extract or use this metadata in a webhook?
Sources:
- execution_manager.go π 0 button π 0 button π‘ Hint: Mention @runllm in the thread for followups.mysterious-dinner-77632
12/16/2025, 11:30 AMancient-wolf-19325
12/16/2025, 11:30 AMreference_execution field in the execution spec's metadata. This field stores the ID of the original workflow execution, allowing you to programmatically connect the new execution to its source and fetch labels or other metadata from the original. This information is available in the FlyteAdmin API and is also reflected in the underlying Kubernetes custom resource for the workflow execution, though not as a direct label but as part of the execution spec metadata (execution_manager.go).
Would you like more detail on how to access this field or use it in automation?
Sources:
- execution_manager.go π 0 button π 0 button π‘ Hint: Mention @runllm in the thread for followups.mysterious-dinner-77632
12/16/2025, 12:00 PMancient-wolf-19325
12/16/2025, 12:00 PMreference_execution for relaunches, this information is not surfaced in the FlyteWorkflow Kubernetes custom resource (CRD) by default. The CRD spec does not appear to include a field or annotation that directly references the original execution or indicates a relaunch, based on available documentation and user reports. This means you likely cannot rely on the FlyteWorkflow K8s object alone to detect relaunches or fetch the original execution ID.
Though I'm not entirely certain, it might be that your best option is to use the FlyteAdmin API to correlate executions and retrieve the reference_execution field, then use that information to fetch labels or metadata from the original execution. If you need this information in the K8s object for webhook or admission control, you may need to implement a custom process to annotate the CRD at launch time or request this as a feature in Flyte.
Would you like more detail on using the FlyteAdmin API for this purpose or on possible custom automation approaches?
Sources:
- https://github.com/flyteorg/flyte/blob/master/docs/user_guide/productionizing/workflow_labels_and_annotations.md
- https://github.com/flyteorg/flyte/issues/6550
Note: I wasnβt able to find highly relevant data sources, but above are a few potentially relevant links. π 0 button π 0 button π‘ Hint: Mention @runllm in the thread for followups.mysterious-dinner-77632
12/16/2025, 12:03 PMancient-wolf-19325
12/16/2025, 12:03 PMmysterious-dinner-77632
12/16/2025, 1:57 PM~/.flyte/config.yml and using CLI switch between different endpoints for pyflyte cmd?ancient-wolf-19325
12/16/2025, 1:57 PM~/.flyte/config.yaml). To switch between different endpoints or environments, you must maintain separate config files and specify the desired one using the --config or -c flag with the CLI (e.g., pyflyte --config my_config.yaml run ...). There is no built-in context or profile switching mechanism like kubectl contexts (flytectl issue #895, flyte issue #412).
Would you like more detail on managing multiple config files or automating environment switching?
Sources:
- flytectl issue #895
- flyte issue #412 π 0 button π 0 button π‘ Hint: Mention @runllm in the thread for followups.mysterious-dinner-77632
12/16/2025, 2:04 PMancient-wolf-19325
12/16/2025, 2:04 PMkubectl. The only supported method is to maintain separate config files for each environment and specify the desired one using the --config flag when running commands (e.g., pyflyte --config config-dev.yaml run ...). This limitation is confirmed in flytectl issue #895 and flyte issue #412.
Would you like suggestions for simple shell aliases or scripts to make switching easier?
Sources:
- flytectl issue #895
- flyte issue #412 π 0 button π 0 button π‘ Hint: Mention @runllm in the thread for followups.mysterious-dinner-77632
12/16/2025, 5:17 PMancient-wolf-19325
12/16/2025, 5:17 PMmysterious-dinner-77632
12/16/2025, 5:21 PMancient-wolf-19325
12/16/2025, 5:21 PMpyflyte run ... task_name ...) or programmatically. This is documented in Flyte tasks guide and confirmed in Flyte issue #2471.
Would you like more detail or example commands for running a single task?
Sources:
- Flyte tasks guide
- Flyte issue #2471 π 0 button π 0 button π‘ Hint: Mention @runllm in the thread for followups.mysterious-dinner-77632
12/16/2025, 5:37 PMancient-wolf-19325
12/16/2025, 5:37 PMflytectl create execution --relaunch, you must pass the execution name (UUID-like string, e.g., avljk**), not the full identifier. You also need to specify the correct -p (project) and -d (domain) flags to match the original execution. The error "missing entity of type execution with identifier project" usually means the execution ID, project, or domain does not match an existing execution (flytectl execution docs).
Would you like more detail on how to find the correct execution ID and flags?
Sources:
- flytectl execution docs π 0 button π 0 button π‘ Hint: Mention @runllm in the thread for followups.mysterious-dinner-77632
12/16/2025, 9:18 PMancient-wolf-19325
12/16/2025, 9:19 PMflytectl create execution --relaunch and pass a new --execFile, the relaunch will not use the new execFile to update the execution parameters. The relaunch command is designed to replicate the original execution's parameters, and the execFile is ignored in this context. The relevant code in Flyte is in execution_manager.go, where the relaunch logic copies the original execution's spec and inputs, not the new execFile.
Would you like more detail on how relaunch works or how to update execution parameters?
Sources:
- execution_manager.go π 0 button π 0 button π‘ Hint: Mention @runllm in the thread for followups.