[Feature Request] Architecture and UX Improvement
Questions
Hi, @Wendong-Fan Eigent-ai team. I took a deep look and found some potential issues for architecture, UX, backend and infrastructure on Eigent.
- Electron single-instance lock in dev
requestSingleInstanceLock()can cause dev server to exit when a second instance starts.
- Layout visibility race
setWaitingBackend()can briefly show the install screen after content has already rendered.
- Zustand hydration
- Persisted auth may hydrate after the first render, causing temporary redirects or flicker.
- Norate limiting
- Endpoints are not rate-limited, increasing abuse and Dos risk.
- CORS configuration
- Missing or overly permissive CORS can allow unwanted origins
- Backend API keys in env
- API keys and config are set in os.environ per request.
I'm confident that they will be addressed by me. Please assign it to me, so I can implement the improvements soon. Thanks
Hi @dataCenter430 , thanks for the detailed review, i have assigned this issue to you, feel free to create separate small PRs to fix items you listed, much appreciate it!
@Wendong-Fan thank you for your assign. I'll get started soon.
Hi, @Wendong-Fan
I already created small PRs for the features.
these are only suggestions based on my deep review.
so you can make a decision after review them. thank you.
Hi @Wendong-Fan and @Pakchoioioi, After a thorough review of Eigent, I created this issue as a feature request, and @Wendong-Fan kindly assigned it to me. I have already committed the related improvements. However, I noticed that it was removed from Milestone 15 by @Pakchoioioi , and I’m not sure about the reason. Could you please clarify if there were any concerns with the implementation? If there are any issues or aspects that need refinement, I’d really appreciate your feedback on what could be improved so we can enhance Eigent further. Looking forward to your guidance. Thank you!
@dataCenter430 Hi there, thanks for the quick response.
At the moment our development resources are quite limited, and the review burden is very high. We also have several higher-priority product features that we need to focus on first.
I’ll re-evaluate and schedule this item based on overall priority within the next three weeks. Thanks a lot for your patience and understanding.
Hi, @Pakchoioioi thank you for your reply. I really appreciate you took a look for my PRs. Okay, I'd love to have the chance to contribute to Eigent continuously. If you have any issues I can help, pls let me know. And I hope we remain the PRs for this issue as open status, if you will take a look within 3 weeks. Best regards
@dataCenter430 Thank you so much. Right now, we’re actually more short-handed on PR reviews and testing. If you’re open to contributing, that would be a huge help.