Confine cleanup and use held session locks

This commit is contained in:
2026-08-10 18:14:09 +00:00
parent 18ddf00d3d
commit 363313d99c
25 changed files with 919 additions and 72 deletions

View File

@@ -0,0 +1,15 @@
//go:build !linux && !darwin && !windows
package artifacts
import (
"fmt"
"os"
"runtime"
)
func acquireHeldFileLock(_ *os.File) error {
return fmt.Errorf("held file locks are unsupported on %s", runtime.GOOS)
}
func releaseHeldFileLock(_ *os.File) error { return nil }