Skip to content

Common Phabricator unit & lint results#417

Merged
La0 merged 4 commits intomozilla:masterfrom
La0:phab-results
Jan 8, 2020
Merged

Common Phabricator unit & lint results#417
La0 merged 4 commits intomozilla:masterfrom
La0:phab-results

Conversation

@La0
Copy link
Copy Markdown
Collaborator

@La0 La0 commented Jan 8, 2020

Prep work for #364

Every issue needed to implement as_phabricator_lint & as_phabricator_unitresult. But we have re-organized the Issue inner data earlier, allowing us to have a unique implementation for these methods.

The unit results are only used by Coverity (for build errors), but every Issue will be able to post a lint result now (for an error outside the patch).

The good news is that the payload do not change a lot (even if they were not used until now) as you can see in the unit tests.

@La0 La0 added enhancement New feature or request bot Code review bot labels Jan 8, 2020
@La0 La0 requested a review from marco-c January 8, 2020 15:52
@La0 La0 self-assigned this Jan 8, 2020
"toolchain",
"--from-build",
"linux64-infer",
]
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A useless const from an old time 😏

@La0 La0 mentioned this pull request Jan 8, 2020
Copy link
Copy Markdown
Collaborator

@marco-c marco-c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice cleanup. This probably fixes one of the cleanup follow-up issues that we have filed over time

@La0 La0 merged commit 563b008 into mozilla:master Jan 8, 2020
@La0 La0 deleted the phab-results branch January 8, 2020 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot Code review bot enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants