{"action":"created","comment":{"url":"https://api.github.com/repos/hashicorp/nomad/pulls/comments/212411350","pull_request_review_id":149036722,"id":212411350,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjQxMTM1MA==","diff_hunk":"@@ -313,3 +316,52 @@ test('when submitting a job to a different namespace, the redirect to the job ov\n     );\n   });\n });\n+\n+test('when the scheduler dry-run has warnings, the warnings are shown to the user', function(assert) {\n+  // Unschedulable is a hint to Mirage to respond with warnings from the plan endpoint\n+  const spec = jsonJob({ Unschedulable: true });\n+\n+  JobRun.visit();\n+\n+  andThen(() => {\n+    JobRun.editor.fillIn(spec);","path":"ui/tests/acceptance/job-run-test.js","position":53,"original_position":53,"commit_id":"2d0805c4530b9436d363bb04519f20d432fcd39e","original_commit_id":"2d0805c4530b9436d363bb04519f20d432fcd39e","user":{"login":"alisdair","id":68917,"node_id":"MDQ6VXNlcjY4OTE3","avatar_url":"https://avatars3.githubusercontent.com/u/68917?v=4","gravatar_id":"","url":"https://api.github.com/users/alisdair","html_url":"https://github.com/alisdair","followers_url":"https://api.github.com/users/alisdair/followers","following_url":"https://api.github.com/users/alisdair/following{/other_user}","gists_url":"https://api.github.com/users/alisdair/gists{/gist_id}","starred_url":"https://api.github.com/users/alisdair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alisdair/subscriptions","organizations_url":"https://api.github.com/users/alisdair/orgs","repos_url":"https://api.github.com/users/alisdair/repos","events_url":"https://api.github.com/users/alisdair/events{/privacy}","received_events_url":"https://api.github.com/users/alisdair/received_events","type":"User","site_admin":false},"body":"👌 I need to get around to grabbing this editor page object…","created_at":"2018-08-23T18:25:46Z","updated_at":"2018-08-23T18:26:13Z","html_url":"https://github.com/hashicorp/nomad/pull/4603#discussion_r212411350","pull_request_url":"https://api.github.com/repos/hashicorp/nomad/pulls/4603","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/hashicorp/nomad/pulls/comments/212411350"},"html":{"href":"https://github.com/hashicorp/nomad/pull/4603#discussion_r212411350"},"pull_request":{"href":"https://api.github.com/repos/hashicorp/nomad/pulls/4603"}}},"pull_request":{"url":"https://api.github.com/repos/hashicorp/nomad/pulls/4603","id":209657931,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5NjU3OTMx","html_url":"https://github.com/hashicorp/nomad/pull/4603","diff_url":"https://github.com/hashicorp/nomad/pull/4603.diff","patch_url":"https://github.com/hashicorp/nomad/pull/4603.patch","issue_url":"https://api.github.com/repos/hashicorp/nomad/issues/4603","number":4603,"state":"open","locked":false,"title":"UI: New job improved plan screen","user":{"login":"DingoEatingFuzz","id":174740,"node_id":"MDQ6VXNlcjE3NDc0MA==","avatar_url":"https://avatars2.githubusercontent.com/u/174740?v=4","gravatar_id":"","url":"https://api.github.com/users/DingoEatingFuzz","html_url":"https://github.com/DingoEatingFuzz","followers_url":"https://api.github.com/users/DingoEatingFuzz/followers","following_url":"https://api.github.com/users/DingoEatingFuzz/following{/other_user}","gists_url":"https://api.github.com/users/DingoEatingFuzz/gists{/gist_id}","starred_url":"https://api.github.com/users/DingoEatingFuzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DingoEatingFuzz/subscriptions","organizations_url":"https://api.github.com/users/DingoEatingFuzz/orgs","repos_url":"https://api.github.com/users/DingoEatingFuzz/repos","events_url":"https://api.github.com/users/DingoEatingFuzz/events{/privacy}","received_events_url":"https://api.github.com/users/DingoEatingFuzz/received_events","type":"User","site_admin":false},"body":"_Part of the Job Writes project: #4600_\r\n\r\nWhen planning a job, nomad provides a \"scheduler dry-run\" which can be used to catch issues before the job is actually ran. Now this same output will be shown in the UI before running a job.\r\n\r\n![image](https://user-images.githubusercontent.com/174740/44369387-1684a000-a48b-11e8-8632-27dc0915bd77.png)\r\n\r\n\r\n![image](https://user-images.githubusercontent.com/174740/44369416-2ef4ba80-a48b-11e8-9dad-39606efc4f70.png)\r\n","created_at":"2018-08-20T22:11:36Z","updated_at":"2018-08-23T18:26:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"45bae7dd74e7bbd1631ad9c81983f1fb5dd19a17","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":706604350,"node_id":"MDU6TGFiZWw3MDY2MDQzNTA=","url":"https://api.github.com/repos/hashicorp/nomad/labels/ui","name":"ui","color":"25BA81","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/hashicorp/nomad/pulls/4603/commits","review_comments_url":"https://api.github.com/repos/hashicorp/nomad/pulls/4603/comments","review_comment_url":"https://api.github.com/repos/hashicorp/nomad/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hashicorp/nomad/issues/4603/comments","statuses_url":"https://api.github.com/repos/hashicorp/nomad/statuses/2d0805c4530b9436d363bb04519f20d432fcd39e","head":{"label":"hashicorp:f-ui-new-job-improved-plan","ref":"f-ui-new-job-improved-plan","sha":"2d0805c4530b9436d363bb04519f20d432fcd39e","user":{"login":"hashicorp","id":761456,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2MTQ1Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/761456?v=4","gravatar_id":"","url":"https://api.github.com/users/hashicorp","html_url":"https://github.com/hashicorp","followers_url":"https://api.github.com/users/hashicorp/followers","following_url":"https://api.github.com/users/hashicorp/following{/other_user}","gists_url":"https://api.github.com/users/hashicorp/gists{/gist_id}","starred_url":"https://api.github.com/users/hashicorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashicorp/subscriptions","organizations_url":"https://api.github.com/users/hashicorp/orgs","repos_url":"https://api.github.com/users/hashicorp/repos","events_url":"https://api.github.com/users/hashicorp/events{/privacy}","received_events_url":"https://api.github.com/users/hashicorp/received_events","type":"Organization","site_admin":false},"repo":{"id":36653430,"node_id":"MDEwOlJlcG9zaXRvcnkzNjY1MzQzMA==","name":"nomad","full_name":"hashicorp/nomad","owner":{"login":"hashicorp","id":761456,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2MTQ1Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/761456?v=4","gravatar_id":"","url":"https://api.github.com/users/hashicorp","html_url":"https://github.com/hashicorp","followers_url":"https://api.github.com/users/hashicorp/followers","following_url":"https://api.github.com/users/hashicorp/following{/other_user}","gists_url":"https://api.github.com/users/hashicorp/gists{/gist_id}","starred_url":"https://api.github.com/users/hashicorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashicorp/subscriptions","organizations_url":"https://api.github.com/users/hashicorp/orgs","repos_url":"https://api.github.com/users/hashicorp/repos","events_url":"https://api.github.com/users/hashicorp/events{/privacy}","received_events_url":"https://api.github.com/users/hashicorp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hashicorp/nomad","description":"Nomad is a flexible, enterprise-grade cluster scheduler designed to easily integrate into existing workflows. Nomad can run a diverse workload of micro-service, batch, containerized and non-containerized applications. Nomad is easy to operate and scale and integrates seamlessly with Consul and Vault.","fork":false,"url":"https://api.github.com/repos/hashicorp/nomad","forks_url":"https://api.github.com/repos/hashicorp/nomad/forks","keys_url":"https://api.github.com/repos/hashicorp/nomad/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hashicorp/nomad/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hashicorp/nomad/teams","hooks_url":"https://api.github.com/repos/hashicorp/nomad/hooks","issue_events_url":"https://api.github.com/repos/hashicorp/nomad/issues/events{/number}","events_url":"https://api.github.com/repos/hashicorp/nomad/events","assignees_url":"https://api.github.com/repos/hashicorp/nomad/assignees{/user}","branches_url":"https://api.github.com/repos/hashicorp/nomad/branches{/branch}","tags_url":"https://api.github.com/repos/hashicorp/nomad/tags","blobs_url":"https://api.github.com/repos/hashicorp/nomad/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hashicorp/nomad/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hashicorp/nomad/git/refs{/sha}","trees_url":"https://api.github.com/repos/hashicorp/nomad/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hashicorp/nomad/statuses/{sha}","languages_url":"https://api.github.com/repos/hashicorp/nomad/languages","stargazers_url":"https://api.github.com/repos/hashicorp/nomad/stargazers","contributors_url":"https://api.github.com/repos/hashicorp/nomad/contributors","subscribers_url":"https://api.github.com/repos/hashicorp/nomad/subscribers","subscription_url":"https://api.github.com/repos/hashicorp/nomad/subscription","commits_url":"https://api.github.com/repos/hashicorp/nomad/commits{/sha}","git_commits_url":"https://api.github.com/repos/hashicorp/nomad/git/commits{/sha}","comments_url":"https://api.github.com/repos/hashicorp/nomad/comments{/number}","issue_comment_url":"https://api.github.com/repos/hashicorp/nomad/issues/comments{/number}","contents_url":"https://api.github.com/repos/hashicorp/nomad/contents/{+path}","compare_url":"https://api.github.com/repos/hashicorp/nomad/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hashicorp/nomad/merges","archive_url":"https://api.github.com/repos/hashicorp/nomad/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hashicorp/nomad/downloads","issues_url":"https://api.github.com/repos/hashicorp/nomad/issues{/number}","pulls_url":"https://api.github.com/repos/hashicorp/nomad/pulls{/number}","milestones_url":"https://api.github.com/repos/hashicorp/nomad/milestones{/number}","notifications_url":"https://api.github.com/repos/hashicorp/nomad/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hashicorp/nomad/labels{/name}","releases_url":"https://api.github.com/repos/hashicorp/nomad/releases{/id}","deployments_url":"https://api.github.com/repos/hashicorp/nomad/deployments","created_at":"2015-06-01T10:21:00Z","updated_at":"2018-08-23T17:39:28Z","pushed_at":"2018-08-23T02:47:38Z","git_url":"git://github.com/hashicorp/nomad.git","ssh_url":"git@github.com:hashicorp/nomad.git","clone_url":"https://github.com/hashicorp/nomad.git","svn_url":"https://github.com/hashicorp/nomad","homepage":"https://www.nomadproject.io/","size":110593,"stargazers_count":3784,"watchers_count":3784,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":739,"mirror_url":null,"archived":false,"open_issues_count":406,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":739,"open_issues":406,"watchers":3784,"default_branch":"master"}},"base":{"label":"hashicorp:f-ui-job-writes","ref":"f-ui-job-writes","sha":"e329ab7c741e98edf90ad18c0a01e813ab8f2291","user":{"login":"hashicorp","id":761456,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2MTQ1Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/761456?v=4","gravatar_id":"","url":"https://api.github.com/users/hashicorp","html_url":"https://github.com/hashicorp","followers_url":"https://api.github.com/users/hashicorp/followers","following_url":"https://api.github.com/users/hashicorp/following{/other_user}","gists_url":"https://api.github.com/users/hashicorp/gists{/gist_id}","starred_url":"https://api.github.com/users/hashicorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashicorp/subscriptions","organizations_url":"https://api.github.com/users/hashicorp/orgs","repos_url":"https://api.github.com/users/hashicorp/repos","events_url":"https://api.github.com/users/hashicorp/events{/privacy}","received_events_url":"https://api.github.com/users/hashicorp/received_events","type":"Organization","site_admin":false},"repo":{"id":36653430,"node_id":"MDEwOlJlcG9zaXRvcnkzNjY1MzQzMA==","name":"nomad","full_name":"hashicorp/nomad","owner":{"login":"hashicorp","id":761456,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2MTQ1Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/761456?v=4","gravatar_id":"","url":"https://api.github.com/users/hashicorp","html_url":"https://github.com/hashicorp","followers_url":"https://api.github.com/users/hashicorp/followers","following_url":"https://api.github.com/users/hashicorp/following{/other_user}","gists_url":"https://api.github.com/users/hashicorp/gists{/gist_id}","starred_url":"https://api.github.com/users/hashicorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashicorp/subscriptions","organizations_url":"https://api.github.com/users/hashicorp/orgs","repos_url":"https://api.github.com/users/hashicorp/repos","events_url":"https://api.github.com/users/hashicorp/events{/privacy}","received_events_url":"https://api.github.com/users/hashicorp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hashicorp/nomad","description":"Nomad is a flexible, enterprise-grade cluster scheduler designed to easily integrate into existing workflows. Nomad can run a diverse workload of micro-service, batch, containerized and non-containerized applications. Nomad is easy to operate and scale and integrates seamlessly with Consul and Vault.","fork":false,"url":"https://api.github.com/repos/hashicorp/nomad","forks_url":"https://api.github.com/repos/hashicorp/nomad/forks","keys_url":"https://api.github.com/repos/hashicorp/nomad/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hashicorp/nomad/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hashicorp/nomad/teams","hooks_url":"https://api.github.com/repos/hashicorp/nomad/hooks","issue_events_url":"https://api.github.com/repos/hashicorp/nomad/issues/events{/number}","events_url":"https://api.github.com/repos/hashicorp/nomad/events","assignees_url":"https://api.github.com/repos/hashicorp/nomad/assignees{/user}","branches_url":"https://api.github.com/repos/hashicorp/nomad/branches{/branch}","tags_url":"https://api.github.com/repos/hashicorp/nomad/tags","blobs_url":"https://api.github.com/repos/hashicorp/nomad/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hashicorp/nomad/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hashicorp/nomad/git/refs{/sha}","trees_url":"https://api.github.com/repos/hashicorp/nomad/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hashicorp/nomad/statuses/{sha}","languages_url":"https://api.github.com/repos/hashicorp/nomad/languages","stargazers_url":"https://api.github.com/repos/hashicorp/nomad/stargazers","contributors_url":"https://api.github.com/repos/hashicorp/nomad/contributors","subscribers_url":"https://api.github.com/repos/hashicorp/nomad/subscribers","subscription_url":"https://api.github.com/repos/hashicorp/nomad/subscription","commits_url":"https://api.github.com/repos/hashicorp/nomad/commits{/sha}","git_commits_url":"https://api.github.com/repos/hashicorp/nomad/git/commits{/sha}","comments_url":"https://api.github.com/repos/hashicorp/nomad/comments{/number}","issue_comment_url":"https://api.github.com/repos/hashicorp/nomad/issues/comments{/number}","contents_url":"https://api.github.com/repos/hashicorp/nomad/contents/{+path}","compare_url":"https://api.github.com/repos/hashicorp/nomad/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hashicorp/nomad/merges","archive_url":"https://api.github.com/repos/hashicorp/nomad/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hashicorp/nomad/downloads","issues_url":"https://api.github.com/repos/hashicorp/nomad/issues{/number}","pulls_url":"https://api.github.com/repos/hashicorp/nomad/pulls{/number}","milestones_url":"https://api.github.com/repos/hashicorp/nomad/milestones{/number}","notifications_url":"https://api.github.com/repos/hashicorp/nomad/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hashicorp/nomad/labels{/name}","releases_url":"https://api.github.com/repos/hashicorp/nomad/releases{/id}","deployments_url":"https://api.github.com/repos/hashicorp/nomad/deployments","created_at":"2015-06-01T10:21:00Z","updated_at":"2018-08-23T17:39:28Z","pushed_at":"2018-08-23T02:47:38Z","git_url":"git://github.com/hashicorp/nomad.git","ssh_url":"git@github.com:hashicorp/nomad.git","clone_url":"https://github.com/hashicorp/nomad.git","svn_url":"https://github.com/hashicorp/nomad","homepage":"https://www.nomadproject.io/","size":110593,"stargazers_count":3784,"watchers_count":3784,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":739,"mirror_url":null,"archived":false,"open_issues_count":406,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":739,"open_issues":406,"watchers":3784,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hashicorp/nomad/pulls/4603"},"html":{"href":"https://github.com/hashicorp/nomad/pull/4603"},"issue":{"href":"https://api.github.com/repos/hashicorp/nomad/issues/4603"},"comments":{"href":"https://api.github.com/repos/hashicorp/nomad/issues/4603/comments"},"review_comments":{"href":"https://api.github.com/repos/hashicorp/nomad/pulls/4603/comments"},"review_comment":{"href":"https://api.github.com/repos/hashicorp/nomad/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hashicorp/nomad/pulls/4603/commits"},"statuses":{"href":"https://api.github.com/repos/hashicorp/nomad/statuses/2d0805c4530b9436d363bb04519f20d432fcd39e"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"alisdair"}}