From de1a069ede9ba866c3736766483dd63eff152f65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=80=9D=E6=96=87?= <> Date: Tue, 1 Dec 2026 09:49:18 +0800 Subject: [PATCH] Record Doca 0.3.4 release and Android upgrade verification --- docs/verification/README.md | 2 ++ docs/verification/release-0.3.4.md | 18 ++++++++++++++++++ specs/034-mobile-query-cache/spec.md | 2 +- specs/034-mobile-query-cache/tasks.md | 2 +- specs/034-mobile-query-cache/validation.md | 10 ++++++---- specs/035-android-session-lifetime/spec.md | 2 +- specs/035-android-session-lifetime/tasks.md | 2 +- .../035-android-session-lifetime/validation.md | 10 ++++++---- 8 files changed, 36 insertions(+), 12 deletions(-) create mode 100644 docs/verification/release-0.3.4.md diff --git a/docs/verification/README.md b/docs/verification/README.md index 5f9fc7ea..7402355e 100644 --- a/docs/verification/README.md +++ b/docs/verification/README.md @@ -2,6 +2,8 @@ Reviewed verification summaries and documentation attachments are committed here, grouped by acceptance case or release. Keep the original dates, results and scope. Existing committed release evidence and attachments remain available to the documentation that cites them. +- [Doca 0.3.4 publication and Android upgrade](release-0.3.4.md) + Scripts write generated logs, screenshots, JSON reports and exports to `artifacts/verification//`, which is entirely ignored by Git. Reusable test inputs belong in `tests/fixtures/`; application icons, documentation images, package manifests and other source configuration stay in their source directories. New local output requires no ignore-rule changes. The untracked raw attachments and seven temporary diagnostic or intermediate-run READMEs from `issue-tracker-2026-10-21/` now live under `artifacts/verification/issue-tracker-2026-10-21/`. Raw attachment bytes are preserved. Long-term summaries and contracts remain here; references marked “本地产物”, “本地图片” or “本地记录” describe ignored local files and are not repository links. Historical results and source fingerprints describe their original runs, not a rerun after this path cleanup. Deliberately selected attachments required by published documentation may still be committed alongside their referring documentation. Required dependency patches and reusable test scripts remain tracked source inputs. diff --git a/docs/verification/release-0.3.4.md b/docs/verification/release-0.3.4.md new file mode 100644 index 00000000..20c5bd9e --- /dev/null +++ b/docs/verification/release-0.3.4.md @@ -0,0 +1,18 @@ +# Doca 0.3.4 release verification + +Verified on December 1, 2026. The release tag points to `ebf8bf4d8afc9e1ad1f394412707e6b4c334b0b6`. The Android EAS build used `dcbdfd9bc54ba56546cf4f36f089b823c790daa7`, whose source tree matches the release tag. [Source release](https://github.com/workhold/doca/releases/tag/v0.3.4) + +## Distribution + +- Docker Hub `smartdoca/doca:0.3.4` and `smartdoca/doca:latest` resolve to `sha256:9c64b854524c2cd0f5dc9206f32ce5b22cc6686897506c64195b5902d1deb0e6`. The index contains `linux/amd64` and `linux/arm64`. Both architectures passed the workflow's browser, plugin, PDF, Canvas, Office and runtime checks. [Image publication](https://github.com/workhold/doca/actions/runs/46553768744) +- The GitHub release includes the 0.3.4 macOS universal DMG and Windows x64 NSIS and MSI installers. The published digests match the provided checksums. The desktop update tag links to those installers. [Desktop release](https://github.com/workhold/doca/releases/tag/desktop-v0.3.4) · [Installer builds](https://github.com/workhold/doca/actions/runs/46553768787) +- The Android APK uses package `app.doca.mobile`, version name `0.3.4` and version code 3. Android SDK tools verified the APK signature against a rebuild of the original 0.1.0 source using the original EAS signing identity. APK SHA-256 is `0a82decd2b18115f47a3814add3a324d27a55f8160e587b64f754762f0ed4dbf`. [Android build](https://expo.dev/accounts/zhangxiaojias-team/projects/zhangxiaojia/builds/5ba27324-12c1-44d9-8c83-a1e661d409bf) +- Downloaded the Compose YAML and offline deployment archive from GitHub. Both matched their published checksums and the YAML refers to the 0.3.4 image. + +## Executed checks + +- The full host test suite on the 0.3.4 source tree passed 3717 tests and skipped 11. Mobile type checking, the production Web build, SDD and documentation checks passed. GitHub application, desktop and PostgreSQL 17/18 checks passed. [Release PR](https://github.com/workhold/doca/pull/193) +- Android 15 arm64 emulator, two isolated HTTPS Doca 0.3.4 fixtures. Overlaid 0.3.4 onto signed 0.1.0. Both saved accounts and the original server tokens survived. The old query file was removed, a separate plugin file was retained, and switching backends showed the correct fixture documents. +- On Android 0.3.4, explicit sign-out revoked the old token. A fresh sign-in issued the non-expiring session, and a cold start used the same token. The host regression covered the 2040 server clock, older timed sessions, account disablement and password reset. Local native mocks covered late rejection of a replaced credential and exact-file cleanup. + +Raw evidence is stored under `artifacts/verification/release-0.3.4/`. Installation and account verification used an emulator and disposable test resources. diff --git a/specs/034-mobile-query-cache/spec.md b/specs/034-mobile-query-cache/spec.md index f8c85f39..02d7deb7 100644 --- a/specs/034-mobile-query-cache/spec.md +++ b/specs/034-mobile-query-cache/spec.md @@ -1,7 +1,7 @@ # Mobile query cache for the Android release **Level**: full -**Status**: accepted +**Status**: verified **Created**: 2026-12-01 **Decision**: The owner approved retiring the 0.1.0 on-device query file before distributing the Android 0.3.4 APK, including the exact file to remove, the retained data and the rollback procedure. diff --git a/specs/034-mobile-query-cache/tasks.md b/specs/034-mobile-query-cache/tasks.md index 55bfd192..3ca0d467 100644 --- a/specs/034-mobile-query-cache/tasks.md +++ b/specs/034-mobile-query-cache/tasks.md @@ -4,4 +4,4 @@ - [x] T001 Remove native query persistence and run exact-file cleanup. (AC-001) - [x] T002 Clear the in-memory cache before publishing a new active session. (AC-002) -- [ ] T003 Build the signed release package and verify Android startup, cache cleanup and account isolation. (AC-001, AC-002, AC-003) +- [x] T003 Build the signed release package and verify Android startup, cache cleanup and account isolation. (AC-001, AC-002, AC-003) diff --git a/specs/034-mobile-query-cache/validation.md b/specs/034-mobile-query-cache/validation.md index 0bf4b11c..76409590 100644 --- a/specs/034-mobile-query-cache/validation.md +++ b/specs/034-mobile-query-cache/validation.md @@ -1,8 +1,10 @@ # Validation **Spec**: [Feature specification](spec.md) -**Result**: pending +**Result**: passed -- AC-001: Seed the old query file in an isolated Android installation and verify deletion, repeated launch and absence of a replacement after queries complete. -- AC-002: Check retained backends and plugin files and switch between two isolated accounts. -- AC-003: Verify Android package name, code and signing certificate, installation and launch. +- **AC-001**: Android 15 started from 0.1.0 with an actual query file. The 0.3.4 APK removed it and subsequent queries and cold starts left it absent. A local native mock verified the exact file and idempotent deletion. +- **AC-002**: A separate plugin file, two saved backends and their original sessions survived the in-place upgrade. Switching backends loaded the selected backend's fixture documents. +- **AC-003**: Verified `app.doca.mobile` version 0.3.4 code 3 and the same signing certificate as the reconstructed 0.1.0 code 1 APK. Android 15 installed it over 0.1.0 and opened the existing signed-in workspace. + +[Release verification](../../docs/verification/release-0.3.4.md) diff --git a/specs/035-android-session-lifetime/spec.md b/specs/035-android-session-lifetime/spec.md index aa0191b8..25943503 100644 --- a/specs/035-android-session-lifetime/spec.md +++ b/specs/035-android-session-lifetime/spec.md @@ -1,7 +1,7 @@ # Android session lifetime **Level**: full -**Status**: accepted +**Status**: verified **Created**: 2026-12-01 **Decision**: The owner explicitly approved non-expiring new Android 0.3.4 password logins on the new server, preserving previously issued sessions and their current expiry policy. diff --git a/specs/035-android-session-lifetime/tasks.md b/specs/035-android-session-lifetime/tasks.md index e7763028..b7a8bde2 100644 --- a/specs/035-android-session-lifetime/tasks.md +++ b/specs/035-android-session-lifetime/tasks.md @@ -4,4 +4,4 @@ - [x] T001 Implement Android sign-in with the server-side lifetime policy and document the API. (AC-001, AC-003) - [x] T002 Confirm Android logout and retain the session across transient failures. (AC-002) -- [ ] T003 Run regression checks for the new and previous sessions and verify the Android release against the host. (AC-001, AC-002, AC-003) +- [x] T003 Run regression checks for the new and previous sessions and verify the Android release against the host. (AC-001, AC-002, AC-003) diff --git a/specs/035-android-session-lifetime/validation.md b/specs/035-android-session-lifetime/validation.md index 7c9b2d03..bc2b8871 100644 --- a/specs/035-android-session-lifetime/validation.md +++ b/specs/035-android-session-lifetime/validation.md @@ -1,8 +1,10 @@ # Validation **Spec**: [Feature specification](spec.md) -**Result**: pending +**Result**: passed -- AC-001: Compare stored expiry and authorization before and after advancing the host clock. Launch the signed APK against an isolated Doca host and restart it after signing in. -- AC-002: Verify explicit logout, revocation and inactive accounts. Check that a transient bad response cannot remove a valid saved login. -- AC-003: Compare browser, earlier mobile and new Android sign-in. Test an old Android query-cache fixture separately under the [cache spec](../034-mobile-query-cache/validation.md). +- **AC-001**: The signed Android 0.3.4 APK logged in to Doca 0.3.4 and used the same non-expiring session after a cold start. The host regression advanced the clock to 2040 and verified the session without renewing its marker. +- **AC-002**: The signed app revoked the existing session on explicit sign-out. The SQLite and PostgreSQL regressions verified administrative disablement and password reset. Native mocks verified denial from an earlier token and a network failure preserve a valid replacement session. +- **AC-003**: The original Android 0.1.0 APK and signed 0.3.4 in-place upgrade retained both existing timed sessions. A fresh Android sign-in obtained the new policy. The host tests checked the timed mobile and browser paths separately. + +[Release verification](../../docs/verification/release-0.3.4.md)