Closed
Bug 1357802
Opened 8 years ago
Closed 8 years ago
Show task.extra in task inspector
Categories
(Taskcluster :: UI, enhancement)
Taskcluster
UI
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dustin, Assigned: swapneshks, Mentored)
Details
(Keywords: good-first-bug)
Attachments
(1 file)
564 bytes,
patch
|
dustin
:
review+
|
Details | Diff | Splinter Review |
The "task details" view of the task inspector omits task.extra. It should be displayed as JSON just like the task payload.
Reporter | ||
Updated•8 years ago
|
Mentor: dustin
Keywords: good-first-bug
Reporter | ||
Updated•8 years ago
|
Assignee: dustin → nobody
Assignee | ||
Comment 1•8 years ago
|
||
Hi.. I'd like to work on this bug.
I'm a beginner and still catching up to things. (Have worked on only 2-3 moz bugs till now)
Flags: needinfo?(dustin)
Reporter | ||
Comment 2•8 years ago
|
||
Hi! This is a frontend fix, in a React application. The source code is at https://github.com/taskcluster/taskcluster-tools
You can see the issue here:
https://tools.taskcluster.net/task-inspector/#FLLNwbUVT1eoiRUaAJNobw/
The raw task definition being displayed is
https://queue.taskcluster.net/v1/task/FLLNwbUVT1eoiRUaAJNobw
and you can see it has an "extra" property with a bunch of data in it. However, that doesn't appear in the UI at the first link.
You should be able to duplicate the error using your local install (with the same taskId), and then get started fixing it :)
Flags: needinfo?(dustin)
Assignee | ||
Comment 3•8 years ago
|
||
In this patch I am assuming that the contents of task.extra have to be parsed as JSON.
Do let me know if this patch is appropriate.
Attachment #8862068 -
Flags: review?(dustin)
Reporter | ||
Updated•8 years ago
|
Assignee: nobody → swapneshks
Reporter | ||
Comment 4•8 years ago
|
||
Comment on attachment 8862068 [details] [diff] [review]
Fix for displaying task.extra in "Task Details" view
Review of attachment 8862068 [details] [diff] [review]:
-----------------------------------------------------------------
That looks good! Can you submit a Github pull request so we can get the automated tests run?
Attachment #8862068 -
Flags: review?(dustin) → review+
Assignee | ||
Comment 5•8 years ago
|
||
Pull request created at:
https://github.com/taskcluster/taskcluster-tools/pull/209
Assignee | ||
Comment 6•8 years ago
|
||
Hi Dustin
Could you provide me with a task definition that does not have task.extra so that I can test it and apply the corresponding fix as discussed in the pull request?
Flags: needinfo?(dustin)
Reporter | ||
Comment 7•8 years ago
|
||
Flags: needinfo?(dustin)
Assignee | ||
Comment 8•8 years ago
|
||
The pull request has been updated with the requested changes (for the case when task.extra does not exist).
Comment 9•8 years ago
|
||
Commit pushed to master at https://github.com/taskcluster/taskcluster-tools
https://github.com/taskcluster/taskcluster-tools/commit/eca8f9c7aba1f23405c3415bad101bcbbe493eb7
Bug 1357802 - Show task.extra in task inspector (#209)
* Bug 1357802 - Show task.extra in task inspector
Add fix for displaying "Extra" from task.extra in "Task Details" view
* Bug 1357802 - Add condition for no task.extra
Add condition to skip task.extra rendering when it is non-existent
* Bug 1357802 - Treat task.extra as an object
task.extra will be a plain object when not specified
Comment 10•8 years ago
|
||
Landed in master via https://github.com/taskcluster/taskcluster-tools/commit/eca8f9c7aba1f23405c3415bad101bcbbe493eb7
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Component: Tools → UI and Tools
You need to log in
before you can comment on or make changes to this bug.
Description
•