-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Enable race detector for CI #1441
Conversation
I thought more about a flag like ENABLE_RACE or something like that |
LGTM |
I have checked 'Allow edits from maintainers.'. You know 😄 Edit: maybe you guys with the maintainer key could upload a new PR with the updated signature. This change is only a one-liner, that would probably easier for you. |
LGTM |
It is the coverage step that fails, due to:
Is that what the signature is for ? |
ab4224e
to
57a07cd
Compare
The mysql check fails on drone with:
Some linker flags missing @typeless ? |
57a07cd
to
e9915f9
Compare
@lunny Need to resign drone config. |
e9915f9
to
34a00ff
Compare
build failed. what's this |
Is the drone.sig updated? otherwise put |
@bkcsoft yes, updated |
@typeless any news? |
@lunny It looks that glibc is absent. Alpine Linux uses musl libc which is probably incompatible (or it only supports static linking?) Also I found this golang/go#9918. |
So let's move it to v1.x.x |
d8bc88b
to
8a969a1
Compare
CI failed seems not related. |
…a into typeless-enable-race-detector-in-ci
make L-G-T-M work |
These tests are missing the defer prefix. Related go-gitea#1441 Signed-off-by: Andrew Thornton <art27@cantab.net>
These tests are missing the defer prefix. Related #1441 Signed-off-by: Andrew Thornton <art27@cantab.net>
Update to latest go-chi/session where the NewManager causes a new Provider instantiation instead of reconfiguring an old one. (https://gitea.com/go-chi/session/pulls/1) The NewManager call is now concurrency safe and would allow live reconfiguration in future but for now this PR simply fixes an intermittent "data-race" detected in our tests. (See https://drone.gitea.io/go-gitea/gitea/43900/2/14) Related go-gitea#17027 Related go-gitea#1441 Signed-off-by: Andrew Thornton <art27@cantab.net>
Update to latest go-chi/session where the NewManager causes a new Provider instantiation instead of reconfiguring an old one. (https://gitea.com/go-chi/session/pulls/1) The NewManager call is now concurrency safe and would allow live reconfiguration in future but for now this PR simply fixes an intermittent "data-race" detected in our tests. (See https://drone.gitea.io/go-gitea/gitea/43900/2/14) Related #17027 Related #1441 Signed-off-by: Andrew Thornton <art27@cantab.net>
close #1430