Skip to content

fix(ios): destroy goes on to simctl delete after a shutdown that times out - #1814

Merged
V3RON merged 4 commits into
mainfrom
bug/1803
Nov 24, 2026
Merged

V3RON merged 4 commits into
mainfrom
bug/1803

Conversation

@V3RON

@V3RON V3RON commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Closes #1803

Status

Implement: done (1/1 green) Review: round 1 + fix-check, 0 findings open Hardware: pass at 725b9f7 Gate: not run
Next: gate

  • iOS destroy goes on to simctl delete after a simctl shutdown that fails or times out, and a failed delete still throws (src/drivers/ios/index.ts, test index-save-source-lifecycle.test.ts). — unit test, red with the old shutdown call put back (audit probe); review round 1
  • Slow lane: a simulator whose simctl shutdown did not finish is removed by simctl delete (e2e/slow-ios-delete-after-shutdown.test.ts). — slow lane pass at 725b9f7 on this Mac (hardware verifier); the test checks the simulator is not Shutdown before the delete

Assumptions

none

Review

Spec review: 1 blocking, 0 fixed, 0 notes. Code review: 0 blocking, 0 fixed, 1 notes. Claims review: 0 blocking, 0 fixed, 0 notes.
Rounds: 1. Tokens: 1.3M.
Runs: 11. Cost USD: 2.1867. Agent seconds: 971.

Rejected:

  • spec: slow-lane test not asked for by the spec [incorrect] — the issue asks to settle on a real simulator whether simctl delete removes one whose shutdown has not finished

Assessment: complete

Written by an agent.

@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 35 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: QUIET
  • Plan: Advanced
  • Run ID: d8c82f59-d0cb-4f1e-bc7b-db95a7879eaf
Commits

Reviewing files that changed from the base of the PR and between 215147f and 725b9f7.

Files selected for processing: 4

  • e2e/slow-ios-delete-after-shutdown.test.ts
  • src/drivers/ios/index-save-source-lifecycle.test.ts
  • src/drivers/ios/index.ts
  • src/drivers/ios/simctl.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@V3RON

V3RON commented Nov 24, 2026

Copy link
Copy Markdown
Contributor Author

Review ledger

Round 1: aaedc63
Round fix-check: 725b9f7

Runs: 11. Cost USD: 2.1867. Agent seconds: 971.
Tokens input 170, output 37940, cache read 2844393, cache write 409193.
- build implementer: claude-sonnet-5-5 103 s $0.2198
- audit implementer: claude-sonnet-5-5 25 s $0.1256
- review 1 reviewer: claude-sonnet-5-5 201 s $0.1929
- review 1 code behaviour: claude-opus-5-5 137 s $0.6437
- review 1 claims: claude-sonnet-5-5 16 s $0.1162
- review 1 spec: claude-sonnet-5-5 15 s $0.1163
- hardware hardware-verifier: claude-sonnet-5-5 80 s $0.1008
- hardware-fix implementer: claude-sonnet-5-5 97 s $0.1242
- hardware hardware-verifier: claude-sonnet-5-5 74 s $0.0793
- review fix-check reviewer: claude-sonnet-5-5 137 s $0.1126
- review fix-check code tests: claude-opus-5-5 86 s $0.3553
Finding outcomes: {"incorrect":1}. Classes: {"testing 7":1}.
{"findings":[{"id":"R1","role":"spec","class":"testing 7","outcome":"incorrect","path":"e2e/slow-ios-delete-after-shutdown.test.ts","round":"1"}]}

Written by an agent.

@V3RON

V3RON commented Nov 24, 2026

Copy link
Copy Markdown
Contributor Author

Review notes

Not blocking, not verified. Each is one reviewer's claim.

  • code: e2e/slow-ios-delete-after-shutdown.test.ts:35 did not assert the simulator was still booted before delete, so a shutdown that finished within 200 ms would pass without exercising an unfinished shutdown (round 1; the hardware fix 725b9f7 added the check)

Written by an agent.

@V3RON
V3RON marked this pull request as ready for review November 24, 2026 13:03
@V3RON
V3RON merged commit 1d9f5db into main Nov 24, 2026
55 checks passed
@V3RON
V3RON deleted the bug/1803 branch November 24, 2026 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

iOS: destroy stops at a timed-out simctl shutdown, so quarantine never reaches simctl delete

1 participant