Skip to content

Conversation

@AnomalRoil
Copy link
Contributor

This is a newly added feature of Go 1.25: synctest allows to use the time package like one would in real life, and have a special synctest bubble in which tests are run where synchronization of goroutine can be ensured by calling synctest.Wait() after a time.Sleep() has been called, e.g.

It also will warn about deadlock caused by time.Sleep and such in go routines.

@github-actions
Copy link

🔒 Could not start CI tests due to missing safe PR label. Please contact a DEDIS maintainer.

1 similar comment
@github-actions
Copy link

🔒 Could not start CI tests due to missing safe PR label. Please contact a DEDIS maintainer.

@AnomalRoil
Copy link
Contributor Author

This is weird, I would expect it to pickup my new github workflow file that specifies go 1.25 but it seems it keeps using the old values weirdly.

@pierluca
Copy link
Contributor

Yes, it's designed to use the repo's GitHub actions.
Can you split this PR into one to update the workflows and the other for dkg/synctest ?
It'll be easiest to get this merged.
Had a quick look, LGTM 👍

@jbsv
Copy link
Contributor

jbsv commented Nov 26, 2025

go 1.25 and golangci-lint setup are already part of the int32-reviewed branch that should be merged to master soon-ish.

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.

4 participants