CI regression: offline artifact browser journey does not flush after reconnect #927

Closed
opened 2026-08-16 01:21:47 +00:00 by rockachopa · 1 comment
Member

Failure evidence

The main CI run for merge commit 76eed47487d1 failed in Actions run #1146 (task 2708, browser-journey). The release-candidate job was skipped.

Failing test:

tests/e2e/test_mobile_offline_issue_release.py::test_release_artifact_files_one_mobile_issue_exactly_once_after_offline_reload
assert fake.created_issues == [{...}]
E assert [] == [{...}]

The offline issue remains durable across reload, but after returning online and dispatching the online event no issue reaches the fake Gitea server within 20 seconds.

Acceptance criteria

  • Add a failing regression test that reproduces the reconnect flush failure.
  • Make the smallest fix so the durable offline issue flushes exactly once after reconnect.
  • python3 -m pytest tests/ -q passes.
  • The browser-journey Actions job passes on the fix PR and on merged main.
  • A new RC tag and Gitea release are produced after merge.
## Failure evidence The `main` CI run for merge commit `76eed47487d1` failed in Actions run **#1146** (task **2708**, `browser-journey`). The release-candidate job was skipped. Failing test: ```text tests/e2e/test_mobile_offline_issue_release.py::test_release_artifact_files_one_mobile_issue_exactly_once_after_offline_reload assert fake.created_issues == [{...}] E assert [] == [{...}] ``` The offline issue remains durable across reload, but after returning online and dispatching the `online` event no issue reaches the fake Gitea server within 20 seconds. ## Acceptance criteria - [ ] Add a failing regression test that reproduces the reconnect flush failure. - [ ] Make the smallest fix so the durable offline issue flushes exactly once after reconnect. - [ ] `python3 -m pytest tests/ -q` passes. - [ ] The `browser-journey` Actions job passes on the fix PR and on merged `main`. - [ ] A new RC tag and Gitea release are produced after merge.
rockachopa added the
P0
ci
labels 2026-08-16 01:21:47 +00:00
timmy was assigned by rockachopa 2026-08-16 01:21:47 +00:00
Author
Member

RC ready: v0.1.0-rc.1131 at 9adfcd01b628. CI passed lint, release build, and the packaged Chromium offline→reload→reconnect journey. Human test: install the RC bundle, queue one issue offline, reload, reconnect, and confirm it files exactly once.

RC ready: [v0.1.0-rc.1131](https://forge.alexanderwhitestone.com/git/stackchain/stackchain-dashboard/releases/tag/v0.1.0-rc.1131) at `9adfcd01b628`. CI passed lint, release build, and the packaged Chromium offline→reload→reconnect journey. Human test: install the RC bundle, queue one issue offline, reload, reconnect, and confirm it files exactly once.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: stackchain/stackchain-dashboard#927
No description provided.