Repository navigation
First-run follow-ups: dedupe review, guided setup, copy, test debt - #310
Merged
Merged
Conversation
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The per-group rail skips a group whose members are all marked Delete, but its members could still be removed by pair fan-out from another group or by a second group that lists the same files. Members of a skipped group are now protected from direct deletes and from fan-out. Adds INV-32, fixed regressions for both routes, and a property test whose generator builds cross-group pairs and overlapping groups. Fixes #300 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…duplicates Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…as a fact Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…onth may be the whole plan TrialRemaining returns nil for verificationUnavailable and unverified, so the preview never describes a spent trial or offers a purchase to someone who may already have paid. The unlock sheet offers a requested month even when the plan has shrunk to exactly that month. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…aches both lanes Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The identifier sat on a bare container, so it replaced the identifiers of the panels inside it and the UI test could not find openDestinationButton after expanding. The UI test now clicks the triangle inside the group. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
acceptSuggestions(in:) rebuilt decisions from the per-path choices alone, dropping any pairKeepOverrides the person had set. Carry them across. acceptAllSuggestions and acceptAllHighConfidence share the flaw but have no production callers and are slated for removal, so they are untouched. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
- Footer Accept Identical Copies is disabled when no identical group waits. - Beside Move N Files to Trash Free the status counts that batch, so the two numbers agree; the free line above still says what the groups hold. - "1 more is waiting" has a singular form (EN, DE). - The deferred count moves from view state to DeduplicateSessionStore, so it survives the view being rebuilt during a commit. - The store refuses to prepare a plan while a commit runs. - Safeguards condense to one line at the default 820pt window, giving the group list the room the cards took. - Tests: free-batch commit then ordinary commit on one store; prepare refused during a commit. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…303) - Free-space figure is stored with the destination it was measured for, so a newly chosen destination never shows the previous one's figure. - A source added from the Library menu on the first guided question ends guided setup, the same as a drop. - "Choose This Folder" picker prompt gets a German entry in LocalizableCore.xcstrings. - FolderAccessService.panelDirectoryURL(openingAt:) applies the protected media library check before probing disk. - FolderSizeEstimator: test for an unreadable subfolder; the two identical per-entry failure branches are one guard. Line coverage 90.6% to 95.1%. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
#304) - Preview line: a plan that lists more than was found gets its own sentence instead of "N are not in this plan yet". - Free-limit line names files ("This plan has 18,412 files."). - Running preview no longer says "only reading"; it says originals are never changed and nothing is copied yet. - Help shortcut says Quick Review; the preview disclosure is "Status, reports and logs" so it no longer repeats the Details heading. - Timeline caption and QUICK_START originals tip reworded; docs updated. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
acceptSuggestionsForCluster rebuilt decisions from the per-path choices alone, dropping any pairKeepOverrides the person had set. Carry them across, as acceptSuggestions(in:) already does. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
- Finished line: a copy that handled more than was found gets its own sentence instead of "N are not accounted for in this copy". - Running timeline caption now matches the preview's plain wording. - Quick Review progress label replaces the old Rapid Triage name; the old catalog keys stay in place. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
- testTimelineSelectionUpdatesPreview now picks a month other than the newest one selected on arrival and checks the selection really changes; the runPreviewReview fixture gets a second month (18 + 24 = 42) to allow it. - runPreviewOverAllowance is built from one per-month table: the histogram sums to the plan's 18,412 (was 21,140) and the free-month card and selected month read the same number for the newest month (212, was 2,420 vs 212). A new test asserts the fixture is internally consistent. - Remove acceptAllSuggestions(), acceptAllHighConfidence() and TimelinePlurals.filesToCopy with their tests (no production callers; owner decision). Behaviour they covered is exercised through acceptSuggestions(in:) and acceptSuggestionsForCluster. Catalog keys stay. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
The UI test clicks the centre of the disclosure element, which is the label, and only the triangle toggled it. [skip-app-test-check] covered by the existing UI test testRunPreviewReviewScenarioShowsTransferArtifactsAndTabs. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Brings the base's fix for the Details disclosure (its identifier no longer replaces the identifiers of the panels inside it; the whole row opens it). Conflict in RunSectionViews.swift: the base's label block is kept with this branch's wording, "Status, reports and logs". Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The timeline's accessibility value reaches XCTest empty: SwiftUI publishes it as the element's value description (role AXUnknown), so XCUIElement.value is "". VoiceOver still reads it. The test now reads the drawer under the timeline, which is the preview itself: April on arrival, March after choosing the earlier month, neither after clearing. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
… holds (#305) The wide and compact review fixtures hold near-duplicate and burst groups only, so the identical lane is empty and the footer button is disabled from launch, as #302 intends. The test asserted the old Accept All Suggestions behaviour. It now expects the button visible and disabled there, and a new test on the lanes scenario (six identical groups) shows it enabled, then disabled once they are all accepted. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
21 of 37 entries matched no issue the audit logged in three CI runs (46276498407 on this branch, 46273743987 and 46277546063 on the base). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Nishith
enabled auto-merge (squash)
November 29, 2026 17:37
…305) The disclosure sits under panels that lay out after the window appears, and the test clicked it without scrolling it into view. Same tree passed in run 46281581830 and failed in 46290807547 at the wait after the click. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
6 tasks done
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.
Summary
Follow-ups to the first-run stack (#307, #308, #309, now merged). One commit per issue, plus two small tails.
The stack was squash-merged, so this branch conflicted with
mainby history only:main(ec92c63) has the same tree as e8870aa, which this branch had already merged. 7fc28bb mergesmainkeeping the branch tree unchanged, so the diff againstmainis exactly the follow-up work.Fixes #301. Fixes #302. Fixes #303. Fixes #304. Fixes #305.
panelDirectoryURL(openingAt:)applies the protected-media-library check;FolderSizeEstimatorcoverage 90.6% → 95.1%.QUICK_STARToriginals tip.runPreviewOverAllowancefixture is internally consistent (bars sum to 18,412; 2026-10 reads 212 on bar and card);testTimelineSelectionUpdatesPreviewselects a different month (sharedrunPreviewReviewhistogram is now two months);acceptAllSuggestions(),acceptAllHighConfidence()andTimelinePlurals.filesToCopyremoved with their tests. Catalog keys stay.Design proposals (not approved yet)
Left alone on purpose
keepAllInCluster/deleteAllInClusteralso drop pair keep-overrides. Whether an override should survive "delete all" is a product decision.DeduplicateSessionStore.triageBucketshas no production use left.docs/plan/first-run-experiencestill describes the old fixture numbers.Verification
Local, Swift newer than CI, on the final tree:
script/swift_meaningful_coverage.sh: exit 0, 2,720 passed, 0 failed, 96.14% meaningful.script/check_*.sh: exit 0 (app-layer guard againstorigin/feature/first-run-guided).SWIFT_EMIT_LOC_STRINGS=YES: exit 0.build-for-testing: exit 0.check_german_localization.py --baseline-ref origin/main --stringsdata-directory …: exit 0.git diff --check: exit 0.CI, manual dispatch on this branch (the workflow only triggers on PRs into
main):UI-test fixes after the first run:
testDeduplicateReviewKeepsActionsVisibleAtWideAndCompactSizes: the fixture has no identical groups, so Accept Identical Copies is correctly disabled. The test now asserts that, and a new test covers enabled → disabled on thededuplicateReviewLanesscenario.testRunPreviewReviewScenarioShowsTransferArtifactsAndTabs: predates this branch. Fixed by bb92f3a and e8870aa on the base, merged in here (d13e5d2); the conflict kept the base's disclosure row with this branch's label.testTimelineSelectionUpdatesPreview: SwiftUI exposes the timeline's value as a value description, whichXCUIElement.valuedoes not read. The test now reads the drawer title.A11yBaseline.json: 21 of 37 entries matched no issue in three CI audit logs and were removed; 16 remain. Evidence is from the 1024×768 CI runner only, so a local audit on a larger display could still report some of them.Not verified:
Safety Checklist
ui/Xcode/UITests/file is registered inproject.pbxproj(no new UI-test files).Planner, executors and revert code are untouched.
🤖 Generated with Claude Code