Skip to content

parity: fix(web): usage-limit retry notice shows the timezone (pingdotgg/t3code#23029) #160

Closed

Description

@rynfar

Upstream pingdotgg/t3code#23029 (689bdb82e9) changed code the native client depends on.

Watched files:

  • apps/web/src/components/chat/MessagesTimeline.browser.test.tsx
  • apps/web/src/components/chat/TimelineWorkEntryRow.tsx
  • apps/web/src/timestampFormat.test.ts
  • apps/web/src/timestampFormat.ts

Activity

  1. added
    parity
    parity:regression-risk
    on Nov 3, 2026
  2. added this to the M2 Parity core milestone on Nov 3, 2026
  3. rynfar commented on Nov 3, 2026

    @rynfar
    OwnerAuthor

    Triaged in intake #134: native shows 'Usage limit reached. Retry after {time}.' without the zone (crates/app/src/transcript/work.rs:141). Append the viewer's time zone as web does.

  4. added
    status:in-progress
    on Nov 3, 2026
  5. rynfar commented on Nov 3, 2026

    @rynfar
    OwnerAuthor

    PR #182 updated to 247e4da3dfe0422cc69417b94d4290e3b9c79586, rebased onto 34415059cf.

    The clock now passes a committed 900-case Node/Intl oracle spanning twelve locales, five hours, three settings and default/h11/h12/h23/h24. Cycle selection, numeric width and AM/PM selection are explicit; the Korean ICU 78 label difference is documented as compatibility data. The oracle generator and Node/ICU versions are committed with the fixture.

    Host locale construction now mirrors ElectronApp: macOS region and Apple clock overrides, Linux LC_ALL/LC_TIME/LANG precedence, C/POSIX fallback, and canonical tags. OS reads happen once per UI thread, and the same cached resolved tag supplies clock and macOS numeric dates. en-NL numeric padding is matched while retaining macOS 13 support.

    All required gates pass: 1,259 workspace tests (including the oracle), Clippy, theme, parity, conformance and snapshot build/capture. Evidence and failing-first logs: /private/tmp/native-160-evidence/r3/; final capture: after.png. Combined debug snapshot delta versus c80 is +2.58 MiB file / +1.86 MiB code/data, including rebases.

    Both ledger rows stay partial with Issues empty/#7. Non-macOS numeric-date fallback remains English; non-macOS execution and actual OS preference/zone changes remain unverified. No server writes, real windows or paid turns were used.

  6. added
    status:review
    and removed
    status:in-progress
    on Nov 3, 2026
  7. rynfar commented on Nov 4, 2026

    @rynfar
    OwnerAuthor

    Merged in #182 (squash 7a627cf, exact head 247e4da, gate GREEN 1,259 onto 3441505). The usage-limit retry notice, work rows and usage details show times in the viewer's named zone, with offsets from that zone on every target. Clocks follow the timestamp-format setting and the host locale, including macOS region and 12/24-hour overrides and Linux LC_TIME, checked against a 900-case Intl oracle. ST-GENERAL and TR-WORK stay partial. Remaining gaps (four-locale Intl divergences, non-macOS numeric dates, unverified platforms) are tracked in #188.

  8. removed
    status:review
    on Nov 4, 2026
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

    parityparity:regression-risk

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions