Skip to content

Conversation

@alexiswl
Copy link
Member

@alexiswl alexiswl commented Oct 9, 2025

No description provided.

@alexiswl alexiswl self-assigned this Oct 9, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR restructures event objects to support new event patterns while maintaining backward compatibility for Step Function targets. The changes update the event schema to nest workflow information under a workflow object and rename linkedLibraries to libraries, while providing SFN targets with the legacy flattened object structure.

  • Updates event rule patterns to listen for nested workflow.name instead of flat workflowName
  • Transforms event data for SFN targets to maintain legacy object structure
  • Renames linkedLibraries field to libraries in event objects

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
lib/workload/stateless/stacks/stacky-mcstackface/glue-constructs/roket/part_2/umccrise-and-wts-complete-to-rnasum-draft/index.ts Updates event rule pattern and transforms input for SFN target to legacy format
lib/workload/stateless/stacks/stacky-mcstackface/glue-constructs/pva/part_2/tn-complete-to-umccrise-draft/index.ts Updates event rule pattern and transforms input for SFN target to legacy format
lib/workload/stateless/stacks/stacky-mcstackface/glue-constructs/kwik/part_4/push-fastq-list-row-qc-complete-event/index.ts Updates event rule pattern and transforms input for SFN target to legacy format
lib/workload/components/sfn-icav2-state-change-event-handler/step_functions_templates/icav2_get_workflow_status_and_raise_internal_event.asl.json Restructures event payload to use nested workflow object and renames linkedLibraries to libraries
lib/workload/components/sfn-icav2-ready-event-handler/index.ts Updates event rule pattern and transforms input for SFN target to legacy format
lib/workload/components/sfn-generate-workflowrunstatechange-ready-event/step_functions_templates/workflowrunstatechange_generate_ready_step_function_template.asl.json Restructures event payload to use nested workflow object and renames linkedLibraries to libraries

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Member

@victorskl victorskl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alexiswl alexiswl added this pull request to the merge queue Oct 10, 2025
Merged via the queue into main with commit 13c2a58 Oct 10, 2025
5 checks passed
@alexiswl alexiswl deleted the chore/wfm-upgrade-event-translation branch October 10, 2025 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants