Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: delay step were failing after loop #4619

Merged
merged 2 commits into from
May 3, 2024
Merged

fix: delay step were failing after loop #4619

merged 2 commits into from
May 3, 2024

Conversation

abuaboud
Copy link
Contributor

@abuaboud abuaboud commented May 3, 2024

What does this PR do?

Fixes # (issue)

@abuaboud abuaboud added 🐛 bug Something isn't working auto-deploy labels May 3, 2024
@abuaboud abuaboud merged commit 24abbe1 into main May 3, 2024
12 of 13 checks passed
Copy link

nx-cloud bot commented May 3, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit a657606. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


🟥 Failed Commands
nx run-many --target=test --projects=engine,shared,server-api --parallel=3
✅ Successfully ran 2 targets

Sent with 💌 from NxCloud.

@@ -107,7 +110,7 @@ export const newOrUpdatedRowTrigger = createTrigger({
);

const range =
triggerColumn === 'all_columns'
triggerColumn === ALL_COLUMNS

Choose a reason for hiding this comment

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

What happens when a column is called "all_columns"?
An array-based mechanism might be more appropriate here, then we'd also get multiple trigger columns for free.

@@ -67,7 +67,8 @@ export class FlowExecutorContext {
return undefined
}
assertEqual(stepOutput.type, ActionType.LOOP_ON_ITEMS, 'stepOutput.type', 'LOOP_ON_ITEMS')
return stepOutput as LoopStepOutput
// The new LoopStepOutput is needed as casting to LoopStepOutput will just cast the data but the class methods will not be available

Choose a reason for hiding this comment

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

I'm looking at this on a phone so pardon me if this is a dumb question, but why is it safe to cast to LoopStepOutput at all?

@@ -44,14 +47,14 @@ export const newOrUpdatedRowTrigger = createTrigger({
trigger_column: Property.Dropdown({
displayName: 'Trigger Column',
description: `Trigger on changes to cells in this column only.Select **All Columns** if you want the flow to trigger on changes to any cell within the row.`,

Choose a reason for hiding this comment

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

Shouldn't these be translation keys?

@abuaboud abuaboud deleted the delay branch May 9, 2024 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-deploy 🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants