Skip to content

J5 relative ages freeze: adopt upstream's RelativeTime after the next advance #299

Closed

Description

@Jacksondr5

Problem

Several J5 screens show a relative age ("33s", "2m") that freezes, because nothing gives the label a clock. With the React Compiler on, each label is cached on its timestamp, so it updates only when something else re-renders:

  • Inbox "open" age and the retired-Crew age: apps/web/src/j5/a2a/HumanInboxPage.tsx (about lines 262 and 375). Frozen for as long as the row is on screen.
  • Fleet "Last activity": apps/web/src/j5/fleet/FleetPage.tsx (about lines 570 and 684). Frozen while the Fleet is quiet.
  • Spawned-child ages in the sidebar: apps/web/src/j5/threads/SpawnedChildren.tsx (about line 249).
  • Archive warning age: apps/web/src/j5/a2a/ArchiveWarningContent.tsx (about line 93).

Plan (Jackson, 2026-10-18): wait for the next upstream advance

Upstream fixed this class of bug in pingdotgg#20814 and pingdotgg#21026 (merged 2026-10-17), adding RelativeTime and useRelativeTimeState. They missed our last advance by a day: we are on nightly 3238, built from a 2026-10-16 commit, and they first ship in nightly 3285 (2026-10-18). Upstream's own sidebar ages freeze the same way until then.

After the next advance, render the ages above through upstream's RelativeTime. Don't add a J5 clock in the meantime.

Done when

  • Every age listed above updates on its own while the screen is idle.
  • Before/after screenshots or a short video show an idle Inbox or Fleet age advancing.

Closed parts of the original issue

An investigation on 2026-10-18 (j5/main 3a55dfe) found the rest of this issue already resolved:

Activity

  1. added
    bug
    on Sep 24, 2026
  2. changed the title [-]J5 surfaces go stale: relative times without a clock, a stuck read stops polling, and identity is read once[/-] [+]J5 relative ages freeze: adopt upstream's RelativeTime after the next advance[/+] on Oct 19, 2026
  3. Jacksondr5 commented on Oct 25, 2026

    @Jacksondr5
    OwnerAuthor

    Fixed in #705 (the T3 Code v0.1.3 advance): every age listed here now renders through upstream's RelativeTime / useRelativeTimeState or J5's RelativeAge wrapper, and the PR's video shows an idle Fleet age advancing. Close when #705 merges.

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

    bug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions