Upload files to "/"
Some checks failed
CI Workflow / Containerize the Flow (push) Has been cancelled
CI Workflow / Testing the Flow (push) Has been cancelled

This commit is contained in:
admin user 2025-03-25 20:56:29 +00:00
parent 49509fb14e
commit 263b98a48b
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."""