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 workflow statuses #7555

Merged
merged 2 commits into from
Oct 10, 2024
Merged

Fix workflow statuses #7555

merged 2 commits into from
Oct 10, 2024

Conversation

thomtrp
Copy link
Contributor

@thomtrp thomtrp commented Oct 10, 2024

Event was not emitted after first version insertion. So initial status was not set.

Also adding workflow related objects to timeline activities.

Copy link
Contributor

@martmull martmull left a comment

Choose a reason for hiding this comment

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

LGTM

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

This pull request addresses workflow status issues and integrates workflow-related objects with timeline activities. Key changes include:

  • Added event emission for created workflow versions in workflow-create-many.post-query.hook.ts, fixing initial status setting
  • Introduced new timelineActivities relations to workflow-related entities (WorkflowRun, WorkflowVersion, Workflow)
  • Updated standard-field-ids.ts with new IDs for workflow-related fields and timeline activities
  • Modified WorkflowQueryHookModule to include WorkflowCreateOnePostQueryHook and necessary imports
  • Removed @WorkspaceIsNullable decorators from some relations in workflow.workspace-entity.ts for improved consistency

7 file(s) reviewed, 4 comment(s)
Edit PR Review Bot Settings | Greptile

@charlesBochet charlesBochet merged commit 9a77386 into main Oct 10, 2024
8 checks passed
@charlesBochet charlesBochet deleted the tt-fix-workflow-statuses branch October 10, 2024 13:36
harshit078 pushed a commit to harshit078/twenty that referenced this pull request Oct 14, 2024
Event was not emitted after first version insertion. So initial status
was not set.

Also adding workflow related objects to timeline activities.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants