Upload files to "/"
All checks were successful
CI Workflow / Testing the Flow (push) Successful in 7s
CI Workflow / Containerize the Flow (push) Successful in 14s

This commit is contained in:
gitea_admin_user 2025-04-09 20:08:58 +00:00
parent 428f732a84
commit 6ce236ba8b
2 changed files with 6 additions and 3 deletions

View File

@ -44,7 +44,8 @@ flow_name_safe = sanitize_name(FLOW_NAME)
commit_id_safe = sanitize_name(COMMIT_ID_SHORT)
# Construct the task queue name
TASK_QUEUE = f"{flow_name_safe}_{commit_id_safe}"
# TASK_QUEUE = f"{flow_name_safe}_{commit_id_safe}"
TASK_QUEUE = flow_name_safe
# Import the default workflow module
workflow_module_name = "workflow" # Hardcoded to the default module name 'workflow.py'
@ -55,7 +56,8 @@ except ImportError as e:
# Get the workflow class
# Assuming the workflow class is named as <FlowName>Workflow, e.g., HybridWorkflow
workflow_class_name = f"{flow_name_safe}_{commit_id_safe}"
# workflow_class_name = f"{flow_name_safe}_{commit_id_safe}"
workflow_class_name = flow_name_safe
workflow_class = getattr(workflow_module, workflow_class_name, None)
if not workflow_class:

View File

@ -44,7 +44,8 @@ FLOW_NAME = REPO_NAME + "_" + BRANCH_NAME
flow_name_safe = sanitize_name(FLOW_NAME)
commit_id_safe = sanitize_name(COMMIT_ID_SHORT)
workflow_class_name = f"{flow_name_safe}_{commit_id_safe}"
# workflow_class_name = f"{flow_name_safe}_{commit_id_safe}"
workflow_class_name = flow_name_safe
def load_flow_definition(file_path):
"""Load the flow definition from a JSON file."""