Skip to content

Conversation

@minami-takuya
Copy link

概要

get_ng_test_cases_at_last_executionメソッドでDB接続の切断処理が抜けていたため追加

問題

  • get_ng_test_cases_at_last_executionメソッドのみ@connector.disconnectの呼び出しが抜けていた
  • 他のパブリックメソッドは全てDB操作後にdisconnectを呼んでいる
  • このメソッドは再実行時に複数回呼ばれるため、コネクションリークの可能性があった

変更内容

  • get_ng_test_cases_at_last_executionメソッドの最後に@connector.disconnectを追加
  • 他のパブリックメソッドと同様の実装に統一

影響範囲

  • 再実行機能(bucky run -r, bucky rerun)使用時のDB接続管理
  • コネクションリークの防止

- Add @connector.disconnect to prevent connection leak
- This method is called multiple times during re-test execution
- Aligns with other public methods that properly disconnect
@minami-takuya minami-takuya marked this pull request as ready for review December 25, 2025 04:07
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