fix patch hub feat/phase-2g-bundle
AI Agent git-import/068377df · 116 days ago · Apr 2, 2026 · Diff

fix(hub): local-timezone dates for proposals; retry POSTs on cold start; warmup every 1 min

Proposal timestamps (Activity tab + Suggested list) showed UTC date (e.g. Apr 2) instead of local calendar day (Apr 1) because updated_at/created_at were sliced as raw UTC strings. Now uses calendarDisplayDayKey() which converts via local timezone, consistent with how note dates are displayed.

api() now retries POST/PATCH/DELETE once (2s delay) on pure network failures — these are safe to retry because the request never reached the server (unlike 5xx which would be a server-received-and-failed scenario). Import fetch() also retries once. This handles cold-start gaps between warmup pings.

Warmup changed from every 5 min to every 1 min to prevent Lambda idle timeouts.

sha256:33c907ca19d54c50a072b5e7a310c4329d47beafa6d06b555fd0e05d29c875fe sha
sha256:9a3fd3ed33f16c9e3efdabf865d6d6e8fbce0f4617843bd4d7f102831d030629 snapshot
← Older Oldest on feat/phase-2g-bundle
All commits
Newer → Latest on feat/phase-2g-bundle

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:33c907ca19d54c50a072b5e7a310c4329d47beafa6d06b555fd0e05d29c875fe --body "your comment"