Repository navigation
Description
Failure scenario
Settings reads A's class ID and validates its generation, then calls parameterless unlink(). DeviceLinkRepositoryImpl switches to IO before capturing the request owner. If B becomes active during that delay, both UnlinkMe and CreateLinkCode are coherently pinned to B. The final ownership check can pass because B remains current. Ignoring the stale UI answer cannot restore B's Telegram link.
Source a86f0ce: SettingsDeviceLink.kt73 and DeviceLinkRepositoryImpl.kt62. This boundary is earlier than the already-tested change between the two wire calls. The one independent reviewer found it; source ordering corroborates it. A deterministic current behavioral regression was not executed at filing.
Acceptance
- Hold the repository dispatcher after the UI check but before capture; switch A to an initially linked B and observe the current unlink before correction.
- Pass the initiating displayed identity into unlink; assert B receives no unlink or successor link-code request for A's action.
- Preserve same-owner compound-call checks, cancellation and role-persistence ownership.
- Focused RED/GREEN, complete affected gates and dev/master delivery pass with Move the remaining Android remotes to v2 transports (stage 5b) #746.
Parent #746; review finding I3, single corrective pass.
Corrective checkpoint — 14 November 2026
DeviceLinkInitiatingOwnerTest observed the three queued class/bearer/address successor unlinks before correction; all six race/control cases now pass.
Settings passes its displayed ClassActionOwner before launch, and the real repository checks it before IO work and pins the send; existing compound-call/cancellation/role guards remain green.
The ONE review corrective cohort first produced82 cases/20 AssertionError failures; the same82 identities now pass. Full unfiltered Android test/both ordinary assembles/detekt passed at2202 unique cases,0failures/errors/skips. Both completed-report count validators pass at3910/2202 and168 selected document guards pass separately. No baseline growth or suppression was added. Earlier failed/green evidence remains retained.
Corrective head is 473e88af87b5a106cee660a2c7fe24b7029fd0f9 in draft PR #757. Exact-head CI43554034696 is still running at this checkpoint. CI/dev/master delivery and the broader #746 acceptance remain unfinished; this issue stays open. No re-review is planned; Minor #764/#765 remain deferred.
Metadata
Metadata
Assignees
Type
Projects
- StatusShow more project fieldsDone
Activity