You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Time to create the artifact (time to execute build / lint / test)
The returned task runner includes startTime and endTime. I could surface the data inside the createCustomRunner callback.
It would be an array of tasks that would be passed to the cache. Here's an excerpt of it:
// Source: nx@17.0.2\node_modules\nx\src\config\task-graph.d.tsexportinterfaceTask{
...
/** * * Unix timestamp of when a Batch Task starts **/startTime?: number;/** * * Unix timestamp of when a Batch Task ends **/endTime?: number;/** * Determines if a given task should be cacheable. */cache?: boolean;
Relates to vercel/remote-cache#17
To properly report on time saved in Vercel Remote Cache, we need to know how long the cache artifact took to generate (the time the task took).
Is this something that is already provided by NX and could be passed through? Or does this require upstream changes in NX?
The text was updated successfully, but these errors were encountered: