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

PlaceholderTask.Callback.finished did not correctly suppress CancelledItemListener, and willContinue was unreliable #355

Merged
merged 4 commits into from
Feb 2, 2024

Conversation

jglick
Copy link
Member

@jglick jglick commented Feb 1, 2024

The test motivating #354 flaked again. From the logs, the cause is clear enough: the RunningTask was removed before Queue.cancel was called, so CancelledItemListener was still active. (I have no idea how to reproduce this scenario, leading to the build being aborted.)

@jglick jglick changed the title PlaceholderTask.Callback.finished did not correctly suppress CancelledItemListener PlaceholderTask.Callback.finished did not correctly suppress CancelledItemListener, and willContinue was unreliable Feb 1, 2024
@jglick jglick requested a review from dwnusbaum February 1, 2024 23:02
@jglick jglick merged commit e57634f into jenkinsci:master Feb 2, 2024
13 checks passed
@jglick jglick deleted the Callback.finished branch February 2, 2024 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants