-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Fix parallel creating commit status bug with tests #21911
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The second test
in the PR title seems redundant.
Also, should we label this PR as skip-changelog
, or is that implied in kind/testing
?
Also, a comment why we ignore Sqlite would be good. |
Is this PR alive or dead? |
Please review again. |
1 similar comment
Please review again. |
make L-G-T-M work |
Some hints: For postgresql, if the (Although I use this approach a lot, I just realized that there is a problem with postgresql recently .....) |
Does this PR introduce a
|
I think you are right.
|
How did you test that? I think we have enabled RACE_ENABLED in our CI, but I couldn't find the log |
It's in my PR, https://drone.gitea.io/go-gitea/gitea/63992. I got the issue after merging from |
* giteaofficial/main: docs: add `Edit this page` (go-gitea#21981) refactor some functions to support ctx as first parameter (go-gitea#21878) Remove deprecated packages & staticcheck fixes (go-gitea#22012) Add pnpm to packages/overview (go-gitea#22008) Update to Alpine 3.17 (go-gitea#21904) Update gitea-vet to check FSFE REUSE (go-gitea#22004) Multiple improvements for comment edit diff (go-gitea#21990) Remove session in api tests (go-gitea#21984) Remove duplicate "Actions" label in mobile view (go-gitea#21974) Fix generate index failure possibility on postgres (go-gitea#21998) Use path not filepath in template filenames (go-gitea#21993) Update chroma to v2.4.0 (go-gitea#22000) Util type to parse ref name (go-gitea#21969) Skip initing LFS storage if disabled (go-gitea#21996) Fix parallel creating commit status bug with tests (go-gitea#21911) Skip initing disabled storages (go-gitea#21985) Fix leaving organization bug on user settings -> orgs (go-gitea#21983) Fix typos (go-gitea#21979) Normalize `AppURL` according to RFC 3986 (go-gitea#21950)
backport #21911 backport #21998 Co-authored-by: silverwind <[email protected]>
This PR is a follow up of #21469