Skip to content

Fix judge image runtime permissions - #39

Merged
JacobLinCool merged 1 commit into
mainfrom
a-fix-container-runtime-permissions
Aug 13, 2026
Merged

Fix judge image runtime permissions#39
JacobLinCool merged 1 commit into
mainfrom
a-fix-container-runtime-permissions

Conversation

@JacobLinCool

@JacobLinCool JacobLinCool commented Aug 13, 2026

Copy link
Copy Markdown
Member

Summary

  • make copied runtime directories readable and traversable by the unprivileged wasmoj user before sealing the image
  • import every judge runtime package and verify the embedded identity as wasmoj during the Docker build
  • lock this permission and dependency smoke in the container build-context test

Production evidence

A real Official Submit failed both bounded attempts before any callback. Cloudflare historical logs and the exact production image both report ERR_MODULE_NOT_FOUND for @wasm-oj/core/dist/index.js. The file exists, but the renamed dist directory is 0500 root:root; the runtime user cannot traverse it.

Verification

  • focused release tests: 12/12 PASS under Node 24.18
  • full ESLint PASS
  • real linux/amd64 image build PASS
  • image Config.User is wasmoj
  • declared-user /health and /identity PASS
  • diff check PASS
  • Jacob checkpoint PASS

@JacobLinCool
JacobLinCool merged commit 2f22e94 into main Aug 13, 2026
1 check passed
@JacobLinCool
JacobLinCool deleted the a-fix-container-runtime-permissions branch August 13, 2026 00:23
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.

1 participant