Skip to content

リリース版のWorkManager初期化クラッシュを修正 - #112

Merged
ai-kurou merged 1 commit into
mainfrom
codex/update-workmanager-release-crash
Jul 17, 2026
Merged

リリース版のWorkManager初期化クラッシュを修正#112
ai-kurou merged 1 commit into
mainfrom
codex/update-workmanager-release-crash

Conversation

@ai-kurou

Copy link
Copy Markdown
Owner

概要

リリース版起動時に androidx.startup.InitializationProvider 経由の WorkManager 初期化で WorkDatabase 作成に失敗してクラッシュする問題を修正します。

原因

glance-appwidget:1.1.1 が古い androidx.work:work-runtime:2.7.1room-runtime:2.2.5 を推移依存で引き込んでいました。

変更内容

  • WorkManager 2.11.2 を version catalog に追加
  • アプリモジュールで androidx.work:work-runtime-ktx を明示依存に追加
  • Glance 由来の古い WorkManager / Room 推移依存を新しい安定版へ解決

検証

  • git diff --check
  • ./gradlew :app:dependencyInsight --configuration releaseRuntimeClasspath --dependency androidx.work:work-runtime
  • ./gradlew :app:dependencyInsight --configuration releaseRuntimeClasspath --dependency androidx.room:room-runtime
  • ./gradlew :app:assembleRelease

@coderabbitai

coderabbitai Bot commented Jul 17, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: b9e0733c-8832-41fe-933b-8c38ebe10910

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

@sonarqubecloud

Copy link
Copy Markdown

@codacy-production

Copy link
Copy Markdown
Contributor

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 4 complexity · 4 duplication

Metric Results
Complexity 4
Duplication 4

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@ai-kurou
ai-kurou merged commit 38629f2 into main Jul 17, 2026
11 checks passed
@ai-kurou
ai-kurou deleted the codex/update-workmanager-release-crash branch July 17, 2026 02:40
@codecov

codecov Bot commented Jul 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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.

1 participant