molecule-core/workspace-server/internal
Molecule AI Core-BE e3ea8ff74a [core-be-agent]
fix(plugins/test): skip TestLocalResolver_BubblesUpCopyFailure when running as root

Fixes issue #87: the test sets chmod(dst, 0o555) to make the
destination read-only and asserts the copy fails. On Linux, root
bypasses filesystem permissions and can write to 0o555 directories,
so the copy succeeds when running as root and the assertion fails.

Fix: check os.Getuid() == 0 at the start of the test and skip with
a clear message. Mirrors the existing skip in
TestLocalResolver_CopyFileSourceUnreadable (line 175) which already
handles the same root-bypass issue for unreadable source files.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-09 22:21:35 +00:00
..
artifacts
buildinfo
bundle
channels
crypto
db
envx
events
handlers test(delegation): add isDeliveryConfirmedSuccess helper + 10-case table test 2026-05-09 22:12:04 +00:00
imagewatch
memory
messagestore
metrics
middleware
models
orgtoken
pendinguploads fix(pendinguploads): wait for error metric before test exit 2026-05-08 07:37:45 -07:00
plugins [core-be-agent] 2026-05-09 22:21:35 +00:00
provisioner tech-debt: rename molecule-monorepo-net -> molecule-core-net 2026-05-09 20:51:48 +00:00
provlog
registry
router
scheduler
supervised
textutil
ws
wsauth