{"action":"created","issue":{"url":"https://api.github.com/repos/jenkinsci/jenkins/issues/2556","repository_url":"https://api.github.com/repos/jenkinsci/jenkins","labels_url":"https://api.github.com/repos/jenkinsci/jenkins/issues/2556/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/jenkins/issues/2556/comments","events_url":"https://api.github.com/repos/jenkinsci/jenkins/issues/2556/events","html_url":"https://github.com/jenkinsci/jenkins/pull/2556","id":178024726,"number":2556,"title":"[JENKINS-38370] Start defining APIs that are for the master JVM only","user":{"login":"stephenc","id":209336,"avatar_url":"https://avatars.githubusercontent.com/u/209336?v=3","gravatar_id":"","url":"https://api.github.com/users/stephenc","html_url":"https://github.com/stephenc","followers_url":"https://api.github.com/users/stephenc/followers","following_url":"https://api.github.com/users/stephenc/following{/other_user}","gists_url":"https://api.github.com/users/stephenc/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenc/subscriptions","organizations_url":"https://api.github.com/users/stephenc/orgs","repos_url":"https://api.github.com/users/stephenc/repos","events_url":"https://api.github.com/users/stephenc/events{/privacy}","received_events_url":"https://api.github.com/users/stephenc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jenkinsci/jenkins/labels/ready-for-merge","name":"ready-for-merge","color":"009800"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":42,"created_at":"2016-09-20T10:36:29Z","updated_at":"2016-10-24T20:17:44Z","closed_at":"2016-10-24T19:43:30Z","pull_request":{"url":"https://api.github.com/repos/jenkinsci/jenkins/pulls/2556","html_url":"https://github.com/jenkinsci/jenkins/pull/2556","diff_url":"https://github.com/jenkinsci/jenkins/pull/2556.diff","patch_url":"https://github.com/jenkinsci/jenkins/pull/2556.patch"},"body":"See [JENKINS-38370](https://issues.jenkins-ci.org/browse/JENKINS-38370)\r\n\r\nThis PR only introduces the annotation. Commented code in the annotation shows one potential path to implementing the enforcement, but that path is not currently available due to the current API contract of `ClassFilter` (additionally I need to check if `ClassFilter` applies only to classes coming from the agent and not to classes received by the agent)\r\n\r\nI have identified a couple of classes that are clearly `MasterJVMOnly` there are likely more such classes in core... plugins will also want to use this annotation, e.g. `CredentialsProvider` is intended to be `MasterJVMOnly`"},"comment":{"url":"https://api.github.com/repos/jenkinsci/jenkins/issues/comments/255853411","html_url":"https://github.com/jenkinsci/jenkins/pull/2556#issuecomment-255853411","issue_url":"https://api.github.com/repos/jenkinsci/jenkins/issues/2556","id":255853411,"user":{"login":"stephenc","id":209336,"avatar_url":"https://avatars.githubusercontent.com/u/209336?v=3","gravatar_id":"","url":"https://api.github.com/users/stephenc","html_url":"https://github.com/stephenc","followers_url":"https://api.github.com/users/stephenc/followers","following_url":"https://api.github.com/users/stephenc/following{/other_user}","gists_url":"https://api.github.com/users/stephenc/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenc/subscriptions","organizations_url":"https://api.github.com/users/stephenc/orgs","repos_url":"https://api.github.com/users/stephenc/repos","events_url":"https://api.github.com/users/stephenc/events{/privacy}","received_events_url":"https://api.github.com/users/stephenc/received_events","type":"User","site_admin":false},"created_at":"2016-10-24T20:17:44Z","updated_at":"2016-10-24T20:17:44Z","body":"@oleg-nenashev in future, if the author adds a \"needs-review\" label, perhaps check with the author before removing it"}}
{"actor":{"display_login":"stephenc"}}