@testdriverai/runner 7.11.70-test → 7.11.72-test
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.
- package/lib/ably-service.js +5 -2
- package/package.json +1 -1
package/lib/ably-service.js
CHANGED
|
@@ -55,8 +55,11 @@ async function uploadToS3(apiRoot, apiKey, sandboxId, payload, label = 'screensh
|
|
|
55
55
|
const fileName = `${label}-${Date.now()}.png`;
|
|
56
56
|
|
|
57
57
|
// Get presigned upload URL from API
|
|
58
|
-
// Propagate Sentry trace context so this request
|
|
59
|
-
|
|
58
|
+
// Propagate Sentry trace context (sentry-trace + baggage) so this request
|
|
59
|
+
// appears under the active span in Sentry.
|
|
60
|
+
const traceHeaders = {
|
|
61
|
+
...(Sentry.getTraceData ? Sentry.getTraceData() : {}),
|
|
62
|
+
};
|
|
60
63
|
const uploadUrlResponse = await httpPost(apiRoot, '/api/v7/runner/upload-url', {
|
|
61
64
|
apiKey,
|
|
62
65
|
sandboxId,
|