Skip to content

fix(Build Cop): fix flaky detection, fix local dev #296

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

Merged
merged 2 commits into from
Feb 19, 2020
Merged

fix(Build Cop): fix flaky detection, fix local dev #296

merged 2 commits into from
Feb 19, 2020

Conversation

tbpg
Copy link
Contributor

@tbpg tbpg commented Feb 19, 2020

Local development wasn't working because buildcop.ts doesn't have the Probot app as the default export. I found the main.ts pattern in the Probot docs, adapted it for this, and it works.

That local development was how I figured out the payload for labels was not correct, so issues were never detected as flaky.

Fixes #281 🦕

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Feb 19, 2020
@codecov
Copy link

codecov bot commented Feb 19, 2020

Codecov Report

Merging #296 into master will decrease coverage by 0.06%.
The diff coverage is 66.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #296      +/-   ##
==========================================
- Coverage   87.51%   87.45%   -0.07%     
==========================================
  Files          15       15              
  Lines        2684     2687       +3     
  Branches      266      268       +2     
==========================================
+ Hits         2349     2350       +1     
- Misses        322      324       +2     
  Partials       13       13
Impacted Files Coverage Δ
packages/buildcop/src/buildcop.ts 94.37% <66.66%> (-0.4%) ⬇️

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 63dbe5c...679b2c5. Read the comment docs.

Copy link

@nnegrey nnegrey left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build Cop: Flaky Tests are hard to track
3 participants