@sentry/junior-github
v0.250.0
Published
`@sentry/junior-github` adds GitHub deployment, issue, pull request, release, repository, and user-attachment workflows to Junior using a GitHub App.
Readme
@sentry/junior-github
@sentry/junior-github adds GitHub deployment, issue, pull request, release,
repository, and user-attachment workflows to Junior using a GitHub App.
Install it alongside @sentry/junior:
pnpm add @sentry/junior @sentry/junior-githubAdd the plugin factory to the plugin set exported from plugins.ts:
import { defineJuniorPlugins } from "@sentry/junior";
import { githubPlugin } from "@sentry/junior-github";
export const plugins = defineJuniorPlugins([
githubPlugin({
botNameEnv: "GITHUB_APP_BOT_NAME",
botEmailEnv: "GITHUB_APP_BOT_EMAIL",
}),
]);Full setup guide: https://junior.sentry.dev/extend/github-plugin/
The plugin tries to assign new pull requests to the current requester's linked GitHub account. Assignment is optional. Missing handles, system actors, identity lookup errors, and assignment failures do not stop creation or fail the tool. If assignment is not possible, the pull request can remain unassigned.
The plugin saves the created pull request before it tries assignment. Retrying the same tool call returns the saved pull request without retrying assignment, creating another pull request, or replacing existing assignees.
The plugin owns its signed webhook route, deployment, pull request, and release events, and normalized pull request and issue outcome projections. Those projections also feed native code-change records used by the dashboard Code page and person profiles. Core only owns delivery from plugin-published events into matching conversation subscriptions.
