Skip to content

docs: defer dedicated-server migration with explicit gates#97

Draft
ComBba wants to merge 1 commit into
mainfrom
codex/dedicated-runtime-contract
Draft

docs: defer dedicated-server migration with explicit gates#97
ComBba wants to merge 1 commit into
mainfrom
codex/dedicated-runtime-contract

Conversation

@ComBba

@ComBba ComBba commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Summary

  • record Glasshat/Panelyst as explicitly deferred
  • define the dedicated-runtime, data-compatibility, security, CD quarantine, and rollback backlog
  • make clear that this PR authorizes no deployment or infrastructure mutation

Validation

  • documentation-only change
  • git diff --cached --check passed before commit

Blocking evidence for future work

  • source PostgreSQL major must be proven from the archived dump before choosing a restore image
  • server port/listener/nginx/Cloudflare/Docker inventory must be completed before placement

This Draft PR is the durable TODO requested for later execution.

@coderabbitai

coderabbitai Bot commented Jul 16, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 35f03954-e4b6-4c3a-a114-5cd6f46b3d4d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/dedicated-runtime-contract

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a comprehensive backlog and TODO list (docs/dedicated-migration-todo.md) for the dedicated-server migration of Glasshat/Panelyst. The review feedback highlights two critical operational and security improvements: first, specifying writable mounts (such as tmpfs or volumes) for read-only database and application containers to prevent startup failures, and second, resolving a permission conflict where non-root containers would be unable to read root-owned runtime secret files.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment on lines +39 to +40
- [ ] Produce non-root, read-only, resource-limited API, web, edge, PostgreSQL, and
Phoenix containers with private networks and zero host-published ports.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

When running containers with a read-only root filesystem, stateful or runtime-heavy services like PostgreSQL and Phoenix will fail to start unless they have writable paths for data, sockets, and temporary files. Consider specifying that these containers require appropriate writable mounts (such as tmpfs or volumes) for directories like /var/lib/postgresql/data, /var/run/postgresql, and /tmp.

Suggested change
- [ ] Produce non-root, read-only, resource-limited API, web, edge, PostgreSQL, and
Phoenix containers with private networks and zero host-published ports.
- [ ] Produce non-root, read-only (with necessary writable tmpfs/volume mounts for database/app runtimes), resource-limited API, web, edge, PostgreSQL, and
Phoenix containers with private networks and zero host-published ports.

Comment on lines +41 to +43
- [ ] Move runtime secrets to root-owned files; keep only secret names and schemas in
Git. Validate that images, logs, Compose output, and CI artifacts contain no
secret values.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

security-medium medium

There is a potential conflict between running containers as non-root (line 39) and storing runtime secrets in root-owned files (line 41). If the secret files are strictly root-readable (e.g., permissions 0400 or 0600), the non-root container processes will encounter 'Permission denied' errors when attempting to read them. Consider specifying that secret files should be owned by or readable by the specific non-root UID/GID used by the containers, or managed via Docker secrets which handles container-user ownership automatically.

Suggested change
- [ ] Move runtime secrets to root-owned files; keep only secret names and schemas in
Git. Validate that images, logs, Compose output, and CI artifacts contain no
secret values.
- [ ] Move runtime secrets to securely mounted files (e.g., via Docker secrets with appropriate non-root ownership); keep only secret names and schemas in
Git. Validate that images, logs, Compose output, and CI artifacts contain no
secret values.

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