Skip to content

fix: load and download complete paginated run logs - #7

Merged
HsukqiLee merged 1 commit into
masterfrom
fix/complete-log-history
Nov 17, 2026
Merged

HsukqiLee merged 1 commit into
masterfrom
fix/complete-log-history

Conversation

@HsukqiLee

Copy link
Copy Markdown
Contributor

The log API paginates at 5000 rows, but the web client requested one page and downloaded only its in-memory rows. A 6001-row history therefore lost the tail in the viewer and export.

The existing log client now follows the sequence cursor through all pages. Download obtains a fresh complete history, disables duplicate download clicks while fetching, and reports retrieval failure through the existing error UI rather than producing a partial file. Log-panel loading uses the same error handling.

Validation:

  • The HTTP client regression failed before the change at 5000 versus 6001 rows and now passes complete retrieval, empty tail and later-page failure.
  • A real Linux Go HTTP server loaded typed persisted Run/Session/JSONL fixtures and served the production React build to Chromium. The actual log panel loaded 6001 rows and its download contained all 6001 lines, with no page errors.
  • Windows type checking and the full web build passed.
  • The Windows browser-launch path crashed natively and is not counted as passing; the Linux browser run completed successfully.

The client regression runs in the existing frontend CI build job, using Node 24 for its native TypeScript runner. No new dependency, API field or server pagination contract was added. Addresses AH-02 in #1. Full final CI must pass before merge.

@HsukqiLee
HsukqiLee merged commit 7f9e7ea into master Nov 17, 2026
3 checks passed
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