ci: 1 万ポートの範囲の確認を、ルールのソケットの数で数える - #111
Merged
Merged
Conversation
開いているファイルの数の差で数えていたため、ほかの接続がその間に閉じると 9999 になり、たまたま落ちることがあった(#109 の CI)。範囲のポートで rproxy が開いている UDP のソケットを ss で数える。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UyWFKfK7QhjFLgRBF1V9Bu
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.
#109 の CI で、media の「1 万ポートの範囲」の確認がたまたま落ちました(開いているファイルの数の差が 9999。ルールを作る間に、前のテストの接続が 1 つ閉じたため)。再実行では通っています。
ファイルの数の差ではなく、範囲のポート(2000〜11999)で rproxy が開いている UDP のソケットを
ssで数えるように直しました。🤖 Generated with Claude Code
https://claude.ai/code/session_01UyWFKfK7QhjFLgRBF1V9Bu