0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-04-12 05:36:38 +02:00
Giteabot 0112ec9b34
Fix flaky TestCatFileBatch/QueryTerminated test (#37159) (#37178)
Backport #37159 by @silverwind

`TestCatFileBatch/QueryTerminated` relied on timing to distinguish
`os.ErrClosed` vs `io.EOF` error paths. Replace `time.Sleep`-based
synchronization with a channel-based hook on pipe close, making both
error paths fully deterministic regardless of CI runner speed.

Ref:
https://github.com/go-gitea/gitea/actions/runs/24193070536/job/70615366804

---
This PR was written with the help of Claude Opus 4.6

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Claude (Opus 4.6) <noreply@anthropic.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2026-04-11 13:14:35 +02:00
..
2026-02-28 11:23:20 -08:00
2025-10-15 10:09:32 +02:00
2026-02-13 00:15:46 +00:00
2026-03-04 12:11:42 -08:00
2025-10-20 11:43:08 -07:00
2025-10-23 08:35:48 +00:00
2025-04-01 10:14:01 +00:00
2026-01-12 20:29:35 +08:00
2025-01-13 14:01:53 +08:00
2026-01-01 10:32:19 -08:00
2025-07-30 07:08:59 +00:00

Git Module

This module is merged from https://github.com/go-gitea/git which is a Go module to access Git through shell commands. Now it's a part of gitea's main repository for easier pull request.