Skip to content

pm-console Android: check the app with no connection on a device in CI #13500

Open

Description

@dezren39

Today. The Android app is the site in Chrome (a Trusted Web Activity), so the offline work (#13287) changed nothing in it, and it was checked in a desktop Chrome at phone size: opens with no connection, shows what it last saw, keeps what is done and sends it once. It was not checked on Android: a real phone with no signal, the app opened from its icon, the widget, Background Sync with the app swiped away.

What done looks like.

  • The Android workflow (.github/workflows/pm-console-android.yml) starts an emulator, installs the built APK, and drives it against a demo edge on the runner: open, go to aeroplane mode, open again from the icon, do something, come back, and see it sent once.
  • What Android does differently from desktop Chrome is written into pm-stack/console/README.md under "With no connection" (for one: how long after the app is swiped away a sync still runs).

Design record: doc/2026-11-23T06-50-00Z_architecture_pm_platform_cloudflare_core/.


Generated by Claude Code

Activity

  1. added
    kind/testTest coverage, test infrastructure, or test-only fixes
    app/pm-stackpm-stack (Pad/Grist) in developing-today/code
    source/agentCreated by an agent worker
    on Nov 23, 2026
  2. developing-today commented on Nov 23, 2026

    @developing-today
    Contributor
  3. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · in progress — PR open, verification running

    What landed in the PR: a nightly + manual workflow (pm-console-android-offline.yml) that builds the APK against the demo edge on the runner, starts an emulator, and drives the app — open, aeroplane mode, open again from the icon, answer a question, swipe the app away, network back — checking the demo edge saw that answer exactly once; the adb driver (offline-check.sh); a build-time site override (-PpmConsoleSite / PM_CONSOLE_SITE, release default unchanged); a demo act log (PM_CONSOLE_DEMO_ACT_LOG) as the witness, with a test; and the Android differences written into the console README under "With no connection".

    Verification in flight: full console suite remotely (developing-today/fleet#45246603296) and the emulator check as the workflow's equivalent (developing-today/fleet#45249379802). Note: GitHub only dispatches workflows that exist on the default branch, so the new workflow itself first runs after merge; the fleet-command run is the pre-merge evidence for the same steps. Results will be posted here when they land.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/pm-stackpm-stack (Pad/Grist) in developing-today/codekind/testTest coverage, test infrastructure, or test-only fixessource/agentCreated by an agent workerstatus:in-review

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions