@sentry/junior-github 0.314.0 → 0.316.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.
Files changed (73) hide show
  1. package/dist/{events-D51HE9X3.js → events-BoMOs5Rd.js} +75 -23
  2. package/dist/index.d.ts +1 -1
  3. package/dist/index.js +4122 -2288
  4. package/dist/testing.js +1 -1
  5. package/migrations/20260722180343_pull_request_outcomes/snapshot.json +315 -0
  6. package/migrations/20260722224832_issue_outcomes/snapshot.json +301 -0
  7. package/migrations/20260722230324_pull_request_commit_composition/snapshot.json +42 -0
  8. package/migrations/20260722231413_pull_request_conversations/snapshot.json +42 -0
  9. package/migrations/20260723023722_marvelous_toad_men/snapshot.json +42 -0
  10. package/migrations/20260724235000_github_cost_associations/snapshot.json +73 -0
  11. package/migrations/20260725024522_fat_korvac/snapshot.json +158 -0
  12. package/migrations/20260811221145_shallow_millenium_guard/snapshot.json +54 -0
  13. package/migrations/20260824190830_native_code_backfill/snapshot.json +9 -0
  14. package/migrations/20261028220913_nostalgic_thing/snapshot.json +128 -0
  15. package/migrations/20261101195735_sleepy_slayback/snapshot.json +169 -0
  16. package/migrations/20261112142844_pull_request_draft/snapshot.json +42 -0
  17. package/migrations/20261113213858_pull_request_next_action/snapshot.json +61 -0
  18. package/migrations/20261119095049_conflict_fixes_resumed_at/snapshot.json +42 -0
  19. package/migrations/20261119230607_conflict_fixes/snapshot.json +42 -0
  20. package/migrations/20261120232426_conflict_fix_asked_at/snapshot.json +42 -0
  21. package/migrations/20261121002146_pull_request_finished_at/snapshot.json +42 -0
  22. package/migrations/20261121002159_pull_request_lifecycle_copies/snapshot.json +118 -0
  23. package/migrations/20261123212042_drop_pull_request_issues/snapshot.json +51 -0
  24. package/migrations/20261123220932_drop_github_issues/snapshot.json +83 -0
  25. package/migrations/20261123224011_pull_request_lifecycle_backfill/migration.sql +80 -0
  26. package/migrations/20261123224011_pull_request_lifecycle_backfill/snapshot.json +9 -0
  27. package/migrations/20261123224012_pull_request_lifecycle_in_code_index/migration.sql +10 -0
  28. package/migrations/20261123224012_pull_request_lifecycle_in_code_index/snapshot.json +219 -0
  29. package/package.json +4 -4
  30. package/skills/github-code/SKILL.md +1 -1
  31. package/skills/github-code/SPEC.md +1 -1
  32. package/skills/github-issues/references/api-surface.md +2 -1
  33. package/migrations/meta/0000_snapshot.json +0 -148
  34. package/migrations/meta/0001_snapshot.json +0 -256
  35. package/migrations/meta/0002_snapshot.json +0 -262
  36. package/migrations/meta/0003_snapshot.json +0 -269
  37. package/migrations/meta/0004_snapshot.json +0 -275
  38. package/migrations/meta/0005_snapshot.json +0 -289
  39. package/migrations/meta/0006_snapshot.json +0 -336
  40. package/migrations/meta/0007_snapshot.json +0 -352
  41. package/migrations/meta/0008_snapshot.json +0 -348
  42. package/migrations/meta/0009_snapshot.json +0 -404
  43. package/migrations/meta/0010_snapshot.json +0 -427
  44. package/migrations/meta/0011_snapshot.json +0 -434
  45. package/migrations/meta/0012_snapshot.json +0 -434
  46. package/migrations/meta/0013_snapshot.json +0 -448
  47. package/migrations/meta/0014_snapshot.json +0 -455
  48. package/migrations/meta/0015_snapshot.json +0 -461
  49. package/migrations/meta/0016_snapshot.json +0 -467
  50. package/migrations/meta/0017_snapshot.json +0 -418
  51. package/migrations/meta/0018_snapshot.json +0 -364
  52. package/migrations/meta/0019_snapshot.json +0 -243
  53. package/migrations/meta/_journal.json +0 -146
  54. /package/migrations/{0000_pull_request_outcomes.sql → 20260722180343_pull_request_outcomes/migration.sql} +0 -0
  55. /package/migrations/{0001_issue_outcomes.sql → 20260722224832_issue_outcomes/migration.sql} +0 -0
  56. /package/migrations/{0002_pull_request_commit_composition.sql → 20260722230324_pull_request_commit_composition/migration.sql} +0 -0
  57. /package/migrations/{0003_pull_request_conversations.sql → 20260722231413_pull_request_conversations/migration.sql} +0 -0
  58. /package/migrations/{0004_marvelous_toad_men.sql → 20260723023722_marvelous_toad_men/migration.sql} +0 -0
  59. /package/migrations/{0005_github_cost_associations.sql → 20260724235000_github_cost_associations/migration.sql} +0 -0
  60. /package/migrations/{0006_fat_korvac.sql → 20260725024522_fat_korvac/migration.sql} +0 -0
  61. /package/migrations/{0007_shallow_millenium_guard.sql → 20260811221145_shallow_millenium_guard/migration.sql} +0 -0
  62. /package/migrations/{0008_native_code_backfill.sql → 20260824190830_native_code_backfill/migration.sql} +0 -0
  63. /package/migrations/{0009_nostalgic_thing.sql → 20261028220913_nostalgic_thing/migration.sql} +0 -0
  64. /package/migrations/{0010_sleepy_slayback.sql → 20261101195735_sleepy_slayback/migration.sql} +0 -0
  65. /package/migrations/{0011_pull_request_draft.sql → 20261112142844_pull_request_draft/migration.sql} +0 -0
  66. /package/migrations/{0012_pull_request_next_action.sql → 20261113213858_pull_request_next_action/migration.sql} +0 -0
  67. /package/migrations/{0013_conflict_fixes_resumed_at.sql → 20261119095049_conflict_fixes_resumed_at/migration.sql} +0 -0
  68. /package/migrations/{0014_conflict_fixes.sql → 20261119230607_conflict_fixes/migration.sql} +0 -0
  69. /package/migrations/{0015_conflict_fix_asked_at.sql → 20261120232426_conflict_fix_asked_at/migration.sql} +0 -0
  70. /package/migrations/{0016_pull_request_finished_at.sql → 20261121002146_pull_request_finished_at/migration.sql} +0 -0
  71. /package/migrations/{0017_pull_request_lifecycle_copies.sql → 20261121002159_pull_request_lifecycle_copies/migration.sql} +0 -0
  72. /package/migrations/{0018_drop_pull_request_issues.sql → 20261123212042_drop_pull_request_issues/migration.sql} +0 -0
  73. /package/migrations/{0019_drop_github_issues.sql → 20261123220932_drop_github_issues/migration.sql} +0 -0
