@sentry/junior-github 0.268.0 → 0.269.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -57,4 +57,40 @@ export declare function listGitHubAssignedWork(db: GitHubDb, conversationIds: st
57
57
  export declare function recordGitHubPullRequestConversations(db: GitHubDb, input: GitHubPullRequestConversationsInput): Promise<boolean>;
58
58
  /** Link an existing Junior-owned PR to tracked issues across repositories. */
59
59
  export declare function recordGitHubPullRequestLinkedIssues(db: GitHubDb, input: GitHubPullRequestLinkedIssuesInput): Promise<boolean>;
60
+ /**
61
+ * Ask to check whether a Junior pull request is ready to merge, and claim the
62
+ * check when no other webhook runs one. A claim older than `staleMs` is free.
63
+ * Return the claim, or undefined when another webhook runs the check or
64
+ * Junior does not own the pull request. The webhook that runs the check sees
65
+ * the new request in `releaseGitHubPullRequestReadySync`.
66
+ */
67
+ export declare function claimGitHubPullRequestReadySync(db: GitHubDb, target: {
68
+ number: number;
69
+ repositoryFullName: string;
70
+ }, options: {
71
+ now: Date;
72
+ staleMs: number;
73
+ }): Promise<{
74
+ id: number;
75
+ ready: boolean;
76
+ requests: number;
77
+ } | undefined>;
78
+ /** Save whether a Junior pull request is ready to merge. */
79
+ export declare function setGitHubPullRequestReadyToMerge(db: GitHubDb, target: {
80
+ number: number;
81
+ ready: boolean;
82
+ repositoryFullName: string;
83
+ }): Promise<void>;
84
+ /**
85
+ * End a claimed check. When a webhook asked again during the check, keep the
86
+ * claim and return the new request count, so the caller checks once more.
87
+ * Return undefined when the claim ended or another webhook took it.
88
+ */
89
+ export declare function releaseGitHubPullRequestReadySync(db: GitHubDb, target: {
90
+ number: number;
91
+ repositoryFullName: string;
92
+ }, claim: {
93
+ id: number;
94
+ requests: number;
95
+ }): Promise<number | undefined>;
60
96
  export {};
@@ -9,6 +9,7 @@ import type { GitHubDb } from "../db/database.js";
9
9
  * retry of the same create call can call this again.
10
10
  */
11
11
  export declare function recordGitHubPullRequestOpener(db: GitHubDb, input: {
12
+ conversationId: string;
12
13
  createdAt: Date;
13
14
  identityId: string;
14
15
  number: number;
@@ -23,12 +24,18 @@ export declare function recordGitHubPullRequestRequester(db: GitHubDb, input: {
23
24
  number: number;
24
25
  repositoryFullName: string;
25
26
  }): Promise<void>;
27
+ /** The first person who asked Junior for a pull request. */
28
+ export interface GitHubPullRequestOpener {
29
+ /** Set only for the person who asked Junior to open it. */
30
+ conversationId?: string;
31
+ identityId: string;
32
+ }
26
33
  /**
27
- * Load the Junior identity id of the first requester of each pull request.
28
- * This is the person who asked Junior to open it, or, when the create had no
29
- * identity, the first person who asked Junior to update it.
34
+ * Load the first requester of each pull request. This is the person who
35
+ * asked Junior to open it, or, when the create had no identity, the first
36
+ * person who asked Junior to update it.
30
37
  */
31
38
  export declare function listGitHubPullRequestOpeners(db: GitHubDb, input: {
32
39
  numbers: number[];
33
40
  repositoryFullName: string;
34
- }): Promise<Map<number, string>>;
41
+ }): Promise<Map<number, GitHubPullRequestOpener>>;
package/dist/testing.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  normalizeGitHubEvents
3
- } from "./chunk-PQFFT2UO.js";
3
+ } from "./chunk-DGGPIWTT.js";
4
4
  export {
5
5
  normalizeGitHubEvents
6
6
  };
@@ -11,13 +11,14 @@ declare const STATUS_TO_REACTION_CONTENT: {
11
11
  };
12
12
  type FeedbackStatus = keyof typeof STATUS_TO_REACTION_CONTENT;
13
13
  type PullRequestCommentKind = "conversation" | "review";
