diff --git a/Release-checklist.md b/Release-checklist.md index 0545cb9..f756404 100644 --- a/Release-checklist.md +++ b/Release-checklist.md @@ -3,7 +3,8 @@ CI proves the build, the unit tests and the contract. These need a person and a phone, and gate the tag. -1. **Sign in** by device code to an instance on 1.7.0 or newer; the instance appears in Settings. +1. **Sign in** by device code to an instance on LLeMbas 2.0 or newer; the instance appears in + Settings. With the phone offline, the sign-in says the instance cannot be reached. 2. **The list**: Chats and Agents tabs, pull to refresh, swipe to archive (and it is archived on the web too). 3. **A reply streams**: thinking, a tool call opened, the metrics. Lock the phone halfway, unlock: @@ -19,3 +20,14 @@ the tag. asks to unlock. 9. **The tile and the shortcut** open the sheet. 10. **Both themes**, and the narrowest phone at hand: nothing runs off the screen. +11. **Attach**: take a photo, choose photos, choose a file; each arrives on the web page with the + message. +12. **A new agent chat** on a linked device, in each mode; with no device linked the screen says + how to link one. +13. **Copy, rename, edit, regenerate, stop**: each does what the web page's button does. +14. **Offline**: airplane mode in a chat -- send says the instance cannot be reached and the + message stays in the composer; back online, the stream picks up by itself. + +The test builds from `dev` (CI's `llembas-android-debug-N` artifact) are the way to walk this +list before a tag: they install beside a released app and over each other. A `-beta.N` tag is +published on GitHub as a pre-release by `release.yml` itself. diff --git a/Working-notes.md b/Working-notes.md index 364d976..420483c 100644 --- a/Working-notes.md +++ b/Working-notes.md @@ -70,3 +70,13 @@ layout on a real phone at its narrowest; the emulator's default is not a phone. `tool_show.json`. The file's text is `GET /api/v2/chats/{chat}/show?node=&version=` or `?shown=` (plain text, at most 1 MB; 413 too large, 415 not text, 404 out of reach). The app refuses a server whose app API is not 2. +- **Debug builds are signed with a public test key**, `app/test-debug.keystore` (passwords + `android`, alias `androiddebugkey`). A runner makes a new debug key each run, so without it no + test build installs over the one before. It signs only the `.debug` application id; it is not + a secret and must never sign a release. +- **GitHub release assets can answer 504 for minutes at a time.** CI takes ktlint from Maven + Central (`ktlint-cli--all.jar`), hash-pinned: it is the same jar the signed GitHub binary + wraps after a shell header. A ktlint update checks that again before moving the hash. +- **A failure is shown through `ui/Errors.kt`'s `explain()`**: the server's sentence for a + refusal, one "cannot be reached" sentence for a network that is not there. Never `e.message` + straight to the screen.