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

Add initial event logging for step execution #74

Merged
merged 11 commits into from
Mar 7, 2024

Conversation

joshtyf
Copy link
Owner

@joshtyf joshtyf commented Mar 2, 2024

Description

Added event logging for each step of each pipeline (STEP STARTED and STEP COMPLETED). I'll add more logging for the subsequent steps and other events in another PR.

Others

  • Updated the seeding scripts
  • Service requests should be created with a NOT STARTED status

@joshtyf joshtyf added backend Backend related feature A new feature labels Mar 2, 2024
@joshtyf joshtyf added this to the M2: More features milestone Mar 2, 2024
@joshtyf joshtyf self-assigned this Mar 2, 2024
type EventType string

const (
STEP_STARTED EventType = "STEP_STARTED"
Copy link
Collaborator

@Ziyang-98 Ziyang-98 Mar 3, 2024

Choose a reason for hiding this comment

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

Does this mean there is only 4 events now? what happen to the other events? can lmk if anything needs to be changed/added to the existing events for the service request dashboard status column.

Copy link
Owner Author

Choose a reason for hiding this comment

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

I think the dashboard status column should show the overall status of the service request. The EventType you see here is more granular, and shows the event that has happened for this particular step. You won't be using this EventType for the status column

Copy link
Collaborator

@Ziyang-98 Ziyang-98 left a comment

Choose a reason for hiding this comment

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

LGTM. Only have a qn regarding the events.

@joshtyf joshtyf merged commit 34a33d6 into main Mar 7, 2024
2 checks passed
@joshtyf joshtyf deleted the feature/log-step-execution branch March 7, 2024 14:58
@joshtyf joshtyf linked an issue Mar 23, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Backend related feature A new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Log step execution in database
2 participants