fix: improve Render deployment config for reliability#50
Merged
GeneralJerel merged 3 commits intomainfrom Mar 25, 2026
Merged
Conversation
- Switch agent from pserv to web type (enables health checks) - Switch app from Docker to native Node runtime - Add auto-scaling (1-3 instances) on both services - Add health check endpoints (agent /ok, app /api/health) - Pin NODE_VERSION=22 - Update fromService reference for new web type
Collaborator
Author
ReviewLooks good! A few minor notes for awareness:
Otherwise the changes are clean and well-structured. Agent being public is confirmed intentional. |
- Replace useState/useEffect mounted pattern with useSyncExternalStore for hydration-safe client detection - Wrap setAgentState in useCallback to stabilize effect dependencies - Replace ref-during-render with state+effect for pending_template capture - Fix ConfirmChangesProps types (remove any, drop unused args prop) - Add eslint-disable for intentionally scoped effect dependencies Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file depends on packages not in the project's package.json (@tiptap/react, markdown-it, diff) and was not previously tracked. Removing to fix CI build failures. Co-Authored-By: Claude Opus 4.6 (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.
Summary
pservtowebtype (enables health checks via/ok)/api/healthendpoint for app health checksNODE_VERSION=22, addSKIP_INSTALL_DEPS=truefromServicereference for new web typeTest plan
/api/healthreturns200 OK/okhealth check passes🤖 Generated with Claude Code