Skip to content

Commit b1ea6fa

Browse files
authored
Version 0.48.1-RC1 (#3781)
* Update version.txt * Replace mholt/archiver with mholt/archives. * Pass blob readers to unarchivers rather than having a dedicated blob unarchiver. * Fixed unarchiving of links. * Try to fix hardlink failures. Revert "Try to fix hardlink failures." This reverts commit feb27a3. Update unarchiver.go * Use correct []byte reader interface. * ProxyReader needs to implement io.Seeker for unpacking zip archives. * Address CVEs. * Placate check-format * Update macOS runner. macos-15 is ARM, so we need macos-15-intel. * Updated golangci-lint dev dependency and migrated config. * Allow performance tests to run for up to a minute. * Updated changelog for 0.48.1. * Updated GitHub Actions to Go 1.24. * Updated Go to 1.24.11 to remediate CVEs. * Avoid concurrent map read/write. * Updated changelog.
1 parent 2ad0297 commit b1ea6fa

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

changelog.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ and this project adheres to
1010

1111
### Security
1212

13-
Addressed all known, fixable CVEs.
13+
- Addressed all known, fixable CVEs.
14+
15+
### Fixed
16+
17+
- Fixed occasional panic due to a concurrent map read/write during runtime setup.
1418

1519
## 0.48.0
1620

pkg/runtime/depot.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,9 @@ func (d *depot) SetCacheSize(mb int) {
160160
// Artifact metadata comes from the depot's cache, and may not exist for installed artifacts that
161161
// predate the cache.
162162
func (d *depot) Exists(id strfmt.UUID) (bool, *artifactInfo) {
163+
d.mapMutex.Lock()
164+
defer d.mapMutex.Unlock()
165+
163166
if _, ok := d.artifacts[id]; ok {
164167
if artifact, exists := d.config.Cache[id]; exists {
165168
return true, artifact

0 commit comments

Comments
 (0)