{"action":"created","comment":{"url":"https://api.github.com/repos/Originate/tertestrial-server/pulls/comments/76473367","id":76473367,"diff_hunk":"@@ -1,32 +1,18 @@\n-Feature: warn if already running\n+Feature: abort if already running\n \n   As a developer accidentally starting another copy of Tertestrial in a repo\n-  I want to be told that this is not recommended\n-  So that I avoid this mistake.\n+  I want to be prevented from doing so\n+  So I don't start duplicate processes\n \n-  - when Tertestrial detects an existing named pipe, it displays a warning\n-  - the user has the choice to abort or continue\n-  - if the user continues, it drains and re-creates a fresh pipe\n+  - Tertestrial will not start a second process if it finds another process is\n+    already running in the same directory\n \n \n-  Background:\n-    Given Tertestrial is starting in a directory containing the file \".tertestrial.tmp\"\n-\n-\n-  Scenario: a named pipe exists and the user chooses to abort\n+  Scenario:\n+    Given Tertestrial is running\n+    When trying to start tertestrial\n     Then I see:\n       \"\"\"\n-      I have found a named pipe in this directory.\n-      This indicates Tertestrial is either already running,\n-      or has crashed before.\n-\n-      If Tertestrial is running for this project already,\n-      please hit Ctrl-C to exit this process.\n-      Otherwise hit Enter to continue.\n+      Tertestrial is already running in the current directory.\n       \"\"\"\n-\n-\n-  Scenario: a named pipe exists and the user chooses to continue\n-    When I hit the Enter key\n-    Then I see \"running\"\n-    And the process is still running\n+    And the initial process is still running","path":"features/already-running.feature","position":42,"original_position":42,"commit_id":"87091fb13968bc90c5175f1eedb48305bdafbc47","original_commit_id":"87091fb13968bc90c5175f1eedb48305bdafbc47","user":{"login":"kevgo","id":268934,"avatar_url":"https://avatars.githubusercontent.com/u/268934?v=3","gravatar_id":"","url":"https://api.github.com/users/kevgo","html_url":"https://github.com/kevgo","followers_url":"https://api.github.com/users/kevgo/followers","following_url":"https://api.github.com/users/kevgo/following{/other_user}","gists_url":"https://api.github.com/users/kevgo/gists{/gist_id}","starred_url":"https://api.github.com/users/kevgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevgo/subscriptions","organizations_url":"https://api.github.com/users/kevgo/orgs","repos_url":"https://api.github.com/users/kevgo/repos","events_url":"https://api.github.com/users/kevgo/events{/privacy}","received_events_url":"https://api.github.com/users/kevgo/received_events","type":"User","site_admin":false},"body":"Maybe add a step `And the new process exits` here?","created_at":"2016-08-26T19:20:16Z","updated_at":"2016-08-26T19:20:16Z","html_url":"https://github.com/Originate/tertestrial-server/pull/38#discussion_r76473367","pull_request_url":"https://api.github.com/repos/Originate/tertestrial-server/pulls/38","_links":{"self":{"href":"https://api.github.com/repos/Originate/tertestrial-server/pulls/comments/76473367"},"html":{"href":"https://github.com/Originate/tertestrial-server/pull/38#discussion_r76473367"},"pull_request":{"href":"https://api.github.com/repos/Originate/tertestrial-server/pulls/38"}}},"pull_request":{"url":"https://api.github.com/repos/Originate/tertestrial-server/pulls/38","id":82836483,"html_url":"https://github.com/Originate/tertestrial-server/pull/38","diff_url":"https://github.com/Originate/tertestrial-server/pull/38.diff","patch_url":"https://github.com/Originate/tertestrial-server/pull/38.patch","issue_url":"https://api.github.com/repos/Originate/tertestrial-server/issues/38","number":38,"state":"open","locked":false,"title":"abort on duplicate process","user":{"login":"charlierudolph","id":1676758,"avatar_url":"https://avatars.githubusercontent.com/u/1676758?v=3","gravatar_id":"","url":"https://api.github.com/users/charlierudolph","html_url":"https://github.com/charlierudolph","followers_url":"https://api.github.com/users/charlierudolph/followers","following_url":"https://api.github.com/users/charlierudolph/following{/other_user}","gists_url":"https://api.github.com/users/charlierudolph/gists{/gist_id}","starred_url":"https://api.github.com/users/charlierudolph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charlierudolph/subscriptions","organizations_url":"https://api.github.com/users/charlierudolph/orgs","repos_url":"https://api.github.com/users/charlierudolph/repos","events_url":"https://api.github.com/users/charlierudolph/events{/privacy}","received_events_url":"https://api.github.com/users/charlierudolph/received_events","type":"User","site_admin":false},"body":"@kevgo \r\n\r\nresolves #35","created_at":"2016-08-26T06:10:11Z","updated_at":"2016-08-26T19:20:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"792b492884a5de74dd98e0446ec20cb1fb20ad3c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Originate/tertestrial-server/pulls/38/commits","review_comments_url":"https://api.github.com/repos/Originate/tertestrial-server/pulls/38/comments","review_comment_url":"https://api.github.com/repos/Originate/tertestrial-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Originate/tertestrial-server/issues/38/comments","statuses_url":"https://api.github.com/repos/Originate/tertestrial-server/statuses/87091fb13968bc90c5175f1eedb48305bdafbc47","head":{"label":"Originate:cr-background","ref":"cr-background","sha":"87091fb13968bc90c5175f1eedb48305bdafbc47","user":{"login":"Originate","id":1627168,"avatar_url":"https://avatars.githubusercontent.com/u/1627168?v=3","gravatar_id":"","url":"https://api.github.com/users/Originate","html_url":"https://github.com/Originate","followers_url":"https://api.github.com/users/Originate/followers","following_url":"https://api.github.com/users/Originate/following{/other_user}","gists_url":"https://api.github.com/users/Originate/gists{/gist_id}","starred_url":"https://api.github.com/users/Originate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Originate/subscriptions","organizations_url":"https://api.github.com/users/Originate/orgs","repos_url":"https://api.github.com/users/Originate/repos","events_url":"https://api.github.com/users/Originate/events{/privacy}","received_events_url":"https://api.github.com/users/Originate/received_events","type":"Organization","site_admin":false},"repo":{"id":58867051,"name":"tertestrial-server","full_name":"Originate/tertestrial-server","owner":{"login":"Originate","id":1627168,"avatar_url":"https://avatars.githubusercontent.com/u/1627168?v=3","gravatar_id":"","url":"https://api.github.com/users/Originate","html_url":"https://github.com/Originate","followers_url":"https://api.github.com/users/Originate/followers","following_url":"https://api.github.com/users/Originate/following{/other_user}","gists_url":"https://api.github.com/users/Originate/gists{/gist_id}","starred_url":"https://api.github.com/users/Originate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Originate/subscriptions","organizations_url":"https://api.github.com/users/Originate/orgs","repos_url":"https://api.github.com/users/Originate/repos","events_url":"https://api.github.com/users/Originate/events{/privacy}","received_events_url":"https://api.github.com/users/Originate/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Originate/tertestrial-server","description":"Server component for the Tertestrial system","fork":false,"url":"https://api.github.com/repos/Originate/tertestrial-server","forks_url":"https://api.github.com/repos/Originate/tertestrial-server/forks","keys_url":"https://api.github.com/repos/Originate/tertestrial-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Originate/tertestrial-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Originate/tertestrial-server/teams","hooks_url":"https://api.github.com/repos/Originate/tertestrial-server/hooks","issue_events_url":"https://api.github.com/repos/Originate/tertestrial-server/issues/events{/number}","events_url":"https://api.github.com/repos/Originate/tertestrial-server/events","assignees_url":"https://api.github.com/repos/Originate/tertestrial-server/assignees{/user}","branches_url":"https://api.github.com/repos/Originate/tertestrial-server/branches{/branch}","tags_url":"https://api.github.com/repos/Originate/tertestrial-server/tags","blobs_url":"https://api.github.com/repos/Originate/tertestrial-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Originate/tertestrial-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Originate/tertestrial-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/Originate/tertestrial-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Originate/tertestrial-server/statuses/{sha}","languages_url":"https://api.github.com/repos/Originate/tertestrial-server/languages","stargazers_url":"https://api.github.com/repos/Originate/tertestrial-server/stargazers","contributors_url":"https://api.github.com/repos/Originate/tertestrial-server/contributors","subscribers_url":"https://api.github.com/repos/Originate/tertestrial-server/subscribers","subscription_url":"https://api.github.com/repos/Originate/tertestrial-server/subscription","commits_url":"https://api.github.com/repos/Originate/tertestrial-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/Originate/tertestrial-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/Originate/tertestrial-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/Originate/tertestrial-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/Originate/tertestrial-server/contents/{+path}","compare_url":"https://api.github.com/repos/Originate/tertestrial-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Originate/tertestrial-server/merges","archive_url":"https://api.github.com/repos/Originate/tertestrial-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Originate/tertestrial-server/downloads","issues_url":"https://api.github.com/repos/Originate/tertestrial-server/issues{/number}","pulls_url":"https://api.github.com/repos/Originate/tertestrial-server/pulls{/number}","milestones_url":"https://api.github.com/repos/Originate/tertestrial-server/milestones{/number}","notifications_url":"https://api.github.com/repos/Originate/tertestrial-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Originate/tertestrial-server/labels{/name}","releases_url":"https://api.github.com/repos/Originate/tertestrial-server/releases{/id}","deployments_url":"https://api.github.com/repos/Originate/tertestrial-server/deployments","created_at":"2016-05-15T14:47:50Z","updated_at":"2016-08-26T04:57:12Z","pushed_at":"2016-08-26T06:21:10Z","git_url":"git://github.com/Originate/tertestrial-server.git","ssh_url":"git@github.com:Originate/tertestrial-server.git","clone_url":"https://github.com/Originate/tertestrial-server.git","svn_url":"https://github.com/Originate/tertestrial-server","homepage":null,"size":595,"stargazers_count":5,"watchers_count":5,"language":"Cucumber","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":5,"forks":2,"open_issues":5,"watchers":5,"default_branch":"master"}},"base":{"label":"Originate:master","ref":"master","sha":"bdd2323d348dc337cd815c2a15e50c6009cab324","user":{"login":"Originate","id":1627168,"avatar_url":"https://avatars.githubusercontent.com/u/1627168?v=3","gravatar_id":"","url":"https://api.github.com/users/Originate","html_url":"https://github.com/Originate","followers_url":"https://api.github.com/users/Originate/followers","following_url":"https://api.github.com/users/Originate/following{/other_user}","gists_url":"https://api.github.com/users/Originate/gists{/gist_id}","starred_url":"https://api.github.com/users/Originate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Originate/subscriptions","organizations_url":"https://api.github.com/users/Originate/orgs","repos_url":"https://api.github.com/users/Originate/repos","events_url":"https://api.github.com/users/Originate/events{/privacy}","received_events_url":"https://api.github.com/users/Originate/received_events","type":"Organization","site_admin":false},"repo":{"id":58867051,"name":"tertestrial-server","full_name":"Originate/tertestrial-server","owner":{"login":"Originate","id":1627168,"avatar_url":"https://avatars.githubusercontent.com/u/1627168?v=3","gravatar_id":"","url":"https://api.github.com/users/Originate","html_url":"https://github.com/Originate","followers_url":"https://api.github.com/users/Originate/followers","following_url":"https://api.github.com/users/Originate/following{/other_user}","gists_url":"https://api.github.com/users/Originate/gists{/gist_id}","starred_url":"https://api.github.com/users/Originate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Originate/subscriptions","organizations_url":"https://api.github.com/users/Originate/orgs","repos_url":"https://api.github.com/users/Originate/repos","events_url":"https://api.github.com/users/Originate/events{/privacy}","received_events_url":"https://api.github.com/users/Originate/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Originate/tertestrial-server","description":"Server component for the Tertestrial system","fork":false,"url":"https://api.github.com/repos/Originate/tertestrial-server","forks_url":"https://api.github.com/repos/Originate/tertestrial-server/forks","keys_url":"https://api.github.com/repos/Originate/tertestrial-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Originate/tertestrial-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Originate/tertestrial-server/teams","hooks_url":"https://api.github.com/repos/Originate/tertestrial-server/hooks","issue_events_url":"https://api.github.com/repos/Originate/tertestrial-server/issues/events{/number}","events_url":"https://api.github.com/repos/Originate/tertestrial-server/events","assignees_url":"https://api.github.com/repos/Originate/tertestrial-server/assignees{/user}","branches_url":"https://api.github.com/repos/Originate/tertestrial-server/branches{/branch}","tags_url":"https://api.github.com/repos/Originate/tertestrial-server/tags","blobs_url":"https://api.github.com/repos/Originate/tertestrial-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Originate/tertestrial-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Originate/tertestrial-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/Originate/tertestrial-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Originate/tertestrial-server/statuses/{sha}","languages_url":"https://api.github.com/repos/Originate/tertestrial-server/languages","stargazers_url":"https://api.github.com/repos/Originate/tertestrial-server/stargazers","contributors_url":"https://api.github.com/repos/Originate/tertestrial-server/contributors","subscribers_url":"https://api.github.com/repos/Originate/tertestrial-server/subscribers","subscription_url":"https://api.github.com/repos/Originate/tertestrial-server/subscription","commits_url":"https://api.github.com/repos/Originate/tertestrial-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/Originate/tertestrial-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/Originate/tertestrial-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/Originate/tertestrial-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/Originate/tertestrial-server/contents/{+path}","compare_url":"https://api.github.com/repos/Originate/tertestrial-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Originate/tertestrial-server/merges","archive_url":"https://api.github.com/repos/Originate/tertestrial-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Originate/tertestrial-server/downloads","issues_url":"https://api.github.com/repos/Originate/tertestrial-server/issues{/number}","pulls_url":"https://api.github.com/repos/Originate/tertestrial-server/pulls{/number}","milestones_url":"https://api.github.com/repos/Originate/tertestrial-server/milestones{/number}","notifications_url":"https://api.github.com/repos/Originate/tertestrial-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Originate/tertestrial-server/labels{/name}","releases_url":"https://api.github.com/repos/Originate/tertestrial-server/releases{/id}","deployments_url":"https://api.github.com/repos/Originate/tertestrial-server/deployments","created_at":"2016-05-15T14:47:50Z","updated_at":"2016-08-26T04:57:12Z","pushed_at":"2016-08-26T06:21:10Z","git_url":"git://github.com/Originate/tertestrial-server.git","ssh_url":"git@github.com:Originate/tertestrial-server.git","clone_url":"https://github.com/Originate/tertestrial-server.git","svn_url":"https://github.com/Originate/tertestrial-server","homepage":null,"size":595,"stargazers_count":5,"watchers_count":5,"language":"Cucumber","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":5,"forks":2,"open_issues":5,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Originate/tertestrial-server/pulls/38"},"html":{"href":"https://github.com/Originate/tertestrial-server/pull/38"},"issue":{"href":"https://api.github.com/repos/Originate/tertestrial-server/issues/38"},"comments":{"href":"https://api.github.com/repos/Originate/tertestrial-server/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/Originate/tertestrial-server/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/Originate/tertestrial-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Originate/tertestrial-server/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/Originate/tertestrial-server/statuses/87091fb13968bc90c5175f1eedb48305bdafbc47"}}}}
{"actor":{"display_login":"kevgo"}}