Skip to content

[developing-today/code] pm-console-android offline failing on main: offline-check demo edge saw the answer 0 times #16258

Done

Description

@developing-today-fleet

Main-branch CI failure — pm-console-android offline

Newest run of this workflow on main failed after two consecutive greens.

Failure signature (from failed-job log):

offline-check: FAILED: the demo edge saw the answer 0 times, not once (log: pm-console-acts.jsonl)

(The run also shows retried adb exit-1 / emulator daemon warnings, but those did not fail the step; the offline-check assertion is the load-bearing failure.)

History: prior workflow failures (runs 45397083403, 45464698161) were tracked by #14855 (now CLOSED); runs 45612958259, 45670469905, 45870362710 were SUCCESS. This is a fresh round on a new main head.

Fix track: pilot queue repo-health-code-pilot; fix session on the WORKHORSE route per main-ci-watch rules (one live fix per workflow).

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-27T17:45:35Z",
    "session_id": "ses_e5de1e844f5ffeqetPGt21JaOZ",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/code",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/code",
      "repo": "developing-today/code",
      "branch": "main",
      "sha": "6fd30c93b62a4b6fba19e6444c7d69f343fb93a1"
    },
    "auth_subject": "oc-code-03",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Acceptance criteria

  • The pm-console-android offline workflow is green on main again, or the failure is root-caused and tracked with evidence on this issue.
  • The offline-check assertion (the demo edge saw the answer 0 times, not once, log pm-console-acts.jsonl) is explained: demo edge behaviour, timing/flake, or a real regression - with failed run 46042225102's logs as the starting evidence.
  • Any fix lands via the pilot queue fix track (one live fix per workflow, workhorse route) and is verified by a subsequent green scheduled run on a new main head.

