-
Notifications
You must be signed in to change notification settings - Fork 42
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
Hammer/max downloads #909
Hammer/max downloads #909
Conversation
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## deploy/hammer #909 +/- ##
=================================================
- Coverage 49.35% 46.76% -2.60%
=================================================
Files 285 204 -81
Lines 7564 6266 -1298
Branches 1050 833 -217
=================================================
- Hits 3733 2930 -803
+ Misses 3682 3330 -352
+ Partials 149 6 -143
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
…ck to 31 days of querying Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
…t month Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
return; | ||
} | ||
if (minimal) { | ||
downloadCsvMinimal(now, allTasks, allTaskRequests); | ||
downloadCsvMinimal(now, pastMonthTasks, pastMonthTaskRequests); |
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.
- "download*" is misleading since it doesn't actually download, suggest to rename it to "save*" or add docs.
- It's weird that "minimal" contains info that is not in "full" (from what I see, pickup and dropoff), I will say to include the task request in
full
so it has the same data. - Parsing the task request for pick and dropoff is also a red flag, it is out of scope of this PR so just add a
FIXME
. In future PR we can look at using task tags to store this information and just dump it, it also solves the issue of requiring double query to get all the required data.
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.
-
Changing it to
export
, 651562d -
Technically,
full
contains all the information ofminimal
and much more, since any number of pickups and dropoffs can be parsed from the task phases if needed. And since we will be adding pick and dropoff information in labels soon, I will not make any changes to this. -
FIXME was added previously d126767
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.
Technically, full contains all the information of minimal and much more, since any number of pickups and dropoffs can be parsed from the task phases if needed. And since we will be adding pick and dropoff information in labels soon, I will not make any changes to this.
Then we don't need to fetch task requests for "minimal"? Or do you mean that it will be included after we add the tags? If so then add a TODO
.
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
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.
Technically, full contains all the information of minimal and much more, since any number of pickups and dropoffs can be parsed from the task phases if needed. And since we will be adding pick and dropoff information in labels soon, I will not make any changes to this.
Then we don't need to fetch task requests for "minimal"? Or do you mean that it will be included after we add the tags? If so then add a TODO.
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
The ticket detailing this is already in our deployment project board, will not be adding additional TODOs here. |
What's new
export-2024-03-08_15.23.58.mp4
Normal resolution
Low resolution
Self-checks