@sentry/junior-github 0.313.0 → 0.315.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 (68) hide show
  1. package/dist/{events-mAaCafvx.js → events-D3Qnj4yY.js} +58 -20
  2. package/dist/index.d.ts +1 -1
  3. package/dist/index.js +3130 -1873
  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/{0008_native_code_backfill.sql → 20260824190830_native_code_backfill/migration.sql} +5 -9
  14. package/migrations/20260824190830_native_code_backfill/snapshot.json +9 -0
  15. package/migrations/20261028220913_nostalgic_thing/snapshot.json +128 -0
  16. package/migrations/20261101195735_sleepy_slayback/snapshot.json +169 -0
  17. package/migrations/20261112142844_pull_request_draft/snapshot.json +42 -0
  18. package/migrations/20261113213858_pull_request_next_action/snapshot.json +61 -0
  19. package/migrations/20261119095049_conflict_fixes_resumed_at/snapshot.json +42 -0
  20. package/migrations/20261119230607_conflict_fixes/snapshot.json +42 -0
  21. package/migrations/20261120232426_conflict_fix_asked_at/snapshot.json +42 -0
  22. package/migrations/20261121002146_pull_request_finished_at/snapshot.json +42 -0
  23. package/migrations/20261121002159_pull_request_lifecycle_copies/snapshot.json +118 -0
  24. package/migrations/20261123212042_drop_pull_request_issues/migration.sql +1 -0
  25. package/migrations/20261123212042_drop_pull_request_issues/snapshot.json +51 -0
  26. package/migrations/20261123220932_drop_github_issues/migration.sql +1 -0
  27. package/migrations/20261123220932_drop_github_issues/snapshot.json +83 -0
  28. package/migrations/20261123224011_pull_request_lifecycle_backfill/migration.sql +80 -0
  29. package/migrations/20261123224011_pull_request_lifecycle_backfill/snapshot.json +9 -0
  30. package/migrations/20261123224012_pull_request_lifecycle_in_code_index/migration.sql +10 -0
  31. package/migrations/20261123224012_pull_request_lifecycle_in_code_index/snapshot.json +219 -0
  32. package/package.json +4 -4
  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/_journal.json +0 -132
  52. /package/migrations/{0000_pull_request_outcomes.sql → 20260722180343_pull_request_outcomes/migration.sql} +0 -0
  53. /package/migrations/{0001_issue_outcomes.sql → 20260722224832_issue_outcomes/migration.sql} +0 -0
  54. /package/migrations/{0002_pull_request_commit_composition.sql → 20260722230324_pull_request_commit_composition/migration.sql} +0 -0
  55. /package/migrations/{0003_pull_request_conversations.sql → 20260722231413_pull_request_conversations/migration.sql} +0 -0
  56. /package/migrations/{0004_marvelous_toad_men.sql → 20260723023722_marvelous_toad_men/migration.sql} +0 -0
  57. /package/migrations/{0005_github_cost_associations.sql → 20260724235000_github_cost_associations/migration.sql} +0 -0
  58. /package/migrations/{0006_fat_korvac.sql → 20260725024522_fat_korvac/migration.sql} +0 -0
  59. /package/migrations/{0007_shallow_millenium_guard.sql → 20260811221145_shallow_millenium_guard/migration.sql} +0 -0
  60. /package/migrations/{0009_nostalgic_thing.sql → 20261028220913_nostalgic_thing/migration.sql} +0 -0
  61. /package/migrations/{0010_sleepy_slayback.sql → 20261101195735_sleepy_slayback/migration.sql} +0 -0
  62. /package/migrations/{0011_pull_request_draft.sql → 20261112142844_pull_request_draft/migration.sql} +0 -0
  63. /package/migrations/{0012_pull_request_next_action.sql → 20261113213858_pull_request_next_action/migration.sql} +0 -0
  64. /package/migrations/{0013_conflict_fixes_resumed_at.sql → 20261119095049_conflict_fixes_resumed_at/migration.sql} +0 -0
  65. /package/migrations/{0014_conflict_fixes.sql → 20261119230607_conflict_fixes/migration.sql} +0 -0
  66. /package/migrations/{0015_conflict_fix_asked_at.sql → 20261120232426_conflict_fix_asked_at/migration.sql} +0 -0
  67. /package/migrations/{0016_pull_request_finished_at.sql → 20261121002146_pull_request_finished_at/migration.sql} +0 -0
  68. /package/migrations/{0017_pull_request_lifecycle_copies.sql → 20261121002159_pull_request_lifecycle_copies/migration.sql} +0 -0
