Skip to content

fix: data race with Kill() and Run() - #1774

Open
andrinoff wants to merge 1 commit into
mainfrom
fix/data-race-kill-run
Open

fix: data race with Kill() and Run()#1774
andrinoff wants to merge 1 commit into
mainfrom
fix/data-race-kill-run

Conversation

@andrinoff

Copy link
Copy Markdown
Member

What?

Fixes a crash that happens when Kill() is called immediately after Run(), before the program has finished starting up.

Why?

Fixes #1689

Signed-off-by: drew <me@andrinoff.com>
@codecov

codecov Bot commented Aug 19, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 80.00000% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 57.42%. Comparing base (930e18c) to head (016adb6).

Files with missing lines Patch % Lines
tea.go 80.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1774      +/-   ##
==========================================
+ Coverage   57.40%   57.42%   +0.01%     
==========================================
  Files          25       25              
  Lines        1324     1334      +10     
==========================================
+ Hits          760      766       +6     
- Misses        474      476       +2     
- Partials       90       92       +2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: Kill() invoked shortly after Run() results in data races

1 participant