Repository navigation
Closed
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
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. |
Contributor
Author
Review ledgerRound 1: 36822e6 {"findings":[{"id":"R1","role":"code","class":"WAL deleted on close, then read","outcome":"fixed","path":"src/drivers/ios/source-index.ts","round":"1","fix":"bce83b1886ded32c1c1fc387be1120bc7a1101c6"},{"id":"R2","role":"code","class":"swap target unresolved vs real sources path","outcome":"fixed","path":"src/drivers/ios/index.ts","round":"1","fix":"bce83b1886ded32c1c1fc387be1120bc7a1101c6"},{"id":"R3","role":"spec","class":"assumption decides user-visible failure","outcome":"intentional","path":"src/drivers/ios/foreign-folders.ts","round":"1"},{"id":"R4","role":"spec","class":"testing 7","outcome":"nonblocking","path":"src/drivers/ios/source-isolation.test.ts","round":"1"},{"id":"R5","role":"claims","class":"documentation 7","outcome":"fixed","path":"src/drivers/ios/AGENTS.md","round":"1","fix":"bce83b1886ded32c1c1fc387be1120bc7a1101c6"},{"id":"R6","role":"claims","class":"false error message","outcome":"fixed","path":"src/drivers/ios/source-staleness.ts","round":"1","fix":"bce83b1886ded32c1c1fc387be1120bc7a1101c6"},{"id":"R7","role":"claims","class":"false comment: every verb","outcome":"fixed","path":"src/drivers/ios/foreign-folders.test.ts","round":"1","fix":"bce83b1886ded32c1c1fc387be1120bc7a1101c6"},{"id":"R8","role":"claims","class":"documentation 7","outcome":"nonblocking","path":"src/drivers/ios/AGENTS.md","round":"2"},{"id":"R9","role":"code","class":"ADR 0076 section 2: size cap leaves files unswapped","outcome":"open","path":"src/drivers/ios/source-index.ts","round":"fix-check"}]}Written by an agent. |
…one-dropped database, and a swap matches whole paths only (#1570) The slow lane showed four faults: macOS refuses open on locationd's files (EPERM), a used simulator holds files past one string, the index recorded a file every clone deletes, and a stray backslash before a plain path made a match of mixed separators whose swap changed a length. The lane's test now uses one agent id per lease and reads the seed's making as its newest file after the first lease.
…t names its sources through one helper (#1570)
Contributor
Author
Review notesNot blocking, not verified. Each is one reviewer's claim.
Written by an agent. |
This was referenced Nov 16, 2026
Contributor
Author
|
Closed: built the folder-path swap of ADR 0076's first version on the driver before #1582 split it. #1570 is rewritten (lineage and UDID swap, no size limit, so R9 no longer applies) and is rebuilt from main; the WAL flush, filesystem port and file-record code may be copied by hand. Written by an agent. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1570
Status
Implement: build, audit, fix, hardware-fix done at 2c01e72 Review: round 2 passed; fix-check R9 open (cap reached) Hardware: lines 3–4 pass, line 5 two-device open and Android boot timeouts at load 187–294 Gate: waiting for the stack
Next: a maintainer decides R9 (amend ADR 0076 §2 to allow the cap, or index files over 64 MiB in chunks); then fix, fix-check and the slow lane's
slow-agent-device.test.tson a quiet machineAssumptions
logsRootandsqliteare optional driver options — the 36 existingcreatecalls stay as they are; the daemon passes both, and without them no log folder is swapped and a WAL is logged as unflushed.simctlis faked in most tests, and a real make always leaves the folder.\/separators whose foreign and own folder paths have different component counts changes length and is refused (the spec's "another length" case); underdefaultthis is a failed provision for that file.ios_source_filesrows are kept with a seed bye2e/helpers/lane-home.tsthrough a generic child-table list, since F4 says only the S4 column came with the row.simctlwritesdevice.plist.Done when
pnpm exec vitest run --project unit src/drivers/ios/index.test.tsandpnpm test:changedpass.pnpm checkpasses.e2e/slow-ios-source-isolation.test.ts, proves the feature's first two Completion conditions on Xcode 27: three leases of one kind and two of a baseline saved from a used lease leave no file newer than its making in the seed, the baseline's source, or the folder of the lease it was saved from (data/var/db/diagnosticsaside), and each leased simulator'sdata/Library/Logslink names its own log folder (Hardware: needs a real simulator).log.level: "debug", the I6 line of each copy of the saved baseline reports under 1000 ms (Hardware).e2e/slow-agent-device.test.tspasses on the slow lane with itskeepSeeds: trueflows (:180), and the second flow copies the kept seed instead of making it again (B11; Hardware).Review
Spec review: 0 blocking, 0 fixed, 0 notes. Code review: 3 blocking, 2 fixed, 0 notes. Claims review: 4 blocking, 3 fixed, 1 notes.
Rounds: 2. Tokens: 13.4M.
Runs: 16. Cost USD: 15.4325. Agent seconds: 15375.
Assessment: incomplete — R9 open after the last check of the cap.
Rejected:
\/result of another length is refused — [intentional] Assumption 3, the spec's "another length" case.src/drivers/ios/AGENTS.md:29,31restates code — [nonblocking] the lines state invariants that span files.Written by an agent.