Skip to content

fix: fan-out timeout/cancellation テストを readiness sentinel 同期へ書き換える - #2373

Merged
squne121 merged 4 commits into
mainfrom
worktree-issue-2371-fan-out-timeout-flake-readiness
Aug 28, 2026
Merged

squne121 merged 4 commits into
mainfrom
worktree-issue-2371-fan-out-timeout-flake-readiness

Conversation

@squne121

@squne121 squne121 commented Aug 28, 2026 •

Copy link
Copy Markdown
Owner

Summary

PR #2366(Issue #2308)の CI 安定化作業中に発見した、fan-out timeout/cancellation テストの readiness race を解消する。time.sleep ベースの固定タイムアウト・固定 sleep に依存する synchronization を、make_fake_provider_script() の既存 pid_file 引数による pid sentinel 同期へ書き換え、CI 負荷下での false failure を構造的に防ぐ。2026-08-28 の OWNER 敵対的レビューを反映し、overall_timeout_sec の actual timeout watcher 経路(_watch_deadline())の検証も維持したまま、隣接する readiness race テスト(test_sigkill_escalation_recorded)と Popen 未到達でも通ってしまう false-green テスト(test_subprocess_runner_terminates_process_group_on_timeout)も同時に修正した。

  • test_timeout_termination_recorded を test_running_process_cancellation_records_sigterm へ rename し、readiness sentinel 確認後の手動 cancel_event.set() により SIGTERM を検証する設計へ変更(AC1-AC3)
  • test_sigkill_escalation_recorded も同じ pid sentinel readiness helper を使用するよう変更(AC4)
  • test_subprocess_runner_terminates_process_group_on_timeout の false-green を、pid sentinel で実 subprocess 起動を確認し、cancel 後に実プロセスが消滅したことまで確認する形に修正(AC5)
  • test_overall_timeout_cancels_pending_and_terminates_running を test_overall_timeout_cancels_pending_subtasks へ rename し、overall_timeout_reached event と pending subtask cancellation のみを assert する形に整理(AC6)
  • sentinel timeout・assertion failure・thread 内例外の全経路で thread / child process を finally で cleanup(AC7)
  • production code(fan_out_orchestrator.py)には diff なし(AC8)
  • 本 PR がマージされたら Issue を解決したことになるため Closes 実装: fan-out timeout/cancellation テストを readiness 同期と責務分離で決定論化する #2371

fix_delta (OWNER 敵対的レビュー対応, 2026-08-29, head e31647c)

review comment(reviewed_head_sha f664bfa6, verdict REQUEST_CHANGES — fix_in_place)の P1 blocker 2件を解消した。

  • P1: test_running_process_cancellation_records_sigterm / test_sigkill_escalation_recorded / test_subprocess_runner_terminates_process_group_on_timeout の finally cleanup が、検証対象そのものである cancel_event 協調キャンセル経路にのみ依存しており、(a) runner thread 内で無処理例外が発生した場合、(b) cancel_event セット後も runner がハングした場合に、non-daemon thread と child process がリークしうる構造上の欠陥だった。thread 内例外を result_holder とは別の list に捕捉し、finally 内で ctx.terminate_all(grace_period=0.1) を cancel_event 経路とは独立に必ず呼び、thread がまだ生きている場合または thread 内例外が捕捉された場合のみ child_pid に対する test-only fallback(os.getpgid 一致確認後 os.killpg(pgid, signal.SIGKILL)、ProcessLookupError は握りつぶす)で強制終了するよう3テストとも書き換えた。thread.join(timeout=2) 後に assert not thread.is_alive() を行い、捕捉した thread 例外があればその後で再送出する。
  • P1: test_sigkill_escalation_recorded が process_exit のみを assert し process_start の件数・PID 一致を確認していなかった点を修正し、SIGTERM 側テストと対称な lifecycle pairing assert を追加した。

