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: Add SchedulerTask which will be notified once cancelled. #1593

Merged
merged 1 commit into from
Dec 29, 2024

Conversation

He-Pin
Copy link
Member

@He-Pin He-Pin commented Dec 16, 2024

Motivation:
refs: #1579

Tests is still missing

@He-Pin He-Pin modified the milestones: 1.1.x, 1.1.3 Dec 16, 2024
@He-Pin He-Pin force-pushed the timer branch 2 times, most recently from db126f1 to 7f4c70c Compare December 16, 2024 17:45
@pjfanning
Copy link
Contributor

I'm not sure that we could add this in a v1.1 patch. I'd prefer if we delay this till v1.2.0.

@He-Pin He-Pin modified the milestones: 1.1.3, 1.2.0 Dec 17, 2024
@He-Pin
Copy link
Member Author

He-Pin commented Dec 17, 2024

I'm fine with this, but as the current method is add as a default method, it should be fine too.

@He-Pin He-Pin marked this pull request as ready for review December 17, 2024 18:29
Copy link
Contributor

@pjfanning pjfanning left a comment

Choose a reason for hiding this comment

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

lgtm

@pjfanning
Copy link
Contributor

I'm quite worried that these tests will be brittle in CI. The CI agents can often suffer from performance issues and tests can take longer to run than on laptops, etc.

/**
* A Task that will be notified when it is cancelled.
*
* @since 1.2.0
Copy link
Member Author

Choose a reason for hiding this comment

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

add the since annotation

@He-Pin He-Pin added the release notes Need to release note label Dec 29, 2024
@He-Pin He-Pin merged commit db94ded into apache:main Dec 29, 2024
8 checks passed
@He-Pin He-Pin deleted the timer branch December 29, 2024 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release notes Need to release note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants