Repository navigation
D-1186: De-flake device tests, sync cassini-ux pin, hygiene - #267
Merged
Merged
Conversation
The bundle and the wave5 catalog move from 160fb92 to cassini-ux main. The catalog bytes now equal the 60ac93d phase2/d112 copies, so every generated resource changes only its source-commit header; LIBRARY-RULES, HARMONY and the library vectors pick up D112/D113. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ice tests (D-1186) The rule launches MainActivity before @before resets the data, and the Library opens loading with the search bar. When the catalogue turns out empty the first-run bar replaces it with a new Settings node, so a tap on the old one was lost (BulkTransferDeviceTest.anEmptyLibraryCannotOpenTheZipDestinationPicker on API 34, run 45877137395 attempt 1: the Library with the first-run bar, no Settings). Flows.awaitLibraryTopBar waits for the bar of the stored catalogue; BulkTransferDeviceTest and AppAccessibilityTest use it before the tap. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…s.hasWork (D-1186) Neither getter has a reader in main or test sources since the D-1161-D-1180 wave; no behaviour changes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…non-Linux test command (D-1186) The command for running the unit tests without the pixel comparison sat after the goldens download, detached from its sentence, and lacked :app-logic:test. The local checks now include tests/ci and the pinned-input checks CI runs. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Member
Author
|
Pipeline: cassini-android #267 is merged (review: ship). Continue with your next item. |
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.
Seat: local-claude
Participate: auto
Fixes D-1186
Summary
Consolidation pass, one commit per checklist item. Nothing user-facing changes.
BulkTransferDeviceTest. The failure wasanEmptyLibraryCannotOpenTheZipDestinationPickeron API 34, in run 45877137395, attempt 1. Its logcat semantics dump shows the Library with the first-run top bar and no Settings screen, so the Settings tap was lost. Cause:createAndroidComposeRulelaunchesMainActivitybefore@BeforerunsBackground.reset(), and the Library opens loading with the search bar's Settings button. When the catalogue turns out empty,FirstRunTopBarreplaces that bar, and its Settings button is a new node. The test can find the old button and click it while it is being disposed. The newFlows.awaitLibraryTopBar()waits for the bar that matches the stored catalogue: the first-run bar when it is empty, otherwise the first-run bar must be gone (the loading bar and the loaded bar are then the same node).BulkTransferDeviceTest.openSettingsuses it, and so doesAppAccessibilityTest, which taps Settings right after launch too. Audit (D88):androidTesthas noThread.sleeporSystemClock.sleep. The onedelay(16)runs on a virtualStandardTestDispatcher(UiEventsTest).wave5/catalog: from160fb92to maine709094(includes D113). The catalog bytes now equal the60ac93dcopies thatphase2/andd112/already pin, so all four catalog copies come from one revision again. Every generated resource changes only itsGenerated from cassini-ux …header; no string changes.LIBRARY-RULES.md,HARMONY.mdandlibrary-vectors/expected/main.jsonpick up D112/D113. The separately pinned inputs (import types, head-start vectors, round-trip vectors) are unchanged. The D113 Mac copy is not in the shared catalog yet (D113 §6), so there is nothing to generate for it.test_wave5_stringsnow compares against the bundle commit instead of a hard-coded SHA.DownloadSpeed.kilobytesPerSecondandRecorderQueueCounts.hasWork. A cross-module scan of the D-1161…D-1180 wave found no other unused declarations or resources (tests/ci/test_unused_resources.pypasses). I left theCassiniSpacingdesign tokens, which mirrordocs/design/ui.md§4.4. I did not shrink the detekt baseline (about 1.6k entries, almost all formatting), because autocorrecting it would touch many unrelated files and the verbatim engine code.:app-logic:test; it is now in place and complete. The local checks now listtests/ciand the checks of the cassini-ux pinned inputs. I checked the README module layout againstsettings.gradle.kts, and it matches.Review focus
awaitLibraryTopBar's use ofwaitGonein the non-empty case is right. The loading state hashero == null, so it never shows the first-run bar.e709094.scripts/check-ux-pin.pyverifies every SHA-256.Checked bug classes
Walk
review/BUG-CLASSES.md(classes 1–19):--check, and only their headers differ.androidTest, and the fix waits on events, not sleeps.main.🤖 Generated with Claude Code