GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — native-image で Netty の SystemTicker を実行時初期化にする by matsudamper · Pull Request #1126 · matsudamper/kake-bo

Conversation

@matsudamper

@matsudamper matsudamper commented Oct 26, 2026 •
edited by coderabbitai Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Owner

なぜやるか

AWS SDK 経由の netty-codec-http(2) 4.1.118.Final が io.netty をビルド時初期化に指定し、Netty 4.2 の基準時刻 SystemTicker にビルドマシンの nanoTime が焼き込まれる。実行ホストの稼働時間がそれより短いと、Valkey(Lettuce) の DNS 問い合わせなどのタイムアウトが即座に発火しうる。

上流修正は netty 4.2.19.Final(netty/netty#17677)だが、現状の netty-common は 4.2.17.Final。matsudamper/KMP-ActivityPub#84 と同じ問題。

実装した事

  • native-image のビルド引数に --initialize-at-run-time=io.netty.util.concurrent.SystemTicker を追加
  • 回避策を外せるかの追跡用 Issue: Netty の SystemTicker 実行時初期化の回避策を外せるか定期的に確認する #1125

Generated by Claude Code

Summary by CodeRabbit

  • 改善
    • ネイティブ実行環境でのランタイム初期化設定を調整しました。

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot] reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@claude
native-image で Netty の SystemTicker を実行時初期化にする
0addaab
AWS SDK 経由の netty-codec-http(2) 4.1.x が io.netty をビルド時初期化に指定するため、
ビルドマシンの nanoTime がイメージに焼き込まれ、稼働時間の短いホストで
Lettuce の DNS 問い合わせが即タイムアウトする可能性がある。
上流修正は netty 4.2.19.Final (netty/netty#17677)。現状 netty-common は 4.2.17.Final。

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EunbEi47t8G436dm6ojpKy
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 26, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-26T03:02:52.003722Z 0addaab PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@coderabbitai

coderabbitai Bot commented Oct 26, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: matsudamper/kake-bo
  • Branch: claude/ecstatic-pasteur-agg4os
  • File: .coderabbit.yaml
  • Commit: 0addaab
  • Layers: Repository YAML
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f8f3b7d6-9161-42e4-bbdb-24b098bb3c7d
Commits

Reviewing files that changed from the base of the PR and between 11d5f9e and 0addaab.

Files selected for processing: 1
  • backend/build.gradle.kts

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Walkthrough

ネイティブビルド設定に、io.netty.util.concurrent.SystemTicker をランタイム初期化する指定が追加されました。コメントには、ビルド時初期化で発生するタイムアウトの経緯が記載されています。

Changes: Netty タイマー初期化

Layer / File(s) Summary
SystemTicker のランタイム初期化
backend/build.gradle.kts
nativeBuildArgs に SystemTicker のランタイム初期化指定が追加されました。コメントには、ビルド時の nanoTime が実行時のタイムアウトに与える影響が記載されています。

Priority: Normal

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Possibly related issues

  • matsudamper/KMP-ActivityPub の Issue 84 — 同じランタイム初期化指定を使う回避策と、Netty のビルド時初期化による Lettuce のタイムアウトを扱っています。

Suggested reviewers: cursoragent

Merge Risk: Minimal · up to 0adda

The native-image workaround is correctly wired for the production binary and presents no identified merge-blocking risk.

Pre-merge checks: Passed 4
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed タイトルは、native-image で Netty の SystemTicker を実行時初期化に変更する主目的を正確かつ簡潔に示しています。
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • 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
  • X
  • Mastodon
  • Reddit
  • LinkedIn

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions

github-actions Bot commented Oct 26, 2026

Copy link
Copy Markdown

✅ Debug APK is ready!

Storage Download Link QR Code
🐙 GitHub Artifacts Download View
☁️ S3 Download View

Artifact Name: app-kake-bo-claude-ecstatic-pasteur-agg4os-7a2007c.apk

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@matsudamper
matsudamper merged commit 0e73231 into main Oct 28, 2026
3 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@matsudamper
matsudamper deleted the claude/ecstatic-pasteur-agg4os branch October 28, 2026 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@matsudamper @claude
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.