Unit test becomes much slower than before #14218

Closed
opened 2025-11-02 11:06:44 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @wxiaoguang on GitHub (Mar 4, 2025).

It seems that the key point is " Disable vet as part of go test #33662 "

@silverwind

Originally created by @wxiaoguang on GitHub (Mar 4, 2025). It seems that the key point is " Disable vet as part of go test #33662 " * Before it: unit-tests finishes in about 8 minutes * https://github.com/go-gitea/gitea/actions/runs/13623877407/job/38077780542 * https://github.com/go-gitea/gitea/actions/runs/13622845253/job/38075144767 * https://github.com/go-gitea/gitea/actions/runs/13622549602/job/38074389684 * and old PRs also run about 8 minutes * With and after it: unit-tests finishes in about 14 minutes * https://github.com/go-gitea/gitea/actions/runs/13602659773/job/38030419448 * https://github.com/go-gitea/gitea/actions/runs/13627429314/job/38087617764 * https://github.com/go-gitea/gitea/actions/runs/13640274699/job/38128403537 * and new PRs also run about 14 minutes @silverwind
GiteaMirror added the topic/build label 2025-11-02 11:06:44 -06:00
Author
Owner

@silverwind commented on GitHub (Mar 4, 2025):

Surely that must be some odd interaction/bug in go test. The PR was supposed to speed up things by doing less work.

Does someone have a command that reproduces this locally? I'd prefer to not execute the full pipeline locally to debug this.

@silverwind commented on GitHub (Mar 4, 2025): Surely that must be some odd interaction/bug in `go test`. The PR was supposed to speed up things by doing less work. Does someone have a command that reproduces this locally? I'd prefer to not execute the full pipeline locally to debug this.
Author
Owner

@silverwind commented on GitHub (Mar 4, 2025):

https://github.com/go-gitea/gitea/pull/33794

@silverwind commented on GitHub (Mar 4, 2025): https://github.com/go-gitea/gitea/pull/33794
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14218