{"action":"created","issue":{"url":"https://api.github.com/repos/arobson/rabbot/issues/9","repository_url":"https://api.github.com/repos/arobson/rabbot","labels_url":"https://api.github.com/repos/arobson/rabbot/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/arobson/rabbot/issues/9/comments","events_url":"https://api.github.com/repos/arobson/rabbot/issues/9/events","html_url":"https://github.com/arobson/rabbot/issues/9","id":151483447,"number":9,"title":"false publish Promise","user":{"login":"brandonpsmith","id":2806503,"avatar_url":"https://avatars.githubusercontent.com/u/2806503?v=3","gravatar_id":"","url":"https://api.github.com/users/brandonpsmith","html_url":"https://github.com/brandonpsmith","followers_url":"https://api.github.com/users/brandonpsmith/followers","following_url":"https://api.github.com/users/brandonpsmith/following{/other_user}","gists_url":"https://api.github.com/users/brandonpsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/brandonpsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandonpsmith/subscriptions","organizations_url":"https://api.github.com/users/brandonpsmith/orgs","repos_url":"https://api.github.com/users/brandonpsmith/repos","events_url":"https://api.github.com/users/brandonpsmith/events{/privacy}","received_events_url":"https://api.github.com/users/brandonpsmith/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/arobson/rabbot/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"arobson","id":115508,"avatar_url":"https://avatars.githubusercontent.com/u/115508?v=3","gravatar_id":"","url":"https://api.github.com/users/arobson","html_url":"https://github.com/arobson","followers_url":"https://api.github.com/users/arobson/followers","following_url":"https://api.github.com/users/arobson/following{/other_user}","gists_url":"https://api.github.com/users/arobson/gists{/gist_id}","starred_url":"https://api.github.com/users/arobson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arobson/subscriptions","organizations_url":"https://api.github.com/users/arobson/orgs","repos_url":"https://api.github.com/users/arobson/repos","events_url":"https://api.github.com/users/arobson/events{/privacy}","received_events_url":"https://api.github.com/users/arobson/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-04-27T20:31:00Z","updated_at":"2016-06-04T13:48:12Z","closed_at":null,"body":"I'm testing rabbot with a single connection to a VM of RabbitMQ. In my testing if I kill the network card to replicate a lost connection, the publish still resolves until failed is emitted. Can you double check this?"},"comment":{"url":"https://api.github.com/repos/arobson/rabbot/issues/comments/223756620","html_url":"https://github.com/arobson/rabbot/issues/9#issuecomment-223756620","issue_url":"https://api.github.com/repos/arobson/rabbot/issues/9","id":223756620,"user":{"login":"arobson","id":115508,"avatar_url":"https://avatars.githubusercontent.com/u/115508?v=3","gravatar_id":"","url":"https://api.github.com/users/arobson","html_url":"https://github.com/arobson","followers_url":"https://api.github.com/users/arobson/followers","following_url":"https://api.github.com/users/arobson/following{/other_user}","gists_url":"https://api.github.com/users/arobson/gists{/gist_id}","starred_url":"https://api.github.com/users/arobson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arobson/subscriptions","organizations_url":"https://api.github.com/users/arobson/orgs","repos_url":"https://api.github.com/users/arobson/repos","events_url":"https://api.github.com/users/arobson/events{/privacy}","received_events_url":"https://api.github.com/users/arobson/received_events","type":"User","site_admin":false},"created_at":"2016-06-04T13:48:12Z","updated_at":"2016-06-04T13:48:12Z","body":"@brandonpsmith - I found the problem, despite how the documentation of the amqplib is written, the publish call behaves differently from sendToQueue, and returns true or false, rather than a promise. The way the iomonad around channels in rabbot behaves is that it resolves the promise if the underlying result of a call is a scalar value instead of a promise itself.\r\n\r\nIt looks like the publish call in amqplib does take a old-school callback but there is nothing in the documentation about it. I'll have to do some experimenting to see if that will resolve the issue."}}
{"actor":{"display_login":"arobson"}}