-
Notifications
You must be signed in to change notification settings - Fork 659
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
Reference task to fetch latest version by default #5895
base: master
Are you sure you want to change the base?
Conversation
Thank you for opening this pull request! 🙌 These tips will help get your PR across the finish line:
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5895 +/- ##
==========================================
- Coverage 36.85% 33.03% -3.83%
==========================================
Files 1310 1013 -297
Lines 131246 107363 -23883
==========================================
- Hits 48377 35469 -12908
+ Misses 78670 68757 -9913
+ Partials 4199 3137 -1062
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
a06323d
to
044dd03
Compare
@eapolinario TestGetTask should work now, thanks @troychiu for the fix. |
Signed-off-by: featherchen <[email protected]>
Signed-off-by: featherchen <[email protected]>
Signed-off-by: featherchen <[email protected]>
Signed-off-by: featherchen <[email protected]>
35f91cc
to
7ff7fdc
Compare
Signed-off-by: featherchen <[email protected]>
7ff7fdc
to
fb6f97d
Compare
@troychiu Can you help me review this PR? Thanks. |
Tracking issue
Related to #5825
Why are the changes needed?
When task version is not specified (i.e. ""), we should return the latest one when
getTask
is calledWhat changes were proposed in this pull request?
When the version is "", we fetch DB directly to get the latest task.
Also remove the UT that check whether version is empty, since this situation is allowed now.
How was this patch tested?
By unit test (testGetTask)
Setup process
Screenshots
Check all the applicable boxes
Related PRs
Docs link