{"action":"opened","number":1281,"pull_request":{"url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/pulls/1281","id":175051961,"html_url":"https://github.com/samselikoff/ember-cli-mirage/pull/1281","diff_url":"https://github.com/samselikoff/ember-cli-mirage/pull/1281.diff","patch_url":"https://github.com/samselikoff/ember-cli-mirage/pull/1281.patch","issue_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/issues/1281","number":1281,"state":"open","locked":false,"title":"POC: Fix teardown when pending requests","user":{"login":"wagenet","id":9835,"avatar_url":"https://avatars3.githubusercontent.com/u/9835?v=4","gravatar_id":"","url":"https://api.github.com/users/wagenet","html_url":"https://github.com/wagenet","followers_url":"https://api.github.com/users/wagenet/followers","following_url":"https://api.github.com/users/wagenet/following{/other_user}","gists_url":"https://api.github.com/users/wagenet/gists{/gist_id}","starred_url":"https://api.github.com/users/wagenet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wagenet/subscriptions","organizations_url":"https://api.github.com/users/wagenet/orgs","repos_url":"https://api.github.com/users/wagenet/repos","events_url":"https://api.github.com/users/wagenet/events{/privacy}","received_events_url":"https://api.github.com/users/wagenet/received_events","type":"User","site_admin":false},"body":"Since QUnit callbacks are async, this leaves a window where an AJAX request could happen _after_ mirage is torn down but before the application is. This can cause errors. To fix, we make sure that things have settled before we tear down the server.","created_at":"2018-03-14T18:49:25Z","updated_at":"2018-03-14T18:49:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/pulls/1281/commits","review_comments_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/pulls/1281/comments","review_comment_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/pulls/comments{/number}","comments_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/issues/1281/comments","statuses_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/statuses/897d2cb7693b62e9b2265861daa0b62c6aed764a","head":{"label":"wagenet:patch-1","ref":"patch-1","sha":"897d2cb7693b62e9b2265861daa0b62c6aed764a","user":{"login":"wagenet","id":9835,"avatar_url":"https://avatars3.githubusercontent.com/u/9835?v=4","gravatar_id":"","url":"https://api.github.com/users/wagenet","html_url":"https://github.com/wagenet","followers_url":"https://api.github.com/users/wagenet/followers","following_url":"https://api.github.com/users/wagenet/following{/other_user}","gists_url":"https://api.github.com/users/wagenet/gists{/gist_id}","starred_url":"https://api.github.com/users/wagenet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wagenet/subscriptions","organizations_url":"https://api.github.com/users/wagenet/orgs","repos_url":"https://api.github.com/users/wagenet/repos","events_url":"https://api.github.com/users/wagenet/events{/privacy}","received_events_url":"https://api.github.com/users/wagenet/received_events","type":"User","site_admin":false},"repo":{"id":125258669,"name":"ember-cli-mirage","full_name":"wagenet/ember-cli-mirage","owner":{"login":"wagenet","id":9835,"avatar_url":"https://avatars3.githubusercontent.com/u/9835?v=4","gravatar_id":"","url":"https://api.github.com/users/wagenet","html_url":"https://github.com/wagenet","followers_url":"https://api.github.com/users/wagenet/followers","following_url":"https://api.github.com/users/wagenet/following{/other_user}","gists_url":"https://api.github.com/users/wagenet/gists{/gist_id}","starred_url":"https://api.github.com/users/wagenet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wagenet/subscriptions","organizations_url":"https://api.github.com/users/wagenet/orgs","repos_url":"https://api.github.com/users/wagenet/repos","events_url":"https://api.github.com/users/wagenet/events{/privacy}","received_events_url":"https://api.github.com/users/wagenet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wagenet/ember-cli-mirage","description":"A client-side mock server to develop, test and prototype your app","fork":true,"url":"https://api.github.com/repos/wagenet/ember-cli-mirage","forks_url":"https://api.github.com/repos/wagenet/ember-cli-mirage/forks","keys_url":"https://api.github.com/repos/wagenet/ember-cli-mirage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wagenet/ember-cli-mirage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wagenet/ember-cli-mirage/teams","hooks_url":"https://api.github.com/repos/wagenet/ember-cli-mirage/hooks","issue_events_url":"https://api.github.com/repos/wagenet/ember-cli-mirage/issues/events{/number}","events_url":"https://api.github.com/repos/wagenet/ember-cli-mirage/events","assignees_url":"https://api.github.com/repos/wagenet/ember-cli-mirage/assignees{/user}","branches_url":"https://api.github.com/repos/wagenet/ember-cli-mirage/branches{/branch}","tags_url":"https://api.github.com/repos/wagenet/ember-cli-mirage/tags","blobs_url":"https://api.github.com/repos/wagenet/ember-cli-mirage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wagenet/ember-cli-mirage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wagenet/ember-cli-mirage/git/refs{/sha}","trees_url":"https://api.github.com/repos/wagenet/ember-cli-mirage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wagenet/ember-cli-mirage/statuses/{sha}","languages_url":"https://api.github.com/repos/wagenet/ember-cli-mirage/languages","stargazers_url":"https://api.github.com/repos/wagenet/ember-cli-mirage/stargazers","contributors_url":"https://api.github.com/repos/wagenet/ember-cli-mirage/contributors","subscribers_url":"https://api.github.com/repos/wagenet/ember-cli-mirage/subscribers","subscription_url":"https://api.github.com/repos/wagenet/ember-cli-mirage/subscription","commits_url":"https://api.github.com/repos/wagenet/ember-cli-mirage/commits{/sha}","git_commits_url":"https://api.github.com/repos/wagenet/ember-cli-mirage/git/commits{/sha}","comments_url":"https://api.github.com/repos/wagenet/ember-cli-mirage/comments{/number}","issue_comment_url":"https://api.github.com/repos/wagenet/ember-cli-mirage/issues/comments{/number}","contents_url":"https://api.github.com/repos/wagenet/ember-cli-mirage/contents/{+path}","compare_url":"https://api.github.com/repos/wagenet/ember-cli-mirage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wagenet/ember-cli-mirage/merges","archive_url":"https://api.github.com/repos/wagenet/ember-cli-mirage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wagenet/ember-cli-mirage/downloads","issues_url":"https://api.github.com/repos/wagenet/ember-cli-mirage/issues{/number}","pulls_url":"https://api.github.com/repos/wagenet/ember-cli-mirage/pulls{/number}","milestones_url":"https://api.github.com/repos/wagenet/ember-cli-mirage/milestones{/number}","notifications_url":"https://api.github.com/repos/wagenet/ember-cli-mirage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wagenet/ember-cli-mirage/labels{/name}","releases_url":"https://api.github.com/repos/wagenet/ember-cli-mirage/releases{/id}","deployments_url":"https://api.github.com/repos/wagenet/ember-cli-mirage/deployments","created_at":"2018-03-14T18:46:06Z","updated_at":"2018-03-14T18:46:08Z","pushed_at":"2018-03-14T18:49:05Z","git_url":"git://github.com/wagenet/ember-cli-mirage.git","ssh_url":"git@github.com:wagenet/ember-cli-mirage.git","clone_url":"https://github.com/wagenet/ember-cli-mirage.git","svn_url":"https://github.com/wagenet/ember-cli-mirage","homepage":"http://ember-cli-mirage.com/","size":7989,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"samselikoff:master","ref":"master","sha":"356444ac700d14ff2f28577acf4e2967e4e4184e","user":{"login":"samselikoff","id":2922250,"avatar_url":"https://avatars1.githubusercontent.com/u/2922250?v=4","gravatar_id":"","url":"https://api.github.com/users/samselikoff","html_url":"https://github.com/samselikoff","followers_url":"https://api.github.com/users/samselikoff/followers","following_url":"https://api.github.com/users/samselikoff/following{/other_user}","gists_url":"https://api.github.com/users/samselikoff/gists{/gist_id}","starred_url":"https://api.github.com/users/samselikoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samselikoff/subscriptions","organizations_url":"https://api.github.com/users/samselikoff/orgs","repos_url":"https://api.github.com/users/samselikoff/repos","events_url":"https://api.github.com/users/samselikoff/events{/privacy}","received_events_url":"https://api.github.com/users/samselikoff/received_events","type":"User","site_admin":false},"repo":{"id":29990778,"name":"ember-cli-mirage","full_name":"samselikoff/ember-cli-mirage","owner":{"login":"samselikoff","id":2922250,"avatar_url":"https://avatars1.githubusercontent.com/u/2922250?v=4","gravatar_id":"","url":"https://api.github.com/users/samselikoff","html_url":"https://github.com/samselikoff","followers_url":"https://api.github.com/users/samselikoff/followers","following_url":"https://api.github.com/users/samselikoff/following{/other_user}","gists_url":"https://api.github.com/users/samselikoff/gists{/gist_id}","starred_url":"https://api.github.com/users/samselikoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samselikoff/subscriptions","organizations_url":"https://api.github.com/users/samselikoff/orgs","repos_url":"https://api.github.com/users/samselikoff/repos","events_url":"https://api.github.com/users/samselikoff/events{/privacy}","received_events_url":"https://api.github.com/users/samselikoff/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/samselikoff/ember-cli-mirage","description":"A client-side mock server to develop, test and prototype your app","fork":false,"url":"https://api.github.com/repos/samselikoff/ember-cli-mirage","forks_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/forks","keys_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/teams","hooks_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/hooks","issue_events_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/issues/events{/number}","events_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/events","assignees_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/assignees{/user}","branches_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/branches{/branch}","tags_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/tags","blobs_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/git/refs{/sha}","trees_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/statuses/{sha}","languages_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/languages","stargazers_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/stargazers","contributors_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/contributors","subscribers_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/subscribers","subscription_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/subscription","commits_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/commits{/sha}","git_commits_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/git/commits{/sha}","comments_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/comments{/number}","issue_comment_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/issues/comments{/number}","contents_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/contents/{+path}","compare_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/merges","archive_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/downloads","issues_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/issues{/number}","pulls_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/pulls{/number}","milestones_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/milestones{/number}","notifications_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/labels{/name}","releases_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/releases{/id}","deployments_url":"https://api.github.com/repos/samselikoff/ember-cli-mirage/deployments","created_at":"2015-01-28T22:08:26Z","updated_at":"2018-03-12T18:46:28Z","pushed_at":"2018-03-13T22:41:11Z","git_url":"git://github.com/samselikoff/ember-cli-mirage.git","ssh_url":"git@github.com:samselikoff/ember-cli-mirage.git","clone_url":"https://github.com/samselikoff/ember-cli-mirage.git","svn_url":"https://github.com/samselikoff/ember-cli-mirage","homepage":"http://ember-cli-mirage.com/","size":7989,"stargazers_count":782,"watchers_count":782,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":346,"mirror_url":null,"archived":false,"open_issues_count":124,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":346,"open_issues":124,"watchers":782,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/samselikoff/ember-cli-mirage/pulls/1281"},"html":{"href":"https://github.com/samselikoff/ember-cli-mirage/pull/1281"},"issue":{"href":"https://api.github.com/repos/samselikoff/ember-cli-mirage/issues/1281"},"comments":{"href":"https://api.github.com/repos/samselikoff/ember-cli-mirage/issues/1281/comments"},"review_comments":{"href":"https://api.github.com/repos/samselikoff/ember-cli-mirage/pulls/1281/comments"},"review_comment":{"href":"https://api.github.com/repos/samselikoff/ember-cli-mirage/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/samselikoff/ember-cli-mirage/pulls/1281/commits"},"statuses":{"href":"https://api.github.com/repos/samselikoff/ember-cli-mirage/statuses/897d2cb7693b62e9b2265861daa0b62c6aed764a"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":5,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"wagenet"}}