-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
misc: persist upload timings to cy cloud #28418
Conversation
cli/CHANGELOG.md
Outdated
|
||
_Released 12/5/2023 (PENDING)_ | ||
|
||
**Features:** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This feels like a misc task that users don't care about. I wouldn't flag this as a feature since it's internal to us.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated in 9badcb4
packages/server/lib/modes/record.js
Outdated
// performance.now() gives milliseconds with many decimals - this is | ||
// higher resolution than we need, and the cy cloud column is int, not | ||
// a floating poina | ||
uploadDuration: Math.round(performance.now() - startTime), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we change this from duration to upload duration ? does this create an new column in the DB ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new column has already been created in the DB, and the api schema has this field as uploadDuration
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
instances/:id/artifacts
#28238Additional details
To more effectively monitor the duration of uploading artifacts to cy cloud, we now record that duration when finalizing artifact uploads.
Steps to test
How has the user experience changed?
PR Tasks
cypress-documentation
?type definitions
?