Checks

  • uv run --locked pytest .claude/skills/gemini-cli-headless-delegation/tests/test_fan_out_process_lifecycle.py .claude/skills/gemini-cli-headless-delegation/tests/test_fan_out_orchestrator.py -q — 50 passed(head e31647c で再実行)
  • uv run --locked pytest .claude/skills/gemini-cli-headless-delegation/tests/test_fan_out_process_lifecycle.py .claude/skills/gemini-cli-headless-delegation/tests/test_fan_out_orchestrator.py -n 4 --dist load -q — 50 passed(head e31647c で再実行)
  • git diff --quiet main -- .claude/skills/gemini-cli-headless-delegation/scripts/fan_out_orchestrator.py — 差分なし(AC8)
  • rg -q "def test_running_process_cancellation_records_sigterm" .claude/skills/gemini-cli-headless-delegation/tests/test_fan_out_process_lifecycle.py(AC1)
  • 決定論性の追加確認として、fix_delta 対象の3テスト(test_running_process_cancellation_records_sigterm / test_sigkill_escalation_recorded / test_subprocess_runner_terminates_process_group_on_timeout)を fresh pytest process で 20 回連続実行しフレークがないことを確認(head e31647c、recommended_non_blockers P2 反映)
  • 上記 20 回連続実行後に ps aux で fixture child process(sigterm_target.py / stubborn.py / hang_forever.py)が残留していないことを確認

Schema Change Applicability

  • decision: not_schema_change
  • このPRはテストコードのみの変更であり、いかなるスキーマ(イベントschema、契約schema、request/resultのフィールド)も追加・変更・削除しない。PROCESS_LIFECYCLE_SCHEMA や delegation_fanout_result_v1 等の既存フィールド構造への変更は一切ない。

Schema Consumer Inventory

N/A(Schema Change Applicability の decision が not_schema_change のため、consumer inventory は対象外)

Safety Claim Matrix

.claude/skills/ 配下のテストファイル変更のため safety-sensitive パスに該当するが、production code は変更していない。以下に本 PR が実際に検証した安全性関連の主張を記載する。

Claim Implemented? Not controlled Evidence Follow-up
production code(fan_out_orchestrator.py)に diff がない yes - git diff --quiet main -- .claude/skills/gemini-cli-headless-delegation/scripts/fan_out_orchestrator.py が exit 0(AC8) -
SIGTERM/SIGKILL による child process 終了ロジックは既存の runner 実装のまま回帰していない yes - 対象 2 ファイルの pytest 全 50 件が通常実行 + pytest-xdist -n4 の両方で PASS -
readiness sentinel 待機・assertion failure・thread 内例外の全経路で spawn した thread / child process をリークしない yes - 各テストの finally ブロックで cancel_event.set() に加え ctx.terminate_all(grace_period=0.1)(cancel_event 経路とは独立)と、thread 生存時/thread内例外時のみ child_pid ベースの直接 os.killpg fallback を実行し、thread.join() 後 not thread.is_alive() を assert(AC7、OWNER fix_delta 反映後) -
新規 dependency・live 外部サービス呼び出し・追加セキュリティハーネスを導入していない yes - 変更差分はテストコード内の同期方式変更のみ(pid_file 引数は既存 API の再利用) -

Notes

  • Related issue: 実装: fan-out timeout/cancellation テストを readiness 同期と責務分離で決定論化する #2371
  • Runtime Verification Applicability: not_applicable(Issue 本文の decision に従う。Python pytest のみの静的変更であり live 環境確認は不要)
  • 変更対象は .claude/skills/gemini-cli-headless-delegation/tests/test_fan_out_process_lifecycle.py と .claude/skills/gemini-cli-headless-delegation/tests/test_fan_out_orchestrator.py の 2 ファイルのみ(Allowed Paths と一致)
  • test_subprocess_runner_terminates_process_group_on_timeout は削除ではなく、pid sentinel 方式による修正を選択した(Issue 本文の「より強い lifecycle テストと責務が重複する場合は削除してもよい」旨の許容範囲内での判断だが、production runner に対する低レベル realism check としての価値を残す方を優先した)
  • OWNER 敵対的レビュー(2026-08-29, reviewed_head_sha f664bfa6)の REQUEST_CHANGES を受け、head e31647c2 で fix_delta を適用した(詳細は上記「fix_delta」節参照)

…2371)

PR #2366 の CI 安定化調査で発見した readiness race に依存する fan-out
timeout/cancellation テストを、pid sentinel 同期と責務分離された assert へ
書き換える。