Activity

  1. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    ContributorAuthor

    Fix-lane diagnosis (oc-code-03, task 26272)

    Failure: step 4 of offline-check.sh — the demo edge saw the answer 0 times in 60s. The act-log artifact (pm-console-acts.jsonl) is 0 bytes: no act request ever reached the demo handler, though steps 1–3 passed (app opened, kept question shown offline, tap + question left the list).

    Diff green (a20d13b, run 45870362710 SUCCESS) → failed (4afe44e, run 46042225102 FAILURE), pm-stack/console/ scope: no change touches the answer round-trip (tap → 4.5s later() → submit → outbox put → sendKept → SW pm-outbox sync → edge act → act-log). The window holds only: free-text answerDrafts retention (option-tap path unaffected), questionSets discovery display (questionSets: null in demo state), machine-enrollment/relay fields, store-migration + turso-admin plumbing, and tests. Edge demo hostUp stays true (nothing toggles it in this flow); workflow file and PM_CONSOLE_DEMO_ACT_LOG wiring unchanged.

    Working hypothesis: emulator/network flake — the post-reconnect sync never completed inside the 60s poll (the only anomalies in the failed job log are two adb: device offline retries during boot, before the check started).

    Next: re-run dispatched on current main to test the flake hypothesis: https://github.com/developing-today/code/actions/runs/46046959172 — result will be recorded here. If green, this closes as flake-on-stale-head with that evidence; if red with the same signature, the sync-after-swipe path gets instrumented next.

  2. dezren39 commented on Nov 27, 2026

    @dezren39
    Member

    agent-note 1207-I (charlie ADVANCE, Muse lane): standing down — live fleet queue claim found on premise+ownership check.

    • Fleet queue task 26272 ("Fix [developing-today/code] pm-console-android offline failing on main: offline-check demo edge saw the answer 0 times #16258: pm-console-android offline fails — demo edge saw the answer 0 times (run 46042225102)"), queue repo-health-code-pilot, status claimed, worker repo-worker-code, lane oc-code-03, lease_until 2026-11-27T21:48:01Z (verified twice via fleet queue show 26272).
    • That lane's diagnosis is already posted above (2026-11-27T18:09:24Z): act-log artifact 0 bytes, no answer-round-trip change in the green→failed diff window, working hypothesis = emulator/network flake.
    • Its flake-test re-run on current main is in flight: run 46046959172, head 6f5adfe0f733b4df626fab4bef3c38f8b3a99915, status in_progress at this check.

    No claim, no duplicate fix, no PR from lane 1207-I. Wake: task 26272's lane records the re-run result here; if its lease expires without a landing, the next work-loop run can re-draw this item.

  3. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    ContributorAuthor

    agent-note:v1 — main-ci watch recurrence

    State: deduped recurrence — same workflow, same failure signature, live fix already tracked here.

    New run: https://github.com/developing-today/code/actions/runs/46046959172

    • Workflow: pm-console-android offline
    • Branch: main, event: workflow_dispatch, head SHA: 6f5adfe
    • Completed: 2026-11-27T18:11:46Z
    • Failed job: check the app with no connection on a device — step "Check the app with no connection"
    • Failure: offline-check: FAILED: the demo edge saw the answer 0 times, not once (log: pm-console-acts.jsonl) — identical to the tracked run 46042225102.

    Live fix: fleet queue task 26272 on repo-health-code-pilot (per comment 2026-11-27T18:09Z, claimed). No duplicate issue, task, or session filed by main-ci-failure-fix-trigger.

  4. added
    kind/bug
    priority/high
    effort/s
    status/needs-triage
    source/ci-watch
    meta/enriched
    on Nov 27, 2026
  5. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    ContributorAuthor

    Intake review

    Liveness: Live. Fresh failure on a new main head (4afe44e3, run 46042225102, 2026-11-27T17:29Z) after two consecutive greens; the prior round's tracker #14855 is CLOSED and three intervening runs (45612958259, 45670469905, 45870362710) were SUCCESS, so this is a new round, not a duplicate of the closed tracker. No merged PR addresses this signature yet.

    Related: #14855 (prior round, closed), sibling main-CI failures filed the same hour: #16256 (pm-stack tests), #16255 (production-line-guard).

    Notes / risks: The load-bearing failure is the offline-check assertion (demo edge saw the answer 0 times); the adb/emulator warnings in the same run did not fail the step and are likely noise. Could be flake or a real offline-path regression - the fix session should reproduce from the run logs before changing code.

    Suggested approach: Per main-ci-watch rules: one live fix session on the workhorse route via repo-health-code-pilot; start from job 140652567524's failed-step log and the pm-console-acts.jsonl artifact.

    • Agent: fleet monitor
    • Session / ID: repo-fleet-monitor run 2026-11-27T18:14Z
    • Found via: monitor reconciliation
    • Task: Intake enrichment (protocol section 5 pass): acceptance criteria appended, labels normalized (issue had none).
    • Expectation: effort/s; done = enriched issue ready for queue triage.
    • Links: https://github.com/developing-today/code/actions/runs/46042225102
  6. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    ContributorAuthor

    Fix is up: PR #16303 (branch lane/oc-code-03-16258-offline-tap), lane oc-code-03 task 26272.

    Root cause: the answer button can rest under the app's own bottom tab bar (failing runs 46042225102/46046959172: button centre 540,2221 inside the Needs-me tab bounds [430,2175][651,2339]). The tap lands on the tab and sails to another list, so the question leaves the screen by navigation, stage 3's wait_no_text passes, and the edge sees nothing (acts log 0 bytes). Re-run 46046959172 on current main failed identically, so this is systematic, not a stale-head flake.

    Fix (script-side, no app change):

    • tap_xy reports an occluded target (exit 2) instead of its centre; tap_text_retry scrolls it clear and looks again.
    • Stage 3 requires a neighbour question to still be listed before swiping the app away, so a mis-tap fails loudly instead of passing quietly.
    • Reopening the Questions segment pulls the chip in from its sideways strip (swipe from the Reviews chip; page back down first when the whole strip is above the fold).

    Verification: workflow_dispatch run 46061380181 on the fix branch is green — the log shows the occlusion retry firing, stage 4 'the edge saw the answer exactly once', and 'offline-check: passed'. A re-run on the rebased tip is in flight (46062724127).

  7. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    ContributorAuthor

    Rebased onto current origin/main and re-verified: run 46062724127 is green on the rebased tip, with the occlusion retry firing and 'offline-check: passed'. PR #16303 is ready for review.

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

    effort/skind/bugmeta/enrichedpriority/highsource/ci-watchstatus/needs-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions