Skip to content

[Fix] 트래킹 알림 거리 값을 정수 미터로 반올림 - #452

Merged
JangInho merged 1 commit into
developfrom
fix/#451-tracking-milestone-distance-rounding
Oct 12, 2026
Merged

JangInho merged 1 commit into
developfrom
fix/#451-tracking-milestone-distance-rounding

Conversation

@JangInho

@JangInho JangInho commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

🧾 요약

  • 트래킹 알림에 미터 단위 소수점이 길게 노출되지 않도록 발송 거리를 정수로 반올림합니다.

🔗 이슈

✨ 변경 내용

  • 사진 촬영 창 OPEN/CLOSED WebSocket의 milestoneDistance와 정상 도달 WebSocket·FCM의 milestoneDistanceM, halfwayMark를 정수 미터로 전달합니다. 예: 1234.56 → 1235.
  • 발송 직전에만 반올림해 Redis 저장값과 도달 판정의 정밀도를 유지하고, 반올림 경계·채널 간 값 일치·발송 시점을 테스트합니다.

✅ 확인

  • 빌드 OK (Java 21 컴파일·bootJar·assemble 통과)
  • 테스트 OK (관련 테스트 31개 및 GitHub Actions 전체 테스트 통과. 로컬 전체 실행에서는 PostgreSQL 테스트 계정 인증 실패로 19개 실패)

@coderabbitai

coderabbitai Bot commented Oct 12, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: Repository: SEMOSAN/SEMOSAN_BE/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9c21a9f0-0e84-4482-9caf-b48feeaa58f3

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown
Contributor

📊 테스트 커버리지 리포트

Overall Project 98.47% 🍏
Files changed 100% 🍏

File Coverage
TrackingMilestoneTriggerService.java 99.86% 🍏

@JangInho
JangInho merged commit 48bfabf into develop Oct 12, 2026
5 checks passed
@JangInho
JangInho deleted the fix/#451-tracking-milestone-distance-rounding branch October 12, 2026 12:01
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

Successfully merging this pull request may close these issues.

[fix] 트래킹 거리 돌파 알림의 미터 값 정수 반올림

1 participant