Skip to content

Feat/screenshot bank - #61

Merged
BlueShork merged 18 commits into
mainfrom
feat/screenshot-bank
Jul 7, 2026
Merged

Feat/screenshot bank#61
BlueShork merged 18 commits into
mainfrom
feat/screenshot-bank

Conversation

@BlueShork

Copy link
Copy Markdown
Owner

Pull request

What

Why

Closes #

How

Checklist

  • Title follows Conventional Commits (e.g., feat(inspector): ...)
  • pnpm typecheck && pnpm lint passes
  • cargo fmt --check && cargo clippy -- -D warnings passes
  • cargo test --lib passes
  • New behavior is covered by a test (or a clear note why not)
  • Docs / comments updated where the change is non-obvious
  • No new unwrap() / expect() in production code paths

BlueShork added 17 commits July 7, 2026 20:47
- Replace deviceConnected with deviceKey (serial:platform:physical) in
  the metrics capture effect so a direct A→B device switch re-runs the
  effect, stopping the old collector and clearing stale samples before
  the new one starts — prevents misattributed data.

- Guard run_loop / run_loop_ios_sim self-clear against stop()→start()
  race: track exit_by_cancel and skip the tokio::spawn self-clear on
  cancel exits, since stop() already .take()s the RUNNING slot.

- Distinguish Ok(None) from Err(e) in ios-sim cpu_mem match: errors
  now increment consecutive_errors and trigger MAX_CONSECUTIVE_ERRORS
  bail with emit_stopped, matching the pid-resolution path.
… reviewable diffs

Adds runTarget to runStore, sets it before each ipc.runFlow call in MainView,
creates reviewStore with setReport/next/close queue logic, and wires
compareScreenshots in App.tsx onRunnerExit (pid captured before setStopped clears it).
@BlueShork
BlueShork force-pushed the feat/screenshot-bank branch from 189b5a4 to 6666e6d Compare July 7, 2026 19:05
@sonarqubecloud

sonarqubecloud Bot commented Jul 7, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
9.6% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@BlueShork
BlueShork merged commit f0db782 into main Jul 7, 2026
8 of 9 checks passed
@BlueShork
BlueShork deleted the feat/screenshot-bank branch July 7, 2026 19:36
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 7, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant