Skip to content

fix: prevent data race on scope refreshes within remote.writer - #2396

Merged
Subserial merged 1 commit into
google:mainfrom
Subserial:race-2391
Aug 5, 2026
Merged

Subserial merged 1 commit into
google:mainfrom
Subserial:race-2391

Conversation

@Subserial

Copy link
Copy Markdown

Fixes #2391

@codecov-commenter

codecov-commenter commented Aug 5, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 57.42%. Comparing base (2ea098f) to head (1f58d1d).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2396      +/-   ##
==========================================
+ Coverage   57.40%   57.42%   +0.01%     
==========================================
  Files         166      166              
  Lines       11554    11558       +4     
==========================================
+ Hits         6633     6637       +4     
  Misses       4142     4142              
  Partials      779      779              

☔ 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.

@Subserial
Subserial force-pushed the race-2391 branch 2 times, most recently from 0db84ba to 849fa6c Compare August 5, 2026 00:50
Co-authored-by: mzihlmann <mzihlmann@users.noreply.github.com>
@Subserial
Subserial merged commit 43cc3e8 into google:main Aug 5, 2026
19 checks passed
social4hyq pushed a commit to social4hyq/homebrew-core that referenced this pull request Sep 20, 2026
crane 0.21.9

Created-by: HarmonybrewBot
Commit-by: HarmonybrewBot
Merged-by: HarmonybrewBot
Description: Created by `brew bump`

---

Created with `brew bump-formula-pr`.<details>
  <summary>release notes</summary>
  <pre>## What's Changed
* actions: pin slsa generator by version by @Subserial in google/go-containerregistry#2395
* fix: prevent data race on scope refreshes within remote.writer by @Subserial in google/go-containerregistry#2396
* fix: remove '.' from unsafe path prefixes by @Subserial in google/go-containerregistry#2400
* build(deps): bump the actions group with 3 updates by @dependabot[bot] in google/go-containerregistry#2398


**Full Changelog**: https://github.com/google/go-containerregistry/compare/v0.21.8...v0.21.9</pre>
  <p>View the full release notes at <a href="https://github.com/google/go-containerregistry/releases/tag/v0.21.9">https://github.com/google/go-containerregistry/releases/tag/v0.21.9</a>.</p>
</details>
<hr>

See merge request: Harmonybrew/homebrew-core!15944
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.

Data race on writer.client: unguarded reads vs maybeUpdateScopes write during concurrent layer uploads

3 participants