|
| 1 | +{ |
| 2 | + "log": { |
| 3 | + "_recordingName": "Attachment API Integration Tests/Dataset with File Column/should add row with attachment column (gracefully degrades when upload endpoint unavailable)", |
| 4 | + "creator": { |
| 5 | + "comment": "persister:fs", |
| 6 | + "name": "Polly.JS", |
| 7 | + "version": "6.0.6" |
| 8 | + }, |
| 9 | + "entries": [ |
| 10 | + { |
| 11 | + "_id": "073eb84add402fb5e356cfe6736f995e", |
| 12 | + "_order": 0, |
| 13 | + "cache": {}, |
| 14 | + "request": { |
| 15 | + "bodySize": 0, |
| 16 | + "cookies": [], |
| 17 | + "headers": [ |
| 18 | + { |
| 19 | + "name": "x-traceloop-sdk-version", |
| 20 | + "value": "0.24.1" |
| 21 | + } |
| 22 | + ], |
| 23 | + "headersSize": 170, |
| 24 | + "httpVersion": "HTTP/1.1", |
| 25 | + "method": "GET", |
| 26 | + "queryString": [], |
| 27 | + "url": "https://api.traceloop.dev/v2/datasets/attachment-test-dataset" |
| 28 | + }, |
| 29 | + "response": { |
| 30 | + "bodySize": 367, |
| 31 | + "content": { |
| 32 | + "mimeType": "application/json; charset=utf-8", |
| 33 | + "size": 367, |
| 34 | + "text": "{\"id\":\"cmnvl47hx000001ws87efct3i\",\"slug\":\"attachment-test-dataset\",\"name\":\"attachment-test-dataset\",\"description\":\"Dataset for testing attachments\",\"columns\":{\"document\":{\"name\":\"document\",\"type\":\"file\"},\"name\":{\"name\":\"name\",\"type\":\"string\"}},\"total_columns\":2,\"created_at\":\"2026-04-12T09:52:03.573Z\",\"updated_at\":\"2026-04-12T09:52:04.361Z\",\"rows\":[],\"total_rows\":0}" |
| 35 | + }, |
| 36 | + "cookies": [], |
| 37 | + "headers": [ |
| 38 | + { |
| 39 | + "name": "connection", |
| 40 | + "value": "keep-alive" |
| 41 | + }, |
| 42 | + { |
| 43 | + "name": "content-length", |
| 44 | + "value": "367" |
| 45 | + }, |
| 46 | + { |
| 47 | + "name": "content-type", |
| 48 | + "value": "application/json; charset=utf-8" |
| 49 | + }, |
| 50 | + { |
| 51 | + "name": "date", |
| 52 | + "value": "Sun, 12 Apr 2026 09:52:04 GMT" |
| 53 | + }, |
| 54 | + { |
| 55 | + "name": "server", |
| 56 | + "value": "kong/3.9.1" |
| 57 | + }, |
| 58 | + { |
| 59 | + "name": "via", |
| 60 | + "value": "1.1 kong/3.9.1" |
| 61 | + }, |
| 62 | + { |
| 63 | + "name": "x-kong-proxy-latency", |
| 64 | + "value": "0" |
| 65 | + }, |
| 66 | + { |
| 67 | + "name": "x-kong-request-id", |
| 68 | + "value": "7432ca78aecd2415bbb8290ec7cd086d" |
| 69 | + }, |
| 70 | + { |
| 71 | + "name": "x-kong-upstream-latency", |
| 72 | + "value": "3" |
| 73 | + } |
| 74 | + ], |
| 75 | + "headersSize": 278, |
| 76 | + "httpVersion": "HTTP/1.1", |
| 77 | + "redirectURL": "", |
| 78 | + "status": 200, |
| 79 | + "statusText": "OK" |
| 80 | + }, |
| 81 | + "startedDateTime": "2026-04-12T09:52:04.394Z", |
| 82 | + "time": 152, |
| 83 | + "timings": { |
| 84 | + "blocked": -1, |
| 85 | + "connect": -1, |
| 86 | + "dns": -1, |
| 87 | + "receive": 0, |
| 88 | + "send": 0, |
| 89 | + "ssl": -1, |
| 90 | + "wait": 152 |
| 91 | + } |
| 92 | + }, |
| 93 | + { |
| 94 | + "_id": "5a7d004598cea909657b74b7a57290f9", |
| 95 | + "_order": 0, |
| 96 | + "cache": {}, |
| 97 | + "request": { |
| 98 | + "bodySize": 51, |
| 99 | + "cookies": [], |
| 100 | + "headers": [ |
| 101 | + { |
| 102 | + "name": "content-type", |
| 103 | + "value": "application/json" |
| 104 | + }, |
| 105 | + { |
| 106 | + "name": "x-traceloop-sdk-version", |
| 107 | + "value": "0.24.1" |
| 108 | + } |
| 109 | + ], |
| 110 | + "headersSize": 208, |
| 111 | + "httpVersion": "HTTP/1.1", |
| 112 | + "method": "POST", |
| 113 | + "postData": { |
| 114 | + "mimeType": "application/json", |
| 115 | + "params": [], |
| 116 | + "text": "{\"Rows\":[{\"name\":\"Test Document\",\"document\":null}]}" |
| 117 | + }, |
| 118 | + "queryString": [], |
| 119 | + "url": "https://api.traceloop.dev/v2/datasets/attachment-test-dataset/rows" |
| 120 | + }, |
| 121 | + "response": { |
| 122 | + "bodySize": 211, |
| 123 | + "content": { |
| 124 | + "mimeType": "application/json; charset=utf-8", |
| 125 | + "size": 211, |
| 126 | + "text": "{\"rows\":[{\"id\":\"cmnvl48cb000101wsiqo5lbgq\",\"row_index\":1,\"values\":{\"document\":null,\"name\":\"Test Document\"},\"created_at\":\"2026-04-12T09:52:04.669336973Z\",\"updated_at\":\"2026-04-12T09:52:04.669336973Z\"}],\"total\":1}" |
| 127 | + }, |
| 128 | + "cookies": [], |
| 129 | + "headers": [ |
| 130 | + { |
| 131 | + "name": "connection", |
| 132 | + "value": "keep-alive" |
| 133 | + }, |
| 134 | + { |
| 135 | + "name": "content-length", |
| 136 | + "value": "211" |
| 137 | + }, |
| 138 | + { |
| 139 | + "name": "content-type", |
| 140 | + "value": "application/json; charset=utf-8" |
| 141 | + }, |
| 142 | + { |
| 143 | + "name": "date", |
| 144 | + "value": "Sun, 12 Apr 2026 09:52:04 GMT" |
| 145 | + }, |
| 146 | + { |
| 147 | + "name": "server", |
| 148 | + "value": "kong/3.9.1" |
| 149 | + }, |
| 150 | + { |
| 151 | + "name": "via", |
| 152 | + "value": "1.1 kong/3.9.1" |
| 153 | + }, |
| 154 | + { |
| 155 | + "name": "x-kong-proxy-latency", |
| 156 | + "value": "1" |
| 157 | + }, |
| 158 | + { |
| 159 | + "name": "x-kong-request-id", |
| 160 | + "value": "692dbe4aab0489610e4bbd0c0ec4a55d" |
| 161 | + }, |
| 162 | + { |
| 163 | + "name": "x-kong-upstream-latency", |
| 164 | + "value": "7" |
| 165 | + } |
| 166 | + ], |
| 167 | + "headersSize": 278, |
| 168 | + "httpVersion": "HTTP/1.1", |
| 169 | + "redirectURL": "", |
| 170 | + "status": 201, |
| 171 | + "statusText": "Created" |
| 172 | + }, |
| 173 | + "startedDateTime": "2026-04-12T09:52:04.547Z", |
| 174 | + "time": 154, |
| 175 | + "timings": { |
| 176 | + "blocked": -1, |
| 177 | + "connect": -1, |
| 178 | + "dns": -1, |
| 179 | + "receive": 0, |
| 180 | + "send": 0, |
| 181 | + "ssl": -1, |
| 182 | + "wait": 154 |
| 183 | + } |
| 184 | + }, |
| 185 | + { |
| 186 | + "_id": "982cd5fc38678c234e7ef8f66d922030", |
| 187 | + "_order": 0, |
| 188 | + "cache": {}, |
| 189 | + "request": { |
| 190 | + "bodySize": 78, |
| 191 | + "cookies": [], |
| 192 | + "headers": [ |
| 193 | + { |
| 194 | + "name": "content-type", |
| 195 | + "value": "application/json" |
| 196 | + }, |
| 197 | + { |
| 198 | + "name": "x-traceloop-sdk-version", |
| 199 | + "value": "0.24.1" |
| 200 | + } |
| 201 | + ], |
| 202 | + "headersSize": 262, |
| 203 | + "httpVersion": "HTTP/1.1", |
| 204 | + "method": "POST", |
| 205 | + "postData": { |
| 206 | + "mimeType": "application/json", |
| 207 | + "params": [], |
| 208 | + "text": "{\"type\":\"file\",\"url\":\"https://example.com/sample.pdf\",\"metadata\":{\"pages\":10}}" |
| 209 | + }, |
| 210 | + "queryString": [], |
| 211 | + "url": "https://api.traceloop.dev/v2/datasets/attachment-test-dataset/rows/cmnvl48cb000101wsiqo5lbgq/cells/document/external-url" |
| 212 | + }, |
| 213 | + "response": { |
| 214 | + "bodySize": 18, |
| 215 | + "content": { |
| 216 | + "mimeType": "text/plain; charset=UTF-8", |
| 217 | + "size": 18, |
| 218 | + "text": "404 page not found" |
| 219 | + }, |
| 220 | + "cookies": [], |
| 221 | + "headers": [ |
| 222 | + { |
| 223 | + "name": "connection", |
| 224 | + "value": "keep-alive" |
| 225 | + }, |
| 226 | + { |
| 227 | + "name": "content-length", |
| 228 | + "value": "18" |
| 229 | + }, |
| 230 | + { |
| 231 | + "name": "content-type", |
| 232 | + "value": "text/plain; charset=UTF-8" |
| 233 | + }, |
| 234 | + { |
| 235 | + "name": "date", |
| 236 | + "value": "Sun, 12 Apr 2026 09:52:04 GMT" |
| 237 | + }, |
| 238 | + { |
| 239 | + "name": "server", |
| 240 | + "value": "kong/3.9.1" |
| 241 | + }, |
| 242 | + { |
| 243 | + "name": "via", |
| 244 | + "value": "1.1 kong/3.9.1" |
| 245 | + }, |
| 246 | + { |
| 247 | + "name": "x-kong-proxy-latency", |
| 248 | + "value": "0" |
| 249 | + }, |
| 250 | + { |
| 251 | + "name": "x-kong-request-id", |
| 252 | + "value": "40cbc301d8236e466af1045e634a371d" |
| 253 | + }, |
| 254 | + { |
| 255 | + "name": "x-kong-upstream-latency", |
| 256 | + "value": "1" |
| 257 | + } |
| 258 | + ], |
| 259 | + "headersSize": 271, |
| 260 | + "httpVersion": "HTTP/1.1", |
| 261 | + "redirectURL": "", |
| 262 | + "status": 404, |
| 263 | + "statusText": "Not Found" |
| 264 | + }, |
| 265 | + "startedDateTime": "2026-04-12T09:52:04.702Z", |
| 266 | + "time": 150, |
| 267 | + "timings": { |
| 268 | + "blocked": -1, |
| 269 | + "connect": -1, |
| 270 | + "dns": -1, |
| 271 | + "receive": 0, |
| 272 | + "send": 0, |
| 273 | + "ssl": -1, |
| 274 | + "wait": 150 |
| 275 | + } |
| 276 | + } |
| 277 | + ], |
| 278 | + "pages": [], |
| 279 | + "version": "1.2" |
| 280 | + } |
| 281 | +} |
0 commit comments