Repository navigation
fix(browser): reject actions after close failure - #131
Conversation
Co-authored-by: Medulla <medulla@tinyhumans.ai>
Tiny Sweeper reviewTiny Sweeper reviewed this change across 5 lane(s) and found 0 active actionable finding(s). Detailed lane evidence and any incomplete work are listed below. State: Incomplete Review snapshot
Completeness: Incomplete FeaturesNone identified with supported citations. TestsNo supported feature-to-test mapping was produced. Test execution is not inferred.
FindingsNo active actionable findings. Could not review: crates/tinycomputer-browser/src/sessions/mod.rs, crates/tinycomputer-browser/src/sessions/sessions_tests/lifecycle_tests.rs, tinysweeper/description, tinysweeper/tests Before merge
How this fits togetherflowchart LR
n0["Browser<br/>changed"]:::changed
n1["Session<br/>changed"]:::changed
n2["a_failed_close_keeps_the_session_unconfirmed<br/>changed"]:::changed
n3["open_session"]:::impacted
n4["open_session_with_context"]:::impacted
n5["SessionId"]:::impacted
n6["close_session"]:::impacted
n0 -->|uses| n1
n0 -->|uses| n5
n2 -->|calls| n6
n2 -->|tests| n6
n3 -->|calls| n4
n4 -->|uses| n1
n6 -->|uses| n5
classDef changed fill:#0d4429,stroke:#238636,color:#e6edf3
classDef impacted fill:#161b22,stroke:#6e7681,color:#c9d1d9
classDef flagged fill:#5a1e02,stroke:#d93f0b,color:#ffffff
classDef blocking fill:#67060c,stroke:#f85149,color:#ffffff
Agent review detailscritique
security
tests
commits
description
Evidence and run details
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
tinysweeper found nothing blocking, but could not review everything, so this is not an approval: crates/tinycomputer-browser/src/sessions/mod.rs, crates/tinycomputer-browser/src/sessions/sessions_tests/lifecycle_tests.rs, tinysweeper/description, tinysweeper/tests.
$0.0000 · 0 in / 0 out · 131 embedded · ladder/vectors-oai3
Once a session close starts, reject subsequent page operations until a close attempt succeeds. A failed engine close leaves the session available for an explicit retry, so teardown failures cannot look like a confirmed close.
Validation:
cargo fmt --all -- --check,cargo clippy --locked -p tinycomputer-browser --all-targets -- -D warnings, andcargo test --locked -p tinycomputer-browser.