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 lockbud to CI #83

Open
wants to merge 3 commits into
base: unstable
Choose a base branch
from
Open

Conversation

eserilev
Copy link
Contributor

@eserilev eserilev commented Jan 7, 2025

Adds lockbud to CI w/ one caveat

The caveat is the CI job never actually fails. Even if a deadlock is found, it'll just log the deadlock in CI, but wont return an error code. We have an issue up in LH here to eventually fix this

So yeah, not the most ideal CI job... but still might be nice to have until we get the job to fail correctly

@eserilev eserilev added the ready-for-review This PR is ready to be reviewed label Jan 7, 2025
@jking-aus jking-aus requested a review from dknopik January 14, 2025 04:47
@magick93
Copy link

Even if a deadlock is found, it'll just log the deadlock in CI, but wont return an error code. We have an issue up in LH here to eventually fix this

@eserilev do you have a way to reproduce this - as in some sample rust that will trigger output from lockbud?

If yes, I can try get it to fail the workflow.

@eserilev
Copy link
Contributor Author

eserilev commented Jan 14, 2025

@magick93

you should be able to force a deadlock with the following snippet
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=89b90214fbcb364bd9ac5ccaf4ff7d01

If its easier you can revert the changes in this commit here in LH:
sigp/lighthouse@101bf81

lockbud will report a deadlock

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-review This PR is ready to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants