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
Needs to be updated to support Dart 1.16 service protocol #107
Comments
We are seeing the same thing with our build systems |
Related - dart-archive/vm_service_client#6 |
FYI: I'm working hard to get this resolved I'm almost ready to land the fix (https://codereview.chromium.org/1929063002/) for the blocking issue (dart-archive/vm_service_client#6) I've already started on migrating the coverage package to this. |
Thanks for the update, I saw movement in the vm_service_client and figured as much but appreciate the post. |
We've got the vm_service_client updated. I'm doing work here - https://github.com/dart-lang/coverage/tree/migration I'd really like to parse down what coverage does. Is anyone consuming it for something other than coveralls.io? |
I have couple builds for codecov. Would be happy to help |
@kevmoo all of our packages at Workiva use codecov, although we collect coverage via dart_dev. It essentially just combines the two steps from this package (collect and format) into a single task, handles merging coverage if the package has multiple suites, and a few other things like auto-generating an HTML file and generating the HTML report. It's always been brittle though, so I'm not opposed to change. I'm also happy to help! |
@evanweible-wf do you have sample code? What format do you use for upload, etc? |
Sure. The reporting to codecov part is easy, they supply a bash script that takes a correctly formatted coverage file (lcov, gcov, json, etc): pub run dart_dev coverage --no-html
bash <(curl -s https://codecov.io/bash) -f coverage/coverage.lcov
The coverage task in dart_dev handles running the |
@kevmoo I use https://aircover.co/ for my stuff. It takes in lcov and then pushes it to the server. The pushing is done in a plugin so the lcov just needs to be hanging out somewhere on the disk. |
With this pull request - #108 - we have the ability to connect to a running dart app (with the vm service enabled) and collect LCOV coverage info. I'll work with @cbracken to review the code. If you're itchy to get coverage working on your app, you could try out the code on your own box. I've cleaned up the API and the binaries A LOT. Let me know if you miss anything I've removed. |
For anyone who needs SDK 1.16.0 support straight away while #108 is in review, I've pushed a branch containing the version we use inside Google for code coverage. It's a fairly minimal patch on a slightly older release than what's on Will discuss with @dgrove and @nex3 early next week to decide on the approach we want to take to get something released. |
Closed by 521c4e5. Released in version 0.7.4. |
Verified that coverage works again in WebStorm 2016.2, thanks a lot! |
Thanks for verifying! |
I haven't upgraded to 1.16 yet, but Travis builds suddenly started to fail with following error:
Example of a full build log: https://travis-ci.org/corsac-dart/bootstrap/builds/125995686
coverage package is enabled via
pub global activate
and the log shows that some packages are not latest version, e.g.:I'm wondering if that's the reason, and if we need an updated version of this package published with latest dependencies?
The text was updated successfully, but these errors were encountered: