Skip to content

chore(render): post-fix cleanup — entrypoint polish, model bump, README expansion#3

Merged
Ho1yShif merged 2 commits into
mainfrom
cleanup/render-template-polish
Jul 7, 2026
Merged

chore(render): post-fix cleanup — entrypoint polish, model bump, README expansion#3
Ho1yShif merged 2 commits into
mainfrom
cleanup/render-template-polish

Conversation

@Ho1yShif

@Ho1yShif Ho1yShif commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

What & why

A hygiene pass over the Render deploy template after the live-deploy fix (PR #2). No change to how the deploy behaves — the entrypoint's runtime logic and render.yaml are unchanged.

Changes

  • entrypoint.sh — readability only: dropped the redundant 2>&1 on the mkdir/chown warnings (both streams already reach the container log) and the dead id -un 2>/dev/null || id -u fallback (id -un doesn't fail for a valid uid). Kept the diagnostic [entrypoint] … echoes, the setpriv probe, and the root fallback — all load-bearing.
  • render-config.json — bumped the default model to anthropic/claude-opus-4-8 (latest Opus).
  • README.md — added a cost/plan expectation note (Starter plan is paid), synced the model reference, and added Troubleshooting and Updating from upstream sections.

No Dockerfile or render.yaml changes — they were already accurate and the dockerCommand routing is load-bearing.

Verification

Local docker build + boot on both privilege paths, GET / = 200 on each:

  • setpriv path[entrypoint] dropping privileges to nanobot via setpriv, 200.
  • caps-dropped fallback (--cap-drop=SETUID --cap-drop=SETGID) → [entrypoint] setpriv privilege-drop not permitted — running app as root, 200.

Also shellcheck -s sh entrypoint.sh clean and render-config.json valid JSON.

Follow-up for the maintainer (not in this PR)

  • The PYTHONUNBUFFERED/PYTHONFAULTHANDLER env vars added by hand to the running service during debugging are now baked into the Dockerfile — remove them from the service in the dashboard to avoid duplication (or let a Blueprint sync drop them).

🤖 Generated with Claude Code

Ho1yShif and others added 2 commits July 7, 2026 12:45
Post-fix hygiene pass on the Render deploy template (no behavior change to
the deploy):

- entrypoint.sh: drop redundant 2>&1 on mkdir/chown and the dead id -un
  fallback; keep the diagnostic echoes, setpriv probe, and root fallback.
- render-config.json: bump default model to anthropic/claude-opus-4-8.
- README.md: add a cost/plan expectation note, sync the model reference,
  and add Troubleshooting and Updating-from-upstream sections.

Verified locally: docker build + boot on both the setpriv privilege-drop
path and the caps-dropped root-fallback path, GET / = 200 on each.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Ho1yShif Ho1yShif merged commit 162d4b8 into main Jul 7, 2026
6 checks passed
@Ho1yShif Ho1yShif deleted the cleanup/render-template-polish branch July 7, 2026 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant