Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loss of Project State and API Keys After System Restart/Ctrl-C #60

Open
jroth55 opened this issue Nov 4, 2024 · 1 comment
Open

Loss of Project State and API Keys After System Restart/Ctrl-C #60

jroth55 opened this issue Nov 4, 2024 · 1 comment

Comments

@jroth55
Copy link

jroth55 commented Nov 4, 2024

Issue: Loss of project state, API keys, and generated code after session interruption (Ctrl-C) or system restart.

Reproduction:
Run npx @openinterface/cofounder
Set up API keys, generate project
Interrupt (Ctrl-C) or restart system
Run npx @openinterface/cofounder again
Result: All progress and configuration lost

Impact:
Costly regeneration of projects required
Lost development time
Poor developer experience

Expected Behavior:

  • Persist API keys securely
  • Save project state
  • Maintain generated code
  • Allow session resume

Proposed Solutions:
Git Integration:

  • Auto-init and commit at key generation steps
  • Track progress while excluding sensitive data
  • Enable rollback capabilities
  • .gitignore for sensitive files

Local Storage:

  • Secure API key storage
  • Project state persistence
  • Checkpoint system
  • Recovery mechanism

Impact: High cost to regenerate code
Note: Generation process is resource-intensive and expensive. A persistence mechanism is crucial for efficient development workflow.

@hongthana
Copy link

Not sure if this helps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants