{"action":"created","issue":{"url":"https://api.github.com/repos/jenkinsci/blueocean-plugin/issues/1449","repository_url":"https://api.github.com/repos/jenkinsci/blueocean-plugin","labels_url":"https://api.github.com/repos/jenkinsci/blueocean-plugin/issues/1449/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/blueocean-plugin/issues/1449/comments","events_url":"https://api.github.com/repos/jenkinsci/blueocean-plugin/issues/1449/events","html_url":"https://github.com/jenkinsci/blueocean-plugin/pull/1449","id":262317149,"number":1449,"title":"Add log message to help debug flakiness","user":{"login":"vivek","id":38139,"avatar_url":"https://avatars1.githubusercontent.com/u/38139?v=4","gravatar_id":"","url":"https://api.github.com/users/vivek","html_url":"https://github.com/vivek","followers_url":"https://api.github.com/users/vivek/followers","following_url":"https://api.github.com/users/vivek/following{/other_user}","gists_url":"https://api.github.com/users/vivek/gists{/gist_id}","starred_url":"https://api.github.com/users/vivek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vivek/subscriptions","organizations_url":"https://api.github.com/users/vivek/orgs","repos_url":"https://api.github.com/users/vivek/repos","events_url":"https://api.github.com/users/vivek/events{/privacy}","received_events_url":"https://api.github.com/users/vivek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-10-03T06:26:18Z","updated_at":"2017-10-03T14:51:30Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/jenkinsci/blueocean-plugin/pulls/1449","html_url":"https://github.com/jenkinsci/blueocean-plugin/pull/1449","diff_url":"https://github.com/jenkinsci/blueocean-plugin/pull/1449.diff","patch_url":"https://github.com/jenkinsci/blueocean-plugin/pull/1449.patch"},"body":"# Description\r\n\r\nATH test `GithubCreationTest.testCreatePipelineFull()` has been failing:\r\nhttps://ci.blueocean.io/blue/organizations/jenkins/blueocean/detail/master/1372/tests\r\n\r\nOn completion of successful pipeline creation creation page redirects to activity page. The test is failing timing out waiting to get to activity page.\r\n\r\nGithub pipeline creation code waits for certain sse events to arrive to get hint that pipeline was created and is running before transferring to activity page: see: https://github.com/jenkinsci/blueocean-plugin/blob/76af0a305b454fba4bff4bb687d2b26614b87496/blueocean-dashboard/src/main/js/creation/github/GithubFlowManager.js#L389 and https://github.com/jenkinsci/blueocean-plugin/blob/76af0a305b454fba4bff4bb687d2b26614b87496/blueocean-dashboard/src/main/js/creation/github/steps/GithubCompleteStep.jsx#L77.\r\n\r\nEnabling logging of sse events to help debug cause of failure. \r\n\r\n# Submitter checklist\r\n- [ ] Link to JIRA ticket in description, if appropriate.\r\n- [ ] Change is code complete and matches issue description\r\n- [ ] Appropriate unit or acceptance tests or explanation to why this change has no tests\r\n- [ ] Reviewer's manual test instructions provided in PR description. See Reviewer's first task below.\r\n\r\n# Reviewer checklist\r\n- [ ] Run the changes and verified the change matches the issue description\r\n- [ ] Reviewed the code\r\n- [ ] Verified that the appropriate tests have been written or valid explanation given\r\n"},"comment":{"url":"https://api.github.com/repos/jenkinsci/blueocean-plugin/issues/comments/333867152","html_url":"https://github.com/jenkinsci/blueocean-plugin/pull/1449#issuecomment-333867152","issue_url":"https://api.github.com/repos/jenkinsci/blueocean-plugin/issues/1449","id":333867152,"user":{"login":"cliffmeyers","id":143466,"avatar_url":"https://avatars0.githubusercontent.com/u/143466?v=4","gravatar_id":"","url":"https://api.github.com/users/cliffmeyers","html_url":"https://github.com/cliffmeyers","followers_url":"https://api.github.com/users/cliffmeyers/followers","following_url":"https://api.github.com/users/cliffmeyers/following{/other_user}","gists_url":"https://api.github.com/users/cliffmeyers/gists{/gist_id}","starred_url":"https://api.github.com/users/cliffmeyers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cliffmeyers/subscriptions","organizations_url":"https://api.github.com/users/cliffmeyers/orgs","repos_url":"https://api.github.com/users/cliffmeyers/repos","events_url":"https://api.github.com/users/cliffmeyers/events{/privacy}","received_events_url":"https://api.github.com/users/cliffmeyers/received_events","type":"User","site_admin":false},"created_at":"2017-10-03T14:51:30Z","updated_at":"2017-10-03T14:51:30Z","author_association":"CONTRIBUTOR","body":"cc @kzantow as he was working on some browser logging stuff a while back.\r\n\r\nI have a PR that switches ATH to use Chrome which provides the ability to read from browser's console logs after an ATH test completes. Unfortunately most UI code is using the `js-logging` library which suppresses all output by default unless flags are set in browser's local storage. It also doesn't support hierarchical logging AFAIK.\r\n\r\nShould we look at porting some of our code over to an improved logging framework? I feel like the log levels should be configurable via Java system params or query string params, much like how the feature flags were implemented. Doing it via raw JS code would be good too (for local dev)."}}
{"actor":{"display_login":"cliffmeyers"}}