Skip to content

Conversation

@DongJun-H
Copy link
Member

작업 사항

  • ELF 세그먼트 정렬 검증
  • Sentry 라이브러리 식별 및 업데이트 적용

작업 결과

참고

@DongJun-H DongJun-H requested review from Copilot and yuni-ju October 27, 2025 12:23
@DongJun-H DongJun-H self-assigned this Oct 27, 2025
@DongJun-H DongJun-H added the enhancement New feature or request label Oct 27, 2025
@DongJun-H DongJun-H changed the title Update Sentry to version supporting 16KB page size Support 16KB page size requirement for Android 15 and Google Play compliance Oct 27, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the Sentry SDK to version 8.24.0 to support 16KB page size, addressing ELF segment alignment requirements. The update migrates from direct version specification to using Sentry's BOM (Bill of Materials) for better dependency management.

  • Upgraded Sentry from version 7.16.0 to 8.24.0
  • Migrated to Sentry BOM for dependency management
  • Added sentry-android-fragment dependency for enhanced fragment tracking
  • Updated slf4j-nop from 1.7.25 to 2.0.17

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +118 to +119
implementation('io.sentry:sentry-android')
implementation('io.sentry:sentry-android-fragment')
Copy link

Copilot AI Oct 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] When using a BOM platform, consider adding explicit version constraints for the individual Sentry dependencies to ensure version consistency across builds. While the BOM manages versions, explicitly documenting the expected versions can help with dependency auditing and prevent unexpected updates if the BOM is modified.

Suggested change
implementation('io.sentry:sentry-android')
implementation('io.sentry:sentry-android-fragment')
implementation("io.sentry:sentry-android:$sentry_version")
implementation("io.sentry:sentry-android-fragment:$sentry_version")

Copilot uses AI. Check for mistakes.
implementation 'org.slf4j:slf4j-nop:1.7.25'
implementation platform("io.sentry:sentry-bom:$sentry_version")
implementation('io.sentry:sentry-android')
implementation('io.sentry:sentry-android-fragment')
Copy link

Copilot AI Oct 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The slf4j-nop update from 1.7.25 to 2.0.17 is a major version upgrade. Consider documenting why this specific version was chosen and whether it's required for Sentry 8.24.0 compatibility, as this could help future maintainers understand the dependency relationship.

Suggested change
implementation('io.sentry:sentry-android-fragment')
implementation('io.sentry:sentry-android-fragment')
// slf4j-nop 2.x is required for compatibility with Sentry 8.24.0, which uses SLF4J 2.x APIs.
// See: https://github.com/getsentry/sentry-java/releases/tag/8.24.0
// If downgrading Sentry or slf4j, ensure API compatibility.

Copilot uses AI. Check for mistakes.
Copy link
Member

@yuni-ju yuni-ju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NDK, 네이티브 코드 사용 라이브러리 정렬 검증 확인 했습니닷 👍

implementation platform("io.sentry:sentry-bom:$sentry_version")
implementation('io.sentry:sentry-android')
implementation('io.sentry:sentry-android-fragment')
implementation 'org.slf4j:slf4j-nop:2.0.17'
Copy link
Member

@yuni-ju yuni-ju Oct 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

implementation 'org.slf4j:slf4j-nop:2.0.17'

이 코드를 추가한 이유는 무엇인가요?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

센트리 업데이트하면서 관련된 라이브러리도 업데이트 하였습니다

@github-project-automation github-project-automation bot moved this from Todo to In Progress in DAYO 2.0 Oct 27, 2025
@DongJun-H DongJun-H merged commit 36b49b8 into develop Oct 29, 2025
1 check passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in DAYO 2.0 Oct 29, 2025
@DongJun-H DongJun-H deleted the enhancement/issue-699 branch October 29, 2025 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants