merge 충돌 해결#129
Merged
Merged
Conversation
prod 배포 : 채점, 포트폴리오 등 개선
prod 배포: 포트폴리오, 소스코드 제한, 지원자 수, 공지 개선
prod 배포: trailing-slash/update-portfolio-url
prod 배포: kotlin jvm target 변경 / base64 출력 지원
prod 배포: recruiting 종료 후 제출 막기
prod 배포: 리크루팅 결과 api 추가 / admin 리팩토링
프로그래머스 모집 기능 추가 (포트폴리오 v2 등) --------- Co-authored-by: fivessun-ridi <fivessun@ridi.com>
- SSE 기본 ping 이벤트 간격 3600초로 변경 - CodeSubmissionResult 가 INTERNAL_SERVER_ERROR 일 때 CodeSubmission 를 Error로 판단
📝 Walkthrough개요Position 열거형(enum) 내부에 주석 한 줄이 추가되었습니다. 변경 사항
코드 리뷰 소요 시간🎯 1 (Trivial) | ⏱️ ~2분 추천 리뷰어
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 inconclusive)
✅ 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 |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
wacruit/src/apps/common/enums.py (1)
89-91: 주석 처리된 정수 값이 활성 멤버의 문자열 타입과 불일치합니다.
Position열거형의 활성 멤버는 모두 문자열 값("FRONTEND","BACKEND"등)을 사용하지만, 주석 처리된 항목들(# INFRA = 6,# PM = 7,# OPERATIONS = 8)은 정수 값을 사용합니다. 향후 이 값들이 주석 해제될 경우 혼합 타입 열거형이 생성되어 직렬화, 비교, 또는 DB 저장 시 예상치 못한 버그가 발생할 수 있습니다.향후 활성화를 고려한다면 아래와 같이 일관된 문자열 값으로 미리 정정해 두는 것을 권장합니다.
♻️ 타입 일관성을 위한 수정 제안
- # INFRA = 6 - # PM = 7 - # OPERATIONS = 8 + # INFRA = "INFRA" + # PM = "PM" + # OPERATIONS = "OPERATIONS"🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@wacruit/src/apps/common/enums.py` around lines 89 - 91, The commented entries in the Position enum (INFRA, PM, OPERATIONS) use integer literals which will create mixed-type enum members if re-enabled; update those commented lines so their values are strings consistent with the rest of the enum (e.g., "INFRA", "PM", "OPERATIONS") to match existing members and avoid serialization/comparison issues when reactivated. Locate the Position enum and replace or adjust the commented lines for INFRA, PM, and OPERATIONS to use string values consistent with other members.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@wacruit/src/apps/common/enums.py`:
- Around line 89-91: The commented entries in the Position enum (INFRA, PM,
OPERATIONS) use integer literals which will create mixed-type enum members if
re-enabled; update those commented lines so their values are strings consistent
with the rest of the enum (e.g., "INFRA", "PM", "OPERATIONS") to match existing
members and avoid serialization/comparison issues when reactivated. Locate the
Position enum and replace or adjust the commented lines for INFRA, PM, and
OPERATIONS to use string values consistent with other members.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.