Repository navigation
Conversation
69ca930 to
16e2bce
Compare
16e2bce to
7792ace
Compare
5fb22be to
763f8e5
Compare
763f8e5 to
4365539
Compare
ColtenOuO
left a comment
There was a problem hiding this comment.
Changes look good to me, before merge this PR, please squash your commit.
4365539 to
63e6cab
Compare
|
The browser CI failure also occurs on upstream main at fd7c23c, before the Gemini changes in this PR: AssertionError: 57 !== 4 The same test passed at the preceding main commit, 0116b9b, then failed after merging #401 at fd7c23c. This PR's browser job reports the same assertion failure. Code inspection points to an interaction between #410's layout test and #401's new .problem-entry wrapper. The test temporarily changes .problem-card.hidden and later clears it, but #401's filtering also hides the enclosing .problem-entry. Clearing the button's hidden property therefore does not necessarily make it visible. The subsequent .problem-card:not([hidden]) query still includes buttons inside hidden wrappers; their zero bounding rectangles cause them to be counted as sharing one row. The layout test needs to account for the wrapper when changing visibility and count cards that are actually rendered. This analysis is based on the CI logs and source comparison; I have not rerun a corrected test yet. |
d89b4a2 to
3fe5839
Compare
No merge conflicts at the current head.
A successful setup does not prove the Live model can answer. Start the interview clock only after its bounded opening produces output, so a silent startup does not consume interview time. Preserve candidate work on failure and let Practice users leave without waiting for a report, while keeping Strict interviews gated on readiness. Close sysprog21#159
3fe5839 to
e77c235
Compare
| let (reason, until) = match opened { | ||
| Ok(session) => return Ok(session), | ||
|
|
||
| // A known cooldown that cannot fit the first-open budget cannot |
There was a problem hiding this comment.
With two or more keys that Gemini rejects as invalid or refuses, retry_live_open moves to the next key after each rejection, and the attempt after the last one gets only the bare Exhausted error from GeminiKeys::select. That error carries no cooldown and no billing flag, so neither this arm nor startup_failure_reason classifies it, and the candidate is told Gemini did not answer the startup check when Gemini in fact rejected every configured key. Keep the last attempt's ApiFailure in this loop and return it when the rotation runs dry with no cooldown, so the reason comes out as credentials or refused, and add a two-key case beside the single-key reason test.
jserv
left a comment
There was a problem hiding this comment.
Rebase the current branch onto the upstream default branch and resolve any conflicts. Run /codetrial-review in AI agents (use $codetrial-review in Codex) and resolve all identified issues. Rework the series into minimal, logically coherent commits, squash closely related commits, and ensure all commit messages follow the project’s rules.
| if (joined === "reporting" || state.phase !== "live") return false; | ||
| state.connected = true; | ||
| if (strict) updateRunAvailability(); | ||
| if (strict && !whiteboard) nodes.editor.disabled = false; |
There was a problem hiding this comment.
The preflight overlay is already hidden here, but the readiness wait below has not finished and the countdown is not started until it returns. In Strict mode a candidate can edit and run tests while Gemini stays silent, gaining untimed work during the startup wait. Keep the editor and Run disabled until readiness starts the interview clock.
|
Some review comments on this pull request are not settled yet. Please refine the change per the review comments listed below, reply on each thread with what you changed or why you did not, and mark each thread resolved yourself once it is settled (Resolve conversation, at the bottom of the thread). The pull request stays blocked while review threads are open. Not addressed at the current head:
Checked at e77c235. |
|
Converting this PR to a draft for now due to inactivity. Feel free to mark it as ready for review whenever you're ready. |
|
Close in favor of #709 |
Live setup can complete without model output. Use the normal opening generation as one bounded readiness attempt, preserve its events for delivery, and start the interview clock only after the first model output. Startup failures do not retry.
Carry outcomes on the existing
interviewer_statemessage and degraded-start banner. Name provider-specific errors only when the provider identifies them.Validation
./scripts/test.shpassed after rebasing onto546f559, with Chromium, commentflow, and actionlint enabled. Startup tests cover setup without output, timeout, a single generation attempt, event preservation, and timer ordering.web/audio/test-voice.wavcapture fixture.df170a8; the release binary reports that revision.Browser tests used a temporary Liberation Sans alias; the default-font lobby failure also reproduces on base
a3f3e80. Live provider integration was not run.Closes #159
Summary by cubic
Live setup can finish without model output, so the interview clock can run against a silent provider. This change starts the interview timer and hard deadline only after the first model output—nonempty audio, model text, output transcription, or a tool call—using the opening greeting as a single bounded readiness attempt that never retries. A failed check ends the interview; practice mode that continues stays untimed, and Practice End during the startup wait closes without requesting a report.
Failure reporting
interviewer_statecontrol topic withstartup: "ready"orstartup: "failed"plus a classified reason (quota,billing,credentials,refused, orunavailable), shown in the degraded-start banner.startup_receivedreceipt for failed readiness, hashed and published under the same bound as report receipts, and keeps the diagnosis through room teardown.Socket and client behavior
Written for commit e77c235. Summary will update on new commits.