Skip to content

fix(global): replace chrono with jiff for installation timestamps - #3496

Merged
fengmk2 merged 4 commits into
mainfrom
triagebot/fix-3495
Nov 20, 2026
Merged

fengmk2 merged 4 commits into
mainfrom
triagebot/fix-3495

Conversation

@voidzero-bot

@voidzero-bot voidzero-bot Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

The global CLI replaces the unmaintained chrono crate with jiff 1.x to address RUSTSEC-2026-0543. The chrono maintainer recommends this migration. Upstream discussion

The CLI reads existing RFC 3339 installedAt values and writes new timestamps in UTC. For packages installed with vp install -g, vp env which shows the local installation date. On Windows, jiff maps the system time zone to its bundled IANA time zone database.

Closes #3495

Automated triage bot fix (AI-assisted).

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://triagebot-fix-3495-viteplus-dev.voidzero-docs.workers.dev (commit 7d510b9)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://eeb9c65d-viteplus-dev.voidzero-docs.workers.dev 7d510b9 2026-11-20T03:53:08.460Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://6f3602e2-viteplus-dev.voidzero-docs.workers.dev 271761a 2026-11-20T03:43:02.244Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://4e241cf6-viteplus-dev.voidzero-docs.workers.dev 90b1767 2026-11-20T03:26:23.745Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://72e304be-viteplus-dev.voidzero-docs.workers.dev c623029 2026-11-20T03:13:18.311Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://c74b79ef-viteplus-dev.voidzero-docs.workers.dev ba29a40 2026-11-19T13:50:46.580Z Visit the dashboard ↗

@socket-security

socket-security Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedcargo/​jiff@​1.0.19810093100100

View full report

@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

CLI artifact sizes (7d510b9)

Final release artifacts built by the canonical build-upstream and build-windows-cli actions.
The dist rows use the Linux build. The core total excludes .node files to match the release artifact.

Artifact Format Base PR Change
packages/cli/dist Directory total 2.38 MiB 2.38 MiB 0 B (0.00%)
packages/core/dist Directory total 4.11 MiB 4.11 MiB 0 B (0.00%)
Combined package dist Directory total 6.49 MiB 6.49 MiB 0 B (0.00%)
vp (Linux x64) Binary 8.37 MiB 8.49 MiB +128.07 KiB (+1.49%)
vp (Linux x64) gzip -9 3.83 MiB 3.89 MiB +62.68 KiB (+1.60%)
NAPI (Linux x64) Binary 37.19 MiB 37.19 MiB 0 B (0.00%)
NAPI (Linux x64) gzip -9 14.86 MiB 14.86 MiB 0 B (0.00%)
vp (macOS ARM64) Binary 5.46 MiB 5.57 MiB +113.25 KiB (+2.03%)
vp (macOS ARM64) gzip -9 3.26 MiB 3.32 MiB +61.12 KiB (+1.83%)
NAPI (macOS ARM64) Binary 43.75 MiB 43.75 MiB 0 B (0.00%)
NAPI (macOS ARM64) gzip -9 18.99 MiB 18.99 MiB 0 B (0.00%)
vp (Windows x64) Binary 6.21 MiB 6.59 MiB +387.50 KiB (+6.10%)
vp (Windows x64) gzip -9 2.87 MiB 3.00 MiB +130.99 KiB (+4.45%)
NAPI (Windows x64) Binary 33.16 MiB 33.16 MiB 0 B (0.00%)
NAPI (Windows x64) gzip -9 13.59 MiB 13.59 MiB -2 B (-0.00%)
Trampoline (Windows x64) Binary 13.50 KiB 13.50 KiB 0 B (0.00%)
Trampoline (Windows x64) gzip -9 7.09 KiB 7.09 KiB 0 B (0.00%)
Installer (Windows x64) Binary 4.69 MiB 4.69 MiB 0 B (0.00%)
Installer (Windows x64) gzip -9 2.25 MiB 2.25 MiB +2 B (+0.00%)

@fengmk2 fengmk2 changed the title fix(vp_global_cli): replace unmaintained chrono with jiff (RUSTSEC-2026-0543) fix(global): replace chrono with time for installation timestamps Nov 20, 2026
@fengmk2 fengmk2 changed the title fix(global): replace chrono with time for installation timestamps fix(global): replace chrono with jiff for installation timestamps Nov 20, 2026
@fengmk2 fengmk2 self-assigned this Nov 20, 2026
@fengmk2
fengmk2 merged commit 3e9de27 into main Nov 20, 2026
77 of 78 checks passed
@fengmk2
fengmk2 deleted the triagebot/fix-3495 branch November 20, 2026 04:00
@fengmk2 fengmk2 mentioned this pull request Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace the unmaintained chrono dependency in vp_global_cli (RUSTSEC-2026-0543)

1 participant