Repository navigation
feat: add independent time normalization feature - #32
Conversation
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
transformCLRcurrently normalizes both ANSI colors and durations, and treats counts such as3 sourcesand2 stepsas seconds. Addfeatures.normalizeTime(defaulttrue) to control time normalization independently, and require a word boundary aftersto preserve those counts.transformCLRnow handles only colors.Time normalization preserves raw ANSI codes and normalized color markers, so it works with color transformation enabled or disabled. Scan each numeric value once and check its suffix separately to avoid repeated backtracking on long non-time values. It continues to support seconds (
s); milliseconds (ms) remain unchanged.Compatibility: users who previously disabled both behaviors with
transformCLR: falsemust now also setnormalizeTime: false.Addresses the time-normalization part of #30. Path and file URL fixes remain separate in #31.
Disable pnpm store caching in Windows CI: restoring the global virtual store repeatedly causes
EPERMresolving@swc/helpersbefore tests run. Keep the global virtual store enabled and install dependencies afresh on Windows.Validation: 43 tests pass, including all four feature combinations, long numeric inputs, and plain/colored duration and count regressions;
pnpm check, the build, and package creation pass. Ubuntu and CodeQL pass. Windows CI passes on two consecutive runs of the latest commit without clearing caches.