14
- /** Build the GitHub API path for one pull request comment's reactions. */
15
- export declare function pullRequestCommentReactionsPath(input: {
14
+ interface PullRequestCommentRef {
16
15
  owner: string;
17
16
  name: string;
18
17
  commentKind: PullRequestCommentKind;
19
18
  commentId: number;
20
- }): string;
19
+ }
20
+ /** Build the GitHub API path for one pull request comment's reactions. */
21
+ export declare function pullRequestCommentReactionsPath(input: PullRequestCommentRef): string;
21
22
  /** Return the GitHub reaction for one feedback state. */
22
23
  export declare function pullRequestFeedbackReactionContent(status: FeedbackStatus): (typeof STATUS_TO_REACTION_CONTENT)[FeedbackStatus];
23
24
  /**
@@ -50,6 +50,11 @@ export declare function selectFailingChecks(checkRuns: unknown, options?: {
50
50
  }): GitHubFailingCheck[];
51
51
  /** Normalize a completed check suite for attached PRs, or the repository alone. */
52
52
  export declare function normalizeCheckSuiteEvents(deliveryId: string, body: unknown, options?: GitHubCheckSuiteFacts): EventInput[];
53
+ /** The same-repository pull requests of one completed check suite. */
54
+ export declare function checkSuitePullRequests(body: unknown): Array<{
55
+ number: number;
56
+ repositoryFullName: string;
57
+ }>;
53
58
  /** Identifiers and event types one completed check suite may publish. */
