Conversation
Summary of ChangesHello @w0uldy0u, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! 이 풀 리퀘스트는 백엔드 API 서버의 배포 안정성을 향상시키기 위해 자동 롤백 기준을 Highlights
Changelog
Ignored Files
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
이 PR은 API 서버의 헬스체크 기준을 변경하여 DB나 Redis와 같은 외부 의존성의 일시적인 문제로 인해 서비스가 롤백되는 것을 방지하는 것을 목표로 하고 있습니다. liveness와 readiness 프로브를 분리한 것은 좋은 접근입니다. 또한, 협업 기능에서 발생하는 업데이트를 Redis Stream에 저장하여 영속성을 확보하고, 이에 대한 테스트 코드를 추가한 점도 긍정적입니다. 몇 가지 개선점을 제안합니다. 스테이징 환경의 docker-compose.yml에서 헬스체크가 의도와 다르게 동작할 수 있는 부분을 수정하고, Redis에 데이터를 저장할 때 원자성을 보장하도록 개선하는 것을 고려해 보세요.
backend/api/src/main/java/com/yat2/episode/collaboration/RedisStreamStore.java
Show resolved
Hide resolved
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: da01bd54ae
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
backend/api/src/main/java/com/yat2/episode/collaboration/CollaborationService.java
Outdated
Show resolved
Hide resolved
kimhji
left a comment
There was a problem hiding this comment.
혹시 merge into dev에서 기존에 base로 두신 branch로 변경 가능할까요?
변경사항 파악이 어려워요 🥲
…ub.com/softeerbootcamp-7th/Team2-Episode into feat/#356/use_redis_to_save_yjs_update
…auto_rollback_using_liveness
해뒀습니다! |
Closes #366
목적
API 서버의 문제가 아닌, 잠시 DB 혹은 Redis와의 연결이 불안정할때 자동으로 롤백 하는 것을 방지합니다.