Open
Conversation
/.ok への GET リクエストで 200 OK を返すエンドポイントを追加
- --duckdb-dir と --duckdb-interval オプションを追加 - DuckDB C API を使用して WebRTC 統計情報をファイルに保存 - zakuro, connection, rtc_stats_* テーブルを作成 - E2E テストを追加
- SQL では $name 形式を使用 - duckdb_bind_parameter_index には $ プレフィックスなしの名前を渡す - NamedBinder クラスを追加してバインド処理を簡素化 - 可読性の向上のため、すべての INSERT 文を名前付きパラメータに変更
conftest.py の tmp_duckdb_dir フィクスチャを削除し、 各テスト関数内で tempfile.TemporaryDirectory() を直接使用するように変更した。
- connection.created イベントで WriteStats を呼び出して接続情報を記録 - テストで DuckDB への書き込み内容を assert で検証するように変更 - conftest.py の build_instance で audio/video/fake-capture-device をデフォルト true に - CLAUDE.md に Python テストの規約を追加
261681a to
e876001
Compare
- test/ を python/tests/ に移動 - pyproject.toml をプロジェクトルートに配置 - run.py でビルド後に libduckdb をビルドディレクトリにコピー - run.py でパッケージ作成時に libduckdb を含める - .gitignore に .env* の除外を追加
Member
Author
|
!opus レビューして、実際対応が必要ないのは無視するようにしてください。無駄なレビューはしないように。 |
|
Claude finished @voluntas's task —— View job PRレビュー完了
レビュー結果全体として、DuckDB 統計出力機能の実装は適切に行われています。コードは整理されており、RAII パターンを使用したリソース管理、名前付きパラメータによる SQL インジェクション対策、適切なエラーハンドリングが実装されています。 以下は対応を検討すべき点です: 優先度:高1.
|
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.
No description provided.