54
59
  export declare function parseCheckSuitePublishTargets(body: unknown): {
55
60
  data: {
@@ -1,4 +1,4 @@
1
- import type { CodeChangePublisher, PluginConversationAnnotations, PluginLogger, PluginRoute, EventPublisher } from "@sentry/junior-plugin-api";
1
+ import type { CodeChangePublisher, PluginConversationAnnotations, PluginConversationReviewItems, PluginLogger, PluginRoute, EventPublisher } from "@sentry/junior-plugin-api";
2
2
  import { z } from "zod";
3
3
  import type { GitHubDb } from "../db/database.js";
4
4
  import type { GitHubPullRequestCommitComposition } from "../db/schema.js";
@@ -40,6 +40,7 @@ export declare function createGitHubWebhookRoute(args: {
40
40
  markFeedbackReviewing(input: FeedbackTarget): Promise<void>;
41
41
  privateKeyEnv: string;
42
42
  events: EventPublisher;
43
+ reviewItems: PluginConversationReviewItems;
43
44
  webhookSecret(): string | undefined;
44
45
  }): PluginRoute;
45
46
  export {};
@@ -31,3 +31,32 @@ export declare function loadRepositoryRole(env: GitHubInstallationEnv, cache: Pl
31
31
  login: string;
32
32
  repositoryFullName: string;
33
33
  }): Promise<string>;
34
+ /** The pull request facts that decide whether it is ready to merge. */
35
+ export interface GitHubPullRequestMergeState {
36
+ /**
37
+ * At least one approval, and no reviewer still requests changes. Read
38
+ * only when GitHub says the pull request can merge cleanly.
39
+ */
40
+ approved: boolean;
41
+ draft: boolean;
42
+ /**
43
+ * GitHub's `mergeable_state`, such as `clean` or `blocked`. `clean` means
44
+ * that the required reviews and every check and status passed, and there
45
+ * are no conflicts. Undefined when GitHub has not computed it yet.
46
+ */
47
+ mergeableState?: string;
48
+ state: "closed" | "merged" | "open";
49
+ title: string;
50
+ url: string;
51
+ }
52
+ /**
53
+ * Read whether a pull request is ready to merge, with a read-only token.
54
+ * GitHub computes `mergeable_state` after a change, so an unknown state is
55
+ * read once more. Reviews load only for an open pull request that is not a
56
+ * draft and can merge cleanly. Each reviewer counts by their latest
57
+ * approval, change request, or dismissal. Comments do not change the result.
58
+ */
59
+ export declare function loadPullRequestMergeState(env: GitHubInstallationEnv, pullRequest: {
60
+ number: number;
61
+ repositoryFullName: string;
62
+ }): Promise<GitHubPullRequestMergeState>;
@@ -0,0 +1,29 @@
1
+ /**
2
+ * The "ready to merge" notice on the review desk for a Junior pull request.
3
+ *
4
+ * A pull request is ready to merge when it is open, not a draft, approved,
5
+ * and GitHub's merge state is `clean`. Each webhook that can change one of
6
+ * these facts reads them again from GitHub. The notice goes to the person
7
+ * who asked Junior to open the pull request, in the Conversation where they
8
+ * asked. It closes when the pull request merges, closes, or is no longer
9
+ * ready.
10
+ */
11
+ import type { PluginConversationReviewItems, PluginLogger } from "@sentry/junior-plugin-api";
12
+ import type { GitHubDb } from "../db/database.js";
13
+ import { type GitHubInstallationEnv } from "./installation-requests.js";
14
+ import type { GitHubPullRequestTarget } from "./pull-request-people.js";
15
+ /** Return the pull requests whose readiness one webhook delivery can change. */
16
+ export declare function pullRequestReadyTargets(eventName: string, body: unknown): GitHubPullRequestTarget[];
17
+ /**
18
+ * Add or close the "ready to merge" notice of each Junior pull request that a
19
+ * webhook delivery can change. The notice is optional, so a failure is logged
20
+ * and does not fail the delivery.
21
+ */
22
+ export declare function syncGitHubPullRequestReadyNotices(args: {
23
+ db: GitHubDb;
24
+ deliveryId: string;
25
+ env: GitHubInstallationEnv;
26
+ log?: Pick<PluginLogger, "error">;
27
+ reviewItems: PluginConversationReviewItems;
28
+ targets: GitHubPullRequestTarget[];
29
+ }): Promise<void>;
@@ -0,0 +1,5 @@
1
+ ALTER TABLE "junior_github_pull_request_requesters" ADD COLUMN "conversation_id" text;--> statement-breakpoint
2
+ ALTER TABLE "junior_github_pull_requests" ADD COLUMN "ready_to_merge_at" timestamp with time zone;--> statement-breakpoint
3
+ ALTER TABLE "junior_github_pull_requests" ADD COLUMN "ready_sync_requests" integer DEFAULT 0 NOT NULL;--> statement-breakpoint
4
+ ALTER TABLE "junior_github_pull_requests" ADD COLUMN "ready_sync_id" integer;--> statement-breakpoint
5
+ ALTER TABLE "junior_github_pull_requests" ADD COLUMN "ready_sync_at" timestamp with time zone;
@@ -0,0 +1,427 @@
1
+ {
2
+ "id": "3156d5c8-917d-416b-a19b-f58e7ee76acc",
3
+ "prevId": "6b12b332-4224-4e69-9ab7-51df6a4dd91c",
4
+ "version": "7",
5
+ "dialect": "postgresql",
6
+ "tables": {
7
+ "public.junior_github_issues": {
8
+ "name": "junior_github_issues",
9
+ "schema": "",
10
+ "columns": {
11
+ "issue_id": {
12
+ "name": "issue_id",
13
+ "type": "text",
14
+ "primaryKey": true,
15
+ "notNull": true
16
+ },
17
+ "repository_id": {
18
+ "name": "repository_id",
19
+ "type": "text",
20
+ "primaryKey": false,
21
+ "notNull": true
22
+ },
23
+ "repository_full_name": {
24
+ "name": "repository_full_name",
25
+ "type": "text",
26
+ "primaryKey": false,
27
+ "notNull": true
28
+ },
29
+ "number": {
30
+ "name": "number",
31
+ "type": "integer",
32
+ "primaryKey": false,
33
+ "notNull": true
34
+ },
35
+ "state": {
36
+ "name": "state",
37
+ "type": "text",
38
+ "primaryKey": false,
39
+ "notNull": true
40
+ },
41
+ "state_reason": {
42
+ "name": "state_reason",
43
+ "type": "text",
44
+ "primaryKey": false,
45
+ "notNull": false
46
+ },
47
+ "conversation_ids": {
48
+ "name": "conversation_ids",
49
+ "type": "text[]",
50
+ "primaryKey": false,
51
+ "notNull": true,
52
+ "default": "ARRAY[]::text[]"
53
+ },
54
+ "opened_at": {
55
+ "name": "opened_at",
56
+ "type": "timestamp with time zone",
57
+ "primaryKey": false,
58
+ "notNull": true
59
+ },
60
+ "closed_at": {
61
+ "name": "closed_at",
62
+ "type": "timestamp with time zone",
63
+ "primaryKey": false,
64
+ "notNull": false
65
+ },
66
+ "updated_at": {
67
+ "name": "updated_at",
68
+ "type": "timestamp with time zone",
69
+ "primaryKey": false,
70
+ "notNull": true
71
+ }
72
+ },
73
+ "indexes": {
74
+ "junior_github_issues_opened_at_idx": {
75
+ "name": "junior_github_issues_opened_at_idx",
76
+ "columns": [
77
+ {
78
+ "expression": "opened_at",
79
+ "isExpression": false,
80
+ "asc": true,
81
+ "nulls": "last"
82
+ }
83
+ ],
84
+ "isUnique": false,
85
+ "concurrently": false,
86
+ "method": "btree",
87
+ "with": {}
88
+ },
89
+ "junior_github_issues_closed_at_idx": {
90
+ "name": "junior_github_issues_closed_at_idx",
91
+ "columns": [
92
+ {
93
+ "expression": "closed_at",
94
+ "isExpression": false,
95
+ "asc": true,
96
+ "nulls": "last"
97
+ }
98
+ ],
99
+ "isUnique": false,
100
+ "concurrently": false,
101
+ "method": "btree",
102
+ "with": {}
103
+ },
104
+ "junior_github_issues_open_idx": {
105
+ "name": "junior_github_issues_open_idx",
106
+ "columns": [
107
+ {
108
+ "expression": "issue_id",
109
+ "isExpression": false,
110
+ "asc": true,
111
+ "nulls": "last"
112
+ }
113
+ ],
114
+ "isUnique": false,
115
+ "where": "\"junior_github_issues\".\"state\" = 'open'",
116
+ "concurrently": false,
117
+ "method": "btree",
118
+ "with": {}
119
+ }
120
+ },
121
+ "foreignKeys": {},
122
+ "compositePrimaryKeys": {},
123
+ "uniqueConstraints": {},
124
+ "policies": {},
125
+ "checkConstraints": {},
126
+ "isRLSEnabled": false
127
+ },
128
+ "public.junior_github_pull_request_issues": {
129
+ "name": "junior_github_pull_request_issues",
130
+ "schema": "",
131
+ "columns": {
132
+ "pull_request_id": {
133
+ "name": "pull_request_id",
134
+ "type": "text",
135
+ "primaryKey": false,
136
+ "notNull": true
137
+ },
138
+ "issue_repository_full_name": {
139
+ "name": "issue_repository_full_name",
140
+ "type": "text",
141
+ "primaryKey": false,
142
+ "notNull": true
143
+ },
144
+ "issue_number": {
145
+ "name": "issue_number",
146
+ "type": "integer",
147
+ "primaryKey": false,
148
+ "notNull": true
149
+ }
150
+ },
151
+ "indexes": {},
152
+ "foreignKeys": {
153
+ "junior_github_pull_request_issues_pull_request_id_junior_github_pull_requests_pull_request_id_fk": {
154
+ "name": "junior_github_pull_request_issues_pull_request_id_junior_github_pull_requests_pull_request_id_fk",
155
+ "tableFrom": "junior_github_pull_request_issues",
156
+ "tableTo": "junior_github_pull_requests",
157
+ "columnsFrom": ["pull_request_id"],
158
+ "columnsTo": ["pull_request_id"],
159
+ "onDelete": "cascade",
160
+ "onUpdate": "no action"
161
+ }
162
+ },
163
+ "compositePrimaryKeys": {
164
+ "junior_github_pull_request_issues_pull_request_id_issue_repository_full_name_issue_number_pk": {
165
+ "name": "junior_github_pull_request_issues_pull_request_id_issue_repository_full_name_issue_number_pk",
166
+ "columns": [
167
+ "pull_request_id",
168
+ "issue_repository_full_name",
169
+ "issue_number"
170
+ ]
171
+ }
172
+ },
173
+ "uniqueConstraints": {},
174
+ "policies": {},
175
+ "checkConstraints": {},
176
+ "isRLSEnabled": false
177
+ },
178
+ "public.junior_github_pull_request_requesters": {
179
+ "name": "junior_github_pull_request_requesters",
180
+ "schema": "",
181
+ "columns": {
182
+ "repository_full_name": {
183
+ "name": "repository_full_name",
184
+ "type": "text",
185
+ "primaryKey": false,
186
+ "notNull": true
187
+ },
188
+ "number": {
189
+ "name": "number",
190
+ "type": "integer",
191
+ "primaryKey": false,
192
+ "notNull": true
193
+ },
194
+ "identity_id": {
195
+ "name": "identity_id",
196
+ "type": "text",
197
+ "primaryKey": false,
198
+ "notNull": true
199
+ },
200
+ "conversation_id": {
201
+ "name": "conversation_id",
202
+ "type": "text",
203
+ "primaryKey": false,
204
+ "notNull": false
205
+ },
206
+ "created_at": {
207
+ "name": "created_at",
208
+ "type": "timestamp with time zone",
209
+ "primaryKey": false,
210
+ "notNull": true
211
+ },
212
+ "updated_at": {
213
+ "name": "updated_at",
214
+ "type": "timestamp with time zone",
215
+ "primaryKey": false,
216
+ "notNull": true
217
+ }
218
+ },
219
+ "indexes": {},
220
+ "foreignKeys": {},
221
+ "compositePrimaryKeys": {
222
+ "junior_github_pull_request_requesters_repository_full_name_number_identity_id_pk": {
223
+ "name": "junior_github_pull_request_requesters_repository_full_name_number_identity_id_pk",
224
+ "columns": ["repository_full_name", "number", "identity_id"]
225
+ }
226
+ },
227
+ "uniqueConstraints": {},
228
+ "policies": {},
229
+ "checkConstraints": {},
230
+ "isRLSEnabled": false
231
+ },
232
+ "public.junior_github_pull_requests": {
233
+ "name": "junior_github_pull_requests",
234
+ "schema": "",
235
+ "columns": {
236
+ "pull_request_id": {
237
+ "name": "pull_request_id",
238
+ "type": "text",
239
+ "primaryKey": true,
240
+ "notNull": true
241
+ },
242
+ "repository_id": {
243
+ "name": "repository_id",
244
+ "type": "text",
245
+ "primaryKey": false,
246
+ "notNull": true
247
+ },
248
+ "repository_full_name": {
249
+ "name": "repository_full_name",
250
+ "type": "text",
251
+ "primaryKey": false,
252
+ "notNull": true
253
+ },
254
+ "number": {
255
+ "name": "number",
256
+ "type": "integer",
257
+ "primaryKey": false,
258
+ "notNull": true
259
+ },
260
+ "state": {
261
+ "name": "state",
262
+ "type": "text",
263
+ "primaryKey": false,
264
+ "notNull": true
265
+ },
266
+ "commit_composition": {
267
+ "name": "commit_composition",
268
+ "type": "text",
269
+ "primaryKey": false,
270
+ "notNull": false
271
+ },
272
+ "conversation_ids": {
273
+ "name": "conversation_ids",
274
+ "type": "text[]",
275
+ "primaryKey": false,
276
+ "notNull": true,
277
+ "default": "ARRAY[]::text[]"
278
+ },
279
+ "opened_at": {
280
+ "name": "opened_at",
281
+ "type": "timestamp with time zone",
282
+ "primaryKey": false,
283
+ "notNull": true
284
+ },
285
+ "merged_at": {
286
+ "name": "merged_at",
287
+ "type": "timestamp with time zone",
288
+ "primaryKey": false,
289
+ "notNull": false
290
+ },
291
+ "closed_at": {
292
+ "name": "closed_at",
293
+ "type": "timestamp with time zone",
294
+ "primaryKey": false,
295
+ "notNull": false
296
+ },
297
+ "updated_at": {
298
+ "name": "updated_at",
299
+ "type": "timestamp with time zone",
300
+ "primaryKey": false,
301
+ "notNull": true
302
+ },
303
+ "ready_to_merge_at": {
304
+ "name": "ready_to_merge_at",
305
+ "type": "timestamp with time zone",
306
+ "primaryKey": false,
307
+ "notNull": false
308
+ },
309
+ "ready_sync_requests": {
310
+ "name": "ready_sync_requests",
311
+ "type": "integer",
312
+ "primaryKey": false,
313
+ "notNull": true,
314
+ "default": 0
315
+ },
316
+ "ready_sync_id": {
317
+ "name": "ready_sync_id",
318
+ "type": "integer",
319
+ "primaryKey": false,
320
+ "notNull": false
321
+ },
322
+ "ready_sync_at": {
323
+ "name": "ready_sync_at",
324
+ "type": "timestamp with time zone",
325
+ "primaryKey": false,
326
+ "notNull": false
327
+ }
328
+ },
329
+ "indexes": {
330
+ "junior_github_pull_requests_opened_at_idx": {
331
+ "name": "junior_github_pull_requests_opened_at_idx",
332
+ "columns": [
333
+ {
334
+ "expression": "opened_at",
335
+ "isExpression": false,
336
+ "asc": true,
337
+ "nulls": "last"
338
+ }
339
+ ],
340
+ "isUnique": false,
341
+ "concurrently": false,
342
+ "method": "btree",
343
+ "with": {}
344
+ },
345
+ "junior_github_pull_requests_merged_at_idx": {
346
+ "name": "junior_github_pull_requests_merged_at_idx",
347
+ "columns": [
348
+ {
349
+ "expression": "merged_at",
350
+ "isExpression": false,
351
+ "asc": true,
352
+ "nulls": "last"
353
+ }
354
+ ],
355
+ "isUnique": false,
356
+ "concurrently": false,
357
+ "method": "btree",
358
+ "with": {}
359
+ },
360
+ "junior_github_pull_requests_closed_at_idx": {
361
+ "name": "junior_github_pull_requests_closed_at_idx",
362
+ "columns": [
363
+ {
364
+ "expression": "closed_at",
365
+ "isExpression": false,
366
+ "asc": true,
367
+ "nulls": "last"
368
+ }
369
+ ],
370
+ "isUnique": false,
371
+ "concurrently": false,
372
+ "method": "btree",
373
+ "with": {}
374
+ },
375
+ "junior_github_pull_requests_open_idx": {
376
+ "name": "junior_github_pull_requests_open_idx",
377
+ "columns": [
378
+ {
379
+ "expression": "pull_request_id",
380
+ "isExpression": false,
381
+ "asc": true,
382
+ "nulls": "last"
383
+ }
384
+ ],
385
+ "isUnique": false,
386
+ "where": "\"junior_github_pull_requests\".\"state\" = 'open'",
387
+ "concurrently": false,
388
+ "method": "btree",
389
+ "with": {}
390
+ },
391
+ "junior_github_pull_requests_unmerged_conversations_idx": {
392
+ "name": "junior_github_pull_requests_unmerged_conversations_idx",
393
+ "columns": [
394
+ {
395
+ "expression": "conversation_ids",
396
+ "isExpression": false,
397
+ "asc": true,
398
+ "nulls": "last"
399
+ }
400
+ ],
401
+ "isUnique": false,
402
+ "where": "\"junior_github_pull_requests\".\"state\" <> 'merged'",
403
+ "concurrently": false,
404
+ "method": "gin",
405
+ "with": {}
406
+ }
407
+ },
408
+ "foreignKeys": {},
409
+ "compositePrimaryKeys": {},
410
+ "uniqueConstraints": {},
411
+ "policies": {},
412
+ "checkConstraints": {},
413
+ "isRLSEnabled": false
414
+ }
415
+ },
416
+ "enums": {},
417
+ "schemas": {},
418
+ "sequences": {},
419
+ "roles": {},
420
+ "policies": {},
421
+ "views": {},
422
+ "_meta": {
423
+ "columns": {},
424
+ "schemas": {},
425
+ "tables": {}
426
+ }
427
+ }
@@ -71,6 +71,13 @@
71
71
  "when": 1793225353668,
72
72
  "tag": "0009_nostalgic_thing",
73
73
  "breakpoints": true
74
+ },
75
+ {
76
+ "idx": 10,
77
+ "version": "7",
78
+ "when": 1793563055612,
79
+ "tag": "0010_sleepy_slayback",
80
+ "breakpoints": true
74
81
  }
75
82
  ]
76
- }
83
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/junior-github",
3
- "version": "0.268.0",
3
+ "version": "0.269.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -32,7 +32,7 @@
32
32
  "drizzle-orm": "^0.45.2",
33
33
  "marked": "^18.1.2",
34
34
  "zod": "^4.5.4",
35
- "@sentry/junior-plugin-api": "0.268.0"
35
+ "@sentry/junior-plugin-api": "0.269.0"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@oxlint/plugins": "1.79.0",
@@ -37,6 +37,6 @@ Use `git` and `gh` for repository work.
37
37
  - Stop for an unclear target, missing access, destructive work, or a GitHub permission failure.
38
38
  - Code changes always end in a pushed branch and a PR. Do not ask whether to open one. Skip it only when the user opts out or asks for investigation only.
39
39
  - Open the PR ready for review when the work is complete and the checks pass. Open a draft when work, checks, or decisions remain. A scope or follow-up question is not a reason to stop: open the PR, and name the question in the PR body and the report.
40
- - Report repo, branch, PR, checks, and skipped checks.
40
+ - Link the PR. Mention checks only when they failed or were skipped.
41
41
 
42
42
  Do not install or repair the GitHub plugin from this skill.