@@ -1,434 +0,0 @@
1
- {
2
- "id": "055a183e-3fe9-4077-a93f-6fd5f0786389",
3
- "prevId": "7b0a99a8-d5c9-4810-a220-3b6c8517c9cf",
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
- "draft": {
280
- "name": "draft",
281
- "type": "boolean",
282
- "primaryKey": false,
283
- "notNull": true,
284
- "default": false
285
- },
286
- "opened_at": {
287
- "name": "opened_at",
288
- "type": "timestamp with time zone",
289
- "primaryKey": false,
290
- "notNull": true
291
- },
292
- "merged_at": {
293
- "name": "merged_at",
294
- "type": "timestamp with time zone",
295
- "primaryKey": false,
296
- "notNull": false
297
- },
298
- "closed_at": {
299
- "name": "closed_at",
300
- "type": "timestamp with time zone",
301
- "primaryKey": false,
302
- "notNull": false
303
- },
304
- "updated_at": {
305
- "name": "updated_at",
306
- "type": "timestamp with time zone",
307
- "primaryKey": false,
308
- "notNull": true
309
- },
310
- "next_action": {
311
- "name": "next_action",
312
- "type": "text",
313
- "primaryKey": false,
314
- "notNull": false
315
- },
316
- "ready_sync_requests": {
317
- "name": "ready_sync_requests",
318
- "type": "integer",
319
- "primaryKey": false,
320
- "notNull": true,
321
- "default": 0
322
- },
323
- "ready_sync_id": {
324
- "name": "ready_sync_id",
325
- "type": "integer",
326
- "primaryKey": false,
327
- "notNull": false
328
- },
329
- "ready_sync_at": {
330
- "name": "ready_sync_at",
331
- "type": "timestamp with time zone",
332
- "primaryKey": false,
333
- "notNull": false
334
- }
335
- },
336
- "indexes": {
337
- "junior_github_pull_requests_opened_at_idx": {
338
- "name": "junior_github_pull_requests_opened_at_idx",
339
- "columns": [
340
- {
341
- "expression": "opened_at",
342
- "isExpression": false,
343
- "asc": true,
344
- "nulls": "last"
345
- }
346
- ],
347
- "isUnique": false,
348
- "concurrently": false,
349
- "method": "btree",
350
- "with": {}
351
- },
352
- "junior_github_pull_requests_merged_at_idx": {
353
- "name": "junior_github_pull_requests_merged_at_idx",
354
- "columns": [
355
- {
356
- "expression": "merged_at",
357
- "isExpression": false,
358
- "asc": true,
359
- "nulls": "last"
360
- }
361
- ],
362
- "isUnique": false,
363
- "concurrently": false,
364
- "method": "btree",
365
- "with": {}
366
- },
367
- "junior_github_pull_requests_closed_at_idx": {
368
- "name": "junior_github_pull_requests_closed_at_idx",
369
- "columns": [
370
- {
371
- "expression": "closed_at",
372
- "isExpression": false,
373
- "asc": true,
374
- "nulls": "last"
375
- }
376
- ],
377
- "isUnique": false,
378
- "concurrently": false,
379
- "method": "btree",
380
- "with": {}
381
- },
382
- "junior_github_pull_requests_open_idx": {
383
- "name": "junior_github_pull_requests_open_idx",
384
- "columns": [
385
- {
386
- "expression": "pull_request_id",
387
- "isExpression": false,
388
- "asc": true,
389
- "nulls": "last"
390
- }
391
- ],
392
- "isUnique": false,
393
- "where": "\"junior_github_pull_requests\".\"state\" = 'open'",
394
- "concurrently": false,
395
- "method": "btree",
396
- "with": {}
397
- },
398
- "junior_github_pull_requests_unmerged_conversations_idx": {
399
- "name": "junior_github_pull_requests_unmerged_conversations_idx",
400
- "columns": [
401
- {
402
- "expression": "conversation_ids",
403
- "isExpression": false,
404
- "asc": true,
405
- "nulls": "last"
406
- }
407
- ],
408
- "isUnique": false,
409
- "where": "\"junior_github_pull_requests\".\"state\" <> 'merged'",
410
- "concurrently": false,
411
- "method": "gin",
412
- "with": {}
413
- }
414
- },
415
- "foreignKeys": {},
416
- "compositePrimaryKeys": {},
417
- "uniqueConstraints": {},
418
- "policies": {},
419
- "checkConstraints": {},
420
- "isRLSEnabled": false
421
- }
422
- },
423
- "enums": {},
424
- "schemas": {},
425
- "sequences": {},
426
- "roles": {},
427
- "policies": {},
428
- "views": {},
429
- "_meta": {
430
- "columns": {},
431
- "schemas": {},
432
- "tables": {}
433
- }
434
- }