Skip to content

fix(web): recover thread views without stale reads or spurious warnings - #986

Merged
nixuuu merged 1 commit into
devfrom
fix/resolve-nightly-errors-warnings
Nov 18, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/resolve-nightly-errors-warnings

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Nightly.75 console report

  • Reproduced the actorAvatars exception and derived_inert warnings by invalidating avatar reads just before a PR snapshot reset. Scheduled refreshes now use a mounted subscriber, and a later explicit read uses its own fetch function.
  • Preserve the saved timeline anchor through a slow initial snapshot. Start the positioning deadline once data arrives and compare watch liveness against loaded history. Routine history paging still contributes to the diagnostics counter. Actionable recovery warnings keep their reason.
  • Open a cold thread through the owner-scoped GetThread RPC while the overview stream is rebuilding. Skip Git scans for unavailable placements. Report busy, missing, oversized and timed-out checkouts in the panel, retain the last successful counts on a transient scan failure, and cancel an abandoned shared HTTP request when its last reader leaves.
  • Skip idle web, desktop and BFF diagnostics submissions. Reserve admission and checkpoint space for active sessions within the existing 6 MiB budget. A frozen minute carries its checkpoints even if RPC load exhausted the space for its metric series.

The screenshots omit response bodies and the expanded recovery objects. The tests cover concrete paths to the reported statuses. Genuine connectivity and rate limits still surface.

Local verification

  • Focused shared-query, overview invalidation, BFF state and reads, Git status, thread history/watch, client diagnostics and persistence tests. Gateway, domain and web typechecks passed. Lint and formatting checked on edited files. Full gate runs in CI.
  • Chromium at 1280 and 390 px, light and dark. PR reset and avatar reload produced no exception or Svelte warning after the fix. In a 1000-turn thread, a 2.25 s initial snapshot delay restored an 8 px scroll offset. A real checkout reported its changed file, and a removed worktree issued no Git request. Desktop rapid navigation cancelled the in-flight request. At phone width in both themes, closing thread details and navigating to the removed worktree started one Git read, cancelled it once and issued no further Git request.

Copy audit

Reviewed all ten items in docs/copy.md §8. Generic Git refresh failures now identify the missing directory, busy checkout, size limit or timeout and give a recovery action. Directory terminology matches the glossary. Short, typical and long names were checked at desktop and phone widths. All items pass or are inapplicable.

Fixes: #456
Fixes: #569
Fixes: #672
Fixes: #799
Fixes: #847
Fixes: #900

Refresh shared queries through an active subscriber and cancel abandoned Git
reads. Keep thread navigation independent of overview recovery and preserve
the scroll anchor while the initial history snapshot is loading.

Skip idle diagnostics submissions and reserve checkpoint capacity within
the existing collector budget.

Fixes: #456
Fixes: #569
Fixes: #672
Fixes: #799
Fixes: #847
Fixes: #900
@nixuuu
nixuuu enabled auto-merge (squash) November 18, 2026 19:22
@nixuuu
nixuuu merged commit 9649168 into dev Nov 18, 2026
16 checks passed
@nixuuu
nixuuu deleted the fix/resolve-nightly-errors-warnings branch November 18, 2026 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant