Add admin SSHV console, tips persistence, HTTPS health, admin UX and deployment improvements - #79
Conversation
|
CodeAnt AI is reviewing your PR. Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review infoConfiguration used: defaults Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
📝 WalkthroughWalkthroughThe PR removes three duplicate precheck blocks from Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
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 |
Nitpicks 🔍
|
|
CodeAnt AI finished reviewing your PR. |
User description
Motivation
Description
WEBAPP_HMAC_KEYto.env.example, update.gitignore, addLICENSEandSECURITY.md, removeDockerfile, and updateREADME.mdto document systemd deployment.index.js: implement a lightweight admin VPS console (/sshv) with session persistence, editor mode, command execution with safety checks, session GC, and NDJSON admin event logging; addvalidateSafePathto restrict file access; replace health client calls to support HTTPS viaisHealthHttpsConfigured/requestHealthPayload; update WebApp init-data verification to useWEBAPP_HMAC_KEY; enhance persistent user/admin menus, ephemeral promo prompts, admin-mode toggles, and many admin UX refinements; implement tips/helpful-messages import, export and persistence plus smarter scheduler selection.deploy.shto create data/log directories and set ownership/permissions; expandprod-run.shto manage service user creation, secure file permissions, resolve TLS-based health URL, detect and clear port conflicts, wait for health checks, and harden the generated systemd unit (ReadWritePaths, ProtectSystem, UMask, etc.).scripts/self-diagnose.shto produce a consistent snapshot report; add helpers for atomic JSON writes and safe path handling; removeDockerfilein favor of systemd run scripts.Testing
npm cias part of the deploy flow and ensured install completed without fatal errors (success).Codex Task
CodeAnt-AI Description
Add admin VPS console, persistent tips, HTTPS health checks, and safer deployment
What Changed
Impact
✅ Persistent VPS console sessions✅ HTTPS health checks✅ Safer systemd deployment and file permissions💡 Usage Guide
Checking Your Pull Request
Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.
Talking to CodeAnt AI
Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:
This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.
Example
Preserve Org Learnings with CodeAnt
You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:
This helps CodeAnt AI learn and adapt to your team's coding style and standards.
Example
Retrigger review
Ask CodeAnt AI to review the PR again, by typing:
Check Your Repository Health
To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.
Summary by CodeRabbit