Skip to content
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

ci: tweak patterns, improve markdown output #275

Merged
merged 2 commits into from
Aug 17, 2018

Conversation

joyeecheung
Copy link
Member

New format is in nodejs/reliability#14 Added a few more patterns and linkify the machine names as well as console of example stacks

Copy link
Contributor

@priyank-p priyank-p left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@priyank-p priyank-p left a comment

Choose a reason for hiding this comment

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

There one minor linting error and looks like test are failing for jenkins tests!

for (const type of Object.keys(aggregates)) {
output += `\n### ${FAILURE_TYPES_NAME[type]}\n\n`;
for (const item of aggregates[type]) {
const { reason, type, prs, failures, machines } = item;
if (prs.length < 2) { continue; }
output += markdownRow('Reason', `\`${reason}\``);
todo.push(reason)
Copy link
Contributor

Choose a reason for hiding this comment

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

Linting error: missing semicolon here.

@joyeecheung
Copy link
Member Author

There used to be a (sort-of) bug in the parser, where a pattern returns the failure object without wrapping it in the array - it's fine in practice since the arrays will be eventually flattened, but returning an array now breaks the test because the expected.json contains an object instead of an array. Fixed it by making the expected output an array.

@codecov
Copy link

codecov bot commented Aug 17, 2018

Codecov Report

Merging #275 into master will decrease coverage by 0.74%.
The diff coverage is 8%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #275      +/-   ##
==========================================
- Coverage   76.47%   75.73%   -0.75%     
==========================================
  Files          22       22              
  Lines        1356     1364       +8     
==========================================
- Hits         1037     1033       -4     
- Misses        319      331      +12
Impacted Files Coverage Δ
lib/ci/ci_result_parser.js 51.36% <0%> (-1.56%) ⬇️
lib/ci/ci_failure_parser.js 83.52% <100%> (-0.57%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4fe9b35...da40067. Read the comment docs.

@priyank-p priyank-p merged commit 94a7193 into nodejs:master Aug 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants