1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-09-05 18:40:59 +00:00
forgejo-runner/act/common
Mathieu Fenniak 13247246fc
test: fix data race in TestNewParallelExecutor... tests (#860)
Tests were using `count` and similar variables without any concurrency safety and have been updated to use atomic operations.  This may have caused rare miscounts in tests as operations like `count++` are not thread-safe, but to my knowledge these have never been observed.

Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/860
Reviewed-by: Gusted <gusted@noreply.code.forgejo.org>
Co-authored-by: Mathieu Fenniak <mathieu@fenniak.net>
Co-committed-by: Mathieu Fenniak <mathieu@fenniak.net>
2025-08-15 09:12:32 +00:00
..
git chore: modernize code (#857) 2025-08-15 04:54:13 +00:00
cartesian.go chore: modernize code (#857) 2025-08-15 04:54:13 +00:00
cartesian_test.go chore: modernize code (#857) 2025-08-15 04:54:13 +00:00
draw.go chore: modernize code (#857) 2025-08-15 04:54:13 +00:00
dryrun.go successfully able to run simple workflows 2020-02-20 21:05:25 -05:00
executor.go chore: modernize code (#857) 2025-08-15 04:54:13 +00:00
executor_test.go test: fix data race in TestNewParallelExecutor... tests (#860) 2025-08-15 09:12:32 +00:00
file.go chore: use the same .golangci.yml as the runner & gofumpt over gofmt (#206) 2025-07-28 12:26:41 +00:00
job_error.go fix: continue jobs + steps after failure (#840) 2021-12-08 20:57:42 +00:00
line_writer.go integration test 2020-02-24 12:48:12 -08:00
line_writer_test.go integration test 2020-02-24 12:48:12 -08:00
logger.go feat: add logger hook for standalone job logger 2022-11-22 14:00:13 +08:00
outbound_ip.go feat: improve GetOutboundIP (#1707) 2023-03-31 13:28:08 +00:00
randname.go chore: panic if a random name cannot be created (#853) 2025-08-14 15:46:01 +00:00
sha256.go fix: sum256 the container name so derivations do not overflow (#191) 2025-07-25 09:44:25 +00:00
sha256_test.go fix: sum256 the container name so derivations do not overflow (#191) 2025-07-25 09:44:25 +00:00