An abandoned start holds its interviewer slot for five minutes
メンテナーはふだん 1 日以内に返信
評価
調査の方向性
Start by tracing /api/token and claim_and_dispatch, then inspect LocalDispatcher and the room task's candidate join timeout (CANDIDATE_JOIN_LIMIT). Identify how room ownership is authorized and how the existing no-show path releases consent; the proposed release endpoint should stop only an owned room that has not yet been joined. Done means an ended start releases its waiting slot promptly, while joined rooms and unauthorized callers are unaffected.
索引モデルが issue の本文から書いたものです。
説明
Follow-up to this review comment on #519.
By the time /api/token answers, claim_and_dispatch has already claimed consent and asked the dispatcher for an interviewer. LocalDispatcher reserves a slot and spawns the room task, and the slot is released only when that task returns. The agent then waits up to CANDIDATE_JOIN_LIMIT (300 s) for the candidate to join.
Since #519 the page can give up a start after the token response. If the candidate presses End while the Strict problem loads or while the LiveKit join is still in progress, connect stops the start and leaves any room it joined, but nothing tells the server. The agent waits for a candidate who will not come, and the slot counts against max_concurrent until the 300 s run out. A guest's slot also counts against the cap of two guest interviews. Other starts in that time can be refused with "The server is running as many interviews as it can right now." For a signed-in candidate, the consent claim stays until the no-show path releases it at the end of the wait.
Proposed fix:
- Once a token was granted,
abandonStartcalls a release endpoint with the room name, for examplePOST /api/token/release. - The server releases only a room the caller owns, and does nothing once the candidate has joined. A signed-in caller can be checked against the room authorization
/api/tokenalready grants. Guests get no such grant today, so they would need their own check, or could be left out at first. - The dispatcher stops the waiting room task, which drops the slot and releases consent through the existing no-show path.
A closed tab still waits out the 300 s, since nothing can send the call then. This only covers starts the page ends itself.
- 主要言語
- Rust
- スター
- 215
- フォーク
- 141
- 平均マージ
- 1日 12時間
- マージ済み PR(30日)
- 232
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
sysprog21/codetrial のほかの issue
-
Audio output can be confirmed without playing a test sound対応中かも @ChenYingHan1121 が 11 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
sysprog21/codetrial#359 · コメント 9 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Reset or Show pressed while the task cube is turning does not stick対応中かも @YEH-YU-YANG が今日担当しました。 オープン
sysprog21/codetrial#558 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Treat low-evidence candidate speech as unassessed対応中かも @Danielncku が 1 日前に担当しました。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
sysprog21/codetrial#553 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Web lobby cannot reopen Setup after configuration対応中かも @YEH-YU-YANG が 3 日前に担当しました。 オープン
sysprog21/codetrial#525 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Offer a way back to Setup from the lobby対応中かも @Patriciaath999 が 4 日前に担当しました。 オープン
sysprog21/codetrial#513 · コメント 4 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
sysprog21/codetrial の issue をすべて見る
似ている issue
-
ai_p2 bug comp-datalake
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
ClickHouse/ClickHouse#128306 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
bug triage
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
area:cli bug priority:medium
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信