{"action":"opened","issue":{"url":"https://api.github.com/repos/toddproject/todd/issues/106","repository_url":"https://api.github.com/repos/toddproject/todd","labels_url":"https://api.github.com/repos/toddproject/todd/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/toddproject/todd/issues/106/comments","events_url":"https://api.github.com/repos/toddproject/todd/issues/106/events","html_url":"https://github.com/toddproject/todd/issues/106","id":180783484,"number":106,"title":"Testlet serving needs fixed","user":{"login":"Mierdin","id":4230395,"avatar_url":"https://avatars.githubusercontent.com/u/4230395?v=3","gravatar_id":"","url":"https://api.github.com/users/Mierdin","html_url":"https://github.com/Mierdin","followers_url":"https://api.github.com/users/Mierdin/followers","following_url":"https://api.github.com/users/Mierdin/following{/other_user}","gists_url":"https://api.github.com/users/Mierdin/gists{/gist_id}","starred_url":"https://api.github.com/users/Mierdin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mierdin/subscriptions","organizations_url":"https://api.github.com/users/Mierdin/orgs","repos_url":"https://api.github.com/users/Mierdin/repos","events_url":"https://api.github.com/users/Mierdin/events{/privacy}","received_events_url":"https://api.github.com/users/Mierdin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/toddproject/todd/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-04T00:58:15Z","updated_at":"2016-10-04T00:58:15Z","closed_at":null,"body":"Upon digging in further, I've discovered that you cannot simply put a testlet into the server directory at any time in order for it to be served to agents. It has to exist in the directory when the server starts. Similarly, if you delete the testlet, the server will not acknowledge that deletion, and will still send the URL to the agents (which will result in a 404 because the file doesn't exist).\r\n\r\nNeed to update this mechanism to reflect recent changes in the rest of the project:\r\n\r\n- [ ] Proper error handling when downloading the testlet (don't create a file if the error code is 404)\r\n- [ ] Constantly scan the directory and use this plus those in assets to form the correct list\r\n- [ ] How to enforce that native testlets are installed?"}}
{"actor":{"display_login":"Mierdin"}}