{"action":"closed","issue":{"url":"https://api.github.com/repos/mozilla/mig/issues/131","labels_url":"https://api.github.com/repos/mozilla/mig/issues/131/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/mig/issues/131/comments","events_url":"https://api.github.com/repos/mozilla/mig/issues/131/events","html_url":"https://github.com/mozilla/mig/issues/131","id":110541445,"number":131,"title":"[mig scheduler] Invalid data in scheduler returned directory","user":{"login":"ameihm0912","id":9889986,"avatar_url":"https://avatars.githubusercontent.com/u/9889986?v=3","gravatar_id":"","url":"https://api.github.com/users/ameihm0912","html_url":"https://github.com/ameihm0912","followers_url":"https://api.github.com/users/ameihm0912/followers","following_url":"https://api.github.com/users/ameihm0912/following{/other_user}","gists_url":"https://api.github.com/users/ameihm0912/gists{/gist_id}","starred_url":"https://api.github.com/users/ameihm0912/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ameihm0912/subscriptions","organizations_url":"https://api.github.com/users/ameihm0912/orgs","repos_url":"https://api.github.com/users/ameihm0912/repos","events_url":"https://api.github.com/users/ameihm0912/events{/privacy}","received_events_url":"https://api.github.com/users/ameihm0912/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla/mig/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/mozilla/mig/labels/scheduler","name":"scheduler","color":"eb6420"}],"state":"closed","locked":false,"assignee":{"login":"ameihm0912","id":9889986,"avatar_url":"https://avatars.githubusercontent.com/u/9889986?v=3","gravatar_id":"","url":"https://api.github.com/users/ameihm0912","html_url":"https://github.com/ameihm0912","followers_url":"https://api.github.com/users/ameihm0912/followers","following_url":"https://api.github.com/users/ameihm0912/following{/other_user}","gists_url":"https://api.github.com/users/ameihm0912/gists{/gist_id}","starred_url":"https://api.github.com/users/ameihm0912/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ameihm0912/subscriptions","organizations_url":"https://api.github.com/users/ameihm0912/orgs","repos_url":"https://api.github.com/users/ameihm0912/repos","events_url":"https://api.github.com/users/ameihm0912/events{/privacy}","received_events_url":"https://api.github.com/users/ameihm0912/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-10-08T21:08:55Z","updated_at":"2015-10-19T21:30:06Z","closed_at":"2015-10-19T21:30:06Z","body":"If valid JSON is returned to the scheduler that is missing some fields, the scheduler will not load it (CmdFromFile() fails). The data ends up sitting in the returned directory though and is reparsed every few seconds. If a number of invalid events were returned this could potentially get inefficient and may cause problems.\r\n\r\nWe could somehow mark a failed returned file, so the first time it fails maybe it's renamed, and subsequent walks of the spool directory ignore these failed files."}}