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

feat: timeline events for async calls #3278

Merged
merged 2 commits into from
Oct 31, 2024
Merged

Conversation

safeer
Copy link
Contributor

@safeer safeer commented Oct 31, 2024

Adds timeline events for async dequeues and errors.

Closes #3282

Screenshot 2024-10-31 at 3 05 07 PM

@safeer safeer requested review from a team and alecthomas as code owners October 31, 2024 21:21
@safeer safeer requested review from wesbillman and removed request for a team October 31, 2024 21:21
This was referenced Oct 31, 2024
func (e *AsyncExecuteEvent) GetID() int64 { return e.ID }
func (e *AsyncExecuteEvent) event() {}

type AsyncExecute struct {
Copy link
Collaborator

Choose a reason for hiding this comment

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

We'll want the async type here somewhere no?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yup, added

@safeer safeer requested a review from deniseli October 31, 2024 22:16
Copy link
Contributor

@deniseli deniseli left a comment

Choose a reason for hiding this comment

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

Nice! Re: icons - I used https://hugeicons.com/icon/clock-01-stroke-standard for cron jobs verbs if you want to reuse it, though the one you have looks good too, and I do sort of wonder if it's better to use a similar icon instead of the same one when it's an event instead of the verb itself? Up to you! This looks awesome

@safeer safeer merged commit 4083751 into main Oct 31, 2024
92 checks passed
@safeer safeer deleted the saf/timeline_async_execute branch October 31, 2024 23:27
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.

async_execute when an async job is attempted
3 participants