{"action":"created","issue":{"url":"https://api.github.com/repos/elm-lang/elm-compiler/issues/1473","repository_url":"https://api.github.com/repos/elm-lang/elm-compiler","labels_url":"https://api.github.com/repos/elm-lang/elm-compiler/issues/1473/labels{/name}","comments_url":"https://api.github.com/repos/elm-lang/elm-compiler/issues/1473/comments","events_url":"https://api.github.com/repos/elm-lang/elm-compiler/issues/1473/events","html_url":"https://github.com/elm-lang/elm-compiler/issues/1473","id":174579782,"number":1473,"title":"Elm compilation is incredibly slow on CI platforms","user":{"login":"obmarg","id":556490,"avatar_url":"https://avatars.githubusercontent.com/u/556490?v=3","gravatar_id":"","url":"https://api.github.com/users/obmarg","html_url":"https://github.com/obmarg","followers_url":"https://api.github.com/users/obmarg/followers","following_url":"https://api.github.com/users/obmarg/following{/other_user}","gists_url":"https://api.github.com/users/obmarg/gists{/gist_id}","starred_url":"https://api.github.com/users/obmarg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obmarg/subscriptions","organizations_url":"https://api.github.com/users/obmarg/orgs","repos_url":"https://api.github.com/users/obmarg/repos","events_url":"https://api.github.com/users/obmarg/events{/privacy}","received_events_url":"https://api.github.com/users/obmarg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2016-09-01T17:23:33Z","updated_at":"2016-09-15T15:02:48Z","closed_at":null,"body":"Projects that compile in seconds on my local machine take an unreasonably long time when run on CI.\r\n\r\nThis issue produced a **stopgap fix** here https://github.com/elm-lang/elm-compiler/issues/1473#issuecomment-244566193. Use that for now.\r\n\r\n\r\n### Additional Details\r\n\r\nI've put together [an example project](https://github.com/obmarg/elm-slow-test) using a sample from the elm-guide.\r\n\r\nOn my local machine this takes 2.6 seconds to build.  [The Travis CI build here](https://travis-ci.org/obmarg/elm-slow-test) takes 234 seconds to do the same build.  My dev machine may be slightly better than the CI machines in question, but certainly not better enough for this difference in build times.\r\n\r\nI've seen this behaviour on both travis CI & circle CI, and it only seems to get worse with larger projects.  Another project of mine (a few hundred lines of elm, nothing major) struggles to build within 10 minutes.\r\n\r\nI see there's a workaround for this here: https://8thlight.com/blog/rob-looby/2016/04/07/caching-elm-builds-on-travis-ci.html"},"comment":{"url":"https://api.github.com/repos/elm-lang/elm-compiler/issues/comments/247354421","html_url":"https://github.com/elm-lang/elm-compiler/issues/1473#issuecomment-247354421","issue_url":"https://api.github.com/repos/elm-lang/elm-compiler/issues/1473","id":247354421,"user":{"login":"joeandaverde","id":696255,"avatar_url":"https://avatars.githubusercontent.com/u/696255?v=3","gravatar_id":"","url":"https://api.github.com/users/joeandaverde","html_url":"https://github.com/joeandaverde","followers_url":"https://api.github.com/users/joeandaverde/followers","following_url":"https://api.github.com/users/joeandaverde/following{/other_user}","gists_url":"https://api.github.com/users/joeandaverde/gists{/gist_id}","starred_url":"https://api.github.com/users/joeandaverde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeandaverde/subscriptions","organizations_url":"https://api.github.com/users/joeandaverde/orgs","repos_url":"https://api.github.com/users/joeandaverde/repos","events_url":"https://api.github.com/users/joeandaverde/events{/privacy}","received_events_url":"https://api.github.com/users/joeandaverde/received_events","type":"User","site_admin":false},"created_at":"2016-09-15T15:02:48Z","updated_at":"2016-09-15T15:02:48Z","body":"This looks like a promising work-around. My team is presently building our elm modules in a Docker container. I will try this out and report back. If anyone has already done this (with Docker) please respond with your results and possibly save us some time. 😄 "}}
{"actor":{"display_login":"joeandaverde"}}