molecule-core/workspace-server
Molecule AI Core-DevOps e65633bf15
Some checks failed
sop-tier-check / tier-check (pull_request) Failing after 4s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 4s
audit-force-merge / audit (pull_request) Has been skipped
fix(test): skip TestLocalResolver_BubblesUpCopyFailure when uid==0
os.Chmod(dst, 0o555) silently passes when os.Geteuid() == 0 because
root bypasses POSIX permission checks. A previous attempt to use a
symlink to /dev/full also fails: Go's os.MkdirAll resolves the symlink
during path traversal and the kernel allows mkdir("/dev/full") as a
device-table entry — io.Copy to /dev/full then succeeds with 0 bytes
written and returns nil.

The honest, consistent fix mirrors TestLocalResolver_CopyFileSourceUnreadable:
skip when running as root. The write-failure propagation logic is
exercised correctly in non-root CI environments.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-09 22:22:44 +00:00
..
cmd
internal fix(test): skip TestLocalResolver_BubblesUpCopyFailure when uid==0 2026-05-09 22:22:44 +00:00
migrations
pkg/provisionhook
.air.toml
.ci-force
.gitignore
.golangci.yaml
Dockerfile
Dockerfile.dev
Dockerfile.tenant
entrypoint-tenant.sh
go.mod
go.sum