Closed
Bug 1237739
Opened 8 years ago
Closed 8 years ago
mach taskcluster-graph JSON output should be more deterministic and easier to read
Categories
(Taskcluster :: Services, defect)
Taskcluster
Services
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: gps, Assigned: gps)
Details
Attachments
(2 files)
Patches forthcoming.
Assignee | ||
Comment 1•8 years ago
|
||
Deterministic output is easier to read and test. We're not fully deterministic with this patch, but it's a start. Review commit: https://reviewboard.mozilla.org/r/29919/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/29919/
Attachment #8705305 -
Flags: review?(garndt)
Assignee | ||
Comment 2•8 years ago
|
||
We're already casting the list of scopes to a set later. So we might as well use a set from the beginning. While we're here, sort the final value so output is more deterministic and easier to read. This sort shouldn't matter since the existing set() would have lost ordering. Review commit: https://reviewboard.mozilla.org/r/29921/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/29921/
Attachment #8705306 -
Flags: review?(garndt)
Updated•8 years ago
|
Attachment #8705305 -
Flags: review?(garndt) → review+
Comment 3•8 years ago
|
||
Comment on attachment 8705305 [details] MozReview Request: Bug 1237739 - Sort keys in generated graph; r?garndt https://reviewboard.mozilla.org/r/29919/#review26755
Comment 4•8 years ago
|
||
Comment on attachment 8705306 [details] MozReview Request: Bug 1237739 - Use set and sort graph scopes; r?garndt https://reviewboard.mozilla.org/r/29921/#review26757
Attachment #8705306 -
Flags: review?(garndt) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/a927febe3cf8 https://hg.mozilla.org/integration/mozilla-inbound/rev/f95c58b050b0
Comment 6•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a927febe3cf8 https://hg.mozilla.org/mozilla-central/rev/f95c58b050b0
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Component: Integration → Services
You need to log in
before you can comment on or make changes to this bug.
Description
•