chore(render): post-fix cleanup — entrypoint polish, model bump, README expansion#3
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.yamlare unchanged.Changes
entrypoint.sh— readability only: dropped the redundant2>&1on themkdir/chownwarnings (both streams already reach the container log) and the deadid -un 2>/dev/null || id -ufallback (id -undoesn't fail for a valid uid). Kept the diagnostic[entrypoint] …echoes, thesetprivprobe, and the root fallback — all load-bearing.render-config.json— bumped the default model toanthropic/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
Dockerfileorrender.yamlchanges — they were already accurate and thedockerCommandrouting is load-bearing.Verification
Local
docker build+ boot on both privilege paths,GET /= 200 on each:[entrypoint] dropping privileges to nanobot via setpriv, 200.--cap-drop=SETUID --cap-drop=SETGID) →[entrypoint] setpriv privilege-drop not permitted — running app as root, 200.Also
shellcheck -s sh entrypoint.shclean andrender-config.jsonvalid JSON.Follow-up for the maintainer (not in this PR)
PYTHONUNBUFFERED/PYTHONFAULTHANDLERenv vars added by hand to the running service during debugging are now baked into theDockerfile— remove them from the service in the dashboard to avoid duplication (or let a Blueprint sync drop them).🤖 Generated with Claude Code