@@ -1,418 +0,0 @@
1
- {
2
- "id": "84ce1936-1b4b-461e-95a0-f3dbfd5d14fb",
3
- "prevId": "a060e2c9-de82-4766-94c1-358cac925a4e",
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": [
158
- "pull_request_id"
159
- ],
160
- "columnsTo": [
161
- "pull_request_id"
162
- ],
163
- "onDelete": "cascade",
164
- "onUpdate": "no action"
165
- }
166
- },
167
- "compositePrimaryKeys": {
168
- "junior_github_pull_request_issues_pull_request_id_issue_repository_full_name_issue_number_pk": {
169
- "name": "junior_github_pull_request_issues_pull_request_id_issue_repository_full_name_issue_number_pk",
170
- "columns": [
171
- "pull_request_id",
172
- "issue_repository_full_name",
173
- "issue_number"
174
- ]
175
- }
176
- },
177
- "uniqueConstraints": {},
178
- "policies": {},
179
- "checkConstraints": {},
180
- "isRLSEnabled": false
181
- },
182
- "public.junior_github_pull_request_requesters": {
183
- "name": "junior_github_pull_request_requesters",
184
- "schema": "",
185
- "columns": {
186
- "repository_full_name": {
187
- "name": "repository_full_name",
188
- "type": "text",
189
- "primaryKey": false,
190
- "notNull": true
191
- },
192
- "number": {
193
- "name": "number",
194
- "type": "integer",
195
- "primaryKey": false,
196
- "notNull": true
197
- },
198
- "identity_id": {
199
- "name": "identity_id",
200
- "type": "text",
201
- "primaryKey": false,
202
- "notNull": true
203
- },
204
- "conversation_id": {
205
- "name": "conversation_id",
206
- "type": "text",
207
- "primaryKey": false,
208
- "notNull": false
209
- },
210
- "created_at": {
211
- "name": "created_at",
212
- "type": "timestamp with time zone",
213
- "primaryKey": false,
214
- "notNull": true
215
- },
216
- "updated_at": {
217
- "name": "updated_at",
218
- "type": "timestamp with time zone",
219
- "primaryKey": false,
220
- "notNull": true
221
- }
222
- },
223
- "indexes": {},
224
- "foreignKeys": {},
225
- "compositePrimaryKeys": {
226
- "junior_github_pull_request_requesters_repository_full_name_number_identity_id_pk": {
227
- "name": "junior_github_pull_request_requesters_repository_full_name_number_identity_id_pk",
228
- "columns": [
229
- "repository_full_name",
230
- "number",
231
- "identity_id"
232
- ]
233
- }
234
- },
235
- "uniqueConstraints": {},
236
- "policies": {},
237
- "checkConstraints": {},
238
- "isRLSEnabled": false
239
- },
240
- "public.junior_github_pull_requests": {
241
- "name": "junior_github_pull_requests",
242
- "schema": "",
243
- "columns": {
244
- "pull_request_id": {
245
- "name": "pull_request_id",
246
- "type": "text",
247
- "primaryKey": true,
248
- "notNull": true
249
- },
250
- "repository_id": {
251
- "name": "repository_id",
252
- "type": "text",
253
- "primaryKey": false,
254
- "notNull": true
255
- },
256
- "repository_full_name": {
257
- "name": "repository_full_name",
258
- "type": "text",
259
- "primaryKey": false,
260
- "notNull": true
261
- },
262
- "number": {
263
- "name": "number",
264
- "type": "integer",
265
- "primaryKey": false,
266
- "notNull": true
267
- },
268
- "state": {
269
- "name": "state",
270
- "type": "text",
271
- "primaryKey": false,
272
- "notNull": true
273
- },
274
- "commit_composition": {
275
- "name": "commit_composition",
276
- "type": "text",
277
- "primaryKey": false,
278
- "notNull": false
279
- },
280
- "conversation_ids": {
281
- "name": "conversation_ids",
282
- "type": "text[]",
283
- "primaryKey": false,
284
- "notNull": true,
285
- "default": "ARRAY[]::text[]"
286
- },
287
- "opened_at": {
288
- "name": "opened_at",
289
- "type": "timestamp with time zone",
290
- "primaryKey": false,
291
- "notNull": true
292
- },
293
- "finished_at": {
294
- "name": "finished_at",
295
- "type": "timestamp with time zone",
296
- "primaryKey": false,
297
- "notNull": false
298
- },
299
- "updated_at": {
300
- "name": "updated_at",
301
- "type": "timestamp with time zone",
302
- "primaryKey": false,
303
- "notNull": true
304
- },
305
- "next_action": {
306
- "name": "next_action",
307
- "type": "text",
308
- "primaryKey": false,
309
- "notNull": false
310
- },
311
- "ready_sync_requests": {
312
- "name": "ready_sync_requests",
313
- "type": "integer",
314
- "primaryKey": false,
315
- "notNull": true,
316
- "default": 0
317
- },
318
- "ready_sync_id": {
319
- "name": "ready_sync_id",
320
- "type": "integer",
321
- "primaryKey": false,
322
- "notNull": false
323
- },
324
- "ready_sync_at": {
325
- "name": "ready_sync_at",
326
- "type": "timestamp with time zone",
327
- "primaryKey": false,
328
- "notNull": false
329
- },
330
- "conflict_fixes_resumed_at": {
331
- "name": "conflict_fixes_resumed_at",
332
- "type": "timestamp with time zone",
333
- "primaryKey": false,
334
- "notNull": false
335
- },
336
- "conflict_fix_asked_at": {
337
- "name": "conflict_fix_asked_at",
338
- "type": "timestamp with time zone",
339
- "primaryKey": false,
340
- "notNull": false
341
- },
342
- "conflict_fixes": {
343
- "name": "conflict_fixes",
344
- "type": "jsonb",
345
- "primaryKey": false,
346
- "notNull": true,
347
- "default": "'[]'::jsonb"
348
- }
349
- },
350
- "indexes": {
351
- "junior_github_pull_requests_opened_at_idx": {
352
- "name": "junior_github_pull_requests_opened_at_idx",
353
- "columns": [
354
- {
355
- "expression": "opened_at",
356
- "isExpression": false,
357
- "asc": true,
358
- "nulls": "last"
359
- }
360
- ],
361
- "isUnique": false,
362
- "concurrently": false,
363
- "method": "btree",
364
- "with": {}
365
- },
366
- "junior_github_pull_requests_open_idx": {
367
- "name": "junior_github_pull_requests_open_idx",
368
- "columns": [
369
- {
370
- "expression": "pull_request_id",
371
- "isExpression": false,
372
- "asc": true,
373
- "nulls": "last"
374
- }
375
- ],
376
- "isUnique": false,
377
- "where": "\"junior_github_pull_requests\".\"state\" = 'open'",
378
- "concurrently": false,
379
- "method": "btree",
380
- "with": {}
381
- },
382
- "junior_github_pull_requests_unmerged_conversations_idx": {
383
- "name": "junior_github_pull_requests_unmerged_conversations_idx",
384
- "columns": [
385
- {
386
- "expression": "conversation_ids",
387
- "isExpression": false,
388
- "asc": true,
389
- "nulls": "last"
390
- }
391
- ],
392
- "isUnique": false,
393
- "where": "\"junior_github_pull_requests\".\"state\" <> 'merged'",
394
- "concurrently": false,
395
- "method": "gin",
396
- "with": {}
397
- }
398
- },
399
- "foreignKeys": {},
400
- "compositePrimaryKeys": {},
401
- "uniqueConstraints": {},
402
- "policies": {},
403
- "checkConstraints": {},
404
- "isRLSEnabled": false
405
- }
406
- },
407
- "enums": {},
408
- "schemas": {},
409
- "sequences": {},
410
- "roles": {},
411
- "policies": {},
412
- "views": {},
413
- "_meta": {
414
- "columns": {},
415
- "schemas": {},
416
- "tables": {}
417
- }
418
- }
@@ -1,132 +0,0 @@
1
- {
2
- "version": "7",
3
- "dialect": "postgresql",
4
- "entries": [
5
- {
6
- "idx": 0,
7
- "version": "7",
8
- "when": 1784743423488,
9
- "tag": "0000_pull_request_outcomes",
10
- "breakpoints": true
11
- },
12
- {
13
- "idx": 1,
14
- "version": "7",
15
- "when": 1784760512145,
16
- "tag": "0001_issue_outcomes",
17
- "breakpoints": true
18
- },
19
- {
20
- "idx": 2,
21
- "version": "7",
22
- "when": 1784761404746,
23
- "tag": "0002_pull_request_commit_composition",
24
- "breakpoints": true
25
- },
26
- {
27
- "idx": 3,
28
- "version": "7",
29
- "when": 1784762053015,
30
- "tag": "0003_pull_request_conversations",
31
- "breakpoints": true
32
- },
33
- {
34
- "idx": 4,
35
- "version": "7",
36
- "when": 1784774242129,
37
- "tag": "0004_marvelous_toad_men",
38
- "breakpoints": true
39
- },
40
- {
41
- "idx": 5,
42
- "version": "7",
43
- "when": 1784937000000,
44
- "tag": "0005_github_cost_associations",
45
- "breakpoints": true
46
- },
47
- {
48
- "idx": 6,
49
- "version": "7",
50
- "when": 1784947522832,
51
- "tag": "0006_fat_korvac",
52
- "breakpoints": true
53
- },
54
- {
55
- "idx": 7,
56
- "version": "7",
57
- "when": 1786486305688,
58
- "tag": "0007_shallow_millenium_guard",
59
- "breakpoints": true
60
- },
61
- {
62
- "idx": 8,
63
- "version": "7",
64
- "when": 1787598510781,
65
- "tag": "0008_native_code_backfill",
66
- "breakpoints": true
67
- },
68
- {
69
- "idx": 9,
70
- "version": "7",
71
- "when": 1793225353668,
72
- "tag": "0009_nostalgic_thing",
73
- "breakpoints": true
74
- },
75
- {
76
- "idx": 10,
77
- "version": "7",
78
- "when": 1793563055612,
79
- "tag": "0010_sleepy_slayback",
80
- "breakpoints": true
81
- },
82
- {
83
- "idx": 11,
84
- "version": "7",
85
- "when": 1794493724681,
86
- "tag": "0011_pull_request_draft",
87
- "breakpoints": true
88
- },
89
- {
90
- "idx": 12,
91
- "version": "7",
92
- "when": 1794605938191,
93
- "tag": "0012_pull_request_next_action",
94
- "breakpoints": true
95
- },
96
- {
97
- "idx": 13,
98
- "version": "7",
99
- "when": 1795081849425,
100
- "tag": "0013_conflict_fixes_resumed_at",
101
- "breakpoints": true
102
- },
103
- {
104
- "idx": 14,
105
- "version": "7",
106
- "when": 1795129567974,
107
- "tag": "0014_conflict_fixes",
108
- "breakpoints": true
109
- },
110
- {
111
- "idx": 15,
112
- "version": "7",
113
- "when": 1795217066096,
114
- "tag": "0015_conflict_fix_asked_at",
115
- "breakpoints": true
116
- },
117
- {
118
- "idx": 16,
119
- "version": "7",
120
- "when": 1795220506723,
121
- "tag": "0016_pull_request_finished_at",
122
- "breakpoints": true
123
- },
124
- {
125
- "idx": 17,
126
- "version": "7",
127
- "when": 1795220519456,
128
- "tag": "0017_pull_request_lifecycle_copies",
129
- "breakpoints": true
130
- }
131
- ]
132
- }