Skip to content

Reuse the held browser session for payment continuation - #135

Merged
senamakel merged 1 commit into
epic/202-tinycomputerfrom
epic-202-tinycomputer-payment-reuse-fix
Oct 21, 2026
Merged

senamakel merged 1 commit into
epic/202-tinycomputerfrom
epic-202-tinycomputer-payment-reuse-fix

Conversation

@senamakel

@senamakel senamakel commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Continuing a host-authorized payment checkpoint must keep the already prepared browser session and profile claim. Replanning the authorized payment work now skips FlowRunner.prepare and named-page navigation. The retained BrowserSurface updates its host payment ActionContext in place when the payment mode changes, so later gate checks see payment_in_play=true on the same session.

Validation: regressions prove continuation does not prepare twice and the action gate observes the updated context on the retained session; full tinycomputer-engine suite passes (505/505); strict Clippy passes.

Co-authored-by: Medulla <medulla@tinyhumans.ai>
@tinysweeper

tinysweeper Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Tiny Sweeper review

Tiny 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
Priority: none
Reviewed head: 5994bfbd1663
Updated: 2026-10-21T01:19:47Z

Review snapshot

Change surface Files Review signal Count
Production 4 Active findings 0
Tests 2 Noted findings 0
Documentation 0 Resolved findings 0
Configuration 0 Pending checks/questions 14

Completeness: Incomplete
Test assessment: No supported feature-to-test mapping was available; this does not mean tests are absent or passed.

Features

None identified with supported citations.

Tests

No supported feature-to-test mapping was produced. Test execution is not inferred.

  • Unreviewed: tinysweeper/tests

Findings

No active actionable findings.

Could not review: crates/tinycomputer-browser/src/sessions/mod.rs, crates/tinycomputer-browser/src/surface/mod.rs, crates/tinycomputer-engine/src/task/browser.rs, crates/tinycomputer-engine/src/task/browser_tests.rs, crates/tinycomputer-engine/src/task/drive.rs, crates/tinycomputer-engine/src/task/task_tests/payment_tests.rs, tinysweeper/description, tinysweeper/tests

Before merge

  • Complete the critique review for crates/tinycomputer-browser/src/sessions/mod.rs, crates/tinycomputer-browser/src/surface/mod.rs, crates/tinycomputer-engine/src/task/browser.rs, crates/tinycomputer-engine/src/task/browser_tests.rs, crates/tinycomputer-engine/src/task/drive.rs, crates/tinycomputer-engine/src/task/task_tests/payment_tests.rs.
  • Complete the security review for crates/tinycomputer-browser/src/sessions/mod.rs, crates/tinycomputer-browser/src/surface/mod.rs, crates/tinycomputer-engine/src/task/browser.rs, crates/tinycomputer-engine/src/task/browser_tests.rs, crates/tinycomputer-engine/src/task/drive.rs, crates/tinycomputer-engine/src/task/task_tests/payment_tests.rs.
  • Complete the tests review for tinysweeper/tests.
  • Complete the description review for tinysweeper/description.

How this fits together

flowchart LR
  n0["Browser<br/>changed"]:::changed
  n1["BrowserSurface<br/>changed"]:::changed
  n2["BrowserRunner<br/>changed"]:::changed
  n3["...s_the_real_browser_runner_without_a_model<br/>changed"]:::changed
  n4["plan_then_drive_with_page<br/>changed"]:::changed
  n5["..._the_same_task_and_keeps_its_current_page<br/>changed"]:::changed
  n6["...he_real_runner_survives_rescue_and_report"]:::impacted
  n7["...rd_and_colliding_handles_without_mutation"]:::impacted
  n8["Err"]:::impacted
  n9["continue_payment"]:::impacted
  n10["FlowRunner"]:::impacted
  n11["payment_request"]:::impacted
  n2 -->|uses| n0
  n2 -->|uses| n1
  n2 -->|implements| n10
  n3 -->|calls| n8
  n3 -->|tests| n8
  n4 -->|uses| n0
  n4 -->|uses| n10
  n5 -->|calls| n9
  n5 -->|tests| n9
  n5 -->|calls| n11
  n5 -->|tests| n11
  n6 -->|calls| n8
  n6 -->|tests| n8
  n7 -->|calls| n9
  n7 -->|tests| n9
  n7 -->|calls| n11
  n7 -->|tests| n11
  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
