Skip to content

fix(docker): accept Unraid uid mappings#38098

Merged
benbarclay merged 1 commit into
NousResearch:mainfrom
sweetcornna:codex/fix-38070-unraid-uid
Jun 4, 2026
Merged

fix(docker): accept Unraid uid mappings#38098
benbarclay merged 1 commit into
NousResearch:mainfrom
sweetcornna:codex/fix-38070-unraid-uid

Conversation

@sweetcornna

Copy link
Copy Markdown
Contributor

Summary

  • allow non-root low numeric HERMES_UID/HERMES_GID values such as Unraid's 99:100 instead of silently falling back to 10000
  • include legacy pairing/ and new platforms/pairing/ stores in Docker stage2 targeted ownership repair and boot seeding
  • add stage2 hook regression coverage for low NAS IDs and pairing ownership directories

Fixes #38070.

Verification

  • /Users/cornna/project/hermes-agent/.venv/bin/python -m pytest tests/tools/test_stage2_hook_unraid_uid.py tests/tools/test_stage2_hook_puid_pgid.py tests/tools/test_stage2_hook_toplevel_chown.py tests/tools/test_stage2_hook_gateway_bootstrap_state.py tests/test_docker_stage2_browser_discovery.py -q -> 29 passed
  • sh -n docker/stage2-hook.sh
  • /Users/cornna/project/hermes-agent/.venv/bin/python -m ruff check tests/tools/test_stage2_hook_unraid_uid.py -> All checks passed
  • git diff --check HEAD~1 HEAD

@alt-glitch alt-glitch added type/bug Something isn't working P2 Medium — degraded but workaround exists area/docker Docker image, Compose, packaging backend/docker Docker container execution labels Jun 3, 2026
@benbarclay
benbarclay merged commit 7402706 into NousResearch:main Jun 4, 2026
25 checks passed
Yuki-14544869 pushed a commit to Yuki-14544869/hermes-agent that referenced this pull request Jun 4, 2026
davidgut1982 pushed a commit to davidgut1982/hermes-agent that referenced this pull request Jun 5, 2026
changman pushed a commit to changman/hermes-agent that referenced this pull request Jun 10, 2026
alt-glitch pushed a commit that referenced this pull request Jun 14, 2026
kossteg pushed a commit to kossteg/hermes-agent that referenced this pull request Jun 16, 2026
T02200059 pushed a commit to T02200059/hermes-agent that referenced this pull request Jun 18, 2026
xyshanren pushed a commit to xyshanren/hermes-agent-cn that referenced this pull request Jun 25, 2026
waefrebeorn pushed a commit to waefrebeorn/slermes that referenced this pull request Jul 2, 2026
liuchanchen pushed a commit to liuchanchen/hermes-agent that referenced this pull request Jul 3, 2026
santhreal pushed a commit to santhreal/hermes-agent that referenced this pull request Jul 13, 2026
donbowman pushed a commit to donbowman/hermes-agent that referenced this pull request Jul 13, 2026
kulikman pushed a commit to kulikman/hermes-agent that referenced this pull request Jul 16, 2026
Gravezzz pushed a commit to Gravezzz/hermes-agent that referenced this pull request Jul 21, 2026
waym0reom3ga added a commit to waym0reom3ga/autolycus-agent that referenced this pull request Jul 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/docker Docker image, Compose, packaging backend/docker Docker container execution P2 Medium — degraded but workaround exists type/bug Something isn't working

Projects

None yet

3 participants