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