Skip to content

TUI mount-network recovery loads oldest history but first-message viewport stays at newest rows in Linux CI #829

Open

Description

@agenteinstinct1-max

Observed

PR #808 exact head 8b66932ea8f7c4dd9c932cbc45f8a632fdb66f90 on integration base c54ff0ef5a1ba02f84bd96cd1e7c5454f4ef18ba failed Linux CI in:

bounded mount and on-demand older history (#815) > a network error on the mount read is reported and the next visit loads the history

The test failed after 1937.34ms at the frame readiness helper (packages/tui/test/fixture/frame.ts:61). TUI summary: 928 pass, 5 skip, 1 fail, 4267 assertions, 127.19s. Turbo exited 1 after 2m18.737s; this was not a workflow timeout.

Raw log: https://github.com/mdev34-lab/silvercode/commit/8b66932ea8f7c4dd9c932cbc45f8a632fdb66f90/checks/129550596617/logs

Narrowed failure

The earlier recovery checks passed: newest marker 150 was painted, reads reached 2, the sync error cleared, and hasOlder was true. After session.first, hasOlder became false and the store contained all 150 messages. Only the final painted(HISTORY-MARK-001) readiness check failed. The captured frame still showed markers 141 through 150.

One isolated control on base c54 passed in 888ms with 9 assertions. One isolated control on the exact #808 tree 52b0d3b26cef17360c2b7220c2ad23f58840ed79 passed in 988ms with 9 assertions. Both retained the original budgets. These controls do not clear the failing CI attempt or establish the cause.

Investigation and acceptance

Determine why the first-message action can finish loading the complete store while the rendered viewport stays at the newest messages after mount-network-error recovery. Capture the order of recovery, route/scroll readiness, first-message dispatch, page completion and frame update. A scroll race is only a hypothesis. A connection to #808's process/fixture changes, or independence from them, has not been established.

Preserve the first-marker pixel assertion, complete-store checks and original timeout budgets. No blanket retry, skip, timeout increase or CI waiver. Verify the recovery path reaches the oldest painted message while normal paging, live appends, reopening and complete transcript export/copy remain correct.

Related: #815 covers the history/export feature already merged through #817. This issue records a new observed recovery-path failure; it does not claim persisted data loss, recovery of a personal database, or a general Windows result. #815 is not reopened by this report.

Activity

  1. added
    priority: high
    priority: medium
    and removed
    priority: high
    on Nov 12, 2026
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

    priority: medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions