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

Defer initial report #56

Merged
merged 1 commit into from
Dec 18, 2018
Merged

Defer initial report #56

merged 1 commit into from
Dec 18, 2018

Conversation

Qard
Copy link
Member

@Qard Qard commented Dec 18, 2018

If adding several metrics at once, on the same interval, only the first will be reported in the initial report due to the immediate call to reporter._reportMetricsWithInterval(...). By wrapping that in a setImmediate(...), any other metrics set in that tick should now also be included in the initial report.

If adding several metrics at once, on the same interval, only the
first will be reported in the initial report due to the immediate
call to `reporter._reportMetricsWithInterval(...)`. By wrapping
that in a `setImmediate(...)`, any other metrics set in that tick
should now also be included in the initial report.
@Qard Qard self-assigned this Dec 18, 2018
@Qard Qard requested a review from fieldju December 18, 2018 19:54
@coveralls
Copy link

Pull Request Test Coverage Report for Build 344

  • 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.1%) to 88.512%

Totals Coverage Status
Change from base Build 343: 0.1%
Covered Lines: 749
Relevant Lines: 827

💛 - Coveralls

Copy link
Member

@fieldju fieldju left a comment

Choose a reason for hiding this comment

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

lGTM

Are you going to cut the release on this one?

@Qard
Copy link
Member Author

Qard commented Dec 18, 2018

What do I need to do?

@fieldju
Copy link
Member

fieldju commented Dec 18, 2018 via email

@Qard
Copy link
Member Author

Qard commented Dec 18, 2018

Ah, yep, I can do that. The package publish itself all happens automatically though, when the PR lands in master, right?

@fieldju
Copy link
Member

fieldju commented Dec 18, 2018 via email

@Qard
Copy link
Member Author

Qard commented Dec 18, 2018

Should this be minor or patch? Seems more like bug-fix territory to me. 🤔

@fieldju
Copy link
Member

fieldju commented Dec 18, 2018 via email

@Qard
Copy link
Member Author

Qard commented Dec 18, 2018

Sorry, not super clear on how all the release automation stuff fits together...

What actually triggers the publish.sh script? It seems to be gated with if: type != pull_request AND tag IS present, which means it happens when a tag is pushed? Does that tag come from the github release being created?

@fieldju
Copy link
Member

fieldju commented Dec 18, 2018

Yes, tags get created from the GitHub release dashboard.

👇 Below is an example

@fieldju
Copy link
Member

fieldju commented Dec 18, 2018

image

@fieldju
Copy link
Member

fieldju commented Dec 18, 2018

BTW the automation integration with Lerna is a little weird, don't be alarmed when travis runs the tag build 2x, it will just release to NPM once.

@Qard Qard merged commit 9f74cea into yaorg:master Dec 18, 2018
@Qard Qard deleted the deferred-initial-report branch December 18, 2018 23:38
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.

3 participants