{"action":"created","issue":{"url":"https://api.github.com/repos/cylc/cylc/issues/2809","repository_url":"https://api.github.com/repos/cylc/cylc","labels_url":"https://api.github.com/repos/cylc/cylc/issues/2809/labels{/name}","comments_url":"https://api.github.com/repos/cylc/cylc/issues/2809/comments","events_url":"https://api.github.com/repos/cylc/cylc/issues/2809/events","html_url":"https://github.com/cylc/cylc/pull/2809","id":372018618,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI0MzM1MzIw","number":2809,"title":"Auto stop-restart","user":{"login":"oliver-sanders","id":16705946,"node_id":"MDQ6VXNlcjE2NzA1OTQ2","avatar_url":"https://avatars0.githubusercontent.com/u/16705946?v=4","gravatar_id":"","url":"https://api.github.com/users/oliver-sanders","html_url":"https://github.com/oliver-sanders","followers_url":"https://api.github.com/users/oliver-sanders/followers","following_url":"https://api.github.com/users/oliver-sanders/following{/other_user}","gists_url":"https://api.github.com/users/oliver-sanders/gists{/gist_id}","starred_url":"https://api.github.com/users/oliver-sanders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliver-sanders/subscriptions","organizations_url":"https://api.github.com/users/oliver-sanders/orgs","repos_url":"https://api.github.com/users/oliver-sanders/repos","events_url":"https://api.github.com/users/oliver-sanders/events{/privacy}","received_events_url":"https://api.github.com/users/oliver-sanders/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"oliver-sanders","id":16705946,"node_id":"MDQ6VXNlcjE2NzA1OTQ2","avatar_url":"https://avatars0.githubusercontent.com/u/16705946?v=4","gravatar_id":"","url":"https://api.github.com/users/oliver-sanders","html_url":"https://github.com/oliver-sanders","followers_url":"https://api.github.com/users/oliver-sanders/followers","following_url":"https://api.github.com/users/oliver-sanders/following{/other_user}","gists_url":"https://api.github.com/users/oliver-sanders/gists{/gist_id}","starred_url":"https://api.github.com/users/oliver-sanders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliver-sanders/subscriptions","organizations_url":"https://api.github.com/users/oliver-sanders/orgs","repos_url":"https://api.github.com/users/oliver-sanders/repos","events_url":"https://api.github.com/users/oliver-sanders/events{/privacy}","received_events_url":"https://api.github.com/users/oliver-sanders/received_events","type":"User","site_admin":false},"assignees":[{"login":"oliver-sanders","id":16705946,"node_id":"MDQ6VXNlcjE2NzA1OTQ2","avatar_url":"https://avatars0.githubusercontent.com/u/16705946?v=4","gravatar_id":"","url":"https://api.github.com/users/oliver-sanders","html_url":"https://github.com/oliver-sanders","followers_url":"https://api.github.com/users/oliver-sanders/followers","following_url":"https://api.github.com/users/oliver-sanders/following{/other_user}","gists_url":"https://api.github.com/users/oliver-sanders/gists{/gist_id}","starred_url":"https://api.github.com/users/oliver-sanders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliver-sanders/subscriptions","organizations_url":"https://api.github.com/users/oliver-sanders/orgs","repos_url":"https://api.github.com/users/oliver-sanders/repos","events_url":"https://api.github.com/users/oliver-sanders/events{/privacy}","received_events_url":"https://api.github.com/users/oliver-sanders/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/cylc/cylc/milestones/70","html_url":"https://github.com/cylc/cylc/milestone/70","labels_url":"https://api.github.com/repos/cylc/cylc/milestones/70/labels","id":3364574,"node_id":"MDk6TWlsZXN0b25lMzM2NDU3NA==","number":70,"title":"next release","description":"cylc-7.8.0","creator":{"login":"hjoliver","id":2362137,"node_id":"MDQ6VXNlcjIzNjIxMzc=","avatar_url":"https://avatars0.githubusercontent.com/u/2362137?v=4","gravatar_id":"","url":"https://api.github.com/users/hjoliver","html_url":"https://github.com/hjoliver","followers_url":"https://api.github.com/users/hjoliver/followers","following_url":"https://api.github.com/users/hjoliver/following{/other_user}","gists_url":"https://api.github.com/users/hjoliver/gists{/gist_id}","starred_url":"https://api.github.com/users/hjoliver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hjoliver/subscriptions","organizations_url":"https://api.github.com/users/hjoliver/orgs","repos_url":"https://api.github.com/users/hjoliver/repos","events_url":"https://api.github.com/users/hjoliver/events{/privacy}","received_events_url":"https://api.github.com/users/hjoliver/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":80,"state":"open","created_at":"2018-05-22T13:29:48Z","updated_at":"2018-11-06T11:55:40Z","due_on":"2018-10-31T07:00:00Z","closed_at":null},"comments":8,"created_at":"2018-10-19T15:58:10Z","updated_at":"2018-11-06T19:38:53Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/cylc/cylc/pulls/2809","html_url":"https://github.com/cylc/cylc/pull/2809","diff_url":"https://github.com/cylc/cylc/pull/2809.diff","patch_url":"https://github.com/cylc/cylc/pull/2809.patch"},"body":"Implement functionality to allow suites to automatically migrate away from specified servers.\r\n\r\nCloses #988 \r\n\r\nUntil #2799 this functionality is implemented with the caveat that suites which cannot be safely restarted will not attempt to (but will log critical messages to alert the user, do we want to look into automatically sending emails as well?).\r\n\r\nTODO:\r\n\r\n* [x] Don't auto stop-restart if the suite is already stopping\r\n\r\n**Ready for ~initial~ review**\r\n"},"comment":{"url":"https://api.github.com/repos/cylc/cylc/issues/comments/436381721","html_url":"https://github.com/cylc/cylc/pull/2809#issuecomment-436381721","issue_url":"https://api.github.com/repos/cylc/cylc/issues/2809","id":436381721,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjM4MTcyMQ==","user":{"login":"codacy-bot","id":19940114,"node_id":"MDQ6VXNlcjE5OTQwMTE0","avatar_url":"https://avatars1.githubusercontent.com/u/19940114?v=4","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"created_at":"2018-11-06T19:38:53Z","updated_at":"2018-11-06T19:38:53Z","author_association":"NONE","body":"\n![Codacy](https://app.codacy.com/assets/images/favicon.png) Here is an overview of what got changed by this pull request:\n\n\n```diff\n\nIssues\n======\n+ Solved 1\n- Added 1\n           \n```\n\n\nSee the complete overview on [Codacy](https://app.codacy.com/app/Cylc/cylc/pullRequest?prid=2397655&bid=9315669)\n        "}}
{"actor":{"display_login":"codacy-bot"}}