Loading
Agent review details

critique

  • Conclusion: Neutral
  • Scope reviewed: incomplete; unanswered: crates/tinycomputer-browser/src/sessions/mod.rs, crates/tinycomputer-browser/src/surface/mod.rs, crates/tinycomputer-engine/src/task/browser.rs, crates/tinycomputer-engine/src/task/browser_tests.rs, crates/tinycomputer-engine/src/task/drive.rs, crates/tinycomputer-engine/src/task/task_tests/payment_tests.rs
  • Lane summary: Reviewed 0 files; 0 findings. 6 files could not be reviewed: crates/tinycomputer-browser/src/sessions/mod.rs, crates/tinycomputer-browser/src/surface/mod.rs, crates/tinycomputer-engine/src/task/browser.rs, crates/tinycomputer-engine/src/task/browser_tests.rs, crates/tinycomputer-engine/src/task/drive.rs, crates/tinycomputer-engine/src/task/task_tests/payment_tests.rs.

security

  • Conclusion: Neutral
  • Scope reviewed: incomplete; unanswered: crates/tinycomputer-browser/src/sessions/mod.rs, crates/tinycomputer-browser/src/surface/mod.rs, crates/tinycomputer-engine/src/task/browser.rs, crates/tinycomputer-engine/src/task/browser_tests.rs, crates/tinycomputer-engine/src/task/drive.rs, crates/tinycomputer-engine/src/task/task_tests/payment_tests.rs
  • Lane summary: Reviewed 0 files; 0 findings. 6 files could not be reviewed: crates/tinycomputer-browser/src/sessions/mod.rs, crates/tinycomputer-browser/src/surface/mod.rs, crates/tinycomputer-engine/src/task/browser.rs, crates/tinycomputer-engine/src/task/browser_tests.rs, crates/tinycomputer-engine/src/task/drive.rs, crates/tinycomputer-engine/src/task/task_tests/payment_tests.rs.

tests

  • Conclusion: Neutral
  • Scope reviewed: incomplete; unanswered: tinysweeper/tests
  • Lane summary: No reviewer produced a usable response.

commits

  • Conclusion: Neutral
  • Scope reviewed: all assigned evidence
  • Lane summary: Nothing sensitive found in what this pull request commits.

description

  • Conclusion: Neutral
  • Scope reviewed: incomplete; unanswered: tinysweeper/description
  • Lane summary: No reviewer produced a usable response.
Evidence and run details
  • Models: ladder/vectors-oai3
  • Spend: $0.000059
  • Tokens: 0 input · 0 output · 0 cached · 453 embedding
Head State Pass summary
5994bfbd1663 incomplete 0 active finding(s), 0 resolved finding(s) (at 2026-10-21T01:19:47Z)

tinysweeper 0.1.2

@coderabbitai

coderabbitai Bot commented Oct 21, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f81d6804-bc1e-479c-883b-ea6b7a929a34

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-10-21T01:19:28.916479Z
We couldn’t complete this review. Comment @codex review to try again.
5994bfb PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@senamakel
senamakel merged commit 67bff3e into epic/202-tinycomputer Oct 21, 2026
8 of 15 checks passed

@tinysweeper tinysweeper Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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/surface/mod.rs, crates/tinycomputer-engine/src/task/browser.rs, crates/tinycomputer-engine/src/task/browser_tests.rs, crates/tinycomputer-engine/src/task/drive.rs, crates/tinycomputer-engine/src/task/task_tests/payment_tests.rs, tinysweeper/description, tinysweeper/tests.

$0.0001 · 0 in / 0 out · 453 embedded · ladder/vectors-oai3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant