ip_check.sh: dig ハング対策として timeout を導入し、取得失敗時は黙殺する #168 - #169
Merged
smileygames merged 1 commit intoJan 19, 2026
Hidden character warning
The head ref may contain hidden characters: "168-ip_check-dig-\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u5931\u6557\u3092\u691c\u77e5\u3067\u304d\u306a\u3044\u554f\u984c\u3092\u4fee\u6b63\u3057timeout-\u3092\u8ffd\u52a0\u3059\u308b"
Conversation
・myip_check() の dig 実行に timeout を追加し、ブロッキングを防止 ・IP 取得に失敗した場合はエラーログを出さず無処理とする ・Google DNS フォールバックは実測で不適切な値が返るケースがあり今回は採用しない
smileygames
deleted the
168-ip_check-dig-パイプライン失敗を検知できない問題を修正しtimeout-を追加する
branch
January 19, 2026 12:59
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
・myip_check() の dig 実行に timeout を追加し、ブロッキングを防止
・IP 取得に失敗した場合はエラーログを出さず無処理とする
・Google DNS フォールバックは実測で不適切な値が返るケースがあり今回は採用しない