{"action":"created","issue":{"url":"https://api.github.com/repos/bazelbuild/continuous-integration/issues/174","repository_url":"https://api.github.com/repos/bazelbuild/continuous-integration","labels_url":"https://api.github.com/repos/bazelbuild/continuous-integration/issues/174/labels{/name}","comments_url":"https://api.github.com/repos/bazelbuild/continuous-integration/issues/174/comments","events_url":"https://api.github.com/repos/bazelbuild/continuous-integration/issues/174/events","html_url":"https://github.com/bazelbuild/continuous-integration/issues/174","id":291548364,"number":174,"title":"Replay job (sometimes) runs with a different Upstream project ","user":{"login":"iirina","id":1687706,"avatar_url":"https://avatars3.githubusercontent.com/u/1687706?v=4","gravatar_id":"","url":"https://api.github.com/users/iirina","html_url":"https://github.com/iirina","followers_url":"https://api.github.com/users/iirina/followers","following_url":"https://api.github.com/users/iirina/following{/other_user}","gists_url":"https://api.github.com/users/iirina/gists{/gist_id}","starred_url":"https://api.github.com/users/iirina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iirina/subscriptions","organizations_url":"https://api.github.com/users/iirina/orgs","repos_url":"https://api.github.com/users/iirina/repos","events_url":"https://api.github.com/users/iirina/events{/privacy}","received_events_url":"https://api.github.com/users/iirina/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"philwo","id":504652,"avatar_url":"https://avatars0.githubusercontent.com/u/504652?v=4","gravatar_id":"","url":"https://api.github.com/users/philwo","html_url":"https://github.com/philwo","followers_url":"https://api.github.com/users/philwo/followers","following_url":"https://api.github.com/users/philwo/following{/other_user}","gists_url":"https://api.github.com/users/philwo/gists{/gist_id}","starred_url":"https://api.github.com/users/philwo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philwo/subscriptions","organizations_url":"https://api.github.com/users/philwo/orgs","repos_url":"https://api.github.com/users/philwo/repos","events_url":"https://api.github.com/users/philwo/events{/privacy}","received_events_url":"https://api.github.com/users/philwo/received_events","type":"User","site_admin":false},"assignees":[{"login":"philwo","id":504652,"avatar_url":"https://avatars0.githubusercontent.com/u/504652?v=4","gravatar_id":"","url":"https://api.github.com/users/philwo","html_url":"https://github.com/philwo","followers_url":"https://api.github.com/users/philwo/followers","following_url":"https://api.github.com/users/philwo/following{/other_user}","gists_url":"https://api.github.com/users/philwo/gists{/gist_id}","starred_url":"https://api.github.com/users/philwo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philwo/subscriptions","organizations_url":"https://api.github.com/users/philwo/orgs","repos_url":"https://api.github.com/users/philwo/repos","events_url":"https://api.github.com/users/philwo/events{/privacy}","received_events_url":"https://api.github.com/users/philwo/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-01-25T12:10:04Z","updated_at":"2018-02-08T15:52:49Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"One practical example involving release candidates:\r\n\r\n- I create and push an RC which triggers a release job on the CI. \r\n- The release job will start multiple jobs to test all other projects\r\n- The release job is the Upstream for the other jobs that were started.\r\n- I go home and at midnight the nightly gets build and starts other downstream jobs.\r\n- One of the jobs started by the release fails and is probably flaky. I want to rerun and deflake it. \r\n- I hit replay.\r\n- The new replay job is using the nightly as the Upstream project instead of the release, because the nightly is the most recent Upstream project that was built.\r\n\r\nTo deflake the failed jobs I have to re-run the whole release job. That is bad because it re-runs every project, although most of them were green, and send yet another email announcing the new RC.\r\n\r\nThe code that computes the Upstream project is [here](https://github.com/bazelbuild/continuous-integration/blob/c43fa8b1fc10379b5acff167c7d38b4c11f8f2e5/jenkins/lib/src/build/bazel/ci/JenkinsUtils.groovy#L168). "},"comment":{"url":"https://api.github.com/repos/bazelbuild/continuous-integration/issues/comments/364154982","html_url":"https://github.com/bazelbuild/continuous-integration/issues/174#issuecomment-364154982","issue_url":"https://api.github.com/repos/bazelbuild/continuous-integration/issues/174","id":364154982,"user":{"login":"philwo","id":504652,"avatar_url":"https://avatars0.githubusercontent.com/u/504652?v=4","gravatar_id":"","url":"https://api.github.com/users/philwo","html_url":"https://github.com/philwo","followers_url":"https://api.github.com/users/philwo/followers","following_url":"https://api.github.com/users/philwo/following{/other_user}","gists_url":"https://api.github.com/users/philwo/gists{/gist_id}","starred_url":"https://api.github.com/users/philwo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philwo/subscriptions","organizations_url":"https://api.github.com/users/philwo/orgs","repos_url":"https://api.github.com/users/philwo/repos","events_url":"https://api.github.com/users/philwo/events{/privacy}","received_events_url":"https://api.github.com/users/philwo/received_events","type":"User","site_admin":false},"created_at":"2018-02-08T15:52:49Z","updated_at":"2018-02-08T15:52:49Z","author_association":"OWNER","body":"We'll make sure that this is fixed in the new CI."}}
{"actor":{"display_login":"philwo"}}