Repository navigation
Convert A8 and ETC2 for a Watch Pro 2 on install - #118
Merged
Merged
Conversation
fitForWatch now does what Export for Watch Pro 2 does by hand: on the way to a Watch Pro 2, cf 14 and cf 28 resources (the thumbnail included) become cf 5, and an opaque one goes on to cf 4. It does so only while every screen stays within the 1.955 MB tested there; the gate refuses a face too heavy to convert, and says by how much. The editor and the store tell the user how many images were converted. On the 939 published faces, 75 of the 80 with A8 now install on a Watch Pro 2 directly; 6 are still refused (5 too heavy, 1 ETC2). PRO2_FACES_STUB's comment names the planned release: stub 11. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CQSU8M433m4WAvWEbAKocd
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-up to #116. A Watch Pro 2 no longer turns away a face only because it carries Watch 3 Pro image formats: the install converts them on the way, the way Export for Watch Pro 2 already does by hand.
The face in the catalog stays as published: a Watch 3 Pro still gets the original. The editor's note says the conversion happens on install.
PRO2_FACES_STUBstaysnull; its comment now names the planned release, stub 11 (9 is the boot guard, 10 the widget templates).Evidence
After: 6 are refused (5 too heavy once converted, 1 ETC2), 1 on the Pro 2 shelf. 75 of the 80 A8 faces install directly. Measured with the same gate on every published file, read in memory.
After: the bytes
fitForWatchsends, for those two, Duskscape, Vive Lite and the 3 most-flashed A8 faces of the Pro 2 shelf: 1 boot, 0 faults each.tests/fit-pro2.test.ts: A8 and ETC2 become RGB565 with the pixels they decode to, the thumbnail too; a face too heavy once converted comes back untouched and the gate refuses it; a Watch 3 Pro and an unknown watch keep their formats.tests/flash-compat.browser.test.ts: an A8 face goes out converted and the note counts it.pnpm testwith the local corpora: 688 passed.check,lint,format:checkandpnpm run buildpass.Not tested on a real watch.
Merge Danger
Door: two-way
Nothing stored changes, only the bytes sent to a Watch Pro 2. A revert brings back the refusal.
Blast Radius: installs
Watch Pro 2 installs of the 75 faces start working, with their A8/ETC2 images as cf 4/5. On the watch those images take up to three times the memory they did as A8, which the 1.955 MB cap bounds. The cap is the highest synthetic screen tested in the emulator, not the watch's measured limit. Watch 3 Pro installs are unchanged.
🤖 Generated with Claude Code
https://claude.ai/code/session_01CQSU8M433m4WAvWEbAKocd