fix: Restore Heroku deploy button setup#885
Conversation
|
I will reformat the title to use the proper commit message syntax. |
|
🚀 Thanks for opening this pull request! We appreciate your effort in improving the project. Please let us know once your pull request is ready for review. Tip
Note Please respond to review comments from AI agents just like you would to comments from a human reviewer. Let the reviewer resolve their own comments, unless they have reviewed and accepted your commit, or agreed with your explanation for why the feedback was incorrect. Caution Pull requests must be written using an AI agent with human supervision. Pull requests written entirely by a human will likely be rejected, because of lower code quality, higher review effort and the higher risk of introducing bugs. Please note that AI review comments on this pull request alone do not satisfy this requirement. Our CI and AI review are safeguards, not development tools. If many issues are flagged, rethink your development approach. Invest more effort in planning and design rather than using review cycles to fix low-quality code. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThis PR updates Heroku deployment configuration, build automation, and documentation. The app.json manifest is updated to mark DATABASE_URI as required, add secret generation for MASTER_KEY, and migrate SERVER_URL to https. A heroku-postbuild script is added to package.json, and README instructions are revised to remove the retired mLab MongoDB add-on and explain external database setup. ChangesHeroku Deployment Configuration Update
🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 6 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (6 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 OpenGrep (1.20.0)OpenGrep fatal error (exit code 2): [00.24][ERROR]: Error: exception Unix_error: No such file or directory stat app.json 🔧 Checkov (3.2.526)package.json2026-05-10 23:26:01,807 [MainThread ] [ERROR] Template file not found: package.json ... [truncated 2548 characters] ... k__) app.json2026-05-10 23:26:01,810 [MainThread ] [ERROR] Template file not found: app.json ... [truncated 2512 characters] ... 01,945 [MainThread ] [WARNI] Secret scanning: could not process file app.json 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. Comment |
|
Ready for review. This is scoped to #404 and updates the Heroku deploy-button path that was still using the retired mLab add-on and missing the build step needed for |
Fixes #404.
This refreshes the Heroku quick-start path so the deploy button no longer depends on the retired mLab add-on and the app can build the TypeScript output that
npm startexpects.Changes:
DATABASE_URIprompt toapp.jsonmongolabadd-on and deprecatedimagekey fromapp.jsonSERVER_URLexample to current HTTPS valuesMASTER_KEYinstead of shipping a fixed defaultheroku-postbuildso Heroku buildsdist/before runningnode dist/index.jsVerification:
app.jsonandpackage.jsonwith Nodegit diff --checkI did not create a live Heroku app from this environment, so this PR focuses on making the manifest and documented flow current and internally consistent.
Summary by CodeRabbit
Documentation
Chores