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

chore(api-service): exclude demo workflows from limit validation #7952

Conversation

djabarovgeorge
Copy link
Contributor

What changed? Why was the change needed?

Screenshots

Expand for optional sections

Related enterprise PR

Special notes for your reviewer

Copy link

linear bot commented Mar 18, 2025

Copy link

netlify bot commented Mar 18, 2025

Deploy Preview for dashboard-v2-novu-staging canceled.

Name Link
🔨 Latest commit 88bcc85
🔍 Latest deploy log https://app.netlify.com/sites/dashboard-v2-novu-staging/deploys/67d99d3f23c2cc00083ec966

@@ -12,6 +12,14 @@ import { NotificationStep } from '../usecases';
import { FeatureFlagsService } from './feature-flags';

export const DAY_IN_MS = 24 * 60 * 60 * 1000;
const DEMO_WORKFLOWS_IDENTIFIER = [
Copy link
Contributor

Choose a reason for hiding this comment

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

We need a more robust mechanism to identify demo workflows. What if as a user I delete the demo workflows and then create new ones with the same workflowId?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

that is a valid point i thought about creating a special tag for those templates, but at the moment it will not fix the problem as we still will need to migrate the old workflows.

at the current version we do not have this problem, even if a workflow was created from the template store it should be counted in the validation.

@djabarovgeorge djabarovgeorge merged commit 13ca3d0 into next Mar 20, 2025
31 checks passed
@djabarovgeorge djabarovgeorge deleted the nv-5500-exclude-novu-created-demo-workflows-from-workflow-count-limit branch March 20, 2025 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants