You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jobs@airflow.apache.org by GitBox <gi...@apache.org> on 2026/04/08 22:33:02 UTC

[GH] (airflow/feat/add-pt-br-translation): Workflow run "Tests" failed!

The GitHub Actions job "Tests" on airflow.git/feat/add-pt-br-translation has failed.
Run started by GitHub user andreahlert (triggered by andreahlert).

Head commit for run:
60ee6bb8fab6b38d30d1a4817debf274b2b58a55 / André Ahlert <an...@aex.partners>
fix(go-sdk): fix race conditions in worker test suite

Three parallel tests (TestTaskNotRegisteredErrors,
TestStartContextErrorTaskDoesntStart, TestTaskHeartbeatsWhileRunning)
shared a single WorkerSuite instance and called s.T().Parallel(),
causing concurrent writes to the shared registry map (fatal error:
concurrent map writes) and a data race on the callCount variable
between the heartbeat goroutine and the test assertion.

Fix: remove s.T().Parallel() so tests run sequentially within the
suite (testify suites share a single struct instance, making parallel
execution unsafe without external synchronization). Also switch
callCount to sync/atomic.Int32 to eliminate the goroutine race
between the heartbeat goroutine and the assertion read.

Signed-off-by: André Ahlert <an...@aex.partners>

Report URL: https://github.com/apache/airflow/actions/runs/24157647305

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: jobs-unsubscribe@airflow.apache.org
For additional commands, e-mail: jobs-help@airflow.apache.org