Merged
Conversation
Member
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds duration tracking to task execution and displays time saved from cache hits in the UI. When tasks are executed from cache, the system now shows how much time was saved compared to the original execution, along with a total time saved summary.
- Track execution duration for each task and store it in the cache
- Display individual task duration savings and total time saved in the UI
- Update database schema to support the new duration field with version migration
Reviewed Changes
Copilot reviewed 18 out of 18 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| packages/tools/src/utils.ts | Fix regex pattern for time matching in test output normalization |
| packages/cli/snap-tests/*.txt | Update test snapshots to include duration savings in cache hit messages |
| crates/vite_task/src/ui.rs | Add duration display logic to performance summary and task details |
| crates/vite_task/src/schedule.rs | Update CacheStatus enum to include original duration for cache hits |
| crates/vite_task/src/execute.rs | Add duration tracking to task execution with timing measurement |
| crates/vite_task/src/cache.rs | Update cache storage to include duration and handle database schema migration |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
86236ef to
c89a997
Compare
ed236eb to
3a69079
Compare
c89a997 to
3cc90de
Compare
fengmk2
approved these changes
Sep 23, 2025
Member
Author
Merge activity
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

feat: show saved time in summary
This PR adds duration tracking to task execution and displays time saved from cache hits in the UI. When a task is executed from cache, it now shows how much time was saved from the original execution. The summary also displays the total time saved across all cache hits.
The changes include: