@sentry/junior-github 0.314.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 (70) hide show
  1. package/dist/{events-D51HE9X3.js → events-D3Qnj4yY.js} +56 -18
  2. package/dist/index.d.ts +1 -1
  3. package/dist/index.js +3275 -2113
  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/migrations/meta/0000_snapshot.json +0 -148
  31. package/migrations/meta/0001_snapshot.json +0 -256
  32. package/migrations/meta/0002_snapshot.json +0 -262
  33. package/migrations/meta/0003_snapshot.json +0 -269
  34. package/migrations/meta/0004_snapshot.json +0 -275
  35. package/migrations/meta/0005_snapshot.json +0 -289
  36. package/migrations/meta/0006_snapshot.json +0 -336
  37. package/migrations/meta/0007_snapshot.json +0 -352
  38. package/migrations/meta/0008_snapshot.json +0 -348
  39. package/migrations/meta/0009_snapshot.json +0 -404
  40. package/migrations/meta/0010_snapshot.json +0 -427
  41. package/migrations/meta/0011_snapshot.json +0 -434
  42. package/migrations/meta/0012_snapshot.json +0 -434
  43. package/migrations/meta/0013_snapshot.json +0 -448
  44. package/migrations/meta/0014_snapshot.json +0 -455
  45. package/migrations/meta/0015_snapshot.json +0 -461
  46. package/migrations/meta/0016_snapshot.json +0 -467
  47. package/migrations/meta/0017_snapshot.json +0 -418
  48. package/migrations/meta/0018_snapshot.json +0 -364
  49. package/migrations/meta/0019_snapshot.json +0 -243
  50. package/migrations/meta/_journal.json +0 -146
  51. /package/migrations/{0000_pull_request_outcomes.sql → 20260722180343_pull_request_outcomes/migration.sql} +0 -0
  52. /package/migrations/{0001_issue_outcomes.sql → 20260722224832_issue_outcomes/migration.sql} +0 -0
  53. /package/migrations/{0002_pull_request_commit_composition.sql → 20260722230324_pull_request_commit_composition/migration.sql} +0 -0
  54. /package/migrations/{0003_pull_request_conversations.sql → 20260722231413_pull_request_conversations/migration.sql} +0 -0
  55. /package/migrations/{0004_marvelous_toad_men.sql → 20260723023722_marvelous_toad_men/migration.sql} +0 -0
  56. /package/migrations/{0005_github_cost_associations.sql → 20260724235000_github_cost_associations/migration.sql} +0 -0
  57. /package/migrations/{0006_fat_korvac.sql → 20260725024522_fat_korvac/migration.sql} +0 -0
  58. /package/migrations/{0007_shallow_millenium_guard.sql → 20260811221145_shallow_millenium_guard/migration.sql} +0 -0
  59. /package/migrations/{0008_native_code_backfill.sql → 20260824190830_native_code_backfill/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
  69. /package/migrations/{0018_drop_pull_request_issues.sql → 20261123212042_drop_pull_request_issues/migration.sql} +0 -0
  70. /package/migrations/{0019_drop_github_issues.sql → 20261123220932_drop_github_issues/migration.sql} +0 -0
@@ -1,348 +0,0 @@
1
- {
2
- "id": "da9cceed-a211-4f1b-a5b8-ac4237b9caf5",
3
- "prevId": "a54d392c-28bb-4cd3-ba14-1bcfa793fcce",
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
- "with": {},
86
- "method": "btree",
87
- "concurrently": false
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
- "with": {},
101
- "method": "btree",
102
- "concurrently": false
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
- "with": {},
116
- "method": "btree",
117
- "where": "\"junior_github_issues\".\"state\" = 'open'",
118
- "concurrently": false
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
- "columnsFrom": ["pull_request_id"],
157
- "tableTo": "junior_github_pull_requests",
158
- "columnsTo": ["pull_request_id"],
159
- "onUpdate": "no action",
160
- "onDelete": "cascade"
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_requests": {
179
- "name": "junior_github_pull_requests",
180
- "schema": "",
181
- "columns": {
182
- "pull_request_id": {
183
- "name": "pull_request_id",
184
- "type": "text",
185
- "primaryKey": true,
186
- "notNull": true
187
- },
188
- "repository_id": {
189
- "name": "repository_id",
190
- "type": "text",
191
- "primaryKey": false,
192
- "notNull": true
193
- },
194
- "repository_full_name": {
195
- "name": "repository_full_name",
196
- "type": "text",
197
- "primaryKey": false,
198
- "notNull": true
199
- },
200
- "number": {
201
- "name": "number",
202
- "type": "integer",
203
- "primaryKey": false,
204
- "notNull": true
205
- },
206
- "state": {
207
- "name": "state",
208
- "type": "text",
209
- "primaryKey": false,
210
- "notNull": true
211
- },
212
- "commit_composition": {
213
- "name": "commit_composition",
214
- "type": "text",
215
- "primaryKey": false,
216
- "notNull": false
217
- },
218
- "conversation_ids": {
219
- "name": "conversation_ids",
220
- "type": "text[]",
221
- "primaryKey": false,
222
- "notNull": true,
223
- "default": "ARRAY[]::text[]"
224
- },
225
- "opened_at": {
226
- "name": "opened_at",
227
- "type": "timestamp with time zone",
228
- "primaryKey": false,
229
- "notNull": true
230
- },
231
- "merged_at": {
232
- "name": "merged_at",
233
- "type": "timestamp with time zone",
234
- "primaryKey": false,
235
- "notNull": false
236
- },
237
- "closed_at": {
238
- "name": "closed_at",
239
- "type": "timestamp with time zone",
240
- "primaryKey": false,
241
- "notNull": false
242
- },
243
- "updated_at": {
244
- "name": "updated_at",
245
- "type": "timestamp with time zone",
246
- "primaryKey": false,
247
- "notNull": true
248
- }
249
- },
250
- "indexes": {
251
- "junior_github_pull_requests_opened_at_idx": {
252
- "name": "junior_github_pull_requests_opened_at_idx",
253
- "columns": [
254
- {
255
- "expression": "opened_at",
256
- "isExpression": false,
257
- "asc": true,
258
- "nulls": "last"
259
- }
260
- ],
261
- "isUnique": false,
262
- "with": {},
263
- "method": "btree",
264
- "concurrently": false
265
- },
266
- "junior_github_pull_requests_merged_at_idx": {
267
- "name": "junior_github_pull_requests_merged_at_idx",
268
- "columns": [
269
- {
270
- "expression": "merged_at",
271
- "isExpression": false,
272
- "asc": true,
273
- "nulls": "last"
274
- }
275
- ],
276
- "isUnique": false,
277
- "with": {},
278
- "method": "btree",
279
- "concurrently": false
280
- },
281
- "junior_github_pull_requests_closed_at_idx": {
282
- "name": "junior_github_pull_requests_closed_at_idx",
283
- "columns": [
284
- {
285
- "expression": "closed_at",
286
- "isExpression": false,
287
- "asc": true,
288
- "nulls": "last"
289
- }
290
- ],
291
- "isUnique": false,
292
- "with": {},
293
- "method": "btree",
294
- "concurrently": false
295
- },
296
- "junior_github_pull_requests_open_idx": {
297
- "name": "junior_github_pull_requests_open_idx",
298
- "columns": [
299
- {
300
- "expression": "pull_request_id",
301
- "isExpression": false,
302
- "asc": true,
303
- "nulls": "last"
304
- }
305
- ],
306
- "isUnique": false,
307
- "with": {},
308
- "method": "btree",
309
- "where": "\"junior_github_pull_requests\".\"state\" = 'open'",
310
- "concurrently": false
311
- },
312
- "junior_github_pull_requests_unmerged_conversations_idx": {
313
- "name": "junior_github_pull_requests_unmerged_conversations_idx",
314
- "columns": [
315
- {
316
- "expression": "conversation_ids",
317
- "isExpression": false,
318
- "asc": true,
319
- "nulls": "last"
320
- }
321
- ],
322
- "isUnique": false,
323
- "with": {},
324
- "method": "gin",
325
- "where": "\"junior_github_pull_requests\".\"state\" <> 'merged'",
326
- "concurrently": false
327
- }
328
- },
329
- "foreignKeys": {},
330
- "compositePrimaryKeys": {},
331
- "uniqueConstraints": {},
332
- "policies": {},
333
- "checkConstraints": {},
334
- "isRLSEnabled": false
335
- }
336
- },
337
- "enums": {},
338
- "schemas": {},
339
- "views": {},
340
- "sequences": {},
341
- "roles": {},
342
- "policies": {},
343
- "_meta": {
344
- "columns": {},
345
- "schemas": {},
346
- "tables": {}
347
- }
348
- }