Repository navigation
Conversation
…ate)
PulseLoop's update feature is now the standard for every app (Gabriel
Design System 0.4.0, docs/self-update.md). Bringing it to that standard:
- Every release publishes SHA256SUMS.txt; the app installs an update only
when the download's SHA-256 matches it, the file arrived whole over
HTTPS, and it is this app signed with the installed app's key. A
release without a checksum isn't offered.
- The dialog: "Update available · {version}", Update · size, and Later
becomes Cancel while downloading (stops it, deletes the part).
- Every update text goes through tr(), with Portuguese entries; failure
reasons are fixed phrases instead of raw HTTP codes.
- UpdateCheckerTest covers the checksum file, which APK is picked, the
size label and the tag.
Claude-Session: https://claude.ai/code/session_01AFTKgVttu8z9Wu34dcvEYY
Owner
Author
|
Closing as superseded. 2231a00 ("Follow the design system: three skills, update checksum, one type scale", merged in #59 and released as v2.11.56+131) already ships everything this PR does:
Merging this as well would only duplicate that code. Generated by Claude Code |
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.
What changes
PulseLoop's update feature is now the standard for every app (Gabriel Design System 0.4.0,
docs/self-update.md). This PR brings PulseLoop itself up to that standard.SHA256SUMS.txt(release.yml).tr(), with Portuguese entries. Failure reasons are fixed phrases, such as "no connection" or "GitHub didn't answer", instead of raw HTTP codes.Checks run
./gradlew :app:testDebugUnitTest: 1,803 tests, 3 failures. They are the same 3 that fail on main without this change:ResponsesHttpTest.testUnresolvableHostRetriesThenFailsAsTransportand twoMealJournalTestcaffeine-timing tests.UpdateCheckerTest(5 tests) covers parsingSHA256SUMS.txt, which APK is picked (HTTPS only), the size label, and the tag.Design files
No new screen, and the dialog keeps its layout. Neither the canvas nor the design-system artifact could be opened from this session.
Generated by Claude Code