@volter/twin-sentry 0.1.37 → 1.0.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 (188) hide show
  1. package/README.md +21 -134
  2. package/api/spec/SOURCE.md +15 -0
  3. package/api/spec/doc-examples.json +12 -0
  4. package/api/spec/openapi.json.gz +0 -0
  5. package/api/spec/patches.json +5350 -0
  6. package/api/spec/sources.json +122 -0
  7. package/api/src/fetch.ts +18 -0
  8. package/api/src/generated/surface.gen.json +1 -0
  9. package/api/src/generated/ui.gen.json +1 -0
  10. package/api/src/index.ts +3 -0
  11. package/api/src/manifest.ts +136 -0
  12. package/api/src/semantics/api.ts +246 -0
  13. package/api/src/semantics/around.ts +36 -0
  14. package/api/src/semantics/doors.ts +50 -0
  15. package/api/src/semantics/index.ts +19 -0
  16. package/api/src/semantics/shared.ts +35 -0
  17. package/api/src/semantics/states.ts +17 -0
  18. package/dist/api/spec/SOURCE.md +15 -0
  19. package/dist/api/spec/doc-examples.json +12 -0
  20. package/dist/api/spec/openapi.json.gz +0 -0
  21. package/dist/api/spec/patches.json +5350 -0
  22. package/dist/api/spec/sources.json +122 -0
  23. package/dist/api/src/fetch.d.ts +2 -0
  24. package/dist/api/src/fetch.js +17 -0
  25. package/dist/api/src/fetch.ts +18 -0
  26. package/dist/api/src/generated/surface.gen.json +1 -0
  27. package/dist/api/src/generated/ui.gen.json +1 -0
  28. package/dist/api/src/index.d.ts +2 -0
  29. package/dist/api/src/index.js +3 -0
  30. package/dist/api/src/index.ts +3 -0
  31. package/dist/api/src/manifest.d.ts +2 -0
  32. package/dist/api/src/manifest.js +135 -0
  33. package/dist/api/src/manifest.ts +136 -0
  34. package/dist/api/src/semantics/api.d.ts +13 -0
  35. package/dist/api/src/semantics/api.js +267 -0
  36. package/dist/api/src/semantics/api.ts +246 -0
  37. package/dist/api/src/semantics/around.d.ts +2 -0
  38. package/dist/api/src/semantics/around.js +41 -0
  39. package/dist/api/src/semantics/around.ts +36 -0
  40. package/dist/api/src/semantics/doors.d.ts +8 -0
  41. package/dist/api/src/semantics/doors.js +39 -0
  42. package/dist/api/src/semantics/doors.ts +50 -0
  43. package/dist/api/src/semantics/index.d.ts +2 -0
  44. package/dist/api/src/semantics/index.js +15 -0
  45. package/dist/api/src/semantics/index.ts +19 -0
  46. package/dist/api/src/semantics/shared.d.ts +15 -0
  47. package/dist/api/src/semantics/shared.js +27 -0
  48. package/dist/api/src/semantics/shared.ts +35 -0
  49. package/dist/api/src/semantics/states.d.ts +24 -0
  50. package/dist/api/src/semantics/states.js +17 -0
  51. package/dist/api/src/semantics/states.ts +17 -0
  52. package/dist/generated/pack-facts.json +87 -0
  53. package/dist/ingest/spec/SOURCE.md +30 -0
  54. package/dist/ingest/spec/authentication.mdx.gz +0 -0
  55. package/dist/ingest/spec/compression.mdx.gz +0 -0
  56. package/dist/ingest/spec/doc-examples.json +216 -0
  57. package/dist/ingest/spec/envelope-items.mdx.gz +0 -0
  58. package/dist/ingest/spec/envelopes.mdx.gz +0 -0
  59. package/dist/ingest/spec/openapi.json +178 -0
  60. package/dist/ingest/spec/rate-limiting.mdx.gz +0 -0
  61. package/dist/ingest/spec/sources.json +25 -0
  62. package/dist/ingest/spec/transport.mdx.gz +0 -0
  63. package/dist/ingest/spec/write-spec.ts +192 -0
  64. package/dist/ingest/src/fetch.d.ts +2 -0
  65. package/dist/ingest/src/fetch.js +15 -0
  66. package/dist/ingest/src/fetch.ts +16 -0
  67. package/dist/ingest/src/generated/surface.gen.json +1 -0
  68. package/dist/ingest/src/generated/ui.gen.json +1 -0
  69. package/dist/ingest/src/index.d.ts +2 -0
  70. package/dist/ingest/src/index.js +3 -0
  71. package/dist/ingest/src/index.ts +3 -0
  72. package/dist/ingest/src/manifest.d.ts +2 -0
  73. package/dist/ingest/src/manifest.js +34 -0
  74. package/dist/ingest/src/manifest.ts +39 -0
  75. package/dist/ingest/src/semantics/api.d.ts +2 -0
  76. package/dist/ingest/src/semantics/api.js +240 -0
  77. package/dist/ingest/src/semantics/api.ts +188 -0
  78. package/dist/ingest/src/semantics/around.d.ts +2 -0
  79. package/dist/ingest/src/semantics/around.js +6 -0
  80. package/dist/ingest/src/semantics/around.ts +7 -0
  81. package/dist/ingest/src/semantics/index.d.ts +2 -0
  82. package/dist/ingest/src/semantics/index.js +4 -0
  83. package/dist/ingest/src/semantics/index.ts +8 -0
  84. package/dist/ingest/src/semantics/shared.d.ts +4 -0
  85. package/dist/ingest/src/semantics/shared.js +2 -0
  86. package/dist/ingest/src/semantics/shared.ts +7 -0
  87. package/dist/ingest/src/semantics/states.d.ts +1 -0
  88. package/dist/ingest/src/semantics/states.js +2 -0
  89. package/dist/ingest/src/semantics/states.ts +2 -0
  90. package/dist/journeys/coverage.json +205 -0
  91. package/dist/journeys/customer-life.json +923 -0
  92. package/dist/journeys/customer-life.outline.md +51 -0
  93. package/dist/journeys/decisions.json +170 -0
  94. package/dist/journeys/demand.json +136 -0
  95. package/dist/journeys/score.json +231 -0
  96. package/dist/journeys/unreachable.json +29 -0
  97. package/dist/journeys/vendor-examples.json +474 -0
  98. package/dist/spec/sources.json +76 -0
  99. package/dist/src/cli.js +12 -27
  100. package/dist/src/fetch.d.ts +2 -0
  101. package/dist/src/fetch.js +9 -0
  102. package/dist/src/index.d.ts +5 -15
  103. package/dist/src/index.js +12 -75
  104. package/dist/src/manifest.d.ts +2 -0
  105. package/dist/src/manifest.js +34 -0
  106. package/dist/src/semantics/shared.d.ts +87 -0
  107. package/dist/src/semantics/shared.js +411 -0
  108. package/dist/src/server.d.ts +7 -0
  109. package/dist/src/server.js +7 -0
  110. package/generated/pack-facts.json +87 -0
  111. package/ingest/spec/SOURCE.md +30 -0
  112. package/ingest/spec/authentication.mdx.gz +0 -0
  113. package/ingest/spec/compression.mdx.gz +0 -0
  114. package/ingest/spec/doc-examples.json +216 -0
  115. package/ingest/spec/envelope-items.mdx.gz +0 -0
  116. package/ingest/spec/envelopes.mdx.gz +0 -0
  117. package/ingest/spec/openapi.json +178 -0
  118. package/ingest/spec/rate-limiting.mdx.gz +0 -0
  119. package/ingest/spec/sources.json +25 -0
  120. package/ingest/spec/transport.mdx.gz +0 -0
  121. package/ingest/spec/write-spec.ts +192 -0
  122. package/ingest/src/fetch.ts +16 -0
  123. package/ingest/src/generated/surface.gen.json +1 -0
  124. package/ingest/src/generated/ui.gen.json +1 -0
  125. package/ingest/src/index.ts +3 -0
  126. package/ingest/src/manifest.ts +39 -0
  127. package/ingest/src/semantics/api.ts +188 -0
  128. package/ingest/src/semantics/around.ts +7 -0
  129. package/ingest/src/semantics/index.ts +8 -0
  130. package/ingest/src/semantics/shared.ts +7 -0
  131. package/ingest/src/semantics/states.ts +2 -0
  132. package/journeys/coverage.json +205 -0
  133. package/journeys/customer-life.json +923 -0
  134. package/journeys/customer-life.outline.md +51 -0
  135. package/journeys/decisions.json +170 -0
  136. package/journeys/demand.json +136 -0
  137. package/journeys/score.json +231 -0
  138. package/journeys/unreachable.json +29 -0
  139. package/journeys/vendor-examples.json +474 -0
  140. package/package.json +16 -42
  141. package/spec/sources.json +76 -0
  142. package/src/cli.ts +12 -24
  143. package/src/fetch.ts +10 -0
  144. package/src/index.ts +12 -143
  145. package/src/manifest.ts +40 -0
  146. package/src/semantics/shared.ts +443 -0
  147. package/src/server.ts +8 -0
  148. package/client/sentry-mirror.css +0 -99
  149. package/client/sentry-mirror.tsx +0 -352
  150. package/dist/client/sentry-mirror.bundle.js +0 -388
  151. package/dist/client/sentry-mirror.css +0 -99
  152. package/dist/client/sentry-mirror.d.ts +0 -17
  153. package/dist/client/sentry-mirror.js +0 -156
  154. package/dist/client/sentry-mirror.tsx +0 -352
  155. package/dist/src/sentry-budget.d.ts +0 -50
  156. package/dist/src/sentry-budget.js +0 -145
  157. package/dist/src/sentry-capabilities.d.ts +0 -3
  158. package/dist/src/sentry-capabilities.js +0 -1180
  159. package/dist/src/sentry-conformance.d.ts +0 -22
  160. package/dist/src/sentry-conformance.js +0 -97
  161. package/dist/src/sentry-connector.d.ts +0 -77
  162. package/dist/src/sentry-connector.js +0 -226
  163. package/dist/src/sentry-events.d.ts +0 -54
  164. package/dist/src/sentry-events.js +0 -132
  165. package/dist/src/sentry-ingest.d.ts +0 -137
  166. package/dist/src/sentry-ingest.js +0 -387
  167. package/dist/src/sentry-mirror-ui.d.ts +0 -38
  168. package/dist/src/sentry-mirror-ui.js +0 -162
  169. package/dist/src/sentry-perform-harness.d.ts +0 -9
  170. package/dist/src/sentry-perform-harness.js +0 -20
  171. package/dist/src/sentry-server.d.ts +0 -14
  172. package/dist/src/sentry-server.js +0 -27
  173. package/dist/src/sentry-twin.d.ts +0 -17
  174. package/dist/src/sentry-twin.js +0 -1739
  175. package/dist/test-fixtures/sentry-openapi-operations.SOURCE.md +0 -24
  176. package/dist/test-fixtures/sentry-openapi-operations.json +0 -1837
  177. package/src/sentry-budget.ts +0 -171
  178. package/src/sentry-capabilities.ts +0 -1222
  179. package/src/sentry-conformance.ts +0 -110
  180. package/src/sentry-connector.ts +0 -260
  181. package/src/sentry-events.ts +0 -172
  182. package/src/sentry-ingest.ts +0 -471
  183. package/src/sentry-mirror-ui.ts +0 -162
  184. package/src/sentry-perform-harness.ts +0 -19
  185. package/src/sentry-server.ts +0 -35
  186. package/src/sentry-twin.ts +0 -1615
  187. package/test-fixtures/sentry-openapi-operations.SOURCE.md +0 -24
  188. package/test-fixtures/sentry-openapi-operations.json +0 -1837
