@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,262 +0,0 @@
1
- {
2
- "id": "f26a9f2b-90af-4608-98d1-be2df70c42e2",
3
- "prevId": "8be552be-bd1e-4cdf-8784-ed1b84438690",
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
- "opened_at": {
42
- "name": "opened_at",
43
- "type": "timestamp with time zone",
44
- "primaryKey": false,
45
- "notNull": true
46
- },
47
- "closed_at": {
48
- "name": "closed_at",
49
- "type": "timestamp with time zone",
50
- "primaryKey": false,
51
- "notNull": false
52
- },
53
- "updated_at": {
54
- "name": "updated_at",
55
- "type": "timestamp with time zone",
56
- "primaryKey": false,
57
- "notNull": true
58
- }
59
- },
60
- "indexes": {
61
- "junior_github_issues_opened_at_idx": {
62
- "name": "junior_github_issues_opened_at_idx",
63
- "columns": [
64
- {
65
- "expression": "opened_at",
66
- "isExpression": false,
67
- "asc": true,
68
- "nulls": "last"
69
- }
70
- ],
71
- "isUnique": false,
72
- "concurrently": false,
73
- "method": "btree",
74
- "with": {}
75
- },
76
- "junior_github_issues_closed_at_idx": {
77
- "name": "junior_github_issues_closed_at_idx",
78
- "columns": [
79
- {
80
- "expression": "closed_at",
81
- "isExpression": false,
82
- "asc": true,
83
- "nulls": "last"
84
- }
85
- ],
86
- "isUnique": false,
87
- "concurrently": false,
88
- "method": "btree",
89
- "with": {}
90
- },
91
- "junior_github_issues_open_idx": {
92
- "name": "junior_github_issues_open_idx",
93
- "columns": [
94
- {
95
- "expression": "issue_id",
96
- "isExpression": false,
97
- "asc": true,
98
- "nulls": "last"
99
- }
100
- ],
101
- "isUnique": false,
102
- "where": "\"junior_github_issues\".\"state\" = 'open'",
103
- "concurrently": false,
104
- "method": "btree",
105
- "with": {}
106
- }
107
- },
108
- "foreignKeys": {},
109
- "compositePrimaryKeys": {},
110
- "uniqueConstraints": {},
111
- "policies": {},
112
- "checkConstraints": {},
113
- "isRLSEnabled": false
114
- },
115
- "public.junior_github_pull_requests": {
116
- "name": "junior_github_pull_requests",
117
- "schema": "",
118
- "columns": {
119
- "pull_request_id": {
120
- "name": "pull_request_id",
121
- "type": "text",
122
- "primaryKey": true,
123
- "notNull": true
124
- },
125
- "repository_id": {
126
- "name": "repository_id",
127
- "type": "text",
128
- "primaryKey": false,
129
- "notNull": true
130
- },
131
- "repository_full_name": {
132
- "name": "repository_full_name",
133
- "type": "text",
134
- "primaryKey": false,
135
- "notNull": true
136
- },
137
- "number": {
138
- "name": "number",
139
- "type": "integer",
140
- "primaryKey": false,
141
- "notNull": true
142
- },
143
- "state": {
144
- "name": "state",
145
- "type": "text",
146
- "primaryKey": false,
147
- "notNull": true
148
- },
149
- "commit_composition": {
150
- "name": "commit_composition",
151
- "type": "text",
152
- "primaryKey": false,
153
- "notNull": false
154
- },
155
- "opened_at": {
156
- "name": "opened_at",
157
- "type": "timestamp with time zone",
158
- "primaryKey": false,
159
- "notNull": true
160
- },
161
- "merged_at": {
162
- "name": "merged_at",
163
- "type": "timestamp with time zone",
164
- "primaryKey": false,
165
- "notNull": false
166
- },
167
- "closed_at": {
168
- "name": "closed_at",
169
- "type": "timestamp with time zone",
170
- "primaryKey": false,
171
- "notNull": false
172
- },
173
- "updated_at": {
174
- "name": "updated_at",
175
- "type": "timestamp with time zone",
176
- "primaryKey": false,
177
- "notNull": true
178
- }
179
- },
180
- "indexes": {
181
- "junior_github_pull_requests_opened_at_idx": {
182
- "name": "junior_github_pull_requests_opened_at_idx",
183
- "columns": [
184
- {
185
- "expression": "opened_at",
186
- "isExpression": false,
187
- "asc": true,
188
- "nulls": "last"
189
- }
190
- ],
191
- "isUnique": false,
192
- "concurrently": false,
193
- "method": "btree",
194
- "with": {}
195
- },
196
- "junior_github_pull_requests_merged_at_idx": {
197
- "name": "junior_github_pull_requests_merged_at_idx",
198
- "columns": [
199
- {
200
- "expression": "merged_at",
201
- "isExpression": false,
202
- "asc": true,
203
- "nulls": "last"
204
- }
205
- ],
206
- "isUnique": false,
207
- "concurrently": false,
208
- "method": "btree",
209
- "with": {}
210
- },
211
- "junior_github_pull_requests_closed_at_idx": {
212
- "name": "junior_github_pull_requests_closed_at_idx",
213
- "columns": [
214
- {
215
- "expression": "closed_at",
216
- "isExpression": false,
217
- "asc": true,
218
- "nulls": "last"
219
- }
220
- ],
221
- "isUnique": false,
222
- "concurrently": false,
223
- "method": "btree",
224
- "with": {}
225
- },
226
- "junior_github_pull_requests_open_idx": {
227
- "name": "junior_github_pull_requests_open_idx",
228
- "columns": [
229
- {
230
- "expression": "pull_request_id",
231
- "isExpression": false,
232
- "asc": true,
233
- "nulls": "last"
234
- }
235
- ],
236
- "isUnique": false,
237
- "where": "\"junior_github_pull_requests\".\"state\" = 'open'",
238
- "concurrently": false,
239
- "method": "btree",
240
- "with": {}
241
- }
242
- },
243
- "foreignKeys": {},
244
- "compositePrimaryKeys": {},
245
- "uniqueConstraints": {},
246
- "policies": {},
247
- "checkConstraints": {},
248
- "isRLSEnabled": false
249
- }
250
- },
251
- "enums": {},
252
- "schemas": {},
253
- "sequences": {},
254
- "roles": {},
255
- "policies": {},
256
- "views": {},
257
- "_meta": {
258
- "columns": {},
259
- "schemas": {},
260
- "tables": {}
261
- }
262
- }
@@ -1,269 +0,0 @@
1
- {
2
- "id": "fb7f4132-d92f-4127-be54-23f93c79034b",
3
- "prevId": "f26a9f2b-90af-4608-98d1-be2df70c42e2",
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
- "opened_at": {
42
- "name": "opened_at",
43
- "type": "timestamp with time zone",
44
- "primaryKey": false,
45
- "notNull": true
46
- },
47
- "closed_at": {
48
- "name": "closed_at",
49
- "type": "timestamp with time zone",
50
- "primaryKey": false,
51
- "notNull": false
52
- },
53
- "updated_at": {
54
- "name": "updated_at",
55
- "type": "timestamp with time zone",
56
- "primaryKey": false,
57
- "notNull": true
58
- }
59
- },
60
- "indexes": {
61
- "junior_github_issues_opened_at_idx": {
62
- "name": "junior_github_issues_opened_at_idx",
63
- "columns": [
64
- {
65
- "expression": "opened_at",
66
- "isExpression": false,
67
- "asc": true,
68
- "nulls": "last"
69
- }
70
- ],
71
- "isUnique": false,
72
- "concurrently": false,
73
- "method": "btree",
74
- "with": {}
75
- },
76
- "junior_github_issues_closed_at_idx": {
77
- "name": "junior_github_issues_closed_at_idx",
78
- "columns": [
79
- {
80
- "expression": "closed_at",
81
- "isExpression": false,
82
- "asc": true,
83
- "nulls": "last"
84
- }
85
- ],
86
- "isUnique": false,
87
- "concurrently": false,
88
- "method": "btree",
89
- "with": {}
90
- },
91
- "junior_github_issues_open_idx": {
92
- "name": "junior_github_issues_open_idx",
93
- "columns": [
94
- {
95
- "expression": "issue_id",
96
- "isExpression": false,
97
- "asc": true,
98
- "nulls": "last"
99
- }
100
- ],
101
- "isUnique": false,
102
- "where": "\"junior_github_issues\".\"state\" = 'open'",
103
- "concurrently": false,
104
- "method": "btree",
105
- "with": {}
106
- }
107
- },
108
- "foreignKeys": {},
109
- "compositePrimaryKeys": {},
110
- "uniqueConstraints": {},
111
- "policies": {},
112
- "checkConstraints": {},
113
- "isRLSEnabled": false
114
- },
115
- "public.junior_github_pull_requests": {
116
- "name": "junior_github_pull_requests",
117
- "schema": "",
118
- "columns": {
119
- "pull_request_id": {
120
- "name": "pull_request_id",
121
- "type": "text",
122
- "primaryKey": true,
123
- "notNull": true
124
- },
125
- "repository_id": {
126
- "name": "repository_id",
127
- "type": "text",
128
- "primaryKey": false,
129
- "notNull": true
130
- },
131
- "repository_full_name": {
132
- "name": "repository_full_name",
133
- "type": "text",
134
- "primaryKey": false,
135
- "notNull": true
136
- },
137
- "number": {
138
- "name": "number",
139
- "type": "integer",
140
- "primaryKey": false,
141
- "notNull": true
142
- },
143
- "state": {
144
- "name": "state",
145
- "type": "text",
146
- "primaryKey": false,
147
- "notNull": true
148
- },
149
- "commit_composition": {
150
- "name": "commit_composition",
151
- "type": "text",
152
- "primaryKey": false,
153
- "notNull": false
154
- },
155
- "conversation_ids": {
156
- "name": "conversation_ids",
157
- "type": "text[]",
158
- "primaryKey": false,
159
- "notNull": true,
160
- "default": "ARRAY[]::text[]"
161
- },
162
- "opened_at": {
163
- "name": "opened_at",
164
- "type": "timestamp with time zone",
165
- "primaryKey": false,
166
- "notNull": true
167
- },
168
- "merged_at": {
169
- "name": "merged_at",
170
- "type": "timestamp with time zone",
171
- "primaryKey": false,
172
- "notNull": false
173
- },
174
- "closed_at": {
175
- "name": "closed_at",
176
- "type": "timestamp with time zone",
177
- "primaryKey": false,
178
- "notNull": false
179
- },
180
- "updated_at": {
181
- "name": "updated_at",
182
- "type": "timestamp with time zone",
183
- "primaryKey": false,
184
- "notNull": true
185
- }
186
- },
187
- "indexes": {
188
- "junior_github_pull_requests_opened_at_idx": {
189
- "name": "junior_github_pull_requests_opened_at_idx",
190
- "columns": [
191
- {
192
- "expression": "opened_at",
193
- "isExpression": false,
194
- "asc": true,
195
- "nulls": "last"
196
- }
197
- ],
198
- "isUnique": false,
199
- "concurrently": false,
200
- "method": "btree",
201
- "with": {}
202
- },
203
- "junior_github_pull_requests_merged_at_idx": {
204
- "name": "junior_github_pull_requests_merged_at_idx",
205
- "columns": [
206
- {
207
- "expression": "merged_at",
208
- "isExpression": false,
209
- "asc": true,
210
- "nulls": "last"
211
- }
212
- ],
213
- "isUnique": false,
214
- "concurrently": false,
215
- "method": "btree",
216
- "with": {}
217
- },
218
- "junior_github_pull_requests_closed_at_idx": {
219
- "name": "junior_github_pull_requests_closed_at_idx",
220
- "columns": [
221
- {
222
- "expression": "closed_at",
223
- "isExpression": false,
224
- "asc": true,
225
- "nulls": "last"
226
- }
227
- ],
228
- "isUnique": false,
229
- "concurrently": false,
230
- "method": "btree",
231
- "with": {}
232
- },
233
- "junior_github_pull_requests_open_idx": {
234
- "name": "junior_github_pull_requests_open_idx",
235
- "columns": [
236
- {
237
- "expression": "pull_request_id",
238
- "isExpression": false,
239
- "asc": true,
240
- "nulls": "last"
241
- }
242
- ],
243
- "isUnique": false,
244
- "where": "\"junior_github_pull_requests\".\"state\" = 'open'",
245
- "concurrently": false,
246
- "method": "btree",
247
- "with": {}
248
- }
249
- },
250
- "foreignKeys": {},
251
- "compositePrimaryKeys": {},
252
- "uniqueConstraints": {},
253
- "policies": {},
254
- "checkConstraints": {},
255
- "isRLSEnabled": false
256
- }
257
- },
258
- "enums": {},
259
- "schemas": {},
260
- "sequences": {},
261
- "roles": {},
262
- "policies": {},
263
- "views": {},
264
- "_meta": {
265
- "columns": {},
266
- "schemas": {},
267
- "tables": {}
268
- }
269
- }