{"action":"created","issue":{"url":"https://api.github.com/repos/devtools-html/debugger.html/issues/630","repository_url":"https://api.github.com/repos/devtools-html/debugger.html","labels_url":"https://api.github.com/repos/devtools-html/debugger.html/issues/630/labels{/name}","comments_url":"https://api.github.com/repos/devtools-html/debugger.html/issues/630/comments","events_url":"https://api.github.com/repos/devtools-html/debugger.html/issues/630/events","html_url":"https://github.com/devtools-html/debugger.html/pull/630","id":174141636,"number":630,"title":"Add mochitest infrastructure","user":{"login":"jlongster","id":17031,"avatar_url":"https://avatars.githubusercontent.com/u/17031?v=3","gravatar_id":"","url":"https://api.github.com/users/jlongster","html_url":"https://github.com/jlongster","followers_url":"https://api.github.com/users/jlongster/followers","following_url":"https://api.github.com/users/jlongster/following{/other_user}","gists_url":"https://api.github.com/users/jlongster/gists{/gist_id}","starred_url":"https://api.github.com/users/jlongster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlongster/subscriptions","organizations_url":"https://api.github.com/users/jlongster/orgs","repos_url":"https://api.github.com/users/jlongster/repos","events_url":"https://api.github.com/users/jlongster/events{/privacy}","received_events_url":"https://api.github.com/users/jlongster/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-08-30T22:28:21Z","updated_at":"2016-09-02T03:16:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/devtools-html/debugger.html/pulls/630","html_url":"https://github.com/devtools-html/debugger.html/pull/630","diff_url":"https://github.com/devtools-html/debugger.html/pull/630.diff","patch_url":"https://github.com/devtools-html/debugger.html/pull/630.patch"},"body":"This is my final pass on the mochitest infrastructure. It should actually work! This implements running them locally and on try. Locally it downloads an artifact build of Firefox and you should be up an running in ~10 min, and future builds should be almost instantaneous. For debugging you'll probably want to cd into the Firefox directory itself and use mochitests like normal, not through `npm run mochitests`. On CI, it runs them in a pre-built docker container.\r\n\r\nThis pulls over @jasonLaster's great work from bug [1294686](https://bugzilla.mozilla.org/show_bug.cgi?id=1294686) because we need to actually commit the mochitests here. We still need to land a few bits in that bug to make these run (modifying other `moz.build`s etc), but the `head.js` and a simple test was copied into here. It gives us a starting point.\r\n\r\n**Don't merge this** yet; it will not work until relevant bits are landed in bug 1294686. Once they do, I'll update the Firefox in docker and they should be running in CI."},"comment":{"url":"https://api.github.com/repos/devtools-html/debugger.html/issues/comments/244273097","html_url":"https://github.com/devtools-html/debugger.html/pull/630#issuecomment-244273097","issue_url":"https://api.github.com/repos/devtools-html/debugger.html/issues/630","id":244273097,"user":{"login":"jlongster","id":17031,"avatar_url":"https://avatars.githubusercontent.com/u/17031?v=3","gravatar_id":"","url":"https://api.github.com/users/jlongster","html_url":"https://github.com/jlongster","followers_url":"https://api.github.com/users/jlongster/followers","following_url":"https://api.github.com/users/jlongster/following{/other_user}","gists_url":"https://api.github.com/users/jlongster/gists{/gist_id}","starred_url":"https://api.github.com/users/jlongster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlongster/subscriptions","organizations_url":"https://api.github.com/users/jlongster/orgs","repos_url":"https://api.github.com/users/jlongster/repos","events_url":"https://api.github.com/users/jlongster/events{/privacy}","received_events_url":"https://api.github.com/users/jlongster/received_events","type":"User","site_admin":false},"created_at":"2016-09-02T03:16:59Z","updated_at":"2016-09-02T03:16:59Z","body":"The first test passed! The failure is cypress. Going ahead and merging this because Jason approved this generally. I know there are a few conceptual differences, but thanks for letting me flesh this out. I think this will be good for long-term maintenance, but adaptable if we find the current APIs problematic.\r\n\r\nNote that we are able to run our mochitests in ~7min, including the entire time for checking out docker. I think that's pretty good. Running all the mochitests will end up taking several minutes once we write them, but even if it's ~15min that's a whole lot better than before (waiting on try for hours)."}}
{"actor":{"display_login":"jlongster"}}