@@ -0,0 +1,923 @@
1
+ {
2
+ "vendor": "sentry",
3
+ "author": "Contributor 93",
4
+ "about": "Harbourline runs Rallly and Twenty, uses Postiz for social channels and Cal.com for booking. Account setup uses the API after bootstrap; releases, source maps and ingestion follow the pinned application clients.",
5
+ "steps": [
6
+ {
7
+ "name": "Monday 5 January, 09:00: Harbourline puts Sentry on Rallly and Twenty",
8
+ "wait": "6300m"
9
+ },
10
+ {
11
+ "name": "Harbourline signs up: its first project rallly and CI credential",
12
+ "method": "POST",
13
+ "path": "/_twin/app-credentials",
14
+ "status": 201,
15
+ "body": {
16
+ "organization": "harbourline",
17
+ "name": "Harbourline",
18
+ "project": "rallly",
19
+ "platform": "javascript-nextjs"
20
+ },
21
+ "capture": {
22
+ "org": "org",
23
+ "ci": "auth_token",
24
+ "r_key": "text:https://([0-9a-f]{32})@",
25
+ "r_host": "text:@(o[0-9]+\\.ingest\\.us\\.sentry\\.io)",
26
+ "r_proj": "text:sentry\\.io/([0-9]+)",
27
+ "org_id": "org_id"
28
+ },
29
+ "evidence": "sentry/src/manifest.ts:credentialDoor"
30
+ },
31
+ {
32
+ "name": "Priya issues the CI token Cal reads as SENTRY_AUTH_TOKEN",
33
+ "method": "POST",
34
+ "path": "/_twin/auth-tokens",
35
+ "status": 201,
36
+ "body": {
37
+ "organization": "harbourline",
38
+ "name": "cal-build",
39
+ "kind": "org"
40
+ },
41
+ "capture": {
42
+ "cal_ci": "token"
43
+ },
44
+ "expect": [
45
+ {
46
+ "path": "token",
47
+ "contains": "sntrys_"
48
+ }
49
+ ],
50
+ "evidence": "calcom/cal.diy@54343aa685ae:apps/web/scripts/create-sentry-release.js:7"
51
+ },
52
+ {
53
+ "name": "Priya creates the twenty project through Sentry API",
54
+ "method": "POST",
55
+ "path": "https://sentry.io/api/0/organizations/harbourline/projects/",
56
+ "status": 201,
57
+ "headers": {
58
+ "authorization": "Bearer {ci}"
59
+ },
60
+ "body": {
61
+ "name": "twenty",
62
+ "slug": "twenty",
63
+ "platform": "node"
64
+ },
65
+ "capture": {
66
+ "t_proj": "id"
67
+ },
68
+ "expect": [
69
+ {
70
+ "path": "slug",
71
+ "equals": "twenty"
72
+ },
73
+ {
74
+ "path": "name",
75
+ "equals": "twenty"
76
+ },
77
+ {
78
+ "path": "platform",
79
+ "equals": "node"
80
+ }
81
+ ],
82
+ "evidence": "spec:createOrganizationProject"
83
+ },
84
+ {
85
+ "name": "She reads the twenty DSN from its client key",
86
+ "method": "GET",
87
+ "path": "https://sentry.io/api/0/projects/harbourline/twenty/keys/",
88
+ "status": 200,
89
+ "headers": {
90
+ "authorization": "Bearer {ci}"
91
+ },
92
+ "capture": {
93
+ "t_key": "0.public"
94
+ },
95
+ "expect": [
96
+ {
97
+ "path": "0.dsn.public",
98
+ "contains": "{t_key}"
99
+ },
100
+ {
101
+ "path": "0.projectId",
102
+ "equals": "{t_proj}"
103
+ }
104
+ ],
105
+ "evidence": "spec:listProjectKeys"
106
+ },
107
+ {
108
+ "name": "Priya creates the postiz project through Sentry API",
109
+ "method": "POST",
110
+ "path": "https://sentry.io/api/0/organizations/harbourline/projects/",
111
+ "status": 201,
112
+ "headers": {
113
+ "authorization": "Bearer {ci}"
114
+ },
115
+ "body": {
116
+ "name": "postiz",
117
+ "slug": "postiz",
118
+ "platform": "javascript-nextjs"
119
+ },
120
+ "capture": {
121
+ "p_proj": "id"
122
+ },
123
+ "expect": [
124
+ {
125
+ "path": "slug",
126
+ "equals": "postiz"
127
+ },
128
+ {
129
+ "path": "name",
130
+ "equals": "postiz"
131
+ },
132
+ {
133
+ "path": "platform",
134
+ "equals": "javascript-nextjs"
135
+ }
136
+ ],
137
+ "evidence": "spec:createOrganizationProject"
138
+ },
139
+ {
140
+ "name": "She reads the postiz DSN from its client key",
141
+ "method": "GET",
142
+ "path": "https://sentry.io/api/0/projects/harbourline/postiz/keys/",
143
+ "status": 200,
144
+ "headers": {
145
+ "authorization": "Bearer {ci}"
146
+ },
147
+ "capture": {
148
+ "p_key": "0.public"
149
+ },
150
+ "expect": [
151
+ {
152
+ "path": "0.dsn.public",
153
+ "contains": "{p_key}"
154
+ },
155
+ {
156
+ "path": "0.projectId",
157
+ "equals": "{p_proj}"
158
+ }
159
+ ],
160
+ "evidence": "spec:listProjectKeys"
161
+ },
162
+ {
163
+ "name": "Priya creates Harbourline Cal project through the API",
164
+ "method": "POST",
165
+ "path": "https://sentry.io/api/0/organizations/harbourline/projects/",
166
+ "status": 201,
167
+ "headers": {
168
+ "authorization": "Bearer {ci}"
169
+ },
170
+ "body": {
171
+ "name": "Cal",
172
+ "slug": "cal",
173
+ "platform": "javascript-nextjs"
174
+ },
175
+ "evidence": "spec:createOrganizationProject"
176
+ },
177
+ {
178
+ "name": "Tuesday 6 January, 10:00: Rallly's release build",
179
+ "wait": "1500m"
180
+ },
181
+ {
182
+ "name": "withSentryConfig's sentry-cli makes the release for the rallly project",
183
+ "method": "POST",
184
+ "path": "https://sentry.io/api/0/projects/harbourline/rallly/releases/",
185
+ "status": 201,
186
+ "headers": {
187
+ "authorization": "Bearer {ci}",
188
+ "user-agent": "sentry-cli/2.58.4"
189
+ },
190
+ "body": {
191
+ "version": "rallly@4.2.0",
192
+ "projects": [
193
+ "rallly"
194
+ ]
195
+ },
196
+ "expect": [
197
+ {
198
+ "path": "version",
199
+ "equals": "rallly@4.2.0"
200
+ },
201
+ {
202
+ "path": "projects.0.slug",
203
+ "equals": "rallly"
204
+ },
205
+ {
206
+ "path": "dateReleased",
207
+ "equals": null
208
+ }
209
+ ],
210
+ "evidence": "lukevella/rallly@3e63239dbdec:apps/web/next.config.ts:194",
211
+ "client": "@sentry/cli@2.58.4:src/api/mod.rs:682"
212
+ },
213
+ {
214
+ "name": "A retried build makes it again: the release as it was",
215
+ "method": "POST",
216
+ "path": "https://sentry.io/api/0/projects/harbourline/rallly/releases/",
217
+ "status": 208,
218
+ "headers": {
219
+ "authorization": "Bearer {ci}",
220
+ "user-agent": "sentry-cli/2.58.4"
221
+ },
222
+ "body": {
223
+ "version": "rallly@4.2.0",
224
+ "projects": [
225
+ "rallly"
226
+ ]
227
+ },
228
+ "evidence": "lukevella/rallly@3e63239dbdec:apps/web/next.config.ts:194",
229
+ "client": "@sentry/cli@2.58.4:src/api/mod.rs:682"
230
+ },
231
+ {
232
+ "name": "It reads the server's chunk upload options",
233
+ "method": "GET",
234
+ "path": "https://sentry.io/api/0/organizations/harbourline/chunk-upload/",
235
+ "status": 200,
236
+ "headers": {
237
+ "authorization": "Bearer {ci}",
238
+ "user-agent": "sentry-cli/2.58.4"
239
+ },
240
+ "expect": [
241
+ {
242
+ "path": "url",
243
+ "equals": "https://us.sentry.io/api/0/organizations/harbourline/chunk-upload/"
244
+ },
245
+ {
246
+ "path": "hashAlgorithm",
247
+ "equals": "sha1"
248
+ },
249
+ {
250
+ "path": "chunksPerRequest",
251
+ "equals": 64
252
+ },
253
+ {
254
+ "path": "compression",
255
+ "equals": [
256
+ "gzip"
257
+ ]
258
+ },
259
+ {
260
+ "path": "accept",
261
+ "contains": "artifact_bundles_v2"
262
+ }
263
+ ],
264
+ "evidence": "lukevella/rallly@3e63239dbdec:apps/web/next.config.ts:194",
265
+ "client": "@sentry/cli@2.58.4:src/api/mod.rs:959"
266
+ },
267
+ {
268
+ "name": "It asks to assemble the artifact bundle: its chunk is missing",
269
+ "method": "POST",
270
+ "path": "https://sentry.io/api/0/organizations/harbourline/artifactbundle/assemble/",
271
+ "status": 200,
272
+ "headers": {
273
+ "authorization": "Bearer {ci}",
274
+ "user-agent": "sentry-cli/2.58.4"
275
+ },
276
+ "body": {
277
+ "checksum": "f9e25f253c2cf41a6338da83780eeb8197159b61",
278
+ "chunks": [
279
+ "f9e25f253c2cf41a6338da83780eeb8197159b61"
280
+ ],
281
+ "projects": [
282
+ "rallly"
283
+ ],
284
+ "version": "rallly@4.2.0"
285
+ },
286
+ "expect": [
287
+ {
288
+ "path": "state",
289
+ "equals": "not_found"
290
+ },
291
+ {
292
+ "path": "missingChunks",
293
+ "equals": [
294
+ "f9e25f253c2cf41a6338da83780eeb8197159b61"
295
+ ]
296
+ }
297
+ ],
298
+ "evidence": "lukevella/rallly@3e63239dbdec:apps/web/next.config.ts:194",
299
+ "client": "@sentry/cli@2.58.4:src/api/mod.rs:1021"
300
+ },
301
+ {
302
+ "name": "It uploads the chunk, gzipped, named by its SHA-1, to the URL the options gave",
303
+ "method": "POST",
304
+ "path": "https://us.sentry.io/api/0/organizations/harbourline/chunk-upload/",
305
+ "status": 200,
306
+ "headers": {
307
+ "authorization": "Bearer {ci}",
308
+ "user-agent": "sentry-cli/2.58.4",
309
+ "content-type": "multipart/form-data; boundary=----sentrycli9f1c"
310
+ },
311
+ "bodyBase64": "LS0tLS0tc2VudHJ5Y2xpOWYxYw0KQ29udGVudC1EaXNwb3NpdGlvbjogZm9ybS1kYXRhOyBuYW1lPSJmaWxlX2d6aXAiOyBmaWxlbmFtZT0iZjllMjVmMjUzYzJjZjQxYTYzMzhkYTgzNzgwZWViODE5NzE1OWI2MSINCkNvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vb2N0ZXQtc3RyZWFtDQoNCh+LCAAAAAAAAhOlU81OwkAQ5kc9kHgS77pGIwml/AkRw4F4ImjSmHgSQpZ2C5V227RbhRCMr+AT+BTefRGfw6uzWyjQxFDjbCbd3fnm55vpKp30TjYhRDnrqs7zIUsmElz34crC1NCJxwqPnk1nSDdM4qHGDPVlWJRMmOwxzAxVVkc+HXuyi03TnAKag3zXRA30sgWYR2zqEABaBuQyiNb3bN9VCRhGBGvEFbE0MvCHkqEB7mJQ0otqmUg1vYKlqlon0qVWwlJ5UFGr2gWp6fUiOAdRLOyAS5itwM/zeX47AYGMS0KAQyJB5n5w9w8OcxBlYzy1Ru9tDFuux6BbWag29WyTFEx7eL7oAspdZWT55EhU09aacUoRDgGtW+w4Bh3e3900N+hnNiulB5/fH7DlehqnUh5jhp6gVYZNUaOSFz/b+uzCmUIzH5bXzJugXmi4tikjlHH7OvPuAt1FOQ6m2BIxYGsFbOCEWiCQQrSl/4chKZ1kKpv+/Qkt5TWZiD6oqGt0vCvX92SMFkbDRWewCtdOxZyI0tnd4y5pWF/wbaX56QchaO2RNAQAAA0KLS0tLS0tc2VudHJ5Y2xpOWYxYy0tDQo=",
312
+ "evidence": "lukevella/rallly@3e63239dbdec:apps/web/next.config.ts:194",
313
+ "client": "@sentry/cli@2.58.4:src/api/mod.rs:393"
314
+ },
315
+ {
316
+ "name": "and assembles the bundle: created",
317
+ "method": "POST",
318
+ "path": "https://sentry.io/api/0/organizations/harbourline/artifactbundle/assemble/",
319
+ "status": 200,
320
+ "headers": {
321
+ "authorization": "Bearer {ci}",
322
+ "user-agent": "sentry-cli/2.58.4"
323
+ },
324
+ "body": {
325
+ "checksum": "f9e25f253c2cf41a6338da83780eeb8197159b61",
326
+ "chunks": [
327
+ "f9e25f253c2cf41a6338da83780eeb8197159b61"
328
+ ],
329
+ "projects": [
330
+ "rallly"
331
+ ],
332
+ "version": "rallly@4.2.0"
333
+ },
334
+ "expect": [
335
+ {
336
+ "path": "state",
337
+ "equals": "created"
338
+ },
339
+ {
340
+ "path": "missingChunks",
341
+ "equals": []
342
+ }
343
+ ],
344
+ "evidence": "lukevella/rallly@3e63239dbdec:apps/web/next.config.ts:194",
345
+ "client": "@sentry/cli@2.58.4:src/api/mod.rs:1021"
346
+ },
347
+ {
348
+ "name": "polling, it is ok",
349
+ "method": "POST",
350
+ "path": "https://sentry.io/api/0/organizations/harbourline/artifactbundle/assemble/",
351
+ "status": 200,
352
+ "headers": {
353
+ "authorization": "Bearer {ci}",
354
+ "user-agent": "sentry-cli/2.58.4"
355
+ },
356
+ "body": {
357
+ "checksum": "f9e25f253c2cf41a6338da83780eeb8197159b61",
358
+ "chunks": [
359
+ "f9e25f253c2cf41a6338da83780eeb8197159b61"
360
+ ],
361
+ "projects": [
362
+ "rallly"
363
+ ],
364
+ "version": "rallly@4.2.0"
365
+ },
366
+ "expect": [
367
+ {
368
+ "path": "state",
369
+ "equals": "ok"
370
+ }
371
+ ],
372
+ "evidence": "lukevella/rallly@3e63239dbdec:apps/web/next.config.ts:194",
373
+ "client": "@sentry/cli@2.58.4:src/api/mod.rs:1021"
374
+ },
375
+ {
376
+ "name": "sentry-cli finalizes the release",
377
+ "method": "PUT",
378
+ "path": "https://sentry.io/api/0/projects/harbourline/rallly/releases/rallly@4.2.0/",
379
+ "status": 200,
380
+ "headers": {
381
+ "authorization": "Bearer {ci}",
382
+ "user-agent": "sentry-cli/2.58.4"
383
+ },
384
+ "body": {
385
+ "projects": [
386
+ "rallly"
387
+ ],
388
+ "dateReleased": "2026-01-06T10:02:00Z"
389
+ },
390
+ "expect": [
391
+ {
392
+ "path": "dateReleased",
393
+ "equals": "2026-01-06T10:02:00Z"
394
+ }
395
+ ],
396
+ "evidence": "lukevella/rallly@3e63239dbdec:apps/web/next.config.ts:194",
397
+ "client": "@sentry/cli@2.58.4:src/api/mod.rs:701"
398
+ },
399
+ {
400
+ "name": "14:30: the release is live; what Rallly reported since 14:00 arrives",
401
+ "wait": "270m"
402
+ },
403
+ {
404
+ "name": "A visitor's browser starts a session",
405
+ "method": "POST",
406
+ "path": "https://{r_host}/api/{r_proj}/envelope/",
407
+ "status": 200,
408
+ "headers": {
409
+ "x-sentry-auth": "Sentry sentry_version=7, sentry_client=sentry.javascript.nextjs/10.38.0, sentry_key={r_key}",
410
+ "content-type": "application/x-sentry-envelope"
411
+ },
412
+ "body": "{\"sent_at\":\"2026-01-06T14:00:00.000Z\"}\n{\"type\":\"session\"}\n{\"sid\":\"a3b5c7d9e1f24a6b8c0d2e4f6a8b0c1d\",\"init\":true,\"started\":\"2026-01-06T14:00:00.000Z\",\"timestamp\":\"2026-01-06T14:00:00.000Z\",\"status\":\"ok\",\"errors\":0,\"attrs\":{\"release\":\"rallly@4.2.0\",\"environment\":\"production\",\"user_agent\":\"Mozilla/5.0\"}}\n",
413
+ "expect": [
414
+ {
415
+ "header": "access-control-allow-origin",
416
+ "equals": "*"
417
+ }
418
+ ],
419
+ "evidence": "lukevella/rallly@3e63239dbdec:apps/web/instrumentation-client.ts:12",
420
+ "client": "@sentry/core@10.38.0:build/esm/client.js:504; build/esm/envelope.js:39"
421
+ },
422
+ {
423
+ "name": "The server catches an unhandled rejection: an error with its stack trace",
424
+ "method": "POST",
425
+ "path": "https://{r_host}/api/{r_proj}/envelope/",
426
+ "status": 200,
427
+ "headers": {
428
+ "x-sentry-auth": "Sentry sentry_version=7, sentry_client=sentry.javascript.nextjs/10.38.0, sentry_key={r_key}",
429
+ "content-type": "application/x-sentry-envelope"
430
+ },
431
+ "body": "{\"event_id\":\"f1e2d3c4b5a697881726354453627181\",\"sent_at\":\"2026-01-06T14:05:00.000Z\",\"sdk\":{\"name\":\"sentry.javascript.nextjs\",\"version\":\"10.38.0\"},\"trace\":{\"trace_id\":\"4c8e1f0a2b3d4e5f6a7b8c9d0e1f2a3b\",\"public_key\":\"{r_key}\"}}\n{\"type\":\"event\"}\n{\"event_id\":\"f1e2d3c4b5a697881726354453627181\",\"timestamp\":\"2026-01-06T14:05:00.000Z\",\"platform\":\"node\",\"level\":\"error\",\"release\":\"rallly@4.2.0\",\"environment\":\"production\",\"server_name\":\"rallly-web-1\",\"transaction\":\"POST /api/trpc/[trpc]\",\"exception\":{\"values\":[{\"type\":\"TypeError\",\"value\":\"Cannot read properties of null (reading 'options')\",\"mechanism\":{\"type\":\"onunhandledrejection\",\"handled\":false},\"stacktrace\":{\"frames\":[{\"filename\":\"node:internal/process/task_queues\",\"function\":\"processTicksAndRejections\",\"in_app\":false,\"lineno\":95},{\"filename\":\"app:///_next/server/app/api/trpc/[trpc]/route.js\",\"abs_path\":\"app:///_next/server/app/api/trpc/[trpc]/route.js\",\"function\":\"getPollOptions\",\"in_app\":true,\"lineno\":412,\"colno\":27,\"context_line\":\" return poll.options.map((o) => o.start);\",\"pre_context\":[\"async function getPollOptions(id) {\",\" const poll = await prisma.poll.findUnique({ where: { id } });\"],\"post_context\":[\"}\"]}]}}]},\"user\":{\"id\":\"u_1182\",\"email\":\"u_1182@harbourline.test\"},\"tags\":{\"poll\":\"pz7q\"},\"request\":{\"url\":\"https://rallly.harbourline.test/api/trpc/polls.get\",\"method\":\"POST\"},\"breadcrumbs\":{\"values\":[{\"timestamp\":1767708000,\"category\":\"http\",\"type\":\"http\",\"data\":{\"method\":\"POST\",\"url\":\"/api/trpc/polls.get\",\"status_code\":500}}]},\"contexts\":{\"runtime\":{\"name\":\"node\",\"version\":\"v22.12.0\"},\"trace\":{\"trace_id\":\"4c8e1f0a2b3d4e5f6a7b8c9d0e1f2a3b\",\"span_id\":\"8f1e2d3c4b5a6978\"}}}\n",
432
+ "expect": [
433
+ {
434
+ "path": "id",
435
+ "equals": "f1e2d3c4b5a697881726354453627181"
436
+ }
437
+ ],
438
+ "evidence": "lukevella/rallly@3e63239dbdec:apps/web/sentry.server.config.ts:9",
439
+ "client": "@sentry/core@10.38.0:build/esm/client.js:467; build/esm/envelope.js:61"
440
+ },
441
+ {
442
+ "name": "Another visitor hits it: the same stack trace, Node's transport gzipping the envelope",
443
+ "method": "POST",
444
+ "path": "https://{r_host}/api/{r_proj}/envelope/",
445
+ "status": 200,
446
+ "headers": {
447
+ "x-sentry-auth": "Sentry sentry_version=7, sentry_client=sentry.javascript.nextjs/10.38.0, sentry_key={r_key}",
448
+ "content-type": "application/x-sentry-envelope",
449
+ "content-encoding": "gzip"
450
+ },
451
+ "bodyBase64": "H4sIAAAAAAAC/6VUbW/bNhD+3l9B8EsdwJEo2bFsFS06DPvcYku/rAiEk3SKGVOkSlJOPEP/vUdJecUwYBsQOBT53N1zz72cOR5R+0LWPOcCkjKtVvUar5qNyJJtulvBuryqNnWG22bHl9wFMHgCpyLdXIrkUmyuk3WeilyISAjxZwDVB56fuYYWCRhM7Cm6gyO4ysrORxof/J0j4BGtk0YTKBHRahsJPiy5t1BhsB8PE7N1tcWkEZCWMzvIym21qwXdprAqyVfXl0pWxQFPhD/bcBj4MLwjP6cu8BgT5eHi36XsZYvOQ9v9c9KdAt8Y2xJKmxrpRlEcFQJbayx9W1QILlCxoJQ6fV5HKaW85KiP0hrdBn4576yp+8oHXYLelkQqZiknu8t7LC8TPiqlHUzQnH/98sc1i6GTsbddFX8PvzfB+0OF3YQ58yOoHh3Pvz/Jck3/fpsZjq909ytobTyzCDUjOh1aL9Ex0zDdK8UW4UHqW/bejI7d+wsybrHag5auHWs3OTe613RZK6wt3uFjVvMVzxtQDqnmpG91eCp8YyndiWQjFc7JB1VzqT1aDSomWhU6F3twh+JHjyGrJW96/SjHDLiW1cH9ouvfH8MHmNQFdN0cngolNWrD893VsHwVkkB5HMdFaNh4KgUJ3L0VObam9xiNLQ2lKzrw+/9m/YL/LfqvRqkv3VvS3vYvOK+TdMkro8I5zcKRFHrwRXgnL4yK6HurWUe+orlcUQvdYmEu2MdPzESkvfUXH0ILWyxmexKfgzvpij1SYq8JLWR9wc5kxBiZOD8GYB8Z3IOkD0t9ANEYtJG6/qYl1WhxZvd7tJizM5M1G9hAYW8ornH+ZeCB3ww3A/0teU+6hZYYh7UvUrHOQku3INXTxec92NL0NqQceZrVcYvArQuGgULohr+yH+HaIvEgBL2QAT3sve8clWkareitq+diBUcuIhHGVvd7U88zF9yWYSIq27eleztlz9sjyTZZJra0L6hM4PHW2NPMIAzzNDHzVw0egqfXkZYz6b9nRWF870hI2j75lRCTgrOuIy/b68DnxXKeV9XzIj6maZSk/2sTuw70BN42Cab1qqKFCptdtqV9PLz7CaEszPlzBgAA",
452
+ "expect": [
453
+ {
454
+ "path": "id",
455
+ "equals": "0a1b2c3d4e5f60718293a4b5c6d7e8f9"
456
+ }
457
+ ],
458
+ "evidence": "lukevella/rallly@3e63239dbdec:apps/web/sentry.server.config.ts:9",
459
+ "client": "@sentry/core@10.38.0:build/esm/client.js:467; build/esm/envelope.js:61"
460
+ },
461
+ {
462
+ "name": "A slow poll page: a transaction",
463
+ "method": "POST",
464
+ "path": "https://{r_host}/api/{r_proj}/envelope/",
465
+ "status": 200,
466
+ "headers": {
467
+ "x-sentry-auth": "Sentry sentry_version=7, sentry_client=sentry.javascript.nextjs/10.38.0, sentry_key={r_key}",
468
+ "content-type": "application/x-sentry-envelope"
469
+ },
470
+ "body": "{\"event_id\":\"7a6b5c4d3e2f10987a6b5c4d3e2f1098\",\"sent_at\":\"2026-01-06T14:30:00.000Z\"}\n{\"type\":\"transaction\"}\n{\"event_id\":\"7a6b5c4d3e2f10987a6b5c4d3e2f1098\",\"type\":\"transaction\",\"transaction\":\"/p/[urlId]\",\"start_timestamp\":1767709798.2,\"timestamp\":1767709800.9,\"release\":\"rallly@4.2.0\",\"environment\":\"production\",\"platform\":\"javascript\",\"contexts\":{\"trace\":{\"trace_id\":\"9d8c7b6a5f4e3d2c1b0a9f8e7d6c5b4a\",\"span_id\":\"1a2b3c4d5e6f7a8b\",\"op\":\"pageload\",\"status\":\"ok\"}},\"spans\":[]}\n",
471
+ "evidence": "lukevella/rallly@3e63239dbdec:apps/web/sentry.server.config.ts:9",
472
+ "client": "@sentry/core@10.38.0:build/esm/client.js:467; build/esm/envelope.js:61"
473
+ },
474
+ {
475
+ "name": "Session Replay of the visitor who hit the error: the replay event and its recording",
476
+ "method": "POST",
477
+ "path": "https://{r_host}/api/{r_proj}/envelope/",
478
+ "status": 200,
479
+ "headers": {
480
+ "x-sentry-auth": "Sentry sentry_version=7, sentry_client=sentry.javascript.nextjs/10.38.0, sentry_key={r_key}",
481
+ "content-type": "application/x-sentry-envelope"
482
+ },
483
+ "body": "{\"event_id\":\"c0ffee00c0ffee00c0ffee00c0ffee00\",\"sent_at\":\"2026-01-06T14:06:00.000Z\"}\n{\"type\":\"replay_event\"}\n{\"type\":\"replay_event\",\"replay_id\":\"c0ffee00c0ffee00c0ffee00c0ffee00\",\"segment_id\":0,\"replay_type\":\"buffer\",\"error_ids\":[\"f1e2d3c4b5a697881726354453627181\"],\"trace_ids\":[],\"urls\":[\"https://rallly.harbourline.test/p/pz7q\"],\"timestamp\":1767708360}\n{\"type\":\"replay_recording\",\"length\":36}\n{\"segment_id\":0}\n[{\"type\":4,\"d\":{}}]\n",
484
+ "evidence": "lukevella/rallly@3e63239dbdec:apps/web/instrumentation-client.ts:12",
485
+ "client": "@sentry-internal/replay@10.38.0:build/npm/esm/index.js:8039"
486
+ },
487
+ {
488
+ "name": "A Postiz user sends feedback from its configured widget",
489
+ "method": "POST",
490
+ "path": "https://{r_host}/api/{p_proj}/envelope/",
491
+ "status": 200,
492
+ "headers": {
493
+ "x-sentry-auth": "Sentry sentry_version=7, sentry_client=sentry.javascript.nextjs/10.56.0, sentry_key={p_key}",
494
+ "content-type": "application/x-sentry-envelope"
495
+ },
496
+ "body": "{\"event_id\":\"fb0000000000400080000000000000a1\",\"sent_at\":\"2026-01-06T14:08:00.000Z\",\"sdk\":{\"name\":\"sentry.javascript.nextjs\",\"version\":\"10.56.0\"}}\n{\"type\":\"feedback\"}\n{\"event_id\":\"fb0000000000400080000000000000a1\",\"timestamp\":\"2026-01-06T14:08:00.000Z\",\"level\":\"info\",\"platform\":\"javascript\",\"contexts\":{\"feedback\":{\"message\":\"The scheduling button is hard to find.\",\"contact_email\":\"u_1182@harbourline.test\",\"name\":\"Dana Ito\",\"url\":\"https://postiz.harbourline.test/launches\"}},\"user\":{\"id\":\"u_1182\",\"email\":\"u_1182@harbourline.test\",\"username\":\"Dana Ito\"},\"sdk\":{\"name\":\"sentry.javascript.nextjs\",\"version\":\"10.56.0\"},\"type\":\"feedback\"}\n",
497
+ "expect": [
498
+ {
499
+ "path": "id",
500
+ "equals": "fb0000000000400080000000000000a1"
501
+ }
502
+ ],
503
+ "evidence": "gitroomhq/postiz-app@e0a08a7d9592:apps/frontend/src/components/new-layout/sentry.feedback.component.tsx:24",
504
+ "client": "@sentry/core@10.56.0:build/esm/feedback.js:6"
505
+ },
506
+ {
507
+ "name": "Harbourline schedules a Postiz post and the service counts post_created",
508
+ "method": "POST",
509
+ "path": "https://{r_host}/api/{p_proj}/envelope/",
510
+ "status": 200,
511
+ "headers": {
512
+ "x-sentry-auth": "Sentry sentry_version=7, sentry_key={p_key}",
513
+ "content-type": "application/x-sentry-envelope"
514
+ },
515
+ "body": "{\"sent_at\":\"2026-01-06T14:30:00.000Z\",\"sdk\":{\"name\":\"sentry.javascript.nestjs\",\"version\":\"10.56.0\"}}\n{\"type\":\"trace_metric\",\"item_count\":1,\"content_type\":\"application/vnd.sentry.items.trace-metric+json\"}\n{\"items\":[{\"timestamp\":1767709800,\"trace_id\":\"abcdef0123456789abcdef0123456789\",\"name\":\"post_created\",\"type\":\"counter\",\"unit\":\"none\",\"value\":1,\"attributes\":{\"sentry.environment\":{\"value\":\"production\",\"type\":\"string\"},\"service\":{\"value\":\"backend\",\"type\":\"string\"}}}],\"version\":2}\n",
516
+ "evidence": "gitroomhq/postiz-app@e0a08a7d9592:libraries/nestjs-libraries/src/database/prisma/posts/posts.service.ts:994",
517
+ "client": "@sentry/core@10.56.0:build/esm/metrics/envelope.js:12"
518
+ },
519
+ {
520
+ "name": "The server's logs, a batch",
521
+ "method": "POST",
522
+ "path": "https://{r_host}/api/{r_proj}/envelope/",
523
+ "status": 200,
524
+ "headers": {
525
+ "x-sentry-auth": "Sentry sentry_version=7, sentry_client=sentry.javascript.nextjs/10.38.0, sentry_key={r_key}",
526
+ "content-type": "application/x-sentry-envelope"
527
+ },
528
+ "body": "{\"sent_at\":\"2026-01-06T14:10:00.000Z\"}\n{\"type\":\"log\",\"item_count\":2,\"content_type\":\"application/vnd.sentry.items.log+json\"}\n{\"items\":[{\"timestamp\":1767708540.1,\"trace_id\":\"4c8e1f0a2b3d4e5f6a7b8c9d0e1f2a3b\",\"level\":\"warn\",\"body\":\"poll pz7q has no options\",\"attributes\":{}},{\"timestamp\":1767708541.4,\"trace_id\":\"4c8e1f0a2b3d4e5f6a7b8c9d0e1f2a3b\",\"level\":\"error\",\"body\":\"getPollOptions failed\",\"attributes\":{}}]}\n",
529
+ "expect": [
530
+ {
531
+ "path": "",
532
+ "equals": {}
533
+ }
534
+ ],
535
+ "evidence": "lukevella/rallly@3e63239dbdec:apps/web/sentry.server.config.ts:9",
536
+ "client": "@sentry/core@10.38.0:build/esm/logs/envelope.js:34"
537
+ },
538
+ {
539
+ "name": "Rallly reports sampled-out transactions in its client report",
540
+ "method": "POST",
541
+ "path": "https://{r_host}/api/{r_proj}/envelope/",
542
+ "status": 200,
543
+ "headers": {
544
+ "x-sentry-auth": "Sentry sentry_version=7, sentry_client=sentry.javascript.nextjs/10.38.0, sentry_key={r_key}",
545
+ "content-type": "application/x-sentry-envelope"
546
+ },
547
+ "body": "{\"sent_at\":\"2026-01-06T14:12:00.000Z\"}\n{\"type\":\"client_report\"}\n{\"timestamp\":1767708720,\"discarded_events\":[{\"reason\":\"sample_rate\",\"category\":\"transaction\",\"quantity\":4}]}\n",
548
+ "evidence": "lukevella/rallly@3e63239dbdec:apps/web/instrumentation-client.ts:12",
549
+ "client": "@sentry/core@10.38.0:build/esm/client.js:936"
550
+ },
551
+ {
552
+ "name": "Rallly HTTP integration flushes its minute of request sessions",
553
+ "method": "POST",
554
+ "path": "https://{r_host}/api/{r_proj}/envelope/",
555
+ "status": 200,
556
+ "headers": {
557
+ "x-sentry-auth": "Sentry sentry_version=7, sentry_key={r_key}",
558
+ "content-type": "application/x-sentry-envelope"
559
+ },
560
+ "body": "{\"sent_at\":\"2026-01-06T14:30:00.000Z\"}\n{\"type\":\"sessions\"}\n{\"attrs\":{\"release\":\"rallly@4.2.0\",\"environment\":\"production\"},\"aggregates\":[{\"started\":\"2026-01-06T14:00:00.000Z\",\"exited\":2,\"errored\":1}]}\n",
561
+ "evidence": "lukevella/rallly@3e63239dbdec:apps/web/sentry.server.config.ts:9",
562
+ "client": "@sentry/node-core@10.38.0:build/esm/integrations/http/httpServerIntegration.js:224"
563
+ },
564
+ {
565
+ "name": "Wednesday 7 January, 03:00: Twenty's nightly cron",
566
+ "wait": "750m"
567
+ },
568
+ {
569
+ "name": "Twenty's cleanup job checks in, in progress, with its monitor's schedule",
570
+ "method": "POST",
571
+ "path": "https://{r_host}/api/{t_proj}/envelope/",
572
+ "status": 200,
573
+ "headers": {
574
+ "x-sentry-auth": "Sentry sentry_version=7, sentry_client=sentry.javascript.nestjs/10.73.0, sentry_key={t_key}",
575
+ "content-type": "application/x-sentry-envelope"
576
+ },
577
+ "body": "{\"sent_at\":\"2026-01-07T03:00:00.000Z\"}\n{\"type\":\"check_in\"}\n{\"check_in_id\":\"3f2e1d0c9b8a47968574635241302918\",\"monitor_slug\":\"cleanup-workspaces\",\"status\":\"in_progress\",\"environment\":\"production\",\"monitor_config\":{\"schedule\":{\"type\":\"crontab\",\"value\":\"0 3 * * *\"},\"checkin_margin\":1,\"max_runtime\":5,\"timezone\":\"UTC\"}}\n",
578
+ "evidence": "twentyhq/twenty@1d561b8c73c9:packages/twenty-server/src/engine/core-modules/cron/sentry-cron-monitor.decorator.ts:29",
579
+ "client": "@sentry/core@10.73.0:build/esm/server-runtime-client.js:69"
580
+ },
581
+ {
582
+ "name": "03:04: the job finishes",
583
+ "wait": "4m"
584
+ },
585
+ {
586
+ "name": "Twenty checks in ok with the same check-in id",
587
+ "method": "POST",
588
+ "path": "https://{r_host}/api/{t_proj}/envelope/",
589
+ "status": 200,
590
+ "headers": {
591
+ "x-sentry-auth": "Sentry sentry_version=7, sentry_client=sentry.javascript.nestjs/10.73.0, sentry_key={t_key}",
592
+ "content-type": "application/x-sentry-envelope"
593
+ },
594
+ "body": "{\"sent_at\":\"2026-01-07T03:04:00.000Z\"}\n{\"type\":\"check_in\"}\n{\"check_in_id\":\"3f2e1d0c9b8a47968574635241302918\",\"monitor_slug\":\"cleanup-workspaces\",\"status\":\"ok\",\"environment\":\"production\"}\n",
595
+ "evidence": "twentyhq/twenty@1d561b8c73c9:packages/twenty-server/src/engine/core-modules/cron/sentry-cron-monitor.decorator.ts:46",
596
+ "client": "@sentry/core@10.73.0:build/esm/server-runtime-client.js:69"
597
+ },
598
+ {
599
+ "name": "Twenty samples the nightly cleanup transaction and its CPU profile",
600
+ "method": "POST",
601
+ "path": "https://{r_host}/api/{t_proj}/envelope/",
602
+ "status": 200,
603
+ "headers": {
604
+ "x-sentry-auth": "Sentry sentry_version=7, sentry_key={t_key}",
605
+ "content-type": "application/x-sentry-envelope"
606
+ },
607
+ "body": "{\"sent_at\":\"2026-01-07T03:04:00.000Z\",\"event_id\":\"7f7f7f7f7f7f4f7f8f7f7f7f7f7f7f7f\"}\n{\"type\":\"transaction\"}\n{\"event_id\":\"7f7f7f7f7f7f4f7f8f7f7f7f7f7f7f7f\",\"type\":\"transaction\",\"transaction\":\"cleanup-workspaces\",\"start_timestamp\":1767754800,\"timestamp\":1767755040,\"platform\":\"node\",\"environment\":\"production\",\"contexts\":{\"trace\":{\"trace_id\":\"1234567890abcdef1234567890abcdef\",\"span_id\":\"1234567890abcdef\",\"op\":\"cron\"},\"profile\":{\"profile_id\":\"6f6f6f6f6f6f4f6f8f6f6f6f6f6f6f6f\"}},\"spans\":[]}\n{\"type\":\"profile\"}\n{\"event_id\":\"6f6f6f6f6f6f4f6f8f6f6f6f6f6f6f6f\",\"timestamp\":\"2026-01-07T03:00:00.000Z\",\"platform\":\"node\",\"version\":\"1\",\"release\":\"twenty@1.0.0\",\"environment\":\"production\",\"measurements\":{},\"runtime\":{\"name\":\"node\",\"version\":\"22.16.0\"},\"os\":{\"name\":\"linux\",\"version\":\"6.8.0\",\"build_number\":\"1\"},\"device\":{\"locale\":\"en_US\",\"model\":\"World\",\"manufacturer\":\"World\",\"architecture\":\"arm64\",\"is_emulator\":false},\"debug_meta\":{\"images\":[]},\"profile\":{\"samples\":[{\"stack_id\":0,\"thread_id\":\"0\",\"elapsed_since_start_ns\":\"0\"},{\"stack_id\":0,\"thread_id\":\"0\",\"elapsed_since_start_ns\":\"1000000\"}],\"stacks\":[[0]],\"frames\":[{\"function\":\"cleanupWorkspaces\",\"filename\":\"cleanup.ts\",\"lineno\":99,\"in_app\":true}],\"thread_metadata\":{\"0\":{\"name\":\"main\"}}},\"transaction\":{\"name\":\"cleanup-workspaces\",\"id\":\"7f7f7f7f7f7f4f7f8f7f7f7f7f7f7f7f\",\"trace_id\":\"1234567890abcdef1234567890abcdef\",\"active_thread_id\":\"0\"}}\n",
608
+ "evidence": "twentyhq/twenty@1d561b8c73c9:packages/twenty-server/src/instrument.ts:99",
609
+ "client": "@sentry/profiling-node@10.73.0:build/esm/index.js:586"
610
+ },
611
+ {
612
+ "name": "Twenty reports the scheduled cleanup error through its exception handler",
613
+ "method": "POST",
614
+ "path": "https://{r_host}/api/{t_proj}/envelope/",
615
+ "status": 200,
616
+ "headers": {
617
+ "x-sentry-auth": "Sentry sentry_version=7, sentry_client=sentry.javascript.nestjs/10.73.0, sentry_key={t_key}",
618
+ "content-type": "application/x-sentry-envelope"
619
+ },
620
+ "body": "{\"event_id\":\"5e5e5e5e5e5e4e5e8e5e5e5e5e5e5e5e\"}\n{\"type\":\"event\"}\n{\"event_id\":\"5e5e5e5e5e5e4e5e8e5e5e5e5e5e5e5e\",\"timestamp\":\"2026-01-07T03:02:00.000Z\",\"platform\":\"node\",\"level\":\"error\",\"environment\":\"production\",\"exception\":{\"values\":[{\"type\":\"QueryFailedError\",\"value\":\"canceling statement due to statement timeout\"}]}}\n",
621
+ "evidence": "twentyhq/twenty@1d561b8c73c9:packages/twenty-server/src/engine/core-modules/exception-handler/drivers/sentry.driver.ts:108",
622
+ "client": "@sentry/core@10.73.0:build/esm/client.js:333"
623
+ },
624
+ {
625
+ "name": "The next nightly cleanup runs on schedule",
626
+ "wait": "1436m"
627
+ },
628
+ {
629
+ "name": "Thursday 03:00, the next scheduled cleanup starts",
630
+ "method": "POST",
631
+ "path": "https://{r_host}/api/{t_proj}/envelope/",
632
+ "status": 200,
633
+ "headers": {
634
+ "x-sentry-auth": "Sentry sentry_version=7, sentry_client=sentry.javascript.nestjs/10.73.0, sentry_key={t_key}",
635
+ "content-type": "application/x-sentry-envelope"
636
+ },
637
+ "body": "{\"sent_at\":\"2026-01-08T03:00:00.000Z\"}\n{\"type\":\"check_in\"}\n{\"check_in_id\":\"3f2e1d0c9b8a47968574635241302919\",\"monitor_slug\":\"cleanup-workspaces\",\"status\":\"in_progress\",\"environment\":\"production\",\"monitor_config\":{\"schedule\":{\"type\":\"crontab\",\"value\":\"0 3 * * *\"},\"checkin_margin\":1,\"max_runtime\":5,\"timezone\":\"UTC\"}}\n",
638
+ "evidence": "twentyhq/twenty@1d561b8c73c9:packages/twenty-server/src/engine/core-modules/cron/sentry-cron-monitor.decorator.ts:29",
639
+ "client": "@sentry/core@10.73.0:build/esm/server-runtime-client.js:69"
640
+ },
641
+ {
642
+ "name": "The failing cleanup spends four minutes on its database request",
643
+ "wait": "4m"
644
+ },
645
+ {
646
+ "name": "The cleanup fails and Twenty reports its error check-in",
647
+ "method": "POST",
648
+ "path": "https://{r_host}/api/{t_proj}/envelope/",
649
+ "status": 200,
650
+ "headers": {
651
+ "x-sentry-auth": "Sentry sentry_version=7, sentry_client=sentry.javascript.nestjs/10.73.0, sentry_key={t_key}",
652
+ "content-type": "application/x-sentry-envelope"
653
+ },
654
+ "body": "{\"sent_at\":\"2026-01-08T03:04:00.000Z\"}\n{\"type\":\"check_in\"}\n{\"check_in_id\":\"3f2e1d0c9b8a47968574635241302919\",\"monitor_slug\":\"cleanup-workspaces\",\"status\":\"error\",\"environment\":\"production\"}\n",
655
+ "evidence": "twentyhq/twenty@1d561b8c73c9:packages/twenty-server/src/engine/core-modules/cron/sentry-cron-monitor.decorator.ts:54",
656
+ "client": "@sentry/core@10.73.0:build/esm/server-runtime-client.js:69"
657
+ },
658
+ {
659
+ "name": "Thursday 8 January: the applications continue reporting",
660
+ "wait": "476m"
661
+ },
662
+ {
663
+ "name": "Monday 2 February, 10:00: the next release, and commits",
664
+ "wait": "35940m"
665
+ },
666
+ {
667
+ "name": "The release build makes Cal release 54343aa685ae8f33159d2f485ec4a57bad5c574a",
668
+ "method": "POST",
669
+ "path": "https://sentry.io/api/0/projects/harbourline/cal/releases/",
670
+ "status": 201,
671
+ "headers": {
672
+ "authorization": "Bearer {cal_ci}",
673
+ "user-agent": "sentry-cli/2.58.4"
674
+ },
675
+ "body": {
676
+ "version": "54343aa685ae8f33159d2f485ec4a57bad5c574a",
677
+ "projects": [
678
+ "cal"
679
+ ]
680
+ },
681
+ "evidence": "calcom/cal.diy@54343aa685ae:apps/web/scripts/create-sentry-release.js:19",
682
+ "client": "@sentry/cli@2.58.4:src/api/mod.rs:682"
683
+ },
684
+ {
685
+ "name": "Cal release integration set-commits --auto finds no repository",
686
+ "method": "GET",
687
+ "path": "https://sentry.io/api/0/organizations/harbourline/repos/?cursor=",
688
+ "status": 200,
689
+ "headers": {
690
+ "authorization": "Bearer {cal_ci}",
691
+ "user-agent": "sentry-cli/2.58.4"
692
+ },
693
+ "expect": [
694
+ {
695
+ "path": "",
696
+ "equals": []
697
+ }
698
+ ],
699
+ "evidence": "calcom/cal.diy@54343aa685ae:apps/web/scripts/create-sentry-release.js:22",
700
+ "client": "@sentry/cli@2.58.4:src/api/mod.rs:1321"
701
+ },
702
+ {
703
+ "name": "set-commits asks for the previous release before its local git fallback",
704
+ "method": "GET",
705
+ "path": "https://sentry.io/api/0/organizations/harbourline/releases/54343aa685ae8f33159d2f485ec4a57bad5c574a/previous-with-commits/",
706
+ "status": 200,
707
+ "headers": {
708
+ "authorization": "Bearer {cal_ci}",
709
+ "user-agent": "sentry-cli/2.58.4"
710
+ },
711
+ "evidence": "calcom/cal.diy@54343aa685ae:apps/web/scripts/create-sentry-release.js:22",
712
+ "client": "@sentry/cli@2.58.4:src/api/mod.rs:858",
713
+ "expect": [
714
+ {
715
+ "path": "",
716
+ "equals": {}
717
+ }
718
+ ]
719
+ },
720
+ {
721
+ "name": "set-commits attaches the Cal release local git commits",
722
+ "method": "PUT",
723
+ "path": "https://sentry.io/api/0/organizations/harbourline/releases/54343aa685ae8f33159d2f485ec4a57bad5c574a/",
724
+ "status": 200,
725
+ "headers": {
726
+ "authorization": "Bearer {cal_ci}",
727
+ "user-agent": "sentry-cli/2.58.4"
728
+ },
729
+ "body": {
730
+ "commits": [
731
+ {
732
+ "id": "54343aa685ae8f33159d2f485ec4a57bad5c574a",
733
+ "repository": "calcom/cal.diy",
734
+ "message": "Update booking availability",
735
+ "author_name": "Priya Raman",
736
+ "author_email": "priya@harbourline.test"
737
+ }
738
+ ]
739
+ },
740
+ "expect": [
741
+ {
742
+ "path": "commitCount",
743
+ "equals": 1
744
+ },
745
+ {
746
+ "path": "lastCommit.id",
747
+ "equals": "54343aa685ae8f33159d2f485ec4a57bad5c574a"
748
+ }
749
+ ],
750
+ "evidence": "calcom/cal.diy@54343aa685ae:apps/web/scripts/create-sentry-release.js:22",
751
+ "client": "@sentry/cli@2.58.4:src/commands/releases/set_commits.rs:219"
752
+ },
753
+ {
754
+ "name": "Cal source maps: It reads the server's chunk upload options",
755
+ "method": "GET",
756
+ "path": "https://sentry.io/api/0/organizations/harbourline/chunk-upload/",
757
+ "status": 200,
758
+ "headers": {
759
+ "authorization": "Bearer {cal_ci}",
760
+ "user-agent": "sentry-cli/2.58.4"
761
+ },
762
+ "expect": [
763
+ {
764
+ "path": "url",
765
+ "equals": "https://us.sentry.io/api/0/organizations/harbourline/chunk-upload/"
766
+ },
767
+ {
768
+ "path": "hashAlgorithm",
769
+ "equals": "sha1"
770
+ },
771
+ {
772
+ "path": "chunksPerRequest",
773
+ "equals": 64
774
+ },
775
+ {
776
+ "path": "compression",
777
+ "equals": [
778
+ "gzip"
779
+ ]
780
+ },
781
+ {
782
+ "path": "accept",
783
+ "contains": "artifact_bundles_v2"
784
+ }
785
+ ],
786
+ "evidence": "calcom/cal.diy@54343aa685ae:apps/web/scripts/create-sentry-release.js:31",
787
+ "client": "@sentry/cli@2.58.4:src/api/mod.rs:959"
788
+ },
789
+ {
790
+ "name": "Cal source maps: It asks to assemble the artifact bundle: its chunk is missing",
791
+ "method": "POST",
792
+ "path": "https://sentry.io/api/0/organizations/harbourline/artifactbundle/assemble/",
793
+ "status": 200,
794
+ "headers": {
795
+ "authorization": "Bearer {cal_ci}",
796
+ "user-agent": "sentry-cli/2.58.4"
797
+ },
798
+ "body": {
799
+ "checksum": "e9080f1276d3040cca84b6a6b5191462d27801a6",
800
+ "chunks": [
801
+ "e9080f1276d3040cca84b6a6b5191462d27801a6"
802
+ ],
803
+ "projects": [
804
+ "cal"
805
+ ],
806
+ "version": "54343aa685ae8f33159d2f485ec4a57bad5c574a"
807
+ },
808
+ "expect": [
809
+ {
810
+ "path": "state",
811
+ "equals": "not_found"
812
+ },
813
+ {
814
+ "path": "missingChunks",
815
+ "equals": [
816
+ "e9080f1276d3040cca84b6a6b5191462d27801a6"
817
+ ]
818
+ }
819
+ ],
820
+ "evidence": "calcom/cal.diy@54343aa685ae:apps/web/scripts/create-sentry-release.js:31",
821
+ "client": "@sentry/cli@2.58.4:src/api/mod.rs:1021"
822
+ },
823
+ {
824
+ "name": "Cal source maps: It uploads the chunk, gzipped, named by its SHA-1, to the URL the options gave",
825
+ "method": "POST",
826
+ "path": "https://us.sentry.io/api/0/organizations/harbourline/chunk-upload/",
827
+ "status": 200,
828
+ "headers": {
829
+ "authorization": "Bearer {cal_ci}",
830
+ "user-agent": "sentry-cli/2.58.4",
831
+ "content-type": "multipart/form-data; boundary=----sentrycli9f1c"
832
+ },
833
+ "bodyBase64": "LS0tLS0tc2VudHJ5Y2xpOWYxYw0KQ29udGVudC1EaXNwb3NpdGlvbjogZm9ybS1kYXRhOyBuYW1lPSJmaWxlX2d6aXAiOyBmaWxlbmFtZT0iZTkwODBmMTI3NmQzMDQwY2NhODRiNmE2YjUxOTE0NjJkMjc4MDFhNiINCkNvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vb2N0ZXQtc3RyZWFtDQoNCh+LCAAAAAAAAhOlU81OwkAQLqAeMN64+pM1MZJQGgQRMByMJ4MmjYknIWVpp7DabhtaDIZgPHn26jv4Pj6Dr8DJ2W0EaSJgnM2ks7PfzH4z09UbqbWMIkU/aMJbexMSiiJ0C10u5cyGIMzfBR4fEZs5EJDaiBgaLg7DUAtCGjJTM3sDfh9oJnUQKhCDvkNq5GkRKkfCRx8Q5TK8hYFlBN6gbwIe9IBa0JeJLOgMuiqzEFctQ4F2jkrqsVU01ZJtU7VilQsqVItQqZi2XT6hGBxlcamPIdFVebEZj3NLeEvYStwlcso/utCIfP+gPkbR5+bRak8+AU2hO6iL+ZseDzwH8o7XPRSVk+xpWtP29ySPC6u+CgkZEBV0RX2f8e7N9WV9VnV6nuBLa7L7jqZQspSgSDAiD9ge5nFSK+bkHzUd03R22L1b6QuDIWlNveceD4GH8vBHqU0BbZKsQHLqymg03Yg+7sgZCiaXfTD+MA+9kUhmUr8/j295TijxxxIPjU9yFvqaWNa2eK5402e5CslVRqA31jcEPoXrA7/bKbH7AgebSJMKBAAADQotLS0tLS1zZW50cnljbGk5ZjFjLS0NCg==",
834
+ "evidence": "calcom/cal.diy@54343aa685ae:apps/web/scripts/create-sentry-release.js:31",
835
+ "client": "@sentry/cli@2.58.4:src/api/mod.rs:393"
836
+ },
837
+ {
838
+ "name": "Cal source maps: and assembles the bundle: created",
839
+ "method": "POST",
840
+ "path": "https://sentry.io/api/0/organizations/harbourline/artifactbundle/assemble/",
841
+ "status": 200,
842
+ "headers": {
843
+ "authorization": "Bearer {cal_ci}",
844
+ "user-agent": "sentry-cli/2.58.4"
845
+ },
846
+ "body": {
847
+ "checksum": "e9080f1276d3040cca84b6a6b5191462d27801a6",
848
+ "chunks": [
849
+ "e9080f1276d3040cca84b6a6b5191462d27801a6"
850
+ ],
851
+ "projects": [
852
+ "cal"
853
+ ],
854
+ "version": "54343aa685ae8f33159d2f485ec4a57bad5c574a"
855
+ },
856
+ "expect": [
857
+ {
858
+ "path": "state",
859
+ "equals": "created"
860
+ },
861
+ {
862
+ "path": "missingChunks",
863
+ "equals": []
864
+ }
865
+ ],
866
+ "evidence": "calcom/cal.diy@54343aa685ae:apps/web/scripts/create-sentry-release.js:31",
867
+ "client": "@sentry/cli@2.58.4:src/api/mod.rs:1021"
868
+ },
869
+ {
870
+ "name": "Cal source maps: polling, it is ok",
871
+ "method": "POST",
872
+ "path": "https://sentry.io/api/0/organizations/harbourline/artifactbundle/assemble/",
873
+ "status": 200,
874
+ "headers": {
875
+ "authorization": "Bearer {cal_ci}",
876
+ "user-agent": "sentry-cli/2.58.4"
877
+ },
878
+ "body": {
879
+ "checksum": "e9080f1276d3040cca84b6a6b5191462d27801a6",
880
+ "chunks": [
881
+ "e9080f1276d3040cca84b6a6b5191462d27801a6"
882
+ ],
883
+ "projects": [
884
+ "cal"
885
+ ],
886
+ "version": "54343aa685ae8f33159d2f485ec4a57bad5c574a"
887
+ },
888
+ "expect": [
889
+ {
890
+ "path": "state",
891
+ "equals": "ok"
892
+ }
893
+ ],
894
+ "evidence": "calcom/cal.diy@54343aa685ae:apps/web/scripts/create-sentry-release.js:31",
895
+ "client": "@sentry/cli@2.58.4:src/api/mod.rs:1021"
896
+ },
897
+ {
898
+ "name": "The release is finalized",
899
+ "method": "PUT",
900
+ "path": "https://sentry.io/api/0/projects/harbourline/cal/releases/54343aa685ae8f33159d2f485ec4a57bad5c574a/",
901
+ "status": 200,
902
+ "headers": {
903
+ "authorization": "Bearer {cal_ci}",
904
+ "user-agent": "sentry-cli/2.58.4"
905
+ },
906
+ "body": {
907
+ "projects": [
908
+ "cal"
909
+ ],
910
+ "dateReleased": "2026-02-02T10:03:00Z"
911
+ },
912
+ "expect": [
913
+ {
914
+ "path": "dateReleased",
915
+ "equals": "2026-02-02T10:03:00Z"
916
+ }
917
+ ],
918
+ "evidence": "calcom/cal.diy@54343aa685ae:apps/web/scripts/create-sentry-release.js:39",
919
+ "client": "@sentry/cli@2.58.4:src/api/mod.rs:701"
920
+ }
921
+ ],
922
+ "host": "sentry.io"
923
+ }