-
Notifications
You must be signed in to change notification settings - Fork 41
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/task queue table #844
Conversation
* New route for saving and getting successfully dispatched requests Signed-off-by: Aaron Chong <aaronchongth@gmail.com> * Announce failed to dispatch instead of create task Signed-off-by: Aaron Chong <aaronchongth@gmail.com> * Generate api-client Signed-off-by: Aaron Chong <aaronchongth@gmail.com> * Use api task request instead of custom ttm pydantic model Signed-off-by: Aaron Chong <aaronchongth@gmail.com> * Revert alert text change Signed-off-by: Aaron Chong <aaronchongth@gmail.com> --------- Signed-off-by: Aaron Chong <aaronchongth@gmail.com> (cherry picked from commit 52a7d14) 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>
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## deploy/hammer #844 +/- ##
=================================================
- Coverage 49.35% 47.24% -2.11%
=================================================
Files 285 288 +3
Lines 7564 8005 +441
Branches 1050 1162 +112
=================================================
+ Hits 3733 3782 +49
- Misses 3682 4047 +365
- Partials 149 176 +27
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>
… now 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>
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 was awesome!
Thanks, Aaron!
LGTM!
@@ -182,10 +183,25 @@ export const TasksApp = React.memo( | |||
const results = resp.data as TaskState[]; | |||
const newTasks = results.slice(0, GET_LIMIT); | |||
|
|||
const taskIds: string[] = newTasks.map((task) => task.booking.id); |
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.
Maybe we can add a comment here explaining why we duplicated code and did not reuse the getAllTaskRequest function
closing this in favor of #846 |
What's new
Update task queue table
The tasks shown below
Self-checks