issues Search Results · language:Dune language:Python language:JavaScript language:Python linked:pr language:Java linked:pr
Filter by
5.8M results
Bug
tools/mcp_oauth.py stores _oauth_port and _oauth_server_name as module-level globals shared by all OAuth providers. When
multiple MCP servers (e.g. Notion + GitHub) run OAuth concurrently, the later ...
개요
DB component_scores JSON이 8개가 아니면 _score_components에서 HTTP 500 발생. 마이그레이션·점수 버전 변경 시 API 전체 장애 위험.
위치
- app/routes.py L885–890
개선 방향
경고 로그 + 가능한 만큼 반환, 또는 score_version별 처리
완료 기준
- [ ] 8개 ...
bug
개요
routes.py의 _stock_or_404는 _validate_ticker를 호출하지만, protected_routes.py는 ticker 형식 검증 없이 DB 조회합니다.
위치
- app/protected_routes.py L298–302
개선 방향
_validate_ticker 호출 추가 또는 공통 유틸 공유
완료 기준
- [ ...
bug
개요
create_engine에 pool_pre_ping=True만 설정. AWS RDS 환경에서 유휴 연결 끊김·max_connections 초과 가능.
위치
- app/db.py L13–15
개선 방향
create_engine(
resolve_database_url(),
pool_pre_ping=True,
pool_size=5, ...
enhancement
개요
OpenDartClient와 NaverNewsClient의 _from_cache → _fallback → _request 흐름이 각 ~120줄로 거의 동일합니다.
위치
- app/services/external/clients.py
개선 방향
BaseExternalApiClient + Template Method 패턴으로 공통 로직 추출
완료 ...
enhancement
개요
모든 404 응답이 STOCK_NOT_FOUND 코드로 반환됩니다. 관심종목·채팅 세션 등 비주식 리소스 404도 동일 코드.
위치
- app/main.py L75
개선 방향
라우트별 detail={ code : ... , ...} 구조화 또는 범용 RESOURCE_NOT_FOUND 사용
완료 기준
- [ ] 리소스 유형별 적절한 에러 ...
bug
개요
/stocks/search 응답 생성 시 검색 결과 종목마다 _corp_code(session, ticker) 개별 DB 쿼리 실행.
위치
- app/routes.py L274, L429–437
개선 방향
결과 ticker 목록을 IN 쿼리로 일괄 조회 후 dict 매핑
완료 기준
- [ ] 검색 limit=20 시 corp_code ...
bug
개요
동일 cognito_sub 첫 로그인 시 두 요청이 동시 진입하면 uq_users_cognito_sub 위반 → 500 에러.
위치
- app/auth.py L116–128 (_upsert_user_from_claims)
참고
protected_routes.py의 add_watchlist_item은 IntegrityError를 처리하지만 auth는 ...
bug
Self Checks
- [x] I have searched for existing issues search for existing issues, including closed ones.
- [x] I confirm that I am using English to submit this report (Language Policy).
- [x] Non-english ...
개요
/stocks/search에서 사용자 입력 q가 LIKE 패턴에 직접 삽입됩니다. q=% 입력 시 전체 종목 매칭 가능.
위치
- app/routes.py L255
개선 방향
escaped = q.replace( % , \\% ).replace( _ , \\_ )
query = f %{escaped}%
statement = statement.where( ...
bug

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip! Restrict your search to the title by using the in:title qualifier.