- test_timeout_termination_recorded を
  test_running_process_cancellation_records_sigterm へ rename し、固定の
  overall_timeout_sec=0.3 deadline watcher 経路(Popen 前に発火しうる)で
  はなく、pid_file readiness sentinel を確認してから手動 cancel_event.set()
  する設計に変更。process_start/process_exit の PID 一致と termination_reason
  も assert する。
- test_sigkill_escalation_recorded も同じ readiness sentinel helper を使用
  するよう変更し、time.sleep(0.3) による readiness race を除去。
- test_subprocess_runner_terminates_process_group_on_timeout の false-green
  (Popen 未到達でも ok is False と "timeout" in failure_class だけで PASS
  してしまう構造)を、pid sentinel で実 subprocess 起動を確認し、cancel 後に
  実プロセスが本当に消えたことまで確認する形に修正。
- test_overall_timeout_cancels_pending_and_terminates_running を
  test_overall_timeout_cancels_pending_subtasks へ rename し、
  overall_timeout_reached event と pending subtask の cancellation のみを
  assert する形に整理(起動済み process の termination までは主張しない)。
- 上記いずれも sentinel timeout・assertion failure・thread 内例外の全経路で
  thread / child process を finally で cleanup し、thread.join() 後に
  not thread.is_alive() を assert する。

production code (fan_out_orchestrator.py) には diff なし。

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@github-actions

github-actions Bot commented Aug 28, 2026 •

Copy link
Copy Markdown
Contributor

Preview URL

Preview removed (PR #2373 closed).

@squne121

Copy link
Copy Markdown
Owner Author

敵対的レビュー結果

Verdict: REQUEST_CHANGES — fix_in_place

対象 head: f664bfa6e0b977fb454e00fa878fe2b24d36c824
プロダクト上の緊急度: 低
マージ判断: 小規模なテスト修正を入れればマージ可能。PRの作り直し、production code変更、新規依存、追加セキュリティハーネスは不要。

PRは open・Draft・mergeable で、変更はテスト2ファイルだけです。同一headのCIも成功しています。一方、PR上の通常コメントはpreview botのみで、GitHubの正式なreview threadはありません。Issue側の impl-review-loop は APPROVE / merge_ready: true としていますが、Issue契約との直接照合で未検出の欠陥が2点あります。


P1 — finally が child process のcleanupを保証していない

問題

3つのthreadベーステストは概ね次のcleanupです。

finally:
    cancel_event.set()
    thread.join(timeout=15)
    assert not thread.is_alive()

これは検証対象であるrunnerのcancel処理そのものにcleanupを依存しています。

そのため、次のどちらの回帰にも耐えません。

ケース1: cancel処理が壊れ、runner threadが残る

child process 起動
  ↓
cancel_event.set()
  ↓
runner が cancel_event を無視する回帰
  ↓
finally でも同じ cancel_event.set() を繰り返すだけ
  ↓
thread.join(timeout=15)
  ↓
assertion failure
  ↓
non-daemon thread / child が残る

Thread.join(timeout) はtimeoutを戻り値で通知せず、is_alive() で確認する必要があります。現行コードは確認自体はしていますが、失敗したthreadを終了させる独立した手段がありません。non-daemon threadが残ればPythonプロセスの終了を妨げます。([Python documentation]1)

ケース2: runner thread内例外でthreadだけ終了し、childが残る

production runnerの順序は、概ね次です。

Popen()
  ↓
process_start を journal callback に送る
  ↓
RunnerContext.register_process()
  ↓
wait / cancellation loop

つまり、Popen() 後から register_process() 前までにjournal callback等が例外を送出すると、

Popen成功
  ↓
process_start callbackで例外
  ↓
register_process未到達
  ↓
runner threadは終了
  ↓
finallyのnot thread.is_alive()は成功
  ↓
cancel_eventを処理するthreadも、ctxに登録されたprocもない
  ↓
fixture childだけがsleepし続ける

という経路が成立します。production code上、process_start emissionがprocess registry登録より先です。

pytestはthread内の未処理例外を通常のmain thread例外として再送出するのではなく、PytestUnhandledThreadExceptionWarning として報告します。リポジトリのpytest設定にはこのwarningをerror化する指定もありません。([pytest ドキュメント]2)

Issueの元レビューでも、finally 内で少なくとも ctx.terminate_all() を実行し、thread例外を捕捉してmain thread側で再送出することが要求されていました。しかしPRは cancel_event.set() と join() だけで、要求を満たしていません。

影響

これはproductionの機能障害ではありませんが、今回の目的である「フレーク解消」と正面から矛盾します。

失敗時に、

  • テストが最大60秒程度残留する
  • fixture processが次のテストに残る
  • cleanup assertionが本来の例外を上書きする
  • thread内の真の例外がwarningやresult_holder欠損へ変形する

可能性があります。pytestも、テストが生成したthreadや状態を確実にcleanupしないことを代表的なflake要因として挙げています。([pytest ドキュメント]3)

必須修正

少なくとも、thread例外を捕捉し、cleanupを検証対象のcooperative cancellationとは別経路でも行うべきです。

thread_errors: list[BaseException] = []
child_pid: int | None = None

def _invoke():
    try:
        result_holder["result"] = runner(job, ctx)
    except BaseException as exc:
        thread_errors.append(exc)

thread = threading.Thread(target=_invoke)
thread.start()

try:
    child_pid = wait_for_pid_sentinel(pid_file)
    cancel_event.set()
    thread.join(timeout=10)
finally:
    cancel_event.set()

    # cooperative runner loopとは別のregistry経路
    ctx.terminate_all(grace_period=0.1)

    # Popen後・register_process前の例外用。
    # thread例外または残存threadがある場合だけfixture process groupを
    # test-only fallbackで終了する。
    if child_pid is not None and (thread.is_alive() or thread_errors):
        try:
            pgid = os.getpgid(child_pid)
            if pgid == child_pid:
                os.killpg(pgid, signal.SIGKILL)
        except ProcessLookupError:
            pass

    thread.join(timeout=2)

assert not thread.is_alive(), "runner thread leaked"

if thread_errors:
    raise thread_errors[0]

重要なのは、assert not thread.is_alive() やthread例外の再送出を、cleanup処理を完了した後に行うことです。これなら本来の例外をfinally内のassertionで潰しません。

新しいpytest pluginやproduction hookを追加する必要はありません。変更対象のテストファイル内だけで完結します。


P1 — SIGKILLテストがIssue契約のlifecycle pairingを満たしていない

Issue #2371は、SIGTERMテストとSIGKILLテストの両方について、次を要求しています。

  • process_start が1件
  • process_exit が1件
  • start・exit・sentinelのPIDが一致
  • 所定の termination_reason

SIGTERM側の新しい test_running_process_cancellation_records_sigterm はこれを実装しています。

一方、test_sigkill_escalation_recorded は現在、

exits = [e for e in events_snapshot if e.get("event") == "process_exit"]
assert len(exits) == 1
assert exits[0]["pid"] == child_pid
assert exits[0]["termination_reason"] == "sigkill"

だけです。process_start の件数とPIDを確認していません。

この状態では、production codeからSIGKILLケースの process_start emissionだけが消える回帰が入っても、テストはPASSします。Issue #1707以来の目的は単なる終了理由ではなく、start/exitのlifecycle telemetry pairingです。

必須修正

SIGTERM側と対称にしてください。

starts = [e for e in events_snapshot if e.get("event") == "process_start"]
exits = [e for e in events_snapshot if e.get("event") == "process_exit"]

assert len(starts) == 1
assert len(exits) == 1
assert starts[0]["pid"] == child_pid
assert exits[0]["pid"] == child_pid
assert exits[0]["termination_reason"] == "sigkill"

可能なら既存の process_events() helperを使い、schemaが異なる無関係なeventを拾わない形にする方が堅実です。

これは明確なAcceptance Contract未達なので、マージ前修正が必要です。


P2 — フレーク不在の検証回数がIssueとPRで一致していない

Issue本文のRuntime Verificationは、対象テストをfresh pytest processで20回連続実行することを明記しています。

一方、PR本文は追加確認を5回としています。

通常実行50件、xdist -n 4 50件、フルCI成功は有力な証拠ですが、今回のIssueはフレークそのものを直すIssueです。契約を変更していない以上、20回の証跡を揃えるべきです。

新規pluginは不要です。

for i in $(seq 1 20); do
  echo "fresh-process iteration: $i"

  uv run --locked pytest \
    .claude/skills/gemini-cli-headless-delegation/tests/test_fan_out_process_lifecycle.py::test_running_process_cancellation_records_sigterm \
    .claude/skills/gemini-cli-headless-delegation/tests/test_fan_out_process_lifecycle.py::test_sigkill_escalation_recorded \
    .claude/skills/gemini-cli-headless-delegation/tests/test_fan_out_orchestrator.py::test_subprocess_runner_terminates_process_group_on_timeout \
    -q || exit 1
done

PR本文にhead SHAと結果を追記すれば十分です。20回を過剰と判断するなら、実装証跡を5回で済ませるのではなく、Issueの記述を5回へ変更して契約を揃える必要があります。


P2 — 低レベルテストの名前と生存確認が実際の保証より強い

test_subprocess_runner_terminates_process_group_on_timeout は、

  • actual _watch_deadline() を通らず手動で cancel_event.set() する
  • fixtureは単一childのみで、孫processを生成しない
  • 実際には「whole process group」の複数process終了を観測しない

ため、名称が保証内容を上回っています。

また、終了後の

os.kill(child_pid, 0)

は、そのPIDにsignalを送れるprocessが現在存在するかを確認する操作であり、「同じfixture processが正しくreapされた」というidentity-preservingな証拠ではありません。ごく低確率ですが、PIDが再利用された場合は別processを生存扱いしてfalse failureになります。([man7.org]4)

Issue自身が、より強いlifecycleテストと重複するならこのテストを削除してよいとしています。

個人趣味開発としては、次の順で推奨します。

  1. 削除する
    SIGTERM・SIGKILLのproduction runner lifecycleテストが既に存在し、重複維持コストを減らせます。

  2. 残すならrenameする
    test_subprocess_runner_reaps_started_child_on_cancellation

  3. assertionを正確にする
    部分一致ではなく、

    assert result_holder["result"]["failure_class"] == "overall_timeout_terminated"

    とし、kill(pid, 0) は削除するか、process lifecycle eventによるPID一致に置き換える。

これは非ブロッキングですが、テスト名・コメント・実際の保証を一致させることで将来の誤読を防げます。


妥当な点

今回の基本設計は正しいです。

元の失敗は、13,318件中1件だけ test_timeout_termination_recorded が process_exit == 0 で落ちたもので、aggregate CIやPR #2366の実装不良ではありませんでした。deadlineがPopen前のpreflight中から進み、cancel-before-Popenの正規経路ではlifecycle eventが存在しないため、旧テストの期待が誤っていました。

次の判断も妥当です。

  • actual timeout watcherの責務と、起動済みrunnerのSIGTERM/SIGKILL責務を分離した

  • readinessに固定sleepではなく、既存のPID sentinelを再利用した

  • SIGKILL fixtureではSIGTERM ignore handler設定後にsentinelを書くため、handler readinessの証拠になっている

  • orchestration testを test_overall_timeout_cancels_pending_subtasks にrenameし、overall_timeout_reached とpending cancellationだけを検証するよう整理した

  • production code、依存関係、CI aggregate policyを変更していない

  • 同一headのフルCIが成功している

セキュリティ・sandbox・permission・追加ハーネスを広げる理由はありません。修正はテスト内のcleanupとassertion精度に限定するべきです。


最小マージ条件

  1. 3つのthreadベーステストで、thread例外を捕捉してmain test threadで再送出する。
  2. finally で ctx.terminate_all() と、必要時のみPID sentinelを使ったtest-only fallback cleanupを行う。
  3. cleanup後に not thread.is_alive() をassertし、finally内assertionで元例外を上書きしない。
  4. SIGKILLテストに process_start 1件・sentinel PID一致のassertを追加する。
  5. fresh pytest process 20回の結果をPRに追記する。
  6. 低レベルの重複テストは、削除または実際の保証へrenameする。
verdict: REQUEST_CHANGES
reviewed_head_sha: "f664bfa6e0b977fb454e00fa878fe2b24d36c824"
merge_ready: false
blockers:
  - "thread/process cleanupが検証対象のcancel_event経路に依存し、thread内部例外時のchild leakを防げない"
  - "test_sigkill_escalation_recordedがIssue契約のprocess_start/process_exit pairingを検証していない"
non_blockers:
  - "fresh-process repeatがIssueの20回に対してPR証跡は5回"
  - "低レベルテスト名がactual timeout/process-group保証を過大に表現し、kill(pid, 0)にPID再利用由来の微小なfalse-failure余地がある"
recommended_route: "fix_in_place"
production_change_required: false
new_dependency_required: false
new_security_harness_required: false

レビューはcurrent headのGitHub上のソース、Issue/PR履歴、CI証跡、Python・pytest・Linuxの公式仕様を照合して行いました。ローカルcheckoutでのpytest再実行は行っていません。

OWNER 敵対的レビュー(PR #2373, reviewed_head_sha f664bfa)の REQUEST_CHANGES を反映する。

- test_running_process_cancellation_records_sigterm / test_sigkill_escalation_recorded
  / test_subprocess_runner_terminates_process_group_on_timeout の finally cleanup が、
  検証対象そのものである cancel_event 協調キャンセル経路にのみ依存しており、runner
  thread 内で無処理例外が発生した場合や cancel_event セット後も runner がハングした
  場合に non-daemon thread と child process がリークしうる構造上の欠陥を修正(P1)。
  thread 内例外を別 list に捕捉し、finally 内で ctx.terminate_all(grace_period=0.1) を
  cancel_event 経路とは独立に必ず呼び、thread がまだ生きている場合または thread 内
  例外が捕捉された場合のみ child_pid ベースの test-only fallback(os.getpgid 一致確認
  後 os.killpg SIGKILL)で強制終了する。
- test_sigkill_escalation_recorded に process_start の件数(1件)と sentinel PID との
  一致 assert を追加し、SIGTERM 側テストと対称な lifecycle pairing 検証にする(P1)。

Issue #2371 の全 Verification Commands を再実行して確認済み:
- pytest 通常実行 50 passed
- pytest -n4 --dist load 50 passed
- 修正対象 3 テストのみ fresh pytest process で 20 回連続実行し flake なし
- fan_out_orchestrator.py に diff なし(AC8)
- ruff check クリーン

Related: #2371
@squne121

Copy link
Copy Markdown
Owner Author

fix_delta 適用完了

対象 head: e31647c2d5322732bf09d1c7b4993103809e7dab(reviewed_head_sha f664bfa6 から新規コミット e31647c を push)

P1 blocker 2件を解消

  1. test_running_process_cancellation_records_sigterm / test_sigkill_escalation_recorded / test_subprocess_runner_terminates_process_group_on_timeout の finally cleanup を、検証対象の cancel_event 協調キャンセル経路とは独立にした。thread 内例外を別 list に捕捉し、ctx.terminate_all(grace_period=0.1) を無条件に呼び、thread がまだ生きている場合または thread 内例外が捕捉された場合のみ child_pid ベースの test-only fallback(os.getpgid 一致確認後 os.killpg(pgid, signal.SIGKILL))で強制終了する。thread.join(timeout=2) 後に assert not thread.is_alive() を行い、捕捉した thread 例外は cleanup 完了後に再送出する。
  2. test_sigkill_escalation_recorded に process_start の件数(1件)・sentinel PID 一致の assert を追加し、SIGTERM 側テストと対称にした。

再検証結果(head e31647c)

  • uv run --locked pytest test_fan_out_process_lifecycle.py test_fan_out_orchestrator.py -q — 50 passed
  • 同 -n 4 --dist load -q — 50 passed
  • git diff --quiet main -- fan_out_orchestrator.py — 差分なし(AC8)
  • rg -q "def test_running_process_cancellation_records_sigterm" ...(AC1)— PASS
  • ruff check — クリーン
  • fix_delta 対象3テストのみ fresh pytest process で 20 回連続実行 — 全て 3 passed、フレークなし(recommended_non_blockers P2 反映)
  • 上記実行後 ps aux で fixture child process の残留なしを確認

PR 本文の Checks / Safety Claim Matrix / Notes を更新済み。

@squne121
squne121 marked this pull request as ready for review August 28, 2026 19:03
@squne121
squne121 merged commit 9f3b2fb into main Aug 28, 2026
53 of 62 checks passed
@squne121
squne121 deleted the worktree-issue-2371-fan-out-timeout-flake-readiness branch August 28, 2026 19:21
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.

実装: fan-out timeout/cancellation テストを readiness 同期と責務分離で決定論化する

1 participant