Perl 6 - the future is here, just unevenly distributed

IRC log for #metacpan, 2017-02-19

| Channels | #metacpan index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
04:37 [SoQ]Forseti joined #metacpan
09:19 ranguard I thought travis and coverage were 2 seperate things, we only block merging on travis fail, not on coverage
10:54 neilb joined #metacpan
13:23 simbabque ranguard: they are, but coveralls reports back to travis,  and when coverage goes down travis reports that as a partial build fail
13:23 simbabque in any case, it looks wrong
13:23 simbabque I am trying to figure out why that is happening
13:24 simbabque right now on my vm the tests are not passing any more and I don't understand why... I think it's because I messed with the search index the other day and I don't understand yet what I need to do to get it back to a state where it works
13:24 simbabque also I can see that the web test suite talks to the api
13:24 simbabque and I don't know if that is intentional and what it expects to find there
13:35 ranguard web talks to public api by default because it needs to run for people just working on the web and not wanting to use the vm... also travis
13:57 simbabque hm so it should talk to metacpan.org?
13:57 simbabque I'm thinking I should just vagrant destroy the machine or maybe change the name in the vagrantfile and bring up a second one
13:59 simbabque oooooh
13:59 simbabque I have a local config *headbang*
14:00 simbabque but that does not explain why it doesn't cover all the files
14:28 simbabque I've run some tests with Devel::Cover and -silent 0 and I'm seeing this error message
14:28 simbabque Can't locate object method "first" via package "B::OP" at /opt/perl-5.22.2/lib/5.22.2/B/Deparse.pm line 413.
14:28 simbabque that might be the reason why it's eating coverage reports
14:30 simbabque looking at the oldest build https://coveralls.io/repos/114355/builds?page=17 it seems it's always been like that
15:24 oalders simbabque: looks like the problematic failure is in t/controller/changes.t
15:24 oalders Failed test '200 on /changes/release/SHAY/perl-5.22.2'
15:27 oalders https://github.com/metacpan/metacpan-web/commit/fc9054241698a5ef413b89b1bee2d352e39966e7
15:27 simbabque oalders: how did you get that?
15:27 simbabque i also see that if i only run one t file
15:27 oalders simbabque: https://travis-ci.org/metacpan/metacpan-web/jobs/203160752#L395
15:27 simbabque vagrant@metacpan-dev:~/metacpan-web$ DEVEL_COVER_DEBUG=1 HARNESS_PERL_SWITCHES=-MDevel::Cover=-coverage,statement,branch,condition,path,subroutine,-silent,0 bin/prove t/controller/account.t  && cover
15:28 oalders simbabque: i've restarted that job.  maybe it was just a transient error
15:28 simbabque oh i did not even seethat
15:28 oalders because this does return a 200 https://metacpan.org/changes/release/SHAY/perl-5.22.2
15:29 simbabque sorry i was talking about something else
15:29 simbabque that whole monologue I did there was about the weird coverage
15:29 oalders simbabque: i know you were talking about coverage, but i was just checking if there was a blocker to merging this
15:30 simbabque I hadn't seen that my latest push on that branch broke anything
15:30 simbabque ah ok
15:30 oalders anything you can do to fix the coverage setup would be great
15:30 simbabque it was fine yesterday and I pushed a fix to a warning in the test I added which I hadn't seen before
15:30 simbabque I am trying...
15:30 simbabque it's incredibly weird what is happening there
15:37 simbabque oalders: it's green now :)
16:28 metacpan joined #metacpan
16:28 metacpan [metacpan-web] oalders pushed 4 new commits to master: https://git.io/vD5rU
16:28 metacpan metacpan-web/master 63665df simbabque: explicitly set extra to undef if it's not set in the request...
16:28 metacpan metacpan-web/master 0802e89 simbabque: add unit tests for Account controller
16:28 metacpan metacpan-web/master 2799edf simbabque: surpress warnings properly
16:28 metacpan left #metacpan
16:28 oalders simbabque++
17:00 neilb joined #metacpan
18:04 grantm joined #metacpan
20:01 neilb joined #metacpan
20:09 neilb_ joined #metacpan
20:48 neilb joined #metacpan
23:46 neilb joined #metacpan

| Channels | #metacpan index | Today | | Search | Google Search | Plain-Text | summary