Skip to content

fix(desktop): clean artifacts timestamps and browser assets#48577

Open
tt-a1i wants to merge 1 commit into
NousResearch:mainfrom
tt-a1i:codex/desktop-artifacts-time-and-browser-assets
Open

fix(desktop): clean artifacts timestamps and browser assets#48577
tt-a1i wants to merge 1 commit into
NousResearch:mainfrom
tt-a1i:codex/desktop-artifacts-time-and-browser-assets

Conversation

@tt-a1i

@tt-a1i tt-a1i commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Fixes #48350

Summary

  • Normalize artifact timestamps stored as epoch seconds before sorting and display, including message and session fallback timestamps.
  • Filter browser/CDP/Playwright tool results so page asset URLs from snapshots are not indexed as user artifacts.
  • Preserve explicit browser artifact fields such as screenshot_path, including JSON payloads wrapped in <untrusted_tool_result>.

Tests

  • npm run test:ui --workspace apps/desktop -- src/app/artifacts/index.test.ts
  • npm run typecheck --workspace apps/desktop
  • cd apps/desktop && npx eslint src/app/artifacts/index.tsx src/app/artifacts/index.test.ts
  • npx prettier --check apps/desktop/src/app/artifacts/index.tsx apps/desktop/src/app/artifacts/index.test.ts
  • git diff --check origin/main...HEAD

Notes

  • Full npm run test:ui --workspace apps/desktop was attempted earlier and fails in this checkout on existing unrelated localStorage/platform baseline failures outside this diff; the focused artifacts test passes.

@alt-glitch alt-glitch added type/bug Something isn't working comp/tui Terminal UI (ui-tui/ + tui_gateway/) P3 Low — cosmetic, nice to have labels Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/tui Terminal UI (ui-tui/ + tui_gateway/) P3 Low — cosmetic, nice to have type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Desktop Artifacts page displays session timestamps as Jan 1970-era dates and indexes non-artifact page images

2 participants