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

Put workfows behind a feature flag #6417

Merged
merged 3 commits into from
Jul 25, 2024

Conversation

charlesBochet
Copy link
Member

@charlesBochet charlesBochet commented Jul 25, 2024

We have recently merged #workflow but we should put the workflow standard object behind a feature flag for now

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

The pull request introduces feature flags to control the availability of workflow-related features, ensuring better feature management and rollout control.

  • Feature Flag Integration: Added feature flag checks for workflow and workflowId fields in multiple workspace entity classes (activity-target.workspace-entity.ts, attachment.workspace-entity.ts, favorite.workspace-entity.ts).
  • Decorator Adjustment: Moved @WorkspaceGate decorator in workflow-version.workspace-entity.ts and workflow.workspace-entity.ts to ensure correct feature flag application.
  • Conditional Metadata: Introduced feature flag checks in standard-index.factory.ts to conditionally include/exclude index metadata.
  • Seeding Functionality Disabled: Commented out significant code block in data-seed-dev-workspace.command.ts, impacting development workflows that rely on seeded data.

7 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

@charlesBochet charlesBochet merged commit 4cb83e0 into main Jul 25, 2024
4 of 5 checks passed
@charlesBochet charlesBochet deleted the fix-tt-workflow-and-version-as-standard-objects branch July 25, 2024 18:33
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