mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-10 03:51:54 +00:00
Additional safeguards to prevent dev/production config conflicts: 1. **hot-dev.sh**: Explicitly export PULSE_DATA_DIR before starting backend - Ensures backend always uses /opt/pulse/tmp/dev-config in dev mode - Prevents accidental fallback to /etc/pulse - Adds logging to show which config directory is being used 2. **sync-production-config.sh**: Smart encryption key handling - Never overwrites existing dev encryption key - Warns if production key is newer (unusual scenario) - Keeps dev key to avoid breaking encrypted configs - Adds detailed logging of sync decisions These changes ensure that when Vite restarts: - Backend always uses the correct dev-config directory - Sync script never breaks working dev configuration - All decisions are logged clearly for debugging Related to previous commit fixing nodes.enc corruption. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| dev | ||
| systemd | ||
| .go-version | ||
| build-release.sh | ||
| dev-hot.sh | ||
| hot-dev.sh | ||
| install-go-toolchain.sh | ||
| make-tests-safe.sh | ||
| protect-mock-nodes.sh | ||
| pulse-auto-update.sh | ||
| run-tests-mock.sh | ||
| sync-production-config.sh | ||
| take-all-screenshots.js | ||
| take-screenshots.js | ||
| test-vm-disk.sh | ||
| toggle-mock-pure.sh | ||
| toggle-mock.sh | ||