{"action":"opened","issue":{"url":"https://api.github.com/repos/habitat-sh/builder/issues/393","repository_url":"https://api.github.com/repos/habitat-sh/builder","labels_url":"https://api.github.com/repos/habitat-sh/builder/issues/393/labels{/name}","comments_url":"https://api.github.com/repos/habitat-sh/builder/issues/393/comments","events_url":"https://api.github.com/repos/habitat-sh/builder/issues/393/events","html_url":"https://github.com/habitat-sh/builder/issues/393","id":317393416,"number":393,"title":"Job status did not make it back to scheduler","user":{"login":"chefsalim","id":13542112,"avatar_url":"https://avatars2.githubusercontent.com/u/13542112?v=4","gravatar_id":"","url":"https://api.github.com/users/chefsalim","html_url":"https://github.com/chefsalim","followers_url":"https://api.github.com/users/chefsalim/followers","following_url":"https://api.github.com/users/chefsalim/following{/other_user}","gists_url":"https://api.github.com/users/chefsalim/gists{/gist_id}","starred_url":"https://api.github.com/users/chefsalim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chefsalim/subscriptions","organizations_url":"https://api.github.com/users/chefsalim/orgs","repos_url":"https://api.github.com/users/chefsalim/repos","events_url":"https://api.github.com/users/chefsalim/events{/privacy}","received_events_url":"https://api.github.com/users/chefsalim/received_events","type":"User","site_admin":false},"labels":[{"id":858216117,"url":"https://api.github.com/repos/habitat-sh/builder/labels/A-builder","name":"A-builder","color":"87B09A","default":false},{"id":858216190,"url":"https://api.github.com/repos/habitat-sh/builder/labels/C-bug","name":"C-bug","color":"ff9012","default":false},{"id":859406102,"url":"https://api.github.com/repos/habitat-sh/builder/labels/V-bldr","name":"V-bldr","color":"0fb0bf","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-24T21:00:24Z","updated_at":"2018-04-24T21:00:24Z","closed_at":null,"author_association":"OWNER","body":"When triggering a large group of jobs (re-build for core/gmp), we saw the scheduler get stuck on the last job because one of the job status did not make it back to the scheduler.  Upon manually re-setting the scheduler_sync flag, everything worked as expected and the group was able to finish successfully.  Need to repro and investigate this further.\r\n\r\n```\r\nbuilder_jobsrv=# select * from jobs where id=967456711518330880;\r\n         id         |      owner_id      | job_state |     project_id     | project_name |  project_owner_id  | project_plan_path | vcs |                    vcs_arguments\r\n                  | net_error_code | net_error_msg | scheduler_sync |          created_at           |          updated_at           |       build_started_at        |\r\nbuild_finished_at       |           package_ident           | archived |         channel         | sync_count |       worker\r\n--------------------+--------------------+-----------+--------------------+--------------+--------------------+-------------------+-----+-----------------------------------\r\n------------------+----------------+---------------+----------------+-------------------------------+-------------------------------+-------------------------------+-------\r\n------------------------+-----------------------------------+----------+-------------------------+------------+--------------------\r\n 967456711518330880 | 967453611063918592 | Complete  | 814758998332383262 | core/ponysay | 721096797631602749 | ponysay/plan.sh   | git | {https://github.com/habitat-sh/cor\r\ne-plans.git,NULL} |                |               | t              | 2018-04-24 18:53:38.250995+00 | 2018-04-24 18:57:09.655341+00 | 2018-04-24 18:56:10.708222+00 | 2018-0\r\n4-24 18:57:00.669906+00 | core/ponysay/3.0.2/20180424185628 | t        | bldr-967453611063918592 |          0 | 4431@ip-10-0-0-161\r\n(1 row)\r\n```"}}
{"actor":{"display_login":"chefsalim"}}