Skip to content

Fix live usage, session views, and warm startup (v0.8.23) - #324

Merged
ekalb81 merged 2 commits into
mainfrom
codex/recording-runtime-fixes
Oct 5, 2026
Merged

ekalb81 merged 2 commits into
mainfrom
codex/recording-runtime-fixes

Conversation

@ekalb81

@ekalb81 ekalb81 commented Oct 5, 2026 •

Copy link
Copy Markdown
Owner

Continuous session updates could discard every usage-query result, leaving the table blank. Keep successful backend-verified snapshots visible with an explicit refreshing status while a serialized follow-up runs. Session scope, date, rate-card, and history changes still invalidate obsolete results.

Native validation also reproduced a warm-start deadlock: history hydration acquired the ledger writer before publication, while live updates acquired the same locks in reverse order. Hydration now follows the existing publication-before-writer order, preserving newer updates and removals while streaming the archive.

Align shared table columns and prevent timestamps from overlapping adjacent cells. Normalize duration rounding and distinguish empty, loading, failed, and retained-detail states, with accessible Retry and Close actions. Includes the v0.8.23 version bump.

Fixes #323
Fixes #325

Validation:

  • Required frontend checks passed: Svelte check, 546 Vitest tests, 32 script tests, and production build.
  • Rust formatting, Clippy, and full tests passed at v0.8.23. The new Linux concurrency regression failed before the fix and passed afterward; 16 retention tests also passed.
  • All 40 intentional visual changes were inspected; final pinned browser comparison passed all 94 checks, including 1,115-session scrolling and column alignment.
  • Native Tauri testing passed with an isolated 1,101-session corpus and concurrent file appends: cold/warm startup, live totals, filtering, virtual scrolling, aligned columns, selected details with normalized duration, and the empty Gemini detail state. Native testing ran on Linux WebKit; Windows release validation remains the release build.
  • All final-head CI and CodeQL checks passed at 73a2ed4, including visual regression.

The recording remains private; fixtures and validation screenshots use synthetic sessions.

Prepare v0.8.23 with verified snapshots during streaming, readable aligned columns, and honest detail loading and retry states.
@codecov

codecov Bot commented Oct 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@ekalb81 ekalb81 changed the title Fix live usage refresh and session-view regressions (v0.8.23) Fix live usage, session views, and warm startup (v0.8.23) Oct 5, 2026
@ekalb81
ekalb81 marked this pull request as ready for review October 5, 2026 16:50
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-05T16:56:36.308379Z 73a2ed4 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@ekalb81
ekalb81 merged commit 1e038b0 into main Oct 5, 2026
15 of 16 checks passed
@ekalb81
ekalb81 deleted the codex/recording-runtime-fixes branch October 5, 2026 16:59
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.

Prevent warm-start deadlock during concurrent history hydration and live updates Fix live-refresh and session-view regressions observed in v0.8.22

1 participant