Skip to content

fix(OMN-12723): bootstrap runtime volume ownership - #1876

Merged
jonahgabriel merged 5 commits into
devfrom
jonah/omn-12723-runtime-volume-bootstrap
Jun 6, 2026
Merged

jonahgabriel merged 5 commits into
devfrom
jonah/omn-12723-runtime-volume-bootstrap

Conversation

@jonahgabriel

@jonahgabriel jonahgabriel commented Jun 6, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • start the runtime image entrypoint as a bounded root bootstrap phase
  • repair fresh Docker named volume ownership for /app/data, /app/data/delegation, /app/logs, and /app/tmp
  • re-exec the entrypoint as omniinfra with gosu before fingerprint stamping, Bifrost rendering, or runtime launch
  • update Docker security tests and add a fresh-volume bootstrap regression guard

Verification

  • sh -n docker/entrypoint-runtime.sh
  • uv run ruff format tests/unit/docker/test_docker_security.py tests/unit/docker/test_runtime_entrypoint_volume_bootstrap.py
  • uv run ruff check --fix tests/unit/docker/test_docker_security.py tests/unit/docker/test_runtime_entrypoint_volume_bootstrap.py
  • uv run pytest tests/unit/docker/test_docker_security.py tests/unit/docker/test_runtime_entrypoint_volume_bootstrap.py -q

Evidence-Ticket: OMN-12723

Evidence-Source: 80ab064b87c33f35ecd89431b16b0b83cd278a9a

@coderabbitai

coderabbitai Bot commented Jun 6, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

@jonahgabriel, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 31 minutes and 52 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: bf194056-8502-4b9c-a7be-246b95c7220f

📥 Commits

Reviewing files that changed from the base of the PR and between 9e2af41 and 813feb3.

📒 Files selected for processing (7)
  • contracts/OMN-12723.yaml
  • docker/Dockerfile.runtime
  • docker/entrypoint-runtime.sh
  • tests/integration/docker/test_docker_integration.py
  • tests/unit/docker/test_docker_performance.py
  • tests/unit/docker/test_docker_security.py
  • tests/unit/docker/test_runtime_entrypoint_volume_bootstrap.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch jonah/omn-12723-runtime-volume-bootstrap

Comment @coderabbitai help to get the list of available commands and usage tips.

@jonahgabriel
jonahgabriel force-pushed the jonah/omn-12723-runtime-volume-bootstrap branch from 94d8a27 to a0d1961 Compare June 6, 2026 00:32
@jonahgabriel
jonahgabriel added this pull request to the merge queue Jun 6, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 6, 2026
@jonahgabriel
jonahgabriel added this pull request to the merge queue Jun 6, 2026
Merged via the queue into dev with commit 8560104 Jun 6, 2026
57 checks passed
@jonahgabriel
jonahgabriel deleted the jonah/omn-12723-runtime-volume-bootstrap branch June 6, 2026 01:49
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