From 47f37f83a3a2450be8b616a612f6749234c8c432 Mon Sep 17 00:00:00 2001 From: Rik Nauta Date: Tue, 22 Oct 2024 22:01:37 +0200 Subject: [PATCH] Update recordings --- .github/workflows/ci.yml | 6 +- .../recording.har.yaml | 16 +- .../recording.har.yaml | 161 +- .../recording.har.yaml | 146 +- .../recording.har.yaml | 146 +- .../recording.har.yaml | 145 +- .../recording.har.yaml | 122 +- .../itworks_3150810154/recording.har.yaml | 84 +- .../brokenserver_324883723/recording.har.yaml | 84 +- .../recording.har.yaml | 126 +- .../recording.har.yaml | 94 +- .../recording.har.yaml | 94 +- .../recording.har.yaml | 185 +- .../recording.har.yaml | 185 +- .../recording.har.yaml | 140 +- .../recording.har.yaml | 150 +- .../recording.har.yaml | 1407 +++++++++++++++ .../recording.har.yaml | 1480 +++++++++++++++ .../recording.har.yaml | 508 +++++- .../recording.har.yaml | 1582 +++++++++++++++++ .../recording.har.yaml | 126 +- .../uix/itworks_3150810154/recording.har.yaml | 16 +- vscode/e2e/telemetry/at-mention.test.ts | 211 +-- ...nseRecievedEvents.dotcom.private.snap.json | 9 +- ...onseRecievedEvents.dotcom.public.snap.json | 9 +- ...ecievedEvents.enterprise.private.snap.json | 9 +- ...RecievedEvents.enterprise.public.snap.json | 9 +- vscode/e2e/utils/vscody/fixture/index.ts | 3 + .../e2e/utils/vscody/fixture/kitchensink.ts | 15 + .../legacy-polyglot-template/.gitignore | 1 + 30 files changed, 5953 insertions(+), 1316 deletions(-) create mode 100644 recordings/e2e/telemetry/at-mention/mentioneventsfirecorrectlyprivatedotcom_1473947968/recording.har.yaml create mode 100644 recordings/e2e/telemetry/at-mention/mentioneventsfirecorrectlyprivateenterprise_3930155387/recording.har.yaml rename recordings/e2e/{features/command-edit/canchangeeditranges_1294251119 => telemetry/at-mention/mentioneventsfirecorrectlypublicdotcom_3869144460}/recording.har.yaml (68%) create mode 100644 recordings/e2e/telemetry/at-mention/mentioneventsfirecorrectlypublicenterprise_3823474375/recording.har.yaml create mode 100644 vscode/test/fixtures/legacy-polyglot-template/.gitignore diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3ef97edc698..c77af271862 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -281,6 +281,7 @@ jobs: PLAYWRIGHT_JSON_OUTPUT_DIR: .test/e2e/reports/json - name: Upload HTML report uses: actions/upload-artifact@v4 + id: e2e-final-html-report with: name: e2e-html-report path: vscode/.test/e2e/reports/html @@ -289,7 +290,10 @@ jobs: uses: daun/playwright-report-summary@v3 with: report-file: vscode/.test/e2e/reports/json/report.json - job-summary: true + comment-title: "E2E Test - Summary" + report-tag: "e2e" + report-url: ${{ steps.e2e-final-html-report.outputs.artifact-url }} + custom-info: "[Pipeline Summary](${{github.server_url}}/${{github.repository}}/actions/runs/${{github.run_id}})" # TODO: Pipe telemetry to PubSub - name: Report to Services run: pnpm -C vscode exec playwright merge-reports --reporter github,@estruyf/github-actions-reporter -c .test/e2e/reports/blob .test/e2e/reports/blob diff --git a/recordings/e2e/example/showoffv2features_1772872202/recording.har.yaml b/recordings/e2e/example/showoffv2features_1772872202/recording.har.yaml index 62dafc58eb1..033dbe3c38a 100644 --- a/recordings/e2e/example/showoffv2features_1772872202/recording.har.yaml +++ b/recordings/e2e/example/showoffv2features_1772872202/recording.har.yaml @@ -52,20 +52,18 @@ log: content: mimeType: application/json size: 73 - text: "{\"data\":{\"site\":{\"productVersion\":\"296541_2024-10-22_5.8-74e3dabd\ - f9a8\"}}}" + text: "{\"data\":{\"site\":{\"productVersion\":\"296687_2024-10-22_5.8-352d60d3\ + 1a67\"}}}" cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:13 GMT + value: Tue, 22 Oct 2024 19:47:28 GMT - name: content-type value: application/json - name: content-length value: "73" - name: connection value: close - - name: retry-after - value: "469" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -87,13 +85,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1644 + headersSize: 1537 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:13.038Z - time: 253 + startedDateTime: 2024-10-22T19:47:28.108Z + time: 292 timings: blocked: -1 connect: -1 @@ -101,6 +99,6 @@ log: receive: 0 send: 0 ssl: -1 - wait: 253 + wait: 292 pages: [] version: "1.2" diff --git a/recordings/e2e/features/auth/normalauthflowdesktop_4281280328/recording.har.yaml b/recordings/e2e/features/auth/normalauthflowdesktop_4281280328/recording.har.yaml index 6c9bb6fa328..82acf63125c 100644 --- a/recordings/e2e/features/auth/normalauthflowdesktop_4281280328/recording.har.yaml +++ b/recordings/e2e/features/auth/normalauthflowdesktop_4281280328/recording.har.yaml @@ -55,15 +55,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:16 GMT + value: Tue, 22 Oct 2024 19:47:33 GMT - name: content-type value: text/plain; charset=utf-8 - name: content-length value: "277" - name: connection value: close - - name: retry-after - value: "466" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -85,13 +83,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1514 + headersSize: 1407 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:16.322Z - time: 258 + startedDateTime: 2024-10-22T19:47:32.754Z + time: 262 timings: blocked: -1 connect: -1 @@ -99,7 +97,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 258 + wait: 262 - _id: 28c346c4c160958f92e8f989a1737e5e _order: 0 cache: {} @@ -155,27 +153,25 @@ log: value: null url: https://sourcegraph.com/.api/graphql?CurrentSiteCodyLlmConfiguration response: - bodySize: 282 + bodySize: 289 content: mimeType: application/json - size: 282 + size: 289 text: "{\"data\":{\"site\":{\"codyLLMConfiguration\":{\"chatModel\":\"sourcegra\ - ph/claude-3.5-sonnet\",\"chatModelMaxTokens\":45000,\"fastChatModel\ - \":\"sourcegraph/claude-3-haiku\",\"fastChatModelMaxTokens\":7000,\ - \"completionModel\":\"sourcegraph/deepseek-coder-v2-lite-base\",\"c\ - ompletionModelMaxTokens\":2048}}}}" + ph/claude-3-5-sonnet-latest\",\"chatModelMaxTokens\":45000,\"fastCh\ + atModel\":\"sourcegraph/claude-3-haiku\",\"fastChatModelMaxTokens\"\ + :7000,\"completionModel\":\"sourcegraph/deepseek-coder-v2-lite-base\ + \",\"completionModelMaxTokens\":2048}}}}" cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:16 GMT + value: Tue, 22 Oct 2024 19:47:32 GMT - name: content-type value: application/json - name: content-length - value: "282" + value: "289" - name: connection value: close - - name: retry-after - value: "466" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -197,13 +193,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1645 + headersSize: 1538 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:15.949Z - time: 355 + startedDateTime: 2024-10-22T19:47:32.428Z + time: 266 timings: blocked: -1 connect: -1 @@ -211,7 +207,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 355 + wait: 266 - _id: a4d641ac3093a4efbffe59352b351757 _order: 0 cache: {} @@ -271,15 +267,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:16 GMT + value: Tue, 22 Oct 2024 19:47:32 GMT - name: content-type value: application/json - name: content-length value: "76" - name: connection value: close - - name: retry-after - value: "466" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -301,13 +295,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1644 + headersSize: 1537 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:15.951Z - time: 351 + startedDateTime: 2024-10-22T19:47:32.435Z + time: 362 timings: blocked: -1 connect: -1 @@ -315,7 +309,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 351 + wait: 362 - _id: 06568f66a76daea32430b82552305046 _order: 0 cache: {} @@ -375,15 +369,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:16 GMT + value: Tue, 22 Oct 2024 19:47:32 GMT - name: content-type value: application/json - name: content-length value: "69" - name: connection value: close - - name: retry-after - value: "466" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -405,13 +397,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1644 + headersSize: 1537 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:15.950Z - time: 353 + startedDateTime: 2024-10-22T19:47:32.429Z + time: 316 timings: blocked: -1 connect: -1 @@ -419,7 +411,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 353 + wait: 316 - _id: d1e9e9d8ae116eb7e71823b775d35828 _order: 0 cache: {} @@ -494,15 +486,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:15 GMT + value: Tue, 22 Oct 2024 19:47:32 GMT - name: content-type value: application/json - name: content-length value: "334" - name: connection value: close - - name: retry-after - value: "467" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -524,13 +514,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1645 + headersSize: 1538 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:15.215Z - time: 274 + startedDateTime: 2024-10-22T19:47:31.687Z + time: 362 timings: blocked: -1 connect: -1 @@ -538,7 +528,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 274 + wait: 362 - _id: 9fdf3418a505d251116e020fda591c55 _order: 0 cache: {} @@ -604,15 +594,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:16 GMT + value: Tue, 22 Oct 2024 19:47:32 GMT - name: content-type value: application/json - name: content-length value: "194" - name: connection value: close - - name: retry-after - value: "466" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -634,13 +622,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1645 + headersSize: 1538 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:15.972Z - time: 410 + startedDateTime: 2024-10-22T19:47:32.440Z + time: 403 timings: blocked: -1 connect: -1 @@ -648,7 +636,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 410 + wait: 403 - _id: df9bbe44d51a47ebe6840a3b9fba1c29 _order: 0 cache: {} @@ -696,20 +684,18 @@ log: content: mimeType: application/json size: 73 - text: "{\"data\":{\"site\":{\"productVersion\":\"296541_2024-10-22_5.8-74e3dabd\ - f9a8\"}}}" + text: "{\"data\":{\"site\":{\"productVersion\":\"296687_2024-10-22_5.8-352d60d3\ + 1a67\"}}}" cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:13 GMT + value: Tue, 22 Oct 2024 19:47:28 GMT - name: content-type value: application/json - name: content-length value: "73" - name: connection value: close - - name: retry-after - value: "469" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -731,13 +717,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1644 + headersSize: 1537 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:12.803Z - time: 255 + startedDateTime: 2024-10-22T19:47:28.051Z + time: 349 timings: blocked: -1 connect: -1 @@ -745,7 +731,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 255 + wait: 349 - _id: a4f06f44ac6627e56ffe62ff40b4aaa9 _order: 0 cache: {} @@ -798,20 +784,18 @@ log: content: mimeType: application/json size: 73 - text: "{\"data\":{\"site\":{\"productVersion\":\"296541_2024-10-22_5.8-74e3dabd\ - f9a8\"}}}" + text: "{\"data\":{\"site\":{\"productVersion\":\"296687_2024-10-22_5.8-352d60d3\ + 1a67\"}}}" cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:16 GMT + value: Tue, 22 Oct 2024 19:47:32 GMT - name: content-type value: application/json - name: content-length value: "73" - name: connection value: close - - name: retry-after - value: "466" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -833,13 +817,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1644 + headersSize: 1537 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:15.753Z - time: 221 + startedDateTime: 2024-10-22T19:47:32.270Z + time: 256 timings: blocked: -1 connect: -1 @@ -847,12 +831,12 @@ log: receive: 0 send: 0 ssl: -1 - wait: 221 - - _id: a53e8ae72e4db414a4fa0ee8762dab2f + wait: 256 + - _id: 17cdda983992f1d54910d5c8827cdb03 _order: 0 cache: {} request: - bodySize: 777 + bodySize: 795 cookies: [] headers: - name: connection @@ -862,7 +846,7 @@ log: - name: accept-encoding value: identity - name: content-length - value: "777" + value: "795" - name: accept value: "*/*" - name: user-agent @@ -897,6 +881,7 @@ log: description draft autoSubmit + mode definition { text } @@ -931,15 +916,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:17 GMT + value: Tue, 22 Oct 2024 19:58:31 GMT - name: content-type value: application/json - name: content-length value: "98" - name: connection value: close - - name: retry-after - value: "465" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -961,13 +944,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1644 + headersSize: 1537 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:17.164Z - time: 218 + startedDateTime: 2024-10-22T19:58:30.871Z + time: 349 timings: blocked: -1 connect: -1 @@ -975,7 +958,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 218 + wait: 349 - _id: 5bf27035df04d471d88a6d6cb52a0dd6 _order: 0 cache: {} @@ -1006,10 +989,10 @@ log: queryString: [] url: https://sourcegraph.com/.api/modelconfig/supported-models.json response: - bodySize: 6133 + bodySize: 6154 content: mimeType: text/plain; charset=utf-8 - size: 6133 + size: 6154 text: > { "schemaVersion": "1.0", @@ -1038,9 +1021,9 @@ log: ], "models": [ { - "modelRef": "anthropic::2023-06-01::claude-3.5-sonnet", - "displayName": "Claude 3.5 Sonnet", - "modelName": "claude-3-5-sonnet-20240620", + "modelRef": "anthropic::2024-10-22::claude-3-5-sonnet-latest", + "displayName": "Claude 3.5 Sonnet (Latest)", + "modelName": "claude-3-5-sonnet-latest", "capabilities": [ "edit", "chat", @@ -1212,7 +1195,7 @@ log: } ], "defaultModels": { - "chat": "anthropic::2023-06-01::claude-3.5-sonnet", + "chat": "anthropic::2024-10-22::claude-3-5-sonnet-latest", "fastChat": "anthropic::2023-06-01::claude-3-haiku", "codeCompletion": "fireworks::v1::deepseek-coder-v2-lite-base" } @@ -1220,15 +1203,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:16 GMT + value: Tue, 22 Oct 2024 19:47:33 GMT - name: content-type value: text/plain; charset=utf-8 - name: transfer-encoding value: chunked - name: connection value: close - - name: retry-after - value: "466" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -1250,13 +1231,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1521 + headersSize: 1414 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:16.595Z - time: 212 + startedDateTime: 2024-10-22T19:47:33.026Z + time: 380 timings: blocked: -1 connect: -1 @@ -1264,6 +1245,6 @@ log: receive: 0 send: 0 ssl: -1 - wait: 212 + wait: 380 pages: [] version: "1.2" diff --git a/recordings/e2e/features/command-edit/canbeaccepted_3826804025/recording.har.yaml b/recordings/e2e/features/command-edit/canbeaccepted_3826804025/recording.har.yaml index 49d63904953..17f8a26b9dc 100644 --- a/recordings/e2e/features/command-edit/canbeaccepted_3826804025/recording.har.yaml +++ b/recordings/e2e/features/command-edit/canbeaccepted_3826804025/recording.har.yaml @@ -55,15 +55,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:14 GMT + value: Tue, 22 Oct 2024 19:47:29 GMT - name: content-type value: text/plain; charset=utf-8 - name: content-length value: "277" - name: connection value: close - - name: retry-after - value: "468" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -85,13 +83,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1514 + headersSize: 1407 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:13.748Z - time: 216 + startedDateTime: 2024-10-22T19:47:28.786Z + time: 259 timings: blocked: -1 connect: -1 @@ -99,12 +97,12 @@ log: receive: 0 send: 0 ssl: -1 - wait: 216 - - _id: 17591342c1b60df88453705a6f62b1b2 + wait: 259 + - _id: 2e113814940c236cd4a2de4a1e7add64 _order: 0 cache: {} request: - bodySize: 1967 + bodySize: 1974 cookies: [] headers: - name: transfer-encoding @@ -114,7 +112,7 @@ log: - name: user-agent value: vscode/1.38.2 (Node.js v20.16.0) - name: traceparent - value: 00-25d85fb16f14c649b42e69fdec08566e-7b769ca21b11cb97-01 + value: 00-6e5c6803995c0d742aa0f9bb6eee3bba-adff791c6678f13d-01 - name: content-type value: application/json - name: connection @@ -185,7 +183,7 @@ log: - speaker: assistant text: - model: anthropic::2023-06-01::claude-3.5-sonnet + model: anthropic::2024-10-22::claude-3-5-sonnet-latest stopSequences: - temperature: 0.2 @@ -217,15 +215,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:19 GMT + value: Tue, 22 Oct 2024 19:47:34 GMT - name: content-type value: text/event-stream - name: transfer-encoding value: chunked - name: connection value: close - - name: retry-after - value: "465" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -247,13 +243,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1502 + headersSize: 1395 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:17.091Z - time: 1885 + startedDateTime: 2024-10-22T19:47:32.638Z + time: 2081 timings: blocked: -1 connect: -1 @@ -261,7 +257,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 1885 + wait: 2081 - _id: 28c346c4c160958f92e8f989a1737e5e _order: 0 cache: {} @@ -317,27 +313,25 @@ log: value: null url: https://sourcegraph.com/.api/graphql?CurrentSiteCodyLlmConfiguration response: - bodySize: 282 + bodySize: 289 content: mimeType: application/json - size: 282 + size: 289 text: "{\"data\":{\"site\":{\"codyLLMConfiguration\":{\"chatModel\":\"sourcegra\ - ph/claude-3.5-sonnet\",\"chatModelMaxTokens\":45000,\"fastChatModel\ - \":\"sourcegraph/claude-3-haiku\",\"fastChatModelMaxTokens\":7000,\ - \"completionModel\":\"sourcegraph/deepseek-coder-v2-lite-base\",\"c\ - ompletionModelMaxTokens\":2048}}}}" + ph/claude-3-5-sonnet-latest\",\"chatModelMaxTokens\":45000,\"fastCh\ + atModel\":\"sourcegraph/claude-3-haiku\",\"fastChatModelMaxTokens\"\ + :7000,\"completionModel\":\"sourcegraph/deepseek-coder-v2-lite-base\ + \",\"completionModelMaxTokens\":2048}}}}" cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:14 GMT + value: Tue, 22 Oct 2024 19:47:28 GMT - name: content-type value: application/json - name: content-length - value: "282" + value: "289" - name: connection value: close - - name: retry-after - value: "469" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -359,13 +353,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1645 + headersSize: 1538 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:13.522Z - time: 546 + startedDateTime: 2024-10-22T19:47:28.495Z + time: 306 timings: blocked: -1 connect: -1 @@ -373,7 +367,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 546 + wait: 306 - _id: a4d641ac3093a4efbffe59352b351757 _order: 0 cache: {} @@ -433,15 +427,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:13 GMT + value: Tue, 22 Oct 2024 19:47:28 GMT - name: content-type value: application/json - name: content-length value: "76" - name: connection value: close - - name: retry-after - value: "469" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -463,13 +455,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1644 + headersSize: 1537 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:13.525Z - time: 215 + startedDateTime: 2024-10-22T19:47:28.499Z + time: 248 timings: blocked: -1 connect: -1 @@ -477,7 +469,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 215 + wait: 248 - _id: 06568f66a76daea32430b82552305046 _order: 0 cache: {} @@ -537,15 +529,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:13 GMT + value: Tue, 22 Oct 2024 19:47:28 GMT - name: content-type value: application/json - name: content-length value: "69" - name: connection value: close - - name: retry-after - value: "469" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -567,13 +557,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1644 + headersSize: 1537 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:13.523Z - time: 289 + startedDateTime: 2024-10-22T19:47:28.496Z + time: 233 timings: blocked: -1 connect: -1 @@ -581,7 +571,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 289 + wait: 233 - _id: d1e9e9d8ae116eb7e71823b775d35828 _order: 0 cache: {} @@ -656,15 +646,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:13 GMT + value: Tue, 22 Oct 2024 19:47:28 GMT - name: content-type value: application/json - name: content-length value: "334" - name: connection value: close - - name: retry-after - value: "469" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -686,13 +674,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1645 + headersSize: 1538 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:12.707Z - time: 762 + startedDateTime: 2024-10-22T19:47:28.104Z + time: 346 timings: blocked: -1 connect: -1 @@ -700,7 +688,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 762 + wait: 346 - _id: 9fdf3418a505d251116e020fda591c55 _order: 0 cache: {} @@ -766,15 +754,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:13 GMT + value: Tue, 22 Oct 2024 19:47:29 GMT - name: content-type value: application/json - name: content-length value: "194" - name: connection value: close - - name: retry-after - value: "469" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -796,13 +782,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1645 + headersSize: 1538 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:13.531Z - time: 326 + startedDateTime: 2024-10-22T19:47:28.504Z + time: 462 timings: blocked: -1 connect: -1 @@ -810,7 +796,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 326 + wait: 462 - _id: a4f06f44ac6627e56ffe62ff40b4aaa9 _order: 0 cache: {} @@ -863,20 +849,18 @@ log: content: mimeType: application/json size: 73 - text: "{\"data\":{\"site\":{\"productVersion\":\"296541_2024-10-22_5.8-74e3dabd\ - f9a8\"}}}" + text: "{\"data\":{\"site\":{\"productVersion\":\"296687_2024-10-22_5.8-352d60d3\ + 1a67\"}}}" cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:13 GMT + value: Tue, 22 Oct 2024 19:47:28 GMT - name: content-type value: application/json - name: content-length value: "73" - name: connection value: close - - name: retry-after - value: "469" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -898,13 +882,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1644 + headersSize: 1537 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:12.675Z - time: 305 + startedDateTime: 2024-10-22T19:47:28.061Z + time: 340 timings: blocked: -1 connect: -1 @@ -912,7 +896,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 305 + wait: 340 - _id: 5bf27035df04d471d88a6d6cb52a0dd6 _order: 0 cache: {} @@ -943,10 +927,10 @@ log: queryString: [] url: https://sourcegraph.com/.api/modelconfig/supported-models.json response: - bodySize: 6133 + bodySize: 6154 content: mimeType: text/plain; charset=utf-8 - size: 6133 + size: 6154 text: > { "schemaVersion": "1.0", @@ -975,9 +959,9 @@ log: ], "models": [ { - "modelRef": "anthropic::2023-06-01::claude-3.5-sonnet", - "displayName": "Claude 3.5 Sonnet", - "modelName": "claude-3-5-sonnet-20240620", + "modelRef": "anthropic::2024-10-22::claude-3-5-sonnet-latest", + "displayName": "Claude 3.5 Sonnet (Latest)", + "modelName": "claude-3-5-sonnet-latest", "capabilities": [ "edit", "chat", @@ -1149,7 +1133,7 @@ log: } ], "defaultModels": { - "chat": "anthropic::2023-06-01::claude-3.5-sonnet", + "chat": "anthropic::2024-10-22::claude-3-5-sonnet-latest", "fastChat": "anthropic::2023-06-01::claude-3-haiku", "codeCompletion": "fireworks::v1::deepseek-coder-v2-lite-base" } @@ -1157,15 +1141,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:14 GMT + value: Tue, 22 Oct 2024 19:47:29 GMT - name: content-type value: text/plain; charset=utf-8 - name: transfer-encoding value: chunked - name: connection value: close - - name: retry-after - value: "468" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -1187,13 +1169,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1521 + headersSize: 1414 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:13.971Z - time: 201 + startedDateTime: 2024-10-22T19:47:29.053Z + time: 259 timings: blocked: -1 connect: -1 @@ -1201,6 +1183,6 @@ log: receive: 0 send: 0 ssl: -1 - wait: 201 + wait: 259 pages: [] version: "1.2" diff --git a/recordings/e2e/features/command-edit/canberejected_500626194/recording.har.yaml b/recordings/e2e/features/command-edit/canberejected_500626194/recording.har.yaml index af614b666ce..a8266668203 100644 --- a/recordings/e2e/features/command-edit/canberejected_500626194/recording.har.yaml +++ b/recordings/e2e/features/command-edit/canberejected_500626194/recording.har.yaml @@ -55,15 +55,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:13 GMT + value: Tue, 22 Oct 2024 19:47:29 GMT - name: content-type value: text/plain; charset=utf-8 - name: content-length value: "277" - name: connection value: close - - name: retry-after - value: "469" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -85,13 +83,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1514 + headersSize: 1407 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:13.341Z - time: 214 + startedDateTime: 2024-10-22T19:47:28.748Z + time: 279 timings: blocked: -1 connect: -1 @@ -99,12 +97,12 @@ log: receive: 0 send: 0 ssl: -1 - wait: 214 - - _id: 17591342c1b60df88453705a6f62b1b2 + wait: 279 + - _id: 2e113814940c236cd4a2de4a1e7add64 _order: 0 cache: {} request: - bodySize: 1967 + bodySize: 1974 cookies: [] headers: - name: transfer-encoding @@ -114,7 +112,7 @@ log: - name: user-agent value: vscode/1.38.2 (Node.js v20.16.0) - name: traceparent - value: 00-86d63f8aaba1ce24fa9dc3af44a6042b-e53b154f7a03d9f7-01 + value: 00-33978810964f2199b79bec24b70be32d-66c539d99e2b7f03-01 - name: content-type value: application/json - name: connection @@ -185,7 +183,7 @@ log: - speaker: assistant text: - model: anthropic::2023-06-01::claude-3.5-sonnet + model: anthropic::2024-10-22::claude-3-5-sonnet-latest stopSequences: - temperature: 0.2 @@ -217,15 +215,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:19 GMT + value: Tue, 22 Oct 2024 19:47:34 GMT - name: content-type value: text/event-stream - name: transfer-encoding value: chunked - name: connection value: close - - name: retry-after - value: "466" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -247,13 +243,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1502 + headersSize: 1395 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:16.616Z - time: 2676 + startedDateTime: 2024-10-22T19:47:32.293Z + time: 1849 timings: blocked: -1 connect: -1 @@ -261,7 +257,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 2676 + wait: 1849 - _id: 28c346c4c160958f92e8f989a1737e5e _order: 0 cache: {} @@ -317,27 +313,25 @@ log: value: null url: https://sourcegraph.com/.api/graphql?CurrentSiteCodyLlmConfiguration response: - bodySize: 282 + bodySize: 289 content: mimeType: application/json - size: 282 + size: 289 text: "{\"data\":{\"site\":{\"codyLLMConfiguration\":{\"chatModel\":\"sourcegra\ - ph/claude-3.5-sonnet\",\"chatModelMaxTokens\":45000,\"fastChatModel\ - \":\"sourcegraph/claude-3-haiku\",\"fastChatModelMaxTokens\":7000,\ - \"completionModel\":\"sourcegraph/deepseek-coder-v2-lite-base\",\"c\ - ompletionModelMaxTokens\":2048}}}}" + ph/claude-3-5-sonnet-latest\",\"chatModelMaxTokens\":45000,\"fastCh\ + atModel\":\"sourcegraph/claude-3-haiku\",\"fastChatModelMaxTokens\"\ + :7000,\"completionModel\":\"sourcegraph/deepseek-coder-v2-lite-base\ + \",\"completionModelMaxTokens\":2048}}}}" cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:13 GMT + value: Tue, 22 Oct 2024 19:47:28 GMT - name: content-type value: application/json - name: content-length - value: "282" + value: "289" - name: connection value: close - - name: retry-after - value: "469" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -359,13 +353,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1645 + headersSize: 1538 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:13.117Z - time: 220 + startedDateTime: 2024-10-22T19:47:28.411Z + time: 307 timings: blocked: -1 connect: -1 @@ -373,7 +367,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 220 + wait: 307 - _id: a4d641ac3093a4efbffe59352b351757 _order: 0 cache: {} @@ -433,15 +427,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:13 GMT + value: Tue, 22 Oct 2024 19:47:28 GMT - name: content-type value: application/json - name: content-length value: "76" - name: connection value: close - - name: retry-after - value: "469" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -463,13 +455,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1644 + headersSize: 1537 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:13.120Z - time: 265 + startedDateTime: 2024-10-22T19:47:28.412Z + time: 287 timings: blocked: -1 connect: -1 @@ -477,7 +469,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 265 + wait: 287 - _id: 06568f66a76daea32430b82552305046 _order: 0 cache: {} @@ -537,15 +529,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:13 GMT + value: Tue, 22 Oct 2024 19:47:28 GMT - name: content-type value: application/json - name: content-length value: "69" - name: connection value: close - - name: retry-after - value: "469" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -567,13 +557,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1644 + headersSize: 1537 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:13.119Z - time: 207 + startedDateTime: 2024-10-22T19:47:28.412Z + time: 256 timings: blocked: -1 connect: -1 @@ -581,7 +571,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 207 + wait: 256 - _id: d1e9e9d8ae116eb7e71823b775d35828 _order: 0 cache: {} @@ -656,15 +646,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:13 GMT + value: Tue, 22 Oct 2024 19:47:28 GMT - name: content-type value: application/json - name: content-length value: "334" - name: connection value: close - - name: retry-after - value: "469" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -686,13 +674,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1645 + headersSize: 1538 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:12.745Z - time: 305 + startedDateTime: 2024-10-22T19:47:28.030Z + time: 347 timings: blocked: -1 connect: -1 @@ -700,7 +688,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 305 + wait: 347 - _id: 9fdf3418a505d251116e020fda591c55 _order: 0 cache: {} @@ -766,15 +754,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:13 GMT + value: Tue, 22 Oct 2024 19:47:28 GMT - name: content-type value: application/json - name: content-length value: "194" - name: connection value: close - - name: retry-after - value: "469" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -796,13 +782,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1645 + headersSize: 1538 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:13.130Z - time: 763 + startedDateTime: 2024-10-22T19:47:28.422Z + time: 376 timings: blocked: -1 connect: -1 @@ -810,7 +796,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 763 + wait: 376 - _id: a4f06f44ac6627e56ffe62ff40b4aaa9 _order: 0 cache: {} @@ -863,20 +849,18 @@ log: content: mimeType: application/json size: 73 - text: "{\"data\":{\"site\":{\"productVersion\":\"296541_2024-10-22_5.8-74e3dabd\ - f9a8\"}}}" + text: "{\"data\":{\"site\":{\"productVersion\":\"296687_2024-10-22_5.8-352d60d3\ + 1a67\"}}}" cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:13 GMT + value: Tue, 22 Oct 2024 19:47:28 GMT - name: content-type value: application/json - name: content-length value: "73" - name: connection value: close - - name: retry-after - value: "469" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -898,13 +882,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1644 + headersSize: 1537 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:12.705Z - time: 323 + startedDateTime: 2024-10-22T19:47:27.986Z + time: 438 timings: blocked: -1 connect: -1 @@ -912,7 +896,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 323 + wait: 438 - _id: 5bf27035df04d471d88a6d6cb52a0dd6 _order: 0 cache: {} @@ -943,10 +927,10 @@ log: queryString: [] url: https://sourcegraph.com/.api/modelconfig/supported-models.json response: - bodySize: 6133 + bodySize: 6154 content: mimeType: text/plain; charset=utf-8 - size: 6133 + size: 6154 text: > { "schemaVersion": "1.0", @@ -975,9 +959,9 @@ log: ], "models": [ { - "modelRef": "anthropic::2023-06-01::claude-3.5-sonnet", - "displayName": "Claude 3.5 Sonnet", - "modelName": "claude-3-5-sonnet-20240620", + "modelRef": "anthropic::2024-10-22::claude-3-5-sonnet-latest", + "displayName": "Claude 3.5 Sonnet (Latest)", + "modelName": "claude-3-5-sonnet-latest", "capabilities": [ "edit", "chat", @@ -1149,7 +1133,7 @@ log: } ], "defaultModels": { - "chat": "anthropic::2023-06-01::claude-3.5-sonnet", + "chat": "anthropic::2024-10-22::claude-3-5-sonnet-latest", "fastChat": "anthropic::2023-06-01::claude-3-haiku", "codeCompletion": "fireworks::v1::deepseek-coder-v2-lite-base" } @@ -1157,15 +1141,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:13 GMT + value: Tue, 22 Oct 2024 19:47:29 GMT - name: content-type value: text/plain; charset=utf-8 - name: transfer-encoding value: chunked - name: connection value: close - - name: retry-after - value: "469" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -1187,13 +1169,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1521 + headersSize: 1414 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:13.567Z - time: 218 + startedDateTime: 2024-10-22T19:47:29.037Z + time: 238 timings: blocked: -1 connect: -1 @@ -1201,6 +1183,6 @@ log: receive: 0 send: 0 ssl: -1 - wait: 218 + wait: 238 pages: [] version: "1.2" diff --git a/recordings/e2e/features/command-edit/canbestartedfromsidebar_3197948543/recording.har.yaml b/recordings/e2e/features/command-edit/canbestartedfromsidebar_3197948543/recording.har.yaml index e09cf558ac9..1f88b94eeeb 100644 --- a/recordings/e2e/features/command-edit/canbestartedfromsidebar_3197948543/recording.har.yaml +++ b/recordings/e2e/features/command-edit/canbestartedfromsidebar_3197948543/recording.har.yaml @@ -55,15 +55,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:14 GMT + value: Tue, 22 Oct 2024 19:47:29 GMT - name: content-type value: text/plain; charset=utf-8 - name: content-length value: "277" - name: connection value: close - - name: retry-after - value: "468" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -85,13 +83,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1514 + headersSize: 1407 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:13.749Z - time: 516 + startedDateTime: 2024-10-22T19:47:28.774Z + time: 229 timings: blocked: -1 connect: -1 @@ -99,7 +97,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 516 + wait: 229 - _id: 28c346c4c160958f92e8f989a1737e5e _order: 0 cache: {} @@ -155,27 +153,25 @@ log: value: null url: https://sourcegraph.com/.api/graphql?CurrentSiteCodyLlmConfiguration response: - bodySize: 282 + bodySize: 289 content: mimeType: application/json - size: 282 + size: 289 text: "{\"data\":{\"site\":{\"codyLLMConfiguration\":{\"chatModel\":\"sourcegra\ - ph/claude-3.5-sonnet\",\"chatModelMaxTokens\":45000,\"fastChatModel\ - \":\"sourcegraph/claude-3-haiku\",\"fastChatModelMaxTokens\":7000,\ - \"completionModel\":\"sourcegraph/deepseek-coder-v2-lite-base\",\"c\ - ompletionModelMaxTokens\":2048}}}}" + ph/claude-3-5-sonnet-latest\",\"chatModelMaxTokens\":45000,\"fastCh\ + atModel\":\"sourcegraph/claude-3-haiku\",\"fastChatModelMaxTokens\"\ + :7000,\"completionModel\":\"sourcegraph/deepseek-coder-v2-lite-base\ + \",\"completionModelMaxTokens\":2048}}}}" cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:13 GMT + value: Tue, 22 Oct 2024 19:47:28 GMT - name: content-type value: application/json - name: content-length - value: "282" + value: "289" - name: connection value: close - - name: retry-after - value: "469" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -197,13 +193,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1645 + headersSize: 1538 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:13.519Z - time: 221 + startedDateTime: 2024-10-22T19:47:28.469Z + time: 279 timings: blocked: -1 connect: -1 @@ -211,7 +207,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 221 + wait: 279 - _id: a4d641ac3093a4efbffe59352b351757 _order: 0 cache: {} @@ -271,15 +267,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:13 GMT + value: Tue, 22 Oct 2024 19:47:28 GMT - name: content-type value: application/json - name: content-length value: "76" - name: connection value: close - - name: retry-after - value: "469" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -301,13 +295,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1644 + headersSize: 1537 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:13.521Z - time: 220 + startedDateTime: 2024-10-22T19:47:28.471Z + time: 285 timings: blocked: -1 connect: -1 @@ -315,7 +309,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 220 + wait: 285 - _id: 06568f66a76daea32430b82552305046 _order: 0 cache: {} @@ -375,15 +369,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:13 GMT + value: Tue, 22 Oct 2024 19:47:28 GMT - name: content-type value: application/json - name: content-length value: "69" - name: connection value: close - - name: retry-after - value: "469" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -405,13 +397,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1644 + headersSize: 1537 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:13.520Z - time: 253 + startedDateTime: 2024-10-22T19:47:28.470Z + time: 396 timings: blocked: -1 connect: -1 @@ -419,7 +411,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 253 + wait: 396 - _id: d1e9e9d8ae116eb7e71823b775d35828 _order: 0 cache: {} @@ -494,15 +486,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:13 GMT + value: Tue, 22 Oct 2024 19:47:28 GMT - name: content-type value: application/json - name: content-length value: "334" - name: connection value: close - - name: retry-after - value: "469" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -524,13 +514,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1645 + headersSize: 1538 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:12.832Z - time: 637 + startedDateTime: 2024-10-22T19:47:28.121Z + time: 306 timings: blocked: -1 connect: -1 @@ -538,7 +528,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 637 + wait: 306 - _id: 9fdf3418a505d251116e020fda591c55 _order: 0 cache: {} @@ -604,15 +594,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:14 GMT + value: Tue, 22 Oct 2024 19:47:29 GMT - name: content-type value: application/json - name: content-length value: "194" - name: connection value: close - - name: retry-after - value: "469" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -634,13 +622,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1645 + headersSize: 1538 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:13.524Z - time: 768 + startedDateTime: 2024-10-22T19:47:28.475Z + time: 467 timings: blocked: -1 connect: -1 @@ -648,7 +636,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 768 + wait: 467 - _id: a4f06f44ac6627e56ffe62ff40b4aaa9 _order: 0 cache: {} @@ -701,20 +689,18 @@ log: content: mimeType: application/json size: 73 - text: "{\"data\":{\"site\":{\"productVersion\":\"296541_2024-10-22_5.8-74e3dabd\ - f9a8\"}}}" + text: "{\"data\":{\"site\":{\"productVersion\":\"296687_2024-10-22_5.8-352d60d3\ + 1a67\"}}}" cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:13 GMT + value: Tue, 22 Oct 2024 19:47:28 GMT - name: content-type value: application/json - name: content-length value: "73" - name: connection value: close - - name: retry-after - value: "469" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -736,13 +722,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1644 + headersSize: 1537 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:12.789Z - time: 579 + startedDateTime: 2024-10-22T19:47:28.090Z + time: 343 timings: blocked: -1 connect: -1 @@ -750,12 +736,12 @@ log: receive: 0 send: 0 ssl: -1 - wait: 579 - - _id: a53e8ae72e4db414a4fa0ee8762dab2f + wait: 343 + - _id: 17cdda983992f1d54910d5c8827cdb03 _order: 0 cache: {} request: - bodySize: 777 + bodySize: 795 cookies: [] headers: - name: connection @@ -765,7 +751,7 @@ log: - name: accept-encoding value: identity - name: content-length - value: "777" + value: "795" - name: accept value: "*/*" - name: user-agent @@ -800,6 +786,7 @@ log: description draft autoSubmit + mode definition { text } @@ -834,15 +821,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:19 GMT + value: Tue, 22 Oct 2024 19:47:32 GMT - name: content-type value: application/json - name: content-length value: "98" - name: connection value: close - - name: retry-after - value: "463" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -864,13 +849,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1644 + headersSize: 1537 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:18.778Z - time: 272 + startedDateTime: 2024-10-22T19:47:32.054Z + time: 244 timings: blocked: -1 connect: -1 @@ -878,7 +863,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 272 + wait: 244 - _id: 5bf27035df04d471d88a6d6cb52a0dd6 _order: 0 cache: {} @@ -909,10 +894,10 @@ log: queryString: [] url: https://sourcegraph.com/.api/modelconfig/supported-models.json response: - bodySize: 6133 + bodySize: 6154 content: mimeType: text/plain; charset=utf-8 - size: 6133 + size: 6154 text: > { "schemaVersion": "1.0", @@ -941,9 +926,9 @@ log: ], "models": [ { - "modelRef": "anthropic::2023-06-01::claude-3.5-sonnet", - "displayName": "Claude 3.5 Sonnet", - "modelName": "claude-3-5-sonnet-20240620", + "modelRef": "anthropic::2024-10-22::claude-3-5-sonnet-latest", + "displayName": "Claude 3.5 Sonnet (Latest)", + "modelName": "claude-3-5-sonnet-latest", "capabilities": [ "edit", "chat", @@ -1115,7 +1100,7 @@ log: } ], "defaultModels": { - "chat": "anthropic::2023-06-01::claude-3.5-sonnet", + "chat": "anthropic::2024-10-22::claude-3-5-sonnet-latest", "fastChat": "anthropic::2023-06-01::claude-3-haiku", "codeCompletion": "fireworks::v1::deepseek-coder-v2-lite-base" } @@ -1123,15 +1108,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:15 GMT + value: Tue, 22 Oct 2024 19:47:29 GMT - name: content-type value: text/plain; charset=utf-8 - name: transfer-encoding value: chunked - name: connection value: close - - name: retry-after - value: "468" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -1153,13 +1136,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1521 + headersSize: 1414 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:14.272Z - time: 794 + startedDateTime: 2024-10-22T19:47:29.011Z + time: 265 timings: blocked: -1 connect: -1 @@ -1167,6 +1150,6 @@ log: receive: 0 send: 0 ssl: -1 - wait: 794 + wait: 265 pages: [] version: "1.2" diff --git a/recordings/e2e/features/command-edit/canswitchmodels_740618255/recording.har.yaml b/recordings/e2e/features/command-edit/canswitchmodels_740618255/recording.har.yaml index 5b57c2de762..73cab6cf13d 100644 --- a/recordings/e2e/features/command-edit/canswitchmodels_740618255/recording.har.yaml +++ b/recordings/e2e/features/command-edit/canswitchmodels_740618255/recording.har.yaml @@ -55,15 +55,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:19 GMT + value: Tue, 22 Oct 2024 19:47:29 GMT - name: content-type value: text/plain; charset=utf-8 - name: content-length value: "277" - name: connection value: close - - name: retry-after - value: "463" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -85,13 +83,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1514 + headersSize: 1407 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:19.372Z - time: 199 + startedDateTime: 2024-10-22T19:47:29.547Z + time: 241 timings: blocked: -1 connect: -1 @@ -99,7 +97,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 199 + wait: 241 - _id: 28c346c4c160958f92e8f989a1737e5e _order: 0 cache: {} @@ -155,27 +153,25 @@ log: value: null url: https://sourcegraph.com/.api/graphql?CurrentSiteCodyLlmConfiguration response: - bodySize: 282 + bodySize: 289 content: mimeType: application/json - size: 282 + size: 289 text: "{\"data\":{\"site\":{\"codyLLMConfiguration\":{\"chatModel\":\"sourcegra\ - ph/claude-3.5-sonnet\",\"chatModelMaxTokens\":45000,\"fastChatModel\ - \":\"sourcegraph/claude-3-haiku\",\"fastChatModelMaxTokens\":7000,\ - \"completionModel\":\"sourcegraph/deepseek-coder-v2-lite-base\",\"c\ - ompletionModelMaxTokens\":2048}}}}" + ph/claude-3-5-sonnet-latest\",\"chatModelMaxTokens\":45000,\"fastCh\ + atModel\":\"sourcegraph/claude-3-haiku\",\"fastChatModelMaxTokens\"\ + :7000,\"completionModel\":\"sourcegraph/deepseek-coder-v2-lite-base\ + \",\"completionModelMaxTokens\":2048}}}}" cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:19 GMT + value: Tue, 22 Oct 2024 19:47:29 GMT - name: content-type value: application/json - name: content-length - value: "282" + value: "289" - name: connection value: close - - name: retry-after - value: "463" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -197,12 +193,12 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1645 + headersSize: 1538 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:19.121Z + startedDateTime: 2024-10-22T19:47:29.302Z time: 262 timings: blocked: -1 @@ -271,15 +267,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:19 GMT + value: Tue, 22 Oct 2024 19:47:29 GMT - name: content-type value: application/json - name: content-length value: "76" - name: connection value: close - - name: retry-after - value: "463" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -301,13 +295,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1644 + headersSize: 1537 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:19.123Z - time: 235 + startedDateTime: 2024-10-22T19:47:29.304Z + time: 274 timings: blocked: -1 connect: -1 @@ -315,7 +309,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 235 + wait: 274 - _id: 06568f66a76daea32430b82552305046 _order: 0 cache: {} @@ -375,15 +369,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:19 GMT + value: Tue, 22 Oct 2024 19:47:29 GMT - name: content-type value: application/json - name: content-length value: "69" - name: connection value: close - - name: retry-after - value: "463" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -405,13 +397,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1644 + headersSize: 1537 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:19.122Z - time: 223 + startedDateTime: 2024-10-22T19:47:29.303Z + time: 272 timings: blocked: -1 connect: -1 @@ -419,7 +411,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 223 + wait: 272 - _id: d1e9e9d8ae116eb7e71823b775d35828 _order: 0 cache: {} @@ -494,15 +486,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:19 GMT + value: Tue, 22 Oct 2024 19:47:29 GMT - name: content-type value: application/json - name: content-length value: "334" - name: connection value: close - - name: retry-after - value: "463" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -524,13 +514,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1645 + headersSize: 1538 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:18.869Z - time: 214 + startedDateTime: 2024-10-22T19:47:28.947Z + time: 323 timings: blocked: -1 connect: -1 @@ -538,7 +528,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 214 + wait: 323 - _id: 9fdf3418a505d251116e020fda591c55 _order: 0 cache: {} @@ -604,15 +594,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:19 GMT + value: Tue, 22 Oct 2024 19:47:29 GMT - name: content-type value: application/json - name: content-length value: "194" - name: connection value: close - - name: retry-after - value: "463" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -634,13 +622,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1645 + headersSize: 1538 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:19.133Z - time: 327 + startedDateTime: 2024-10-22T19:47:29.310Z + time: 379 timings: blocked: -1 connect: -1 @@ -648,7 +636,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 327 + wait: 379 - _id: a4f06f44ac6627e56ffe62ff40b4aaa9 _order: 0 cache: {} @@ -701,20 +689,18 @@ log: content: mimeType: application/json size: 73 - text: "{\"data\":{\"site\":{\"productVersion\":\"296541_2024-10-22_5.8-74e3dabd\ - f9a8\"}}}" + text: "{\"data\":{\"site\":{\"productVersion\":\"296687_2024-10-22_5.8-352d60d3\ + 1a67\"}}}" cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:19 GMT + value: Tue, 22 Oct 2024 19:47:29 GMT - name: content-type value: application/json - name: content-length value: "73" - name: connection value: close - - name: retry-after - value: "463" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -736,13 +722,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1644 + headersSize: 1537 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:18.848Z - time: 234 + startedDateTime: 2024-10-22T19:47:28.921Z + time: 354 timings: blocked: -1 connect: -1 @@ -750,7 +736,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 234 + wait: 354 - _id: 5bf27035df04d471d88a6d6cb52a0dd6 _order: 0 cache: {} @@ -781,10 +767,10 @@ log: queryString: [] url: https://sourcegraph.com/.api/modelconfig/supported-models.json response: - bodySize: 6133 + bodySize: 6154 content: mimeType: text/plain; charset=utf-8 - size: 6133 + size: 6154 text: > { "schemaVersion": "1.0", @@ -813,9 +799,9 @@ log: ], "models": [ { - "modelRef": "anthropic::2023-06-01::claude-3.5-sonnet", - "displayName": "Claude 3.5 Sonnet", - "modelName": "claude-3-5-sonnet-20240620", + "modelRef": "anthropic::2024-10-22::claude-3-5-sonnet-latest", + "displayName": "Claude 3.5 Sonnet (Latest)", + "modelName": "claude-3-5-sonnet-latest", "capabilities": [ "edit", "chat", @@ -987,7 +973,7 @@ log: } ], "defaultModels": { - "chat": "anthropic::2023-06-01::claude-3.5-sonnet", + "chat": "anthropic::2024-10-22::claude-3-5-sonnet-latest", "fastChat": "anthropic::2023-06-01::claude-3-haiku", "codeCompletion": "fireworks::v1::deepseek-coder-v2-lite-base" } @@ -995,15 +981,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:19 GMT + value: Tue, 22 Oct 2024 19:47:30 GMT - name: content-type value: text/plain; charset=utf-8 - name: transfer-encoding value: chunked - name: connection value: close - - name: retry-after - value: "463" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -1025,13 +1009,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1521 + headersSize: 1414 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:19.581Z - time: 233 + startedDateTime: 2024-10-22T19:47:29.801Z + time: 261 timings: blocked: -1 connect: -1 @@ -1039,6 +1023,6 @@ log: receive: 0 send: 0 ssl: -1 - wait: 233 + wait: 261 pages: [] version: "1.2" diff --git a/recordings/e2e/features/enterprise/cody-ignore/itworks_3150810154/recording.har.yaml b/recordings/e2e/features/enterprise/cody-ignore/itworks_3150810154/recording.har.yaml index 0d7de576325..e393ad5c39f 100644 --- a/recordings/e2e/features/enterprise/cody-ignore/itworks_3150810154/recording.har.yaml +++ b/recordings/e2e/features/enterprise/cody-ignore/itworks_3150810154/recording.har.yaml @@ -55,15 +55,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:24 GMT + value: Tue, 22 Oct 2024 19:47:35 GMT - name: content-type value: text/plain; charset=utf-8 - name: content-length value: "275" - name: connection value: close - - name: retry-after - value: "458" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -81,13 +79,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1328 + headersSize: 1221 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:24.568Z - time: 221 + startedDateTime: 2024-10-22T19:47:35.103Z + time: 253 timings: blocked: -1 connect: -1 @@ -95,7 +93,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 221 + wait: 253 - _id: fa5b795606a9596f1b7383979e00bde6 _order: 0 cache: {} @@ -163,15 +161,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:24 GMT + value: Tue, 22 Oct 2024 19:47:35 GMT - name: content-type value: application/json - name: content-length value: "282" - name: connection value: close - - name: retry-after - value: "458" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -189,13 +185,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1459 + headersSize: 1352 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:24.293Z - time: 222 + startedDateTime: 2024-10-22T19:47:34.791Z + time: 301 timings: blocked: -1 connect: -1 @@ -203,7 +199,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 222 + wait: 301 - _id: 1567a774f8955f42799016aceb946e19 _order: 0 cache: {} @@ -263,15 +259,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:24 GMT + value: Tue, 22 Oct 2024 19:47:35 GMT - name: content-type value: application/json - name: content-length value: "76" - name: connection value: close - - name: retry-after - value: "458" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -289,13 +283,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1458 + headersSize: 1351 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:24.305Z - time: 217 + startedDateTime: 2024-10-22T19:47:34.792Z + time: 399 timings: blocked: -1 connect: -1 @@ -303,7 +297,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 217 + wait: 399 - _id: cf3c3975c58a7fd1491c89c4bdda15e9 _order: 0 cache: {} @@ -363,15 +357,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:24 GMT + value: Tue, 22 Oct 2024 19:47:35 GMT - name: content-type value: application/json - name: content-length value: "69" - name: connection value: close - - name: retry-after - value: "458" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -389,13 +381,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1458 + headersSize: 1351 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:24.299Z - time: 215 + startedDateTime: 2024-10-22T19:47:34.791Z + time: 325 timings: blocked: -1 connect: -1 @@ -403,7 +395,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 215 + wait: 325 - _id: c7a96a6928009c667645b21de5a28adf _order: 0 cache: {} @@ -476,15 +468,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:24 GMT + value: Tue, 22 Oct 2024 19:47:34 GMT - name: content-type value: application/json - name: content-length value: "225" - name: connection value: close - - name: retry-after - value: "458" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -502,13 +492,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1459 + headersSize: 1352 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:24.026Z - time: 213 + startedDateTime: 2024-10-22T19:47:34.327Z + time: 309 timings: blocked: -1 connect: -1 @@ -516,7 +506,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 213 + wait: 309 - _id: 322e0aeead43ccccbd57ad162a64fde3 _order: 0 cache: {} @@ -573,15 +563,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:24 GMT + value: Tue, 22 Oct 2024 19:47:34 GMT - name: content-type value: application/json - name: content-length value: "47" - name: connection value: close - - name: retry-after - value: "458" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -599,13 +587,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1458 + headersSize: 1351 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:24.006Z - time: 217 + startedDateTime: 2024-10-22T19:47:34.289Z + time: 350 timings: blocked: -1 connect: -1 @@ -613,7 +601,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 217 + wait: 350 - _id: 49bed0d771a2067eccdc72b3a59f37ba _order: 0 cache: {} @@ -858,15 +846,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:25 GMT + value: Tue, 22 Oct 2024 19:47:35 GMT - name: content-type value: text/plain; charset=utf-8 - name: transfer-encoding value: chunked - name: connection value: close - - name: retry-after - value: "457" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -884,13 +870,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1335 + headersSize: 1228 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:24.804Z - time: 209 + startedDateTime: 2024-10-22T19:47:35.369Z + time: 272 timings: blocked: -1 connect: -1 @@ -898,6 +884,6 @@ log: receive: 0 send: 0 ssl: -1 - wait: 209 + wait: 272 pages: [] version: "1.2" diff --git a/recordings/e2e/features/enterprise/proxy/brokenserver_324883723/recording.har.yaml b/recordings/e2e/features/enterprise/proxy/brokenserver_324883723/recording.har.yaml index d862d9c6962..43e7f0768ff 100644 --- a/recordings/e2e/features/enterprise/proxy/brokenserver_324883723/recording.har.yaml +++ b/recordings/e2e/features/enterprise/proxy/brokenserver_324883723/recording.har.yaml @@ -55,15 +55,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:24 GMT + value: Tue, 22 Oct 2024 19:47:38 GMT - name: content-type value: text/plain; charset=utf-8 - name: content-length value: "275" - name: connection value: close - - name: retry-after - value: "458" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -81,13 +79,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1328 + headersSize: 1221 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:24.182Z - time: 214 + startedDateTime: 2024-10-22T19:47:38.018Z + time: 390 timings: blocked: -1 connect: -1 @@ -95,7 +93,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 214 + wait: 390 - _id: fa5b795606a9596f1b7383979e00bde6 _order: 0 cache: {} @@ -163,15 +161,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:24 GMT + value: Tue, 22 Oct 2024 19:47:38 GMT - name: content-type value: application/json - name: content-length value: "282" - name: connection value: close - - name: retry-after - value: "458" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -189,13 +185,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1459 + headersSize: 1352 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:23.954Z - time: 213 + startedDateTime: 2024-10-22T19:47:37.735Z + time: 255 timings: blocked: -1 connect: -1 @@ -203,7 +199,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 213 + wait: 255 - _id: 1567a774f8955f42799016aceb946e19 _order: 0 cache: {} @@ -263,15 +259,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:24 GMT + value: Tue, 22 Oct 2024 19:47:38 GMT - name: content-type value: application/json - name: content-length value: "76" - name: connection value: close - - name: retry-after - value: "458" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -289,13 +283,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1458 + headersSize: 1351 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:23.955Z - time: 208 + startedDateTime: 2024-10-22T19:47:37.737Z + time: 252 timings: blocked: -1 connect: -1 @@ -303,7 +297,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 208 + wait: 252 - _id: cf3c3975c58a7fd1491c89c4bdda15e9 _order: 0 cache: {} @@ -363,15 +357,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:24 GMT + value: Tue, 22 Oct 2024 19:47:38 GMT - name: content-type value: application/json - name: content-length value: "69" - name: connection value: close - - name: retry-after - value: "458" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -389,13 +381,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1458 + headersSize: 1351 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:23.954Z - time: 219 + startedDateTime: 2024-10-22T19:47:37.736Z + time: 264 timings: blocked: -1 connect: -1 @@ -403,7 +395,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 219 + wait: 264 - _id: c7a96a6928009c667645b21de5a28adf _order: 0 cache: {} @@ -476,15 +468,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:23 GMT + value: Tue, 22 Oct 2024 19:47:37 GMT - name: content-type value: application/json - name: content-length value: "225" - name: connection value: close - - name: retry-after - value: "459" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -502,13 +492,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1459 + headersSize: 1352 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:23.637Z - time: 223 + startedDateTime: 2024-10-22T19:47:37.459Z + time: 233 timings: blocked: -1 connect: -1 @@ -516,7 +506,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 223 + wait: 233 - _id: 322e0aeead43ccccbd57ad162a64fde3 _order: 0 cache: {} @@ -573,15 +563,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:24 GMT + value: Tue, 22 Oct 2024 19:47:38 GMT - name: content-type value: application/json - name: content-length value: "47" - name: connection value: close - - name: retry-after - value: "458" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -599,13 +587,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1458 + headersSize: 1351 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:23.949Z - time: 213 + startedDateTime: 2024-10-22T19:47:37.733Z + time: 246 timings: blocked: -1 connect: -1 @@ -613,7 +601,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 213 + wait: 246 - _id: 49bed0d771a2067eccdc72b3a59f37ba _order: 0 cache: {} @@ -858,15 +846,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:24 GMT + value: Tue, 22 Oct 2024 19:47:38 GMT - name: content-type value: text/plain; charset=utf-8 - name: transfer-encoding value: chunked - name: connection value: close - - name: retry-after - value: "458" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -884,13 +870,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1335 + headersSize: 1228 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:24.413Z - time: 194 + startedDateTime: 2024-10-22T19:47:38.417Z + time: 236 timings: blocked: -1 connect: -1 @@ -898,6 +884,6 @@ log: receive: 0 send: 0 ssl: -1 - wait: 194 + wait: 236 pages: [] version: "1.2" diff --git a/recordings/e2e/features/fixup-decorator/decorationsfromunappliedcodychangesappear_3404741407/recording.har.yaml b/recordings/e2e/features/fixup-decorator/decorationsfromunappliedcodychangesappear_3404741407/recording.har.yaml index 8a9fe033c59..753217d8d13 100644 --- a/recordings/e2e/features/fixup-decorator/decorationsfromunappliedcodychangesappear_3404741407/recording.har.yaml +++ b/recordings/e2e/features/fixup-decorator/decorationsfromunappliedcodychangesappear_3404741407/recording.har.yaml @@ -55,15 +55,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:24 GMT + value: Tue, 22 Oct 2024 19:47:39 GMT - name: content-type value: text/plain; charset=utf-8 - name: content-length value: "277" - name: connection value: close - - name: retry-after - value: "458" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -85,13 +83,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1514 + headersSize: 1407 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:23.941Z - time: 254 + startedDateTime: 2024-10-22T19:47:38.829Z + time: 267 timings: blocked: -1 connect: -1 @@ -99,7 +97,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 254 + wait: 267 - _id: 28c346c4c160958f92e8f989a1737e5e _order: 0 cache: {} @@ -155,27 +153,25 @@ log: value: null url: https://sourcegraph.com/.api/graphql?CurrentSiteCodyLlmConfiguration response: - bodySize: 282 + bodySize: 289 content: mimeType: application/json - size: 282 + size: 289 text: "{\"data\":{\"site\":{\"codyLLMConfiguration\":{\"chatModel\":\"sourcegra\ - ph/claude-3.5-sonnet\",\"chatModelMaxTokens\":45000,\"fastChatModel\ - \":\"sourcegraph/claude-3-haiku\",\"fastChatModelMaxTokens\":7000,\ - \"completionModel\":\"sourcegraph/deepseek-coder-v2-lite-base\",\"c\ - ompletionModelMaxTokens\":2048}}}}" + ph/claude-3-5-sonnet-latest\",\"chatModelMaxTokens\":45000,\"fastCh\ + atModel\":\"sourcegraph/claude-3-haiku\",\"fastChatModelMaxTokens\"\ + :7000,\"completionModel\":\"sourcegraph/deepseek-coder-v2-lite-base\ + \",\"completionModelMaxTokens\":2048}}}}" cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:23 GMT + value: Tue, 22 Oct 2024 19:47:38 GMT - name: content-type value: application/json - name: content-length - value: "282" + value: "289" - name: connection value: close - - name: retry-after - value: "459" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -197,13 +193,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1645 + headersSize: 1538 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:23.655Z - time: 235 + startedDateTime: 2024-10-22T19:47:38.514Z + time: 293 timings: blocked: -1 connect: -1 @@ -211,7 +207,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 235 + wait: 293 - _id: a4d641ac3093a4efbffe59352b351757 _order: 0 cache: {} @@ -271,15 +267,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:24 GMT + value: Tue, 22 Oct 2024 19:47:38 GMT - name: content-type value: application/json - name: content-length value: "76" - name: connection value: close - - name: retry-after - value: "458" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -301,13 +295,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1644 + headersSize: 1537 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:23.656Z - time: 326 + startedDateTime: 2024-10-22T19:47:38.518Z + time: 285 timings: blocked: -1 connect: -1 @@ -315,7 +309,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 326 + wait: 285 - _id: 06568f66a76daea32430b82552305046 _order: 0 cache: {} @@ -375,15 +369,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:23 GMT + value: Tue, 22 Oct 2024 19:47:38 GMT - name: content-type value: application/json - name: content-length value: "69" - name: connection value: close - - name: retry-after - value: "459" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -405,13 +397,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1644 + headersSize: 1537 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:23.655Z - time: 244 + startedDateTime: 2024-10-22T19:47:38.517Z + time: 265 timings: blocked: -1 connect: -1 @@ -419,7 +411,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 244 + wait: 265 - _id: d1e9e9d8ae116eb7e71823b775d35828 _order: 0 cache: {} @@ -494,15 +486,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:23 GMT + value: Tue, 22 Oct 2024 19:47:38 GMT - name: content-type value: application/json - name: content-length value: "334" - name: connection value: close - - name: retry-after - value: "459" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -524,13 +514,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1645 + headersSize: 1538 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:23.233Z - time: 257 + startedDateTime: 2024-10-22T19:47:38.238Z + time: 248 timings: blocked: -1 connect: -1 @@ -538,7 +528,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 257 + wait: 248 - _id: 9fdf3418a505d251116e020fda591c55 _order: 0 cache: {} @@ -604,15 +594,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:24 GMT + value: Tue, 22 Oct 2024 19:47:38 GMT - name: content-type value: application/json - name: content-length value: "194" - name: connection value: close - - name: retry-after - value: "459" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -634,13 +622,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1645 + headersSize: 1538 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:23.660Z - time: 342 + startedDateTime: 2024-10-22T19:47:38.525Z + time: 400 timings: blocked: -1 connect: -1 @@ -648,7 +636,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 342 + wait: 400 - _id: a4f06f44ac6627e56ffe62ff40b4aaa9 _order: 0 cache: {} @@ -701,20 +689,18 @@ log: content: mimeType: application/json size: 73 - text: "{\"data\":{\"site\":{\"productVersion\":\"296541_2024-10-22_5.8-74e3dabd\ - f9a8\"}}}" + text: "{\"data\":{\"site\":{\"productVersion\":\"296687_2024-10-22_5.8-352d60d3\ + 1a67\"}}}" cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:23 GMT + value: Tue, 22 Oct 2024 19:47:38 GMT - name: content-type value: application/json - name: content-length value: "73" - name: connection value: close - - name: retry-after - value: "459" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -736,13 +722,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1644 + headersSize: 1537 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:23.232Z - time: 281 + startedDateTime: 2024-10-22T19:47:38.211Z + time: 323 timings: blocked: -1 connect: -1 @@ -750,7 +736,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 281 + wait: 323 - _id: 5bf27035df04d471d88a6d6cb52a0dd6 _order: 0 cache: {} @@ -781,10 +767,10 @@ log: queryString: [] url: https://sourcegraph.com/.api/modelconfig/supported-models.json response: - bodySize: 6133 + bodySize: 6154 content: mimeType: text/plain; charset=utf-8 - size: 6133 + size: 6154 text: > { "schemaVersion": "1.0", @@ -813,9 +799,9 @@ log: ], "models": [ { - "modelRef": "anthropic::2023-06-01::claude-3.5-sonnet", - "displayName": "Claude 3.5 Sonnet", - "modelName": "claude-3-5-sonnet-20240620", + "modelRef": "anthropic::2024-10-22::claude-3-5-sonnet-latest", + "displayName": "Claude 3.5 Sonnet (Latest)", + "modelName": "claude-3-5-sonnet-latest", "capabilities": [ "edit", "chat", @@ -987,7 +973,7 @@ log: } ], "defaultModels": { - "chat": "anthropic::2023-06-01::claude-3.5-sonnet", + "chat": "anthropic::2024-10-22::claude-3-5-sonnet-latest", "fastChat": "anthropic::2023-06-01::claude-3-haiku", "codeCompletion": "fireworks::v1::deepseek-coder-v2-lite-base" } @@ -995,15 +981,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:24 GMT + value: Tue, 22 Oct 2024 19:47:39 GMT - name: content-type value: text/plain; charset=utf-8 - name: transfer-encoding value: chunked - name: connection value: close - - name: retry-after - value: "458" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -1025,13 +1009,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1521 + headersSize: 1414 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:24.203Z - time: 221 + startedDateTime: 2024-10-22T19:47:39.123Z + time: 314 timings: blocked: -1 connect: -1 @@ -1039,6 +1023,6 @@ log: receive: 0 send: 0 ssl: -1 - wait: 221 + wait: 314 pages: [] version: "1.2" diff --git a/recordings/e2e/features/support-menu/freeuserscanopensupportmenu_511729367/recording.har.yaml b/recordings/e2e/features/support-menu/freeuserscanopensupportmenu_511729367/recording.har.yaml index f8c197770a6..172d1b6a6f5 100644 --- a/recordings/e2e/features/support-menu/freeuserscanopensupportmenu_511729367/recording.har.yaml +++ b/recordings/e2e/features/support-menu/freeuserscanopensupportmenu_511729367/recording.har.yaml @@ -55,7 +55,7 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:35:18 GMT + value: Tue, 22 Oct 2024 19:47:38 GMT - name: content-type value: text/plain; charset=utf-8 - name: content-length @@ -88,8 +88,8 @@ log: redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:35:17.734Z - time: 221 + startedDateTime: 2024-10-22T19:47:37.902Z + time: 359 timings: blocked: -1 connect: -1 @@ -97,7 +97,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 221 + wait: 359 - _id: 28c346c4c160958f92e8f989a1737e5e _order: 0 cache: {} @@ -153,23 +153,23 @@ log: value: null url: https://sourcegraph.com/.api/graphql?CurrentSiteCodyLlmConfiguration response: - bodySize: 282 + bodySize: 289 content: mimeType: application/json - size: 282 + size: 289 text: "{\"data\":{\"site\":{\"codyLLMConfiguration\":{\"chatModel\":\"sourcegra\ - ph/claude-3.5-sonnet\",\"chatModelMaxTokens\":45000,\"fastChatModel\ - \":\"sourcegraph/claude-3-haiku\",\"fastChatModelMaxTokens\":7000,\ - \"completionModel\":\"sourcegraph/deepseek-coder-v2-lite-base\",\"c\ - ompletionModelMaxTokens\":2048}}}}" + ph/claude-3-5-sonnet-latest\",\"chatModelMaxTokens\":45000,\"fastCh\ + atModel\":\"sourcegraph/claude-3-haiku\",\"fastChatModelMaxTokens\"\ + :7000,\"completionModel\":\"sourcegraph/deepseek-coder-v2-lite-base\ + \",\"completionModelMaxTokens\":2048}}}}" cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:35:17 GMT + value: Tue, 22 Oct 2024 19:47:37 GMT - name: content-type value: application/json - name: content-length - value: "282" + value: "289" - name: connection value: close - name: access-control-allow-credentials @@ -198,8 +198,8 @@ log: redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:35:17.513Z - time: 344 + startedDateTime: 2024-10-22T19:47:37.601Z + time: 259 timings: blocked: -1 connect: -1 @@ -207,7 +207,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 344 + wait: 259 - _id: a4d641ac3093a4efbffe59352b351757 _order: 0 cache: {} @@ -267,7 +267,7 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:35:17 GMT + value: Tue, 22 Oct 2024 19:47:37 GMT - name: content-type value: application/json - name: content-length @@ -300,8 +300,8 @@ log: redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:35:17.515Z - time: 236 + startedDateTime: 2024-10-22T19:47:37.602Z + time: 314 timings: blocked: -1 connect: -1 @@ -309,7 +309,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 236 + wait: 314 - _id: 06568f66a76daea32430b82552305046 _order: 0 cache: {} @@ -369,7 +369,7 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:35:17 GMT + value: Tue, 22 Oct 2024 19:47:37 GMT - name: content-type value: application/json - name: content-length @@ -402,8 +402,8 @@ log: redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:35:17.514Z - time: 221 + startedDateTime: 2024-10-22T19:47:37.601Z + time: 262 timings: blocked: -1 connect: -1 @@ -411,7 +411,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 221 + wait: 262 - _id: d1e9e9d8ae116eb7e71823b775d35828 _order: 0 cache: {} @@ -486,7 +486,7 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:35:17 GMT + value: Tue, 22 Oct 2024 19:47:37 GMT - name: content-type value: application/json - name: content-length @@ -519,8 +519,8 @@ log: redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:35:17.200Z - time: 285 + startedDateTime: 2024-10-22T19:47:37.309Z + time: 248 timings: blocked: -1 connect: -1 @@ -528,7 +528,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 285 + wait: 248 - _id: 9fdf3418a505d251116e020fda591c55 _order: 0 cache: {} @@ -594,7 +594,7 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:35:18 GMT + value: Tue, 22 Oct 2024 19:47:38 GMT - name: content-type value: application/json; charset=utf-8 - name: content-length @@ -627,8 +627,8 @@ log: redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:35:17.520Z - time: 438 + startedDateTime: 2024-10-22T19:47:37.605Z + time: 343 timings: blocked: -1 connect: -1 @@ -636,7 +636,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 438 + wait: 343 - _id: a4f06f44ac6627e56ffe62ff40b4aaa9 _order: 0 cache: {} @@ -689,12 +689,12 @@ log: content: mimeType: application/json size: 73 - text: "{\"data\":{\"site\":{\"productVersion\":\"296541_2024-10-22_5.8-74e3dabd\ - f9a8\"}}}" + text: "{\"data\":{\"site\":{\"productVersion\":\"296687_2024-10-22_5.8-352d60d3\ + 1a67\"}}}" cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:35:17 GMT + value: Tue, 22 Oct 2024 19:47:37 GMT - name: content-type value: application/json - name: content-length @@ -727,8 +727,8 @@ log: redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:35:17.181Z - time: 312 + startedDateTime: 2024-10-22T19:47:37.308Z + time: 287 timings: blocked: -1 connect: -1 @@ -736,7 +736,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 312 + wait: 287 - _id: 5bf27035df04d471d88a6d6cb52a0dd6 _order: 0 cache: {} @@ -767,10 +767,10 @@ log: queryString: [] url: https://sourcegraph.com/.api/modelconfig/supported-models.json response: - bodySize: 6133 + bodySize: 6154 content: mimeType: text/plain; charset=utf-8 - size: 6133 + size: 6154 text: > { "schemaVersion": "1.0", @@ -799,9 +799,9 @@ log: ], "models": [ { - "modelRef": "anthropic::2023-06-01::claude-3.5-sonnet", - "displayName": "Claude 3.5 Sonnet", - "modelName": "claude-3-5-sonnet-20240620", + "modelRef": "anthropic::2024-10-22::claude-3-5-sonnet-latest", + "displayName": "Claude 3.5 Sonnet (Latest)", + "modelName": "claude-3-5-sonnet-latest", "capabilities": [ "edit", "chat", @@ -973,7 +973,7 @@ log: } ], "defaultModels": { - "chat": "anthropic::2023-06-01::claude-3.5-sonnet", + "chat": "anthropic::2024-10-22::claude-3-5-sonnet-latest", "fastChat": "anthropic::2023-06-01::claude-3-haiku", "codeCompletion": "fireworks::v1::deepseek-coder-v2-lite-base" } @@ -981,7 +981,7 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:35:18 GMT + value: Tue, 22 Oct 2024 19:47:38 GMT - name: content-type value: text/plain; charset=utf-8 - name: transfer-encoding @@ -1014,8 +1014,8 @@ log: redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:35:17.961Z - time: 254 + startedDateTime: 2024-10-22T19:47:38.272Z + time: 310 timings: blocked: -1 connect: -1 @@ -1023,6 +1023,6 @@ log: receive: 0 send: 0 ssl: -1 - wait: 254 + wait: 310 pages: [] version: "1.2" diff --git a/recordings/e2e/features/support-menu/prouserscanopensupportmenu_2695481670/recording.har.yaml b/recordings/e2e/features/support-menu/prouserscanopensupportmenu_2695481670/recording.har.yaml index 275234d1020..b2b120ff31c 100644 --- a/recordings/e2e/features/support-menu/prouserscanopensupportmenu_2695481670/recording.har.yaml +++ b/recordings/e2e/features/support-menu/prouserscanopensupportmenu_2695481670/recording.har.yaml @@ -55,7 +55,7 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:35:18 GMT + value: Tue, 22 Oct 2024 19:47:38 GMT - name: content-type value: text/plain; charset=utf-8 - name: content-length @@ -88,8 +88,8 @@ log: redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:35:17.760Z - time: 239 + startedDateTime: 2024-10-22T19:47:38.097Z + time: 303 timings: blocked: -1 connect: -1 @@ -97,7 +97,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 239 + wait: 303 - _id: 28c346c4c160958f92e8f989a1737e5e _order: 0 cache: {} @@ -153,23 +153,23 @@ log: value: null url: https://sourcegraph.com/.api/graphql?CurrentSiteCodyLlmConfiguration response: - bodySize: 282 + bodySize: 289 content: mimeType: application/json - size: 282 + size: 289 text: "{\"data\":{\"site\":{\"codyLLMConfiguration\":{\"chatModel\":\"sourcegra\ - ph/claude-3.5-sonnet\",\"chatModelMaxTokens\":45000,\"fastChatModel\ - \":\"sourcegraph/claude-3-haiku\",\"fastChatModelMaxTokens\":7000,\ - \"completionModel\":\"sourcegraph/deepseek-coder-v2-lite-base\",\"c\ - ompletionModelMaxTokens\":2048}}}}" + ph/claude-3-5-sonnet-latest\",\"chatModelMaxTokens\":45000,\"fastCh\ + atModel\":\"sourcegraph/claude-3-haiku\",\"fastChatModelMaxTokens\"\ + :7000,\"completionModel\":\"sourcegraph/deepseek-coder-v2-lite-base\ + \",\"completionModelMaxTokens\":2048}}}}" cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:35:17 GMT + value: Tue, 22 Oct 2024 19:47:38 GMT - name: content-type value: application/json - name: content-length - value: "282" + value: "289" - name: connection value: close - name: access-control-allow-credentials @@ -198,8 +198,8 @@ log: redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:35:17.505Z - time: 247 + startedDateTime: 2024-10-22T19:47:37.841Z + time: 257 timings: blocked: -1 connect: -1 @@ -207,7 +207,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 247 + wait: 257 - _id: a4d641ac3093a4efbffe59352b351757 _order: 0 cache: {} @@ -267,7 +267,7 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:35:17 GMT + value: Tue, 22 Oct 2024 19:47:38 GMT - name: content-type value: application/json - name: content-length @@ -300,8 +300,8 @@ log: redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:35:17.506Z - time: 223 + startedDateTime: 2024-10-22T19:47:37.842Z + time: 230 timings: blocked: -1 connect: -1 @@ -309,7 +309,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 223 + wait: 230 - _id: 06568f66a76daea32430b82552305046 _order: 0 cache: {} @@ -369,7 +369,7 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:35:17 GMT + value: Tue, 22 Oct 2024 19:47:38 GMT - name: content-type value: application/json - name: content-length @@ -402,8 +402,8 @@ log: redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:35:17.506Z - time: 223 + startedDateTime: 2024-10-22T19:47:37.842Z + time: 235 timings: blocked: -1 connect: -1 @@ -411,7 +411,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 223 + wait: 235 - _id: d1e9e9d8ae116eb7e71823b775d35828 _order: 0 cache: {} @@ -486,7 +486,7 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:35:17 GMT + value: Tue, 22 Oct 2024 19:47:37 GMT - name: content-type value: application/json - name: content-length @@ -519,8 +519,8 @@ log: redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:35:17.251Z - time: 230 + startedDateTime: 2024-10-22T19:47:37.537Z + time: 227 timings: blocked: -1 connect: -1 @@ -528,7 +528,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 230 + wait: 227 - _id: 9fdf3418a505d251116e020fda591c55 _order: 0 cache: {} @@ -594,7 +594,7 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:35:17 GMT + value: Tue, 22 Oct 2024 19:47:38 GMT - name: content-type value: application/json - name: content-length @@ -627,8 +627,8 @@ log: redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:35:17.510Z - time: 365 + startedDateTime: 2024-10-22T19:47:37.845Z + time: 431 timings: blocked: -1 connect: -1 @@ -636,7 +636,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 365 + wait: 431 - _id: a4f06f44ac6627e56ffe62ff40b4aaa9 _order: 0 cache: {} @@ -689,12 +689,12 @@ log: content: mimeType: application/json size: 73 - text: "{\"data\":{\"site\":{\"productVersion\":\"296541_2024-10-22_5.8-74e3dabd\ - f9a8\"}}}" + text: "{\"data\":{\"site\":{\"productVersion\":\"296687_2024-10-22_5.8-352d60d3\ + 1a67\"}}}" cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:35:17 GMT + value: Tue, 22 Oct 2024 19:47:37 GMT - name: content-type value: application/json - name: content-length @@ -727,8 +727,8 @@ log: redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:35:17.233Z - time: 237 + startedDateTime: 2024-10-22T19:47:37.535Z + time: 225 timings: blocked: -1 connect: -1 @@ -736,7 +736,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 237 + wait: 225 - _id: 5bf27035df04d471d88a6d6cb52a0dd6 _order: 0 cache: {} @@ -767,10 +767,10 @@ log: queryString: [] url: https://sourcegraph.com/.api/modelconfig/supported-models.json response: - bodySize: 6133 + bodySize: 6154 content: mimeType: text/plain; charset=utf-8 - size: 6133 + size: 6154 text: > { "schemaVersion": "1.0", @@ -799,9 +799,9 @@ log: ], "models": [ { - "modelRef": "anthropic::2023-06-01::claude-3.5-sonnet", - "displayName": "Claude 3.5 Sonnet", - "modelName": "claude-3-5-sonnet-20240620", + "modelRef": "anthropic::2024-10-22::claude-3-5-sonnet-latest", + "displayName": "Claude 3.5 Sonnet (Latest)", + "modelName": "claude-3-5-sonnet-latest", "capabilities": [ "edit", "chat", @@ -973,7 +973,7 @@ log: } ], "defaultModels": { - "chat": "anthropic::2023-06-01::claude-3.5-sonnet", + "chat": "anthropic::2024-10-22::claude-3-5-sonnet-latest", "fastChat": "anthropic::2023-06-01::claude-3-haiku", "codeCompletion": "fireworks::v1::deepseek-coder-v2-lite-base" } @@ -981,7 +981,7 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:35:18 GMT + value: Tue, 22 Oct 2024 19:47:38 GMT - name: content-type value: text/plain; charset=utf-8 - name: transfer-encoding @@ -1014,8 +1014,8 @@ log: redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:35:18.005Z - time: 214 + startedDateTime: 2024-10-22T19:47:38.409Z + time: 298 timings: blocked: -1 connect: -1 @@ -1023,6 +1023,6 @@ log: receive: 0 send: 0 ssl: -1 - wait: 214 + wait: 298 pages: [] version: "1.2" diff --git a/recordings/e2e/telemetry/at-mention/mentioneventsfirecorrectlyfordotcominaprivaterepo_4015059917/recording.har.yaml b/recordings/e2e/telemetry/at-mention/mentioneventsfirecorrectlyfordotcominaprivaterepo_4015059917/recording.har.yaml index f4b444b1ad0..e067db1141c 100644 --- a/recordings/e2e/telemetry/at-mention/mentioneventsfirecorrectlyfordotcominaprivaterepo_4015059917/recording.har.yaml +++ b/recordings/e2e/telemetry/at-mention/mentioneventsfirecorrectlyfordotcominaprivaterepo_4015059917/recording.har.yaml @@ -55,15 +55,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:27 GMT + value: Tue, 22 Oct 2024 19:10:28 GMT - name: content-type value: text/plain; charset=utf-8 - name: content-length value: "277" - name: connection value: close - - name: retry-after - value: "455" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -85,13 +83,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1514 + headersSize: 1407 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:27.005Z - time: 219 + startedDateTime: 2024-10-22T19:10:28.357Z + time: 288 timings: blocked: -1 connect: -1 @@ -99,12 +97,12 @@ log: receive: 0 send: 0 ssl: -1 - wait: 219 - - _id: 7c3add87aef76b376208c2eca3cd090f + wait: 288 + - _id: 3a178a024879c2b3cce1f99f0ecd0742 _order: 0 cache: {} request: - bodySize: 1188 + bodySize: 1195 cookies: [] headers: - name: transfer-encoding @@ -114,7 +112,7 @@ log: - name: user-agent value: vscode/1.38.2 (Node.js v20.16.0) - name: traceparent - value: 00-ce1e5edb2fbfd72bf4cf562a1fae4b89-6a9e2f72010544a2-01 + value: 00-fcc627572b8d40df870c70a06de2dd82-a21791b34c6a893b-01 - name: content-type value: application/json - name: connection @@ -174,7 +172,7 @@ log: You have access to the provided codebase context. Question: buzz.ts - model: anthropic::2023-06-01::claude-3.5-sonnet + model: anthropic::2024-10-22::claude-3-5-sonnet-latest temperature: 0.2 topK: -1 topP: -1 @@ -187,14 +185,14 @@ log: value: 1.38.2 url: https://sourcegraph.com/.api/completions/stream?api-version=2&client-name=vscode&client-version=1.38.2 response: - bodySize: 4531 + bodySize: 578 content: mimeType: text/event-stream - size: 4531 + size: 578 text: >+ - event: completion + event: error - data: {"deltaText":"Certainly! I'd be happy to discuss the `buzz.ts` file you've provided. This file contains a TypeScript implementation of the classic FizzBuzz problem. Here's a breakdown of what the code does:\n\n1. It exports a function called `fizzbuzz()`.\n2. Inside the function, an empty array called `fizzbuzz` is initialized.\n3. The function uses a for loop to iterate from 1 to 100.\n4. For each number:\n - If it's divisible by both 3 and 5 (i.e., divisible by 15), it adds 'FizzBuzz' to the array.\n - If it's only divisible by 3, it adds 'Fizz' to the array.\n - If it's only divisible by 5, it adds 'Buzz' to the array.\n - If it's not divisible by 3 or 5, it adds the number itself (as a string) to the array.\n5. Finally, the function returns the completed `fizzbuzz` array.\n\nThis implementation is concise and follows the standard FizzBuzz rules. It's a good example of how to solve this common programming challenge in TypeScript. Is there anything specific about this file you'd like to explore further?","stopReason":"end_turn"} + data: {"error":"Sourcegraph Cody Gateway: unexpected status code 400: {\"error\":\"model \\\"anthropic/claude-3-5-sonnet-latest\\\" is not allowed, allowed: [anthropic/claude-3-haiku-20240307, anthropic/claude-3-sonnet-20240229, anthropic/claude-3-5-sonnet-20240620, anthropic/claude-3-5-sonnet-20240620-fast-edit, anthropic/claude-3-opus-20240229, anthropic/claude-2, anthropic/claude-2.0, anthropic/claude-2.1, anthropic/claude-instant-1.2-cyan, anthropic/claude-instant-1.2, anthropic/claude-instant-v1, anthropic/claude-instant-1]\"}\n"} event: done @@ -204,15 +202,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:34 GMT + value: Tue, 22 Oct 2024 19:10:33 GMT - name: content-type value: text/event-stream - name: transfer-encoding value: chunked - name: connection value: close - - name: retry-after - value: "452" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -234,13 +230,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1502 + headersSize: 1395 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:30.671Z - time: 8695 + startedDateTime: 2024-10-22T19:10:32.996Z + time: 626 timings: blocked: -1 connect: -1 @@ -248,7 +244,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 8695 + wait: 626 - _id: 28c346c4c160958f92e8f989a1737e5e _order: 0 cache: {} @@ -304,27 +300,25 @@ log: value: null url: https://sourcegraph.com/.api/graphql?CurrentSiteCodyLlmConfiguration response: - bodySize: 282 + bodySize: 289 content: mimeType: application/json - size: 282 + size: 289 text: "{\"data\":{\"site\":{\"codyLLMConfiguration\":{\"chatModel\":\"sourcegra\ - ph/claude-3.5-sonnet\",\"chatModelMaxTokens\":45000,\"fastChatModel\ - \":\"sourcegraph/claude-3-haiku\",\"fastChatModelMaxTokens\":7000,\ - \"completionModel\":\"sourcegraph/deepseek-coder-v2-lite-base\",\"c\ - ompletionModelMaxTokens\":2048}}}}" + ph/claude-3-5-sonnet-latest\",\"chatModelMaxTokens\":45000,\"fastCh\ + atModel\":\"sourcegraph/claude-3-haiku\",\"fastChatModelMaxTokens\"\ + :7000,\"completionModel\":\"sourcegraph/deepseek-coder-v2-lite-base\ + \",\"completionModelMaxTokens\":2048}}}}" cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:27 GMT + value: Tue, 22 Oct 2024 19:10:28 GMT - name: content-type value: application/json - name: content-length - value: "282" + value: "289" - name: connection value: close - - name: retry-after - value: "455" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -346,13 +340,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1645 + headersSize: 1538 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:26.791Z - time: 208 + startedDateTime: 2024-10-22T19:10:28.050Z + time: 296 timings: blocked: -1 connect: -1 @@ -360,7 +354,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 208 + wait: 296 - _id: a4d641ac3093a4efbffe59352b351757 _order: 0 cache: {} @@ -420,15 +414,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:27 GMT + value: Tue, 22 Oct 2024 19:10:28 GMT - name: content-type value: application/json - name: content-length value: "76" - name: connection value: close - - name: retry-after - value: "455" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -450,13 +442,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1644 + headersSize: 1537 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:26.796Z - time: 230 + startedDateTime: 2024-10-22T19:10:28.055Z + time: 291 timings: blocked: -1 connect: -1 @@ -464,7 +456,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 230 + wait: 291 - _id: 06568f66a76daea32430b82552305046 _order: 0 cache: {} @@ -524,15 +516,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:27 GMT + value: Tue, 22 Oct 2024 19:10:28 GMT - name: content-type value: application/json - name: content-length value: "69" - name: connection value: close - - name: retry-after - value: "455" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -554,13 +544,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1644 + headersSize: 1537 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:26.793Z - time: 221 + startedDateTime: 2024-10-22T19:10:28.051Z + time: 292 timings: blocked: -1 connect: -1 @@ -568,7 +558,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 221 + wait: 292 - _id: d1e9e9d8ae116eb7e71823b775d35828 _order: 0 cache: {} @@ -643,15 +633,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:26 GMT + value: Tue, 22 Oct 2024 19:10:28 GMT - name: content-type value: application/json - name: content-length value: "334" - name: connection value: close - - name: retry-after - value: "456" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -673,13 +661,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1645 + headersSize: 1538 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:26.521Z - time: 232 + startedDateTime: 2024-10-22T19:10:27.640Z + time: 372 timings: blocked: -1 connect: -1 @@ -687,7 +675,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 232 + wait: 372 - _id: 9fdf3418a505d251116e020fda591c55 _order: 0 cache: {} @@ -753,15 +741,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:27 GMT + value: Tue, 22 Oct 2024 19:10:28 GMT - name: content-type value: application/json - name: content-length value: "194" - name: connection value: close - - name: retry-after - value: "455" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -783,13 +769,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1645 + headersSize: 1538 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:26.807Z - time: 322 + startedDateTime: 2024-10-22T19:10:28.067Z + time: 433 timings: blocked: -1 connect: -1 @@ -797,7 +783,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 322 + wait: 433 - _id: 53cefe6e5a3fffbd639479618b6c1a57 _order: 0 cache: {} @@ -860,15 +846,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:30 GMT + value: Tue, 22 Oct 2024 19:10:32 GMT - name: content-type value: application/json - name: content-length value: "38" - name: connection value: close - - name: retry-after - value: "452" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -890,13 +874,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1644 + headersSize: 1537 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:29.969Z - time: 250 + startedDateTime: 2024-10-22T19:10:32.156Z + time: 297 timings: blocked: -1 connect: -1 @@ -904,7 +888,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 250 + wait: 297 - _id: a4f06f44ac6627e56ffe62ff40b4aaa9 _order: 0 cache: {} @@ -957,20 +941,18 @@ log: content: mimeType: application/json size: 73 - text: "{\"data\":{\"site\":{\"productVersion\":\"296541_2024-10-22_5.8-74e3dabd\ - f9a8\"}}}" + text: "{\"data\":{\"site\":{\"productVersion\":\"296687_2024-10-22_5.8-352d60d3\ + 1a67\"}}}" cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:26 GMT + value: Tue, 22 Oct 2024 19:10:28 GMT - name: content-type value: application/json - name: content-length value: "73" - name: connection value: close - - name: retry-after - value: "456" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -992,13 +974,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1644 + headersSize: 1537 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:26.519Z - time: 203 + startedDateTime: 2024-10-22T19:10:27.639Z + time: 372 timings: blocked: -1 connect: -1 @@ -1006,12 +988,12 @@ log: receive: 0 send: 0 ssl: -1 - wait: 203 - - _id: a53e8ae72e4db414a4fa0ee8762dab2f + wait: 372 + - _id: 17cdda983992f1d54910d5c8827cdb03 _order: 0 cache: {} request: - bodySize: 777 + bodySize: 795 cookies: [] headers: - name: connection @@ -1021,7 +1003,7 @@ log: - name: accept-encoding value: identity - name: content-length - value: "777" + value: "795" - name: accept value: "*/*" - name: user-agent @@ -1056,6 +1038,7 @@ log: description draft autoSubmit + mode definition { text } @@ -1090,15 +1073,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:30 GMT + value: Tue, 22 Oct 2024 19:10:32 GMT - name: content-type value: application/json - name: content-length value: "98" - name: connection value: close - - name: retry-after - value: "452" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -1120,13 +1101,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1644 + headersSize: 1537 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:30.228Z - time: 204 + startedDateTime: 2024-10-22T19:10:32.434Z + time: 282 timings: blocked: -1 connect: -1 @@ -1134,7 +1115,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 204 + wait: 282 - _id: 5bf27035df04d471d88a6d6cb52a0dd6 _order: 0 cache: {} @@ -1165,10 +1146,10 @@ log: queryString: [] url: https://sourcegraph.com/.api/modelconfig/supported-models.json response: - bodySize: 6133 + bodySize: 6154 content: mimeType: text/plain; charset=utf-8 - size: 6133 + size: 6154 text: > { "schemaVersion": "1.0", @@ -1197,9 +1178,9 @@ log: ], "models": [ { - "modelRef": "anthropic::2023-06-01::claude-3.5-sonnet", - "displayName": "Claude 3.5 Sonnet", - "modelName": "claude-3-5-sonnet-20240620", + "modelRef": "anthropic::2024-10-22::claude-3-5-sonnet-latest", + "displayName": "Claude 3.5 Sonnet (Latest)", + "modelName": "claude-3-5-sonnet-latest", "capabilities": [ "edit", "chat", @@ -1371,7 +1352,7 @@ log: } ], "defaultModels": { - "chat": "anthropic::2023-06-01::claude-3.5-sonnet", + "chat": "anthropic::2024-10-22::claude-3-5-sonnet-latest", "fastChat": "anthropic::2023-06-01::claude-3-haiku", "codeCompletion": "fireworks::v1::deepseek-coder-v2-lite-base" } @@ -1379,15 +1360,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:27 GMT + value: Tue, 22 Oct 2024 19:10:28 GMT - name: content-type value: text/plain; charset=utf-8 - name: transfer-encoding value: chunked - name: connection value: close - - name: retry-after - value: "455" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -1409,13 +1388,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1521 + headersSize: 1414 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:27.232Z - time: 220 + startedDateTime: 2024-10-22T19:10:28.656Z + time: 296 timings: blocked: -1 connect: -1 @@ -1423,6 +1402,6 @@ log: receive: 0 send: 0 ssl: -1 - wait: 220 + wait: 296 pages: [] version: "1.2" diff --git a/recordings/e2e/telemetry/at-mention/mentioneventsfirecorrectlyfordotcominapublicrepo_2638196039/recording.har.yaml b/recordings/e2e/telemetry/at-mention/mentioneventsfirecorrectlyfordotcominapublicrepo_2638196039/recording.har.yaml index b7c69f89554..3acf7c39236 100644 --- a/recordings/e2e/telemetry/at-mention/mentioneventsfirecorrectlyfordotcominapublicrepo_2638196039/recording.har.yaml +++ b/recordings/e2e/telemetry/at-mention/mentioneventsfirecorrectlyfordotcominapublicrepo_2638196039/recording.har.yaml @@ -55,15 +55,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:24 GMT + value: Tue, 22 Oct 2024 19:10:29 GMT - name: content-type value: text/plain; charset=utf-8 - name: content-length value: "277" - name: connection value: close - - name: retry-after - value: "458" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -85,13 +83,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1514 + headersSize: 1407 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:24.052Z - time: 218 + startedDateTime: 2024-10-22T19:10:29.633Z + time: 339 timings: blocked: -1 connect: -1 @@ -99,12 +97,12 @@ log: receive: 0 send: 0 ssl: -1 - wait: 218 - - _id: 7c3add87aef76b376208c2eca3cd090f + wait: 339 + - _id: 3a178a024879c2b3cce1f99f0ecd0742 _order: 0 cache: {} request: - bodySize: 1188 + bodySize: 1195 cookies: [] headers: - name: transfer-encoding @@ -114,7 +112,7 @@ log: - name: user-agent value: vscode/1.38.2 (Node.js v20.16.0) - name: traceparent - value: 00-bd6c097cfaa5bc93d045232f0d1dda4f-ba64a4ee993fb2a7-01 + value: 00-5e810218c5a178f54caae7af6451b9da-722faf234938b40b-01 - name: content-type value: application/json - name: connection @@ -174,7 +172,7 @@ log: You have access to the provided codebase context. Question: buzz.ts - model: anthropic::2023-06-01::claude-3.5-sonnet + model: anthropic::2024-10-22::claude-3-5-sonnet-latest temperature: 0.2 topK: -1 topP: -1 @@ -187,14 +185,14 @@ log: value: 1.38.2 url: https://sourcegraph.com/.api/completions/stream?api-version=2&client-name=vscode&client-version=1.38.2 response: - bodySize: 4644 + bodySize: 578 content: mimeType: text/event-stream - size: 4644 + size: 578 text: >+ - event: completion + event: error - data: {"deltaText":"Certainly! I'd be happy to discuss the `buzz.ts` file you've provided. This file contains a TypeScript implementation of the classic FizzBuzz problem. Here's a breakdown of what the code does:\n\n1. It exports a function called `fizzbuzz()`.\n2. Inside the function, an empty array called `fizzbuzz` is initialized.\n3. The function uses a for loop to iterate from 1 to 100.\n4. For each number:\n - If it's divisible by both 3 and 5 (i.e., divisible by 15), it adds 'FizzBuzz' to the array.\n - If it's only divisible by 3, it adds 'Fizz' to the array.\n - If it's only divisible by 5, it adds 'Buzz' to the array.\n - If it's not divisible by 3 or 5, it adds the number itself (as a string) to the array.\n5. Finally, the function returns the completed `fizzbuzz` array.\n\nThis implementation is concise and follows the standard FizzBuzz rules. It's a good example of how to solve this common programming challenge in TypeScript. Would you like me to explain any specific part of the code in more detail or suggest any improvements?","stopReason":"end_turn"} + data: {"error":"Sourcegraph Cody Gateway: unexpected status code 400: {\"error\":\"model \\\"anthropic/claude-3-5-sonnet-latest\\\" is not allowed, allowed: [anthropic/claude-3-haiku-20240307, anthropic/claude-3-sonnet-20240229, anthropic/claude-3-5-sonnet-20240620, anthropic/claude-3-5-sonnet-20240620-fast-edit, anthropic/claude-3-opus-20240229, anthropic/claude-2, anthropic/claude-2.0, anthropic/claude-2.1, anthropic/claude-instant-1.2-cyan, anthropic/claude-instant-1.2, anthropic/claude-instant-v1, anthropic/claude-instant-1]\"}\n"} event: done @@ -204,15 +202,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:33 GMT + value: Tue, 22 Oct 2024 19:10:35 GMT - name: content-type value: text/event-stream - name: transfer-encoding value: chunked - name: connection value: close - - name: retry-after - value: "453" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -234,13 +230,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1502 + headersSize: 1395 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:29.108Z - time: 8837 + startedDateTime: 2024-10-22T19:10:34.461Z + time: 624 timings: blocked: -1 connect: -1 @@ -248,7 +244,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 8837 + wait: 624 - _id: 28c346c4c160958f92e8f989a1737e5e _order: 0 cache: {} @@ -304,27 +300,25 @@ log: value: null url: https://sourcegraph.com/.api/graphql?CurrentSiteCodyLlmConfiguration response: - bodySize: 282 + bodySize: 289 content: mimeType: application/json - size: 282 + size: 289 text: "{\"data\":{\"site\":{\"codyLLMConfiguration\":{\"chatModel\":\"sourcegra\ - ph/claude-3.5-sonnet\",\"chatModelMaxTokens\":45000,\"fastChatModel\ - \":\"sourcegraph/claude-3-haiku\",\"fastChatModelMaxTokens\":7000,\ - \"completionModel\":\"sourcegraph/deepseek-coder-v2-lite-base\",\"c\ - ompletionModelMaxTokens\":2048}}}}" + ph/claude-3-5-sonnet-latest\",\"chatModelMaxTokens\":45000,\"fastCh\ + atModel\":\"sourcegraph/claude-3-haiku\",\"fastChatModelMaxTokens\"\ + :7000,\"completionModel\":\"sourcegraph/deepseek-coder-v2-lite-base\ + \",\"completionModelMaxTokens\":2048}}}}" cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:23 GMT + value: Tue, 22 Oct 2024 19:10:29 GMT - name: content-type value: application/json - name: content-length - value: "282" + value: "289" - name: connection value: close - - name: retry-after - value: "459" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -346,13 +340,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1645 + headersSize: 1538 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:23.670Z - time: 236 + startedDateTime: 2024-10-22T19:10:29.280Z + time: 345 timings: blocked: -1 connect: -1 @@ -360,7 +354,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 236 + wait: 345 - _id: a4d641ac3093a4efbffe59352b351757 _order: 0 cache: {} @@ -420,15 +414,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:24 GMT + value: Tue, 22 Oct 2024 19:10:29 GMT - name: content-type value: application/json - name: content-length value: "76" - name: connection value: close - - name: retry-after - value: "458" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -450,13 +442,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1644 + headersSize: 1537 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:23.671Z - time: 316 + startedDateTime: 2024-10-22T19:10:29.282Z + time: 371 timings: blocked: -1 connect: -1 @@ -464,7 +456,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 316 + wait: 371 - _id: 06568f66a76daea32430b82552305046 _order: 0 cache: {} @@ -524,15 +516,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:24 GMT + value: Tue, 22 Oct 2024 19:10:29 GMT - name: content-type value: application/json - name: content-length value: "69" - name: connection value: close - - name: retry-after - value: "458" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -554,13 +544,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1644 + headersSize: 1537 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:23.670Z - time: 319 + startedDateTime: 2024-10-22T19:10:29.281Z + time: 367 timings: blocked: -1 connect: -1 @@ -568,7 +558,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 319 + wait: 367 - _id: d1e9e9d8ae116eb7e71823b775d35828 _order: 0 cache: {} @@ -643,15 +633,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:23 GMT + value: Tue, 22 Oct 2024 19:10:29 GMT - name: content-type value: application/json - name: content-length value: "334" - name: connection value: close - - name: retry-after - value: "459" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -673,13 +661,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1645 + headersSize: 1538 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:23.313Z - time: 202 + startedDateTime: 2024-10-22T19:10:28.971Z + time: 269 timings: blocked: -1 connect: -1 @@ -687,7 +675,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 202 + wait: 269 - _id: 9fdf3418a505d251116e020fda591c55 _order: 0 cache: {} @@ -753,15 +741,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:24 GMT + value: Tue, 22 Oct 2024 19:10:29 GMT - name: content-type value: application/json - name: content-length value: "194" - name: connection value: close - - name: retry-after - value: "458" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -783,13 +769,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1645 + headersSize: 1538 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:23.678Z - time: 447 + startedDateTime: 2024-10-22T19:10:29.286Z + time: 520 timings: blocked: -1 connect: -1 @@ -797,7 +783,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 447 + wait: 520 - _id: 39fe3efa22c727dff9fd6b923a145b81 _order: 0 cache: {} @@ -861,15 +847,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:27 GMT + value: Tue, 22 Oct 2024 19:10:33 GMT - name: content-type value: application/json - name: content-length value: "112" - name: connection value: close - - name: retry-after - value: "454" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -891,13 +875,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1645 + headersSize: 1538 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:27.725Z - time: 209 + startedDateTime: 2024-10-22T19:10:32.951Z + time: 264 timings: blocked: -1 connect: -1 @@ -905,7 +889,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 209 + wait: 264 - _id: a4f06f44ac6627e56ffe62ff40b4aaa9 _order: 0 cache: {} @@ -958,20 +942,18 @@ log: content: mimeType: application/json size: 73 - text: "{\"data\":{\"site\":{\"productVersion\":\"296541_2024-10-22_5.8-74e3dabd\ - f9a8\"}}}" + text: "{\"data\":{\"site\":{\"productVersion\":\"296687_2024-10-22_5.8-352d60d3\ + 1a67\"}}}" cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:23 GMT + value: Tue, 22 Oct 2024 19:10:29 GMT - name: content-type value: application/json - name: content-length value: "73" - name: connection value: close - - name: retry-after - value: "459" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -993,13 +975,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1644 + headersSize: 1537 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:23.311Z - time: 200 + startedDateTime: 2024-10-22T19:10:28.953Z + time: 450 timings: blocked: -1 connect: -1 @@ -1007,12 +989,12 @@ log: receive: 0 send: 0 ssl: -1 - wait: 200 - - _id: a53e8ae72e4db414a4fa0ee8762dab2f + wait: 450 + - _id: 17cdda983992f1d54910d5c8827cdb03 _order: 0 cache: {} request: - bodySize: 777 + bodySize: 795 cookies: [] headers: - name: connection @@ -1022,7 +1004,7 @@ log: - name: accept-encoding value: identity - name: content-length - value: "777" + value: "795" - name: accept value: "*/*" - name: user-agent @@ -1057,6 +1039,7 @@ log: description draft autoSubmit + mode definition { text } @@ -1091,15 +1074,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:28 GMT + value: Tue, 22 Oct 2024 19:10:33 GMT - name: content-type value: application/json - name: content-length value: "98" - name: connection value: close - - name: retry-after - value: "454" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -1121,13 +1102,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1644 + headersSize: 1537 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:27.938Z - time: 216 + startedDateTime: 2024-10-22T19:10:33.218Z + time: 342 timings: blocked: -1 connect: -1 @@ -1135,7 +1116,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 216 + wait: 342 - _id: 5bf27035df04d471d88a6d6cb52a0dd6 _order: 0 cache: {} @@ -1166,10 +1147,10 @@ log: queryString: [] url: https://sourcegraph.com/.api/modelconfig/supported-models.json response: - bodySize: 6133 + bodySize: 6154 content: mimeType: text/plain; charset=utf-8 - size: 6133 + size: 6154 text: > { "schemaVersion": "1.0", @@ -1198,9 +1179,9 @@ log: ], "models": [ { - "modelRef": "anthropic::2023-06-01::claude-3.5-sonnet", - "displayName": "Claude 3.5 Sonnet", - "modelName": "claude-3-5-sonnet-20240620", + "modelRef": "anthropic::2024-10-22::claude-3-5-sonnet-latest", + "displayName": "Claude 3.5 Sonnet (Latest)", + "modelName": "claude-3-5-sonnet-latest", "capabilities": [ "edit", "chat", @@ -1372,7 +1353,7 @@ log: } ], "defaultModels": { - "chat": "anthropic::2023-06-01::claude-3.5-sonnet", + "chat": "anthropic::2024-10-22::claude-3-5-sonnet-latest", "fastChat": "anthropic::2023-06-01::claude-3-haiku", "codeCompletion": "fireworks::v1::deepseek-coder-v2-lite-base" } @@ -1380,15 +1361,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:24 GMT + value: Tue, 22 Oct 2024 19:10:30 GMT - name: content-type value: text/plain; charset=utf-8 - name: transfer-encoding value: chunked - name: connection value: close - - name: retry-after - value: "458" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -1410,13 +1389,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1521 + headersSize: 1414 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:24.282Z - time: 229 + startedDateTime: 2024-10-22T19:10:29.996Z + time: 320 timings: blocked: -1 connect: -1 @@ -1424,6 +1403,6 @@ log: receive: 0 send: 0 ssl: -1 - wait: 229 + wait: 320 pages: [] version: "1.2" diff --git a/recordings/e2e/telemetry/at-mention/mentioneventsfirecorrectlyforenterpriseinaprivaterepo_519325446/recording.har.yaml b/recordings/e2e/telemetry/at-mention/mentioneventsfirecorrectlyforenterpriseinaprivaterepo_519325446/recording.har.yaml index fefc60076b5..b92d7891132 100644 --- a/recordings/e2e/telemetry/at-mention/mentioneventsfirecorrectlyforenterpriseinaprivaterepo_519325446/recording.har.yaml +++ b/recordings/e2e/telemetry/at-mention/mentioneventsfirecorrectlyforenterpriseinaprivaterepo_519325446/recording.har.yaml @@ -55,15 +55,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:27 GMT + value: Tue, 22 Oct 2024 19:10:32 GMT - name: content-type value: text/plain; charset=utf-8 - name: content-length value: "275" - name: connection value: close - - name: retry-after - value: "455" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -81,13 +79,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1328 + headersSize: 1221 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:27.116Z - time: 201 + startedDateTime: 2024-10-22T19:10:31.805Z + time: 321 timings: blocked: -1 connect: -1 @@ -95,7 +93,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 201 + wait: 321 - _id: 9b8c9f5ea1381cac85093e502a8c7156 _order: 0 cache: {} @@ -110,7 +108,7 @@ log: - name: user-agent value: vscode/1.38.2 (Node.js v20.16.0) - name: traceparent - value: 00-bc79546d5b6c56169b945cf9ac6d12d9-55e8cbd1cb66f708-01 + value: 00-28e615b913d12bd0ac12f32e1141755d-a834d0926d8eedfa-01 - name: content-type value: application/json - name: connection @@ -183,14 +181,14 @@ log: value: 1.38.2 url: https://demo.sourcegraph.com/.api/completions/stream?api-version=2&client-name=vscode&client-version=1.38.2 response: - bodySize: 4746 + bodySize: 4531 content: mimeType: text/event-stream - size: 4746 + size: 4531 text: >+ event: completion - data: {"deltaText":"Certainly! I'd be happy to discuss the `buzz.ts` file you've provided. This file contains a TypeScript implementation of the classic FizzBuzz problem. Here's a breakdown of what the code does:\n\n1. It exports a function called `fizzbuzz()`.\n2. Inside the function, an empty array called `fizzbuzz` is initialized.\n3. The function uses a for loop to iterate from 1 to 100.\n4. For each number, it applies the FizzBuzz rules:\n - If the number is divisible by both 3 and 5 (i.e., divisible by 15), it adds 'FizzBuzz' to the array.\n - If the number is only divisible by 3, it adds 'Fizz' to the array.\n - If the number is only divisible by 5, it adds 'Buzz' to the array.\n - For any other number, it adds the number itself (as a string) to the array.\n5. Finally, the function returns the completed `fizzbuzz` array.\n\nThis implementation is concise and follows the standard FizzBuzz rules. It's a good example of how to solve this common programming challenge in TypeScript. Is there anything specific about this file you'd like to explore further?","stopReason":"end_turn"} + data: {"deltaText":"Certainly! I'd be happy to discuss the `buzz.ts` file you've provided. This file contains a TypeScript implementation of the classic FizzBuzz problem. Here's a breakdown of what the code does:\n\n1. It exports a function called `fizzbuzz()`.\n2. Inside the function, an empty array called `fizzbuzz` is initialized.\n3. The function uses a for loop to iterate from 1 to 100.\n4. For each number:\n - If it's divisible by both 3 and 5 (i.e., divisible by 15), it adds 'FizzBuzz' to the array.\n - If it's only divisible by 3, it adds 'Fizz' to the array.\n - If it's only divisible by 5, it adds 'Buzz' to the array.\n - If it's not divisible by 3 or 5, it adds the number itself (as a string) to the array.\n5. Finally, the function returns the completed `fizzbuzz` array.\n\nThis implementation is concise and follows the standard FizzBuzz rules. It's a good example of how to solve this common programming challenge in TypeScript. Is there anything specific about this file you'd like to explore further?","stopReason":"end_turn"} event: done @@ -200,15 +198,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:34 GMT + value: Tue, 22 Oct 2024 19:10:38 GMT - name: content-type value: text/event-stream - name: transfer-encoding value: chunked - name: connection value: close - - name: retry-after - value: "451" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -226,13 +222,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1316 + headersSize: 1209 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:30.950Z - time: 9662 + startedDateTime: 2024-10-22T19:10:35.685Z + time: 8249 timings: blocked: -1 connect: -1 @@ -240,7 +236,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 9662 + wait: 8249 - _id: 37a9b2bda053ce2763b93244ff1af838 _order: 0 cache: {} @@ -299,15 +295,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:28 GMT + value: Tue, 22 Oct 2024 19:10:33 GMT - name: content-type value: application/json - name: content-length value: "53" - name: connection value: close - - name: retry-after - value: "454" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -325,13 +319,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1458 + headersSize: 1351 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:28.469Z - time: 204 + startedDateTime: 2024-10-22T19:10:33.346Z + time: 216 timings: blocked: -1 connect: -1 @@ -339,7 +333,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 204 + wait: 216 - _id: fa5b795606a9596f1b7383979e00bde6 _order: 0 cache: {} @@ -407,15 +401,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:27 GMT + value: Tue, 22 Oct 2024 19:10:31 GMT - name: content-type value: application/json - name: content-length value: "282" - name: connection value: close - - name: retry-after - value: "455" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -433,13 +425,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1459 + headersSize: 1352 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:26.890Z - time: 221 + startedDateTime: 2024-10-22T19:10:31.406Z + time: 338 timings: blocked: -1 connect: -1 @@ -447,7 +439,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 221 + wait: 338 - _id: 1567a774f8955f42799016aceb946e19 _order: 0 cache: {} @@ -507,15 +499,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:27 GMT + value: Tue, 22 Oct 2024 19:10:31 GMT - name: content-type value: application/json - name: content-length value: "76" - name: connection value: close - - name: retry-after - value: "455" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -533,13 +523,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1458 + headersSize: 1351 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:26.891Z - time: 221 + startedDateTime: 2024-10-22T19:10:31.411Z + time: 308 timings: blocked: -1 connect: -1 @@ -547,7 +537,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 221 + wait: 308 - _id: cf3c3975c58a7fd1491c89c4bdda15e9 _order: 0 cache: {} @@ -607,15 +597,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:27 GMT + value: Tue, 22 Oct 2024 19:10:31 GMT - name: content-type value: application/json - name: content-length value: "69" - name: connection value: close - - name: retry-after - value: "455" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -633,13 +621,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1458 + headersSize: 1351 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:26.891Z - time: 278 + startedDateTime: 2024-10-22T19:10:31.409Z + time: 305 timings: blocked: -1 connect: -1 @@ -647,7 +635,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 278 + wait: 305 - _id: c7a96a6928009c667645b21de5a28adf _order: 0 cache: {} @@ -720,15 +708,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:26 GMT + value: Tue, 22 Oct 2024 19:10:31 GMT - name: content-type value: application/json - name: content-length value: "225" - name: connection value: close - - name: retry-after - value: "456" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -746,13 +732,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1459 + headersSize: 1352 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:26.618Z - time: 243 + startedDateTime: 2024-10-22T19:10:30.925Z + time: 420 timings: blocked: -1 connect: -1 @@ -760,7 +746,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 243 + wait: 420 - _id: 7f85ca8eb43a7f6d9174c90d80af475d _order: 0 cache: {} @@ -818,15 +804,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:28 GMT + value: Tue, 22 Oct 2024 19:10:33 GMT - name: content-type value: application/json - name: content-length value: "28" - name: connection value: close - - name: retry-after - value: "454" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -844,13 +828,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1458 + headersSize: 1351 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:28.123Z - time: 244 + startedDateTime: 2024-10-22T19:10:33.073Z + time: 261 timings: blocked: -1 connect: -1 @@ -858,7 +842,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 244 + wait: 261 - _id: 322e0aeead43ccccbd57ad162a64fde3 _order: 0 cache: {} @@ -915,15 +899,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:26 GMT + value: Tue, 22 Oct 2024 19:10:31 GMT - name: content-type value: application/json - name: content-length value: "47" - name: connection value: close - - name: retry-after - value: "456" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -941,13 +923,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1458 + headersSize: 1351 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:26.616Z - time: 213 + startedDateTime: 2024-10-22T19:10:30.922Z + time: 375 timings: blocked: -1 connect: -1 @@ -955,7 +937,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 213 + wait: 375 - _id: e9670a64916bf997b5971f1de757b0c8 _order: 0 cache: {} @@ -1170,15 +1152,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:30 GMT + value: Tue, 22 Oct 2024 19:10:35 GMT - name: content-type value: application/json - name: transfer-encoding value: chunked - name: connection value: close - - name: retry-after - value: "452" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -1196,13 +1176,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1466 + headersSize: 1359 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:29.927Z - time: 216 + startedDateTime: 2024-10-22T19:10:34.964Z + time: 541 timings: blocked: -1 connect: -1 @@ -1210,7 +1190,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 216 + wait: 541 - _id: 49bed0d771a2067eccdc72b3a59f37ba _order: 0 cache: {} @@ -1455,15 +1435,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:27 GMT + value: Tue, 22 Oct 2024 19:10:32 GMT - name: content-type value: text/plain; charset=utf-8 - name: transfer-encoding value: chunked - name: connection value: close - - name: retry-after - value: "455" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -1481,13 +1459,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1335 + headersSize: 1228 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:27.325Z - time: 199 + startedDateTime: 2024-10-22T19:10:32.134Z + time: 279 timings: blocked: -1 connect: -1 @@ -1495,6 +1473,6 @@ log: receive: 0 send: 0 ssl: -1 - wait: 199 + wait: 279 pages: [] version: "1.2" diff --git a/recordings/e2e/telemetry/at-mention/mentioneventsfirecorrectlyforenterpriseinapublicrepo_3645026822/recording.har.yaml b/recordings/e2e/telemetry/at-mention/mentioneventsfirecorrectlyforenterpriseinapublicrepo_3645026822/recording.har.yaml index 3cbfea13d3a..fdaedf53d12 100644 --- a/recordings/e2e/telemetry/at-mention/mentioneventsfirecorrectlyforenterpriseinapublicrepo_3645026822/recording.har.yaml +++ b/recordings/e2e/telemetry/at-mention/mentioneventsfirecorrectlyforenterpriseinapublicrepo_3645026822/recording.har.yaml @@ -55,15 +55,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:26 GMT + value: Tue, 22 Oct 2024 19:10:28 GMT - name: content-type value: text/plain; charset=utf-8 - name: content-length value: "275" - name: connection value: close - - name: retry-after - value: "456" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -81,13 +79,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1328 + headersSize: 1221 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:26.009Z - time: 225 + startedDateTime: 2024-10-22T19:10:28.353Z + time: 289 timings: blocked: -1 connect: -1 @@ -95,7 +93,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 225 + wait: 289 - _id: 9b8c9f5ea1381cac85093e502a8c7156 _order: 0 cache: {} @@ -110,7 +108,7 @@ log: - name: user-agent value: vscode/1.38.2 (Node.js v20.16.0) - name: traceparent - value: 00-bd6188d2a2651eeb01af543d38bc5f36-343ea9e8a48993ae-01 + value: 00-4467d2b2c5e015d762f53fc60159af4c-a35f8218105a9f74-01 - name: content-type value: application/json - name: connection @@ -183,10 +181,10 @@ log: value: 1.38.2 url: https://demo.sourcegraph.com/.api/completions/stream?api-version=2&client-name=vscode&client-version=1.38.2 response: - bodySize: 4447 + bodySize: 4615 content: mimeType: text/event-stream - size: 4447 + size: 4615 text: >+ event: completion @@ -200,15 +198,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:34 GMT + value: Tue, 22 Oct 2024 19:10:37 GMT - name: content-type value: text/event-stream - name: transfer-encoding value: chunked - name: connection value: close - - name: retry-after - value: "451" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -226,13 +222,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1316 + headersSize: 1209 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:31.180Z - time: 6489 + startedDateTime: 2024-10-22T19:10:33.137Z + time: 8640 timings: blocked: -1 connect: -1 @@ -240,7 +236,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 6489 + wait: 8640 - _id: 37a9b2bda053ce2763b93244ff1af838 _order: 0 cache: {} @@ -299,15 +295,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:27 GMT + value: Tue, 22 Oct 2024 19:10:30 GMT - name: content-type value: application/json - name: content-length value: "53" - name: connection value: close - - name: retry-after - value: "455" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -325,13 +319,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1458 + headersSize: 1351 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:27.554Z - time: 208 + startedDateTime: 2024-10-22T19:10:30.174Z + time: 272 timings: blocked: -1 connect: -1 @@ -339,7 +333,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 208 + wait: 272 - _id: fa5b795606a9596f1b7383979e00bde6 _order: 0 cache: {} @@ -407,15 +401,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:25 GMT + value: Tue, 22 Oct 2024 19:10:28 GMT - name: content-type value: application/json - name: content-length value: "282" - name: connection value: close - - name: retry-after - value: "456" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -433,13 +425,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1459 + headersSize: 1352 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:25.689Z - time: 229 + startedDateTime: 2024-10-22T19:10:28.043Z + time: 300 timings: blocked: -1 connect: -1 @@ -447,7 +439,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 229 + wait: 300 - _id: 1567a774f8955f42799016aceb946e19 _order: 0 cache: {} @@ -507,15 +499,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:25 GMT + value: Tue, 22 Oct 2024 19:10:28 GMT - name: content-type value: application/json - name: content-length value: "76" - name: connection value: close - - name: retry-after - value: "457" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -533,13 +523,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1458 + headersSize: 1351 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:25.690Z - time: 223 + startedDateTime: 2024-10-22T19:10:28.045Z + time: 298 timings: blocked: -1 connect: -1 @@ -547,7 +537,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 223 + wait: 298 - _id: cf3c3975c58a7fd1491c89c4bdda15e9 _order: 0 cache: {} @@ -607,15 +597,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:26 GMT + value: Tue, 22 Oct 2024 19:10:28 GMT - name: content-type value: application/json - name: content-length value: "69" - name: connection value: close - - name: retry-after - value: "456" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -633,13 +621,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1458 + headersSize: 1351 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:25.689Z - time: 279 + startedDateTime: 2024-10-22T19:10:28.044Z + time: 299 timings: blocked: -1 connect: -1 @@ -647,7 +635,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 279 + wait: 299 - _id: c7a96a6928009c667645b21de5a28adf _order: 0 cache: {} @@ -720,15 +708,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:25 GMT + value: Tue, 22 Oct 2024 19:10:28 GMT - name: content-type value: application/json - name: content-length value: "225" - name: connection value: close - - name: retry-after - value: "457" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -746,13 +732,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1459 + headersSize: 1352 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:25.351Z - time: 215 + startedDateTime: 2024-10-22T19:10:27.495Z + time: 505 timings: blocked: -1 connect: -1 @@ -760,7 +746,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 215 + wait: 505 - _id: 1e209adfd88a7c3370cadedc009a0fec _order: 0 cache: {} @@ -824,15 +810,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:30 GMT + value: Tue, 22 Oct 2024 19:10:32 GMT - name: content-type value: application/json - name: content-length value: "108" - name: connection value: close - - name: retry-after - value: "452" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -850,13 +834,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1459 + headersSize: 1352 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:30.034Z - time: 208 + startedDateTime: 2024-10-22T19:10:32.143Z + time: 278 timings: blocked: -1 connect: -1 @@ -864,7 +848,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 208 + wait: 278 - _id: 6e238e28808230031db17612cd4fe114 _order: 0 cache: {} @@ -922,15 +906,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:27 GMT + value: Tue, 22 Oct 2024 19:10:30 GMT - name: content-type value: application/json - name: content-length value: "62" - name: connection value: close - - name: retry-after - value: "455" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -948,13 +930,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1458 + headersSize: 1351 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:27.309Z - time: 216 + startedDateTime: 2024-10-22T19:10:29.851Z + time: 382 timings: blocked: -1 connect: -1 @@ -962,7 +944,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 216 + wait: 382 - _id: 322e0aeead43ccccbd57ad162a64fde3 _order: 0 cache: {} @@ -1019,15 +1001,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:25 GMT + value: Tue, 22 Oct 2024 19:10:28 GMT - name: content-type value: application/json - name: content-length value: "47" - name: connection value: close - - name: retry-after - value: "457" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -1045,13 +1025,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1458 + headersSize: 1351 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:25.348Z - time: 205 + startedDateTime: 2024-10-22T19:10:27.492Z + time: 481 timings: blocked: -1 connect: -1 @@ -1059,7 +1039,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 205 + wait: 481 - _id: e9670a64916bf997b5971f1de757b0c8 _order: 0 cache: {} @@ -1274,15 +1254,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:30 GMT + value: Tue, 22 Oct 2024 19:10:32 GMT - name: content-type value: application/json - name: transfer-encoding value: chunked - name: connection value: close - - name: retry-after - value: "452" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -1300,13 +1278,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1466 + headersSize: 1359 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:30.017Z - time: 237 + startedDateTime: 2024-10-22T19:10:32.119Z + time: 293 timings: blocked: -1 connect: -1 @@ -1314,7 +1292,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 237 + wait: 293 - _id: 49bed0d771a2067eccdc72b3a59f37ba _order: 0 cache: {} @@ -1559,15 +1537,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:26 GMT + value: Tue, 22 Oct 2024 19:10:28 GMT - name: content-type value: text/plain; charset=utf-8 - name: transfer-encoding value: chunked - name: connection value: close - - name: retry-after - value: "456" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -1585,13 +1561,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1335 + headersSize: 1228 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:26.278Z - time: 195 + startedDateTime: 2024-10-22T19:10:28.655Z + time: 297 timings: blocked: -1 connect: -1 @@ -1599,6 +1575,6 @@ log: receive: 0 send: 0 ssl: -1 - wait: 195 + wait: 297 pages: [] version: "1.2" diff --git a/recordings/e2e/telemetry/at-mention/mentioneventsfirecorrectlyprivatedotcom_1473947968/recording.har.yaml b/recordings/e2e/telemetry/at-mention/mentioneventsfirecorrectlyprivatedotcom_1473947968/recording.har.yaml new file mode 100644 index 00000000000..653dd8889ce --- /dev/null +++ b/recordings/e2e/telemetry/at-mention/mentioneventsfirecorrectlyprivatedotcom_1473947968/recording.har.yaml @@ -0,0 +1,1407 @@ +log: + _recordingName: mentioneventsfirecorrectlyprivatedotcom + creator: + comment: persister:fs + name: Polly.JS + version: 6.0.6 + entries: + - _id: d28b5897886b4e3e674b540a038c3cb4 + _order: 0 + cache: {} + request: + bodySize: 0 + cookies: [] + headers: + - name: connection + value: close + - name: host + value: sourcegraph.com + - name: accept-encoding + value: identity + - name: accept + value: "*/*" + - name: user-agent + value: vscode/1.38.2 (Node.js v20.16.0) + - name: content-type + value: application/json; charset=utf-8 + - name: authorization + value: token + REDACTED_fc324d3667e841181b0779375f26dedc911d26b303d23b29b1a2d7ee63dc77eb + - name: x-mitm-proxy-name + value: sourcegraph.dotcom + - name: x-mitm-auth-token-name + value: sourcegraph.dotcom + headersSize: 564 + httpVersion: HTTP/1.1 + method: GET + queryString: [] + url: https://sourcegraph.com/.api/client-config + response: + bodySize: 277 + content: + mimeType: text/plain; charset=utf-8 + size: 277 + text: | + { + "codyEnabled": true, + "chatEnabled": true, + "autoCompleteEnabled": true, + "customCommandsEnabled": true, + "attributionEnabled": false, + "smartContextWindowEnabled": true, + "modelsAPIEnabled": false, + "latestSupportedCompletionsStreamAPIVersion": 5 + } + cookies: [] + headers: + - name: date + value: Tue, 22 Oct 2024 19:47:42 GMT + - name: content-type + value: text/plain; charset=utf-8 + - name: content-length + value: "277" + - name: connection + value: close + - name: access-control-allow-credentials + value: "true" + - name: access-control-allow-origin + value: "" + - name: cache-control + value: no-cache, max-age=0 + - name: observed-calculated-ip-from-forwarded-for + value: 84.234.244.244 + - name: observed-x-forwarded-for + value: 84.234.244.244 + - name: vary + value: Cookie,Accept-Encoding,Authorization,Cookie, Authorization, + X-Requested-With,Cookie + - name: x-content-type-options + value: nosniff + - name: x-frame-options + value: DENY + - name: x-xss-protection + value: 1; mode=block + - name: strict-transport-security + value: max-age=31536000; includeSubDomains; preload + headersSize: 1407 + httpVersion: HTTP/1.1 + redirectURL: "" + status: 200 + statusText: OK + startedDateTime: 2024-10-22T19:47:42.601Z + time: 253 + timings: + blocked: -1 + connect: -1 + dns: -1 + receive: 0 + send: 0 + ssl: -1 + wait: 253 + - _id: 3a178a024879c2b3cce1f99f0ecd0742 + _order: 0 + cache: {} + request: + bodySize: 1195 + cookies: [] + headers: + - name: transfer-encoding + value: chunked + - name: host + value: sourcegraph.com + - name: user-agent + value: vscode/1.38.2 (Node.js v20.16.0) + - name: traceparent + value: 00-91bcfcf63c68f6032bdb370c78aa38de-3c780b43b2ea0d9d-01 + - name: content-type + value: application/json + - name: connection + value: close + - name: authorization + value: token + REDACTED_fc324d3667e841181b0779375f26dedc911d26b303d23b29b1a2d7ee63dc77eb + - name: accept-encoding + value: identity + - name: x-mitm-proxy-name + value: sourcegraph.dotcom + - name: x-mitm-auth-token-name + value: sourcegraph.dotcom + headersSize: 622 + httpVersion: HTTP/1.1 + method: POST + postData: + mimeType: application/json + params: [] + textJSON: + maxTokensToSample: 4000 + messages: + - speaker: system + text: >- + You are Cody, an AI coding assistant from Sourcegraph.If your + answer contains fenced code blocks in Markdown, include the + relevant full file path in the code block tag using this + structure: ```$LANGUAGE:$FILEPATH``` + + For executable terminal commands: enclose each command in individual "bash" language code block without comments and new lines inside. + - speaker: human + text: |- + Codebase context from file buzz.ts: + ```typescript:buzz.ts + export function fizzbuzz() { + const fizzbuzz = [] + for (let i = 1; i <= 100; i++) { + if (i % 15 === 0) { + fizzbuzz.push('FizzBuzz') + } else if (i % 3 === 0) { + fizzbuzz.push('Fizz') + } else if (i % 5 === 0) { + fizzbuzz.push('Buzz') + } else { + fizzbuzz.push(i.toString()) + } + } + return fizzbuzz + } + ``` + - speaker: assistant + text: Ok. + - speaker: human + text: |- + Answer positively without apologizing. + + You have access to the provided codebase context. + + Question: buzz.ts + model: anthropic::2024-10-22::claude-3-5-sonnet-latest + temperature: 0.2 + topK: -1 + topP: -1 + queryString: + - name: api-version + value: "2" + - name: client-name + value: vscode + - name: client-version + value: 1.38.2 + url: https://sourcegraph.com/.api/completions/stream?api-version=2&client-name=vscode&client-version=1.38.2 + response: + bodySize: 3958 + content: + mimeType: text/event-stream + size: 3958 + text: >+ + event: completion + + data: {"deltaText":"I see the buzz.ts file which contains a classic FizzBuzz implementation in TypeScript. The code exports a `fizzbuzz()` function that:\n\n1. Creates an empty array to store results\n2. Loops through numbers 1 to 100\n3. Applies the FizzBuzz rules:\n - For multiples of 15 (3x5): adds \"FizzBuzz\"\n - For multiples of 3: adds \"Fizz\" \n - For multiples of 5: adds \"Buzz\"\n - For other numbers: adds the number as a string\n4. Returns the completed array\n\nThe implementation is clean and follows standard FizzBuzz rules. The function handles all cases correctly and uses string conversion for regular numbers. The export makes it available for use in other modules.\n\nWould you like me to explain any specific part in more detail or suggest potential enhancements?","stopReason":"end_turn"} + + + event: done + + data: {} + + cookies: [] + headers: + - name: date + value: Tue, 22 Oct 2024 19:47:50 GMT + - name: content-type + value: text/event-stream + - name: transfer-encoding + value: chunked + - name: connection + value: close + - name: access-control-allow-credentials + value: "true" + - name: access-control-allow-origin + value: "" + - name: cache-control + value: no-cache + - name: observed-calculated-ip-from-forwarded-for + value: 84.234.244.244 + - name: observed-x-forwarded-for + value: 84.234.244.244 + - name: vary + value: Cookie,Accept-Encoding,Authorization,Cookie, Authorization, + X-Requested-With,Cookie + - name: x-content-type-options + value: nosniff + - name: x-frame-options + value: DENY + - name: x-xss-protection + value: 1; mode=block + - name: strict-transport-security + value: max-age=31536000; includeSubDomains; preload + headersSize: 1395 + httpVersion: HTTP/1.1 + redirectURL: "" + status: 200 + statusText: OK + startedDateTime: 2024-10-22T19:47:47.799Z + time: 4571 + timings: + blocked: -1 + connect: -1 + dns: -1 + receive: 0 + send: 0 + ssl: -1 + wait: 4571 + - _id: 28c346c4c160958f92e8f989a1737e5e + _order: 0 + cache: {} + request: + bodySize: 318 + cookies: [] + headers: + - name: connection + value: close + - name: host + value: sourcegraph.com + - name: accept-encoding + value: identity + - name: content-length + value: "318" + - name: accept + value: "*/*" + - name: user-agent + value: vscode/1.38.2 (Node.js v20.16.0) + - name: content-type + value: application/json; charset=utf-8 + - name: authorization + value: token + REDACTED_fc324d3667e841181b0779375f26dedc911d26b303d23b29b1a2d7ee63dc77eb + - name: x-mitm-proxy-name + value: sourcegraph.dotcom + - name: x-mitm-auth-token-name + value: sourcegraph.dotcom + headersSize: 612 + httpVersion: HTTP/1.1 + method: POST + postData: + mimeType: application/json; charset=utf-8 + params: [] + textJSON: + query: |- + + query CurrentSiteCodyLlmConfiguration { + site { + codyLLMConfiguration { + chatModel + chatModelMaxTokens + fastChatModel + fastChatModelMaxTokens + completionModel + completionModelMaxTokens + } + } + } + variables: {} + queryString: + - name: CurrentSiteCodyLlmConfiguration + value: null + url: https://sourcegraph.com/.api/graphql?CurrentSiteCodyLlmConfiguration + response: + bodySize: 289 + content: + mimeType: application/json + size: 289 + text: "{\"data\":{\"site\":{\"codyLLMConfiguration\":{\"chatModel\":\"sourcegra\ + ph/claude-3-5-sonnet-latest\",\"chatModelMaxTokens\":45000,\"fastCh\ + atModel\":\"sourcegraph/claude-3-haiku\",\"fastChatModelMaxTokens\"\ + :7000,\"completionModel\":\"sourcegraph/deepseek-coder-v2-lite-base\ + \",\"completionModelMaxTokens\":2048}}}}" + cookies: [] + headers: + - name: date + value: Tue, 22 Oct 2024 19:47:42 GMT + - name: content-type + value: application/json + - name: content-length + value: "289" + - name: connection + value: close + - name: access-control-allow-credentials + value: "true" + - name: access-control-allow-origin + value: "" + - name: cache-control + value: no-cache, max-age=0 + - name: observed-calculated-ip-from-forwarded-for + value: 84.234.244.244 + - name: observed-x-forwarded-for + value: 84.234.244.244 + - name: vary + value: Cookie,Accept-Encoding,Authorization,Cookie, Authorization, + X-Requested-With,Cookie + - name: x-content-type-options + value: nosniff + - name: x-frame-options + value: DENY + - name: x-xss-protection + value: 1; mode=block + - name: strict-transport-security + value: max-age=31536000; includeSubDomains; preload + headersSize: 1538 + httpVersion: HTTP/1.1 + redirectURL: "" + status: 200 + statusText: OK + startedDateTime: 2024-10-22T19:47:42.291Z + time: 263 + timings: + blocked: -1 + connect: -1 + dns: -1 + receive: 0 + send: 0 + ssl: -1 + wait: 263 + - _id: a4d641ac3093a4efbffe59352b351757 + _order: 0 + cache: {} + request: + bodySize: 165 + cookies: [] + headers: + - name: connection + value: close + - name: host + value: sourcegraph.com + - name: accept-encoding + value: identity + - name: content-length + value: "165" + - name: accept + value: "*/*" + - name: user-agent + value: vscode/1.38.2 (Node.js v20.16.0) + - name: content-type + value: application/json; charset=utf-8 + - name: authorization + value: token + REDACTED_fc324d3667e841181b0779375f26dedc911d26b303d23b29b1a2d7ee63dc77eb + - name: x-mitm-proxy-name + value: sourcegraph.dotcom + - name: x-mitm-auth-token-name + value: sourcegraph.dotcom + headersSize: 612 + httpVersion: HTTP/1.1 + method: POST + postData: + mimeType: application/json; charset=utf-8 + params: [] + textJSON: + query: |- + + query CurrentSiteCodyLlmConfiguration { + site { + codyLLMConfiguration { + smartContextWindow + } + } + } + variables: {} + queryString: + - name: CurrentSiteCodyLlmConfiguration + value: null + url: https://sourcegraph.com/.api/graphql?CurrentSiteCodyLlmConfiguration + response: + bodySize: 76 + content: + mimeType: application/json + size: 76 + text: "{\"data\":{\"site\":{\"codyLLMConfiguration\":{\"smartContextWindow\":\"\ + disabled\"}}}}" + cookies: [] + headers: + - name: date + value: Tue, 22 Oct 2024 19:47:42 GMT + - name: content-type + value: application/json + - name: content-length + value: "76" + - name: connection + value: close + - name: access-control-allow-credentials + value: "true" + - name: access-control-allow-origin + value: "" + - name: cache-control + value: no-cache, max-age=0 + - name: observed-calculated-ip-from-forwarded-for + value: 84.234.244.244 + - name: observed-x-forwarded-for + value: 84.234.244.244 + - name: vary + value: Cookie,Accept-Encoding,Authorization,Cookie, Authorization, + X-Requested-With,Cookie + - name: x-content-type-options + value: nosniff + - name: x-frame-options + value: DENY + - name: x-xss-protection + value: 1; mode=block + - name: strict-transport-security + value: max-age=31536000; includeSubDomains; preload + headersSize: 1537 + httpVersion: HTTP/1.1 + redirectURL: "" + status: 200 + statusText: OK + startedDateTime: 2024-10-22T19:47:42.293Z + time: 271 + timings: + blocked: -1 + connect: -1 + dns: -1 + receive: 0 + send: 0 + ssl: -1 + wait: 271 + - _id: 06568f66a76daea32430b82552305046 + _order: 0 + cache: {} + request: + bodySize: 150 + cookies: [] + headers: + - name: connection + value: close + - name: host + value: sourcegraph.com + - name: accept-encoding + value: identity + - name: content-length + value: "150" + - name: accept + value: "*/*" + - name: user-agent + value: vscode/1.38.2 (Node.js v20.16.0) + - name: content-type + value: application/json; charset=utf-8 + - name: authorization + value: token + REDACTED_fc324d3667e841181b0779375f26dedc911d26b303d23b29b1a2d7ee63dc77eb + - name: x-mitm-proxy-name + value: sourcegraph.dotcom + - name: x-mitm-auth-token-name + value: sourcegraph.dotcom + headersSize: 607 + httpVersion: HTTP/1.1 + method: POST + postData: + mimeType: application/json; charset=utf-8 + params: [] + textJSON: + query: |- + + query CurrentSiteCodyLlmProvider { + site { + codyLLMConfiguration { + provider + } + } + } + variables: {} + queryString: + - name: CurrentSiteCodyLlmProvider + value: null + url: https://sourcegraph.com/.api/graphql?CurrentSiteCodyLlmProvider + response: + bodySize: 69 + content: + mimeType: application/json + size: 69 + text: "{\"data\":{\"site\":{\"codyLLMConfiguration\":{\"provider\":\"sourcegraph\ + \"}}}}" + cookies: [] + headers: + - name: date + value: Tue, 22 Oct 2024 19:47:42 GMT + - name: content-type + value: application/json + - name: content-length + value: "69" + - name: connection + value: close + - name: access-control-allow-credentials + value: "true" + - name: access-control-allow-origin + value: "" + - name: cache-control + value: no-cache, max-age=0 + - name: observed-calculated-ip-from-forwarded-for + value: 84.234.244.244 + - name: observed-x-forwarded-for + value: 84.234.244.244 + - name: vary + value: Cookie,Accept-Encoding,Authorization,Cookie, Authorization, + X-Requested-With,Cookie + - name: x-content-type-options + value: nosniff + - name: x-frame-options + value: DENY + - name: x-xss-protection + value: 1; mode=block + - name: strict-transport-security + value: max-age=31536000; includeSubDomains; preload + headersSize: 1537 + httpVersion: HTTP/1.1 + redirectURL: "" + status: 200 + statusText: OK + startedDateTime: 2024-10-22T19:47:42.292Z + time: 345 + timings: + blocked: -1 + connect: -1 + dns: -1 + receive: 0 + send: 0 + ssl: -1 + wait: 345 + - _id: d1e9e9d8ae116eb7e71823b775d35828 + _order: 0 + cache: {} + request: + bodySize: 341 + cookies: [] + headers: + - name: connection + value: close + - name: host + value: sourcegraph.com + - name: accept-encoding + value: identity + - name: content-length + value: "341" + - name: accept + value: "*/*" + - name: user-agent + value: vscode/1.38.2 (Node.js v20.16.0) + - name: content-type + value: application/json; charset=utf-8 + - name: authorization + value: token + REDACTED_fc324d3667e841181b0779375f26dedc911d26b303d23b29b1a2d7ee63dc77eb + - name: x-mitm-proxy-name + value: sourcegraph.dotcom + - name: x-mitm-auth-token-name + value: sourcegraph.dotcom + headersSize: 592 + httpVersion: HTTP/1.1 + method: POST + postData: + mimeType: application/json; charset=utf-8 + params: [] + textJSON: + query: |- + + query CurrentUser { + currentUser { + id + hasVerifiedEmail + displayName + username + avatarURL + primaryEmail { + email + } + organizations { + nodes { + id + name + } + } + } + } + variables: {} + queryString: + - name: CurrentUser + value: null + url: https://sourcegraph.com/.api/graphql?CurrentUser + response: + bodySize: 334 + content: + mimeType: application/json + size: 334 + text: "{\"data\":{\"currentUser\":{\"id\":\"VXNlcjozNDQ1Mjc=\",\"hasVerifiedEma\ + il\":true,\"displayName\":\"SourcegraphBot-9000\",\"username\":\"so\ + urcegraphbot9k-fnwmu\",\"avatarURL\":\"https://lh3.googleuserconten\ + t.com/a/ACg8ocKFaqbYeuBkbj5dFEzx8bXV8a7i3sVbKCNPV7G0uyvk=s96-c\",\"\ + primaryEmail\":{\"email\":\"sourcegraphbot9k@gmail.com\"},\"organiz\ + ations\":{\"nodes\":[]}}}}" + cookies: [] + headers: + - name: date + value: Tue, 22 Oct 2024 19:47:42 GMT + - name: content-type + value: application/json + - name: content-length + value: "334" + - name: connection + value: close + - name: access-control-allow-credentials + value: "true" + - name: access-control-allow-origin + value: "" + - name: cache-control + value: no-cache, max-age=0 + - name: observed-calculated-ip-from-forwarded-for + value: 84.234.244.244 + - name: observed-x-forwarded-for + value: 84.234.244.244 + - name: vary + value: Cookie,Accept-Encoding,Authorization,Cookie, Authorization, + X-Requested-With,Cookie + - name: x-content-type-options + value: nosniff + - name: x-frame-options + value: DENY + - name: x-xss-protection + value: 1; mode=block + - name: strict-transport-security + value: max-age=31536000; includeSubDomains; preload + headersSize: 1538 + httpVersion: HTTP/1.1 + redirectURL: "" + status: 200 + statusText: OK + startedDateTime: 2024-10-22T19:47:41.913Z + time: 346 + timings: + blocked: -1 + connect: -1 + dns: -1 + receive: 0 + send: 0 + ssl: -1 + wait: 346 + - _id: 9fdf3418a505d251116e020fda591c55 + _order: 0 + cache: {} + request: + bodySize: 268 + cookies: [] + headers: + - name: connection + value: close + - name: host + value: sourcegraph.com + - name: accept-encoding + value: identity + - name: content-length + value: "268" + - name: accept + value: "*/*" + - name: user-agent + value: vscode/1.38.2 (Node.js v20.16.0) + - name: content-type + value: application/json; charset=utf-8 + - name: authorization + value: token + REDACTED_fc324d3667e841181b0779375f26dedc911d26b303d23b29b1a2d7ee63dc77eb + - name: x-mitm-proxy-name + value: sourcegraph.dotcom + - name: x-mitm-auth-token-name + value: sourcegraph.dotcom + headersSize: 608 + httpVersion: HTTP/1.1 + method: POST + postData: + mimeType: application/json; charset=utf-8 + params: [] + textJSON: + query: |- + + query CurrentUserCodySubscription { + currentUser { + codySubscription { + status + plan + applyProRateLimits + currentPeriodStartAt + currentPeriodEndAt + } + } + } + variables: {} + queryString: + - name: CurrentUserCodySubscription + value: null + url: https://sourcegraph.com/.api/graphql?CurrentUserCodySubscription + response: + bodySize: 194 + content: + mimeType: application/json + size: 194 + text: "{\"data\":{\"currentUser\":{\"codySubscription\":{\"status\":\"ACTIVE\",\ + \"plan\":\"PRO\",\"applyProRateLimits\":true,\"currentPeriodStartAt\ + \":\"2024-10-14T22:11:32Z\",\"currentPeriodEndAt\":\"2024-11-14T22:\ + 11:32Z\"}}}}" + cookies: [] + headers: + - name: date + value: Tue, 22 Oct 2024 19:47:42 GMT + - name: content-type + value: application/json + - name: content-length + value: "194" + - name: connection + value: close + - name: access-control-allow-credentials + value: "true" + - name: access-control-allow-origin + value: "" + - name: cache-control + value: no-cache, max-age=0 + - name: observed-calculated-ip-from-forwarded-for + value: 84.234.244.244 + - name: observed-x-forwarded-for + value: 84.234.244.244 + - name: vary + value: Cookie,Accept-Encoding,Authorization,Cookie, Authorization, + X-Requested-With,Cookie + - name: x-content-type-options + value: nosniff + - name: x-frame-options + value: DENY + - name: x-xss-protection + value: 1; mode=block + - name: strict-transport-security + value: max-age=31536000; includeSubDomains; preload + headersSize: 1538 + httpVersion: HTTP/1.1 + redirectURL: "" + status: 200 + statusText: OK + startedDateTime: 2024-10-22T19:47:42.297Z + time: 459 + timings: + blocked: -1 + connect: -1 + dns: -1 + receive: 0 + send: 0 + ssl: -1 + wait: 459 + - _id: 53cefe6e5a3fffbd639479618b6c1a57 + _order: 0 + cache: {} + request: + bodySize: 260 + cookies: [] + headers: + - name: connection + value: close + - name: host + value: sourcegraph.com + - name: accept-encoding + value: identity + - name: content-length + value: "260" + - name: accept + value: "*/*" + - name: user-agent + value: vscode/1.38.2 (Node.js v20.16.0) + - name: content-type + value: application/json; charset=utf-8 + - name: authorization + value: token + REDACTED_fc324d3667e841181b0779375f26dedc911d26b303d23b29b1a2d7ee63dc77eb + - name: x-mitm-proxy-name + value: sourcegraph.dotcom + - name: x-mitm-auth-token-name + value: sourcegraph.dotcom + headersSize: 593 + httpVersion: HTTP/1.1 + method: POST + postData: + mimeType: application/json; charset=utf-8 + params: [] + textJSON: + query: | + + query Repositories($names: [String!]!, $first: Int!) { + repositories(names: $names, first: $first) { + nodes { + name + id + } + } + } + variables: + first: 10 + names: + - github.com/sourcegraph/private-invisible + queryString: + - name: Repositories + value: null + url: https://sourcegraph.com/.api/graphql?Repositories + response: + bodySize: 38 + content: + mimeType: application/json + size: 38 + text: "{\"data\":{\"repositories\":{\"nodes\":[]}}}" + cookies: [] + headers: + - name: date + value: Tue, 22 Oct 2024 19:47:46 GMT + - name: content-type + value: application/json + - name: content-length + value: "38" + - name: connection + value: close + - name: access-control-allow-credentials + value: "true" + - name: access-control-allow-origin + value: "" + - name: cache-control + value: no-cache, max-age=0 + - name: observed-calculated-ip-from-forwarded-for + value: 84.234.244.244 + - name: observed-x-forwarded-for + value: 84.234.244.244 + - name: vary + value: Cookie,Accept-Encoding,Authorization,Cookie, Authorization, + X-Requested-With,Cookie + - name: x-content-type-options + value: nosniff + - name: x-frame-options + value: DENY + - name: x-xss-protection + value: 1; mode=block + - name: strict-transport-security + value: max-age=31536000; includeSubDomains; preload + headersSize: 1537 + httpVersion: HTTP/1.1 + redirectURL: "" + status: 200 + statusText: OK + startedDateTime: 2024-10-22T19:47:46.677Z + time: 258 + timings: + blocked: -1 + connect: -1 + dns: -1 + receive: 0 + send: 0 + ssl: -1 + wait: 258 + - _id: a4f06f44ac6627e56ffe62ff40b4aaa9 + _order: 0 + cache: {} + request: + bodySize: 101 + cookies: [] + headers: + - name: connection + value: close + - name: host + value: sourcegraph.com + - name: accept-encoding + value: identity + - name: content-length + value: "101" + - name: accept + value: "*/*" + - name: user-agent + value: vscode/1.38.2 (Node.js v20.16.0) + - name: content-type + value: application/json; charset=utf-8 + - name: authorization + value: token + REDACTED_fc324d3667e841181b0779375f26dedc911d26b303d23b29b1a2d7ee63dc77eb + - name: x-mitm-proxy-name + value: sourcegraph.dotcom + - name: x-mitm-auth-token-name + value: sourcegraph.dotcom + headersSize: 599 + httpVersion: HTTP/1.1 + method: POST + postData: + mimeType: application/json; charset=utf-8 + params: [] + textJSON: + query: |- + + query SiteProductVersion { + site { + productVersion + } + } + variables: {} + queryString: + - name: SiteProductVersion + value: null + url: https://sourcegraph.com/.api/graphql?SiteProductVersion + response: + bodySize: 73 + content: + mimeType: application/json + size: 73 + text: "{\"data\":{\"site\":{\"productVersion\":\"296687_2024-10-22_5.8-352d60d3\ + 1a67\"}}}" + cookies: [] + headers: + - name: date + value: Tue, 22 Oct 2024 19:47:42 GMT + - name: content-type + value: application/json + - name: content-length + value: "73" + - name: connection + value: close + - name: access-control-allow-credentials + value: "true" + - name: access-control-allow-origin + value: "" + - name: cache-control + value: no-cache, max-age=0 + - name: observed-calculated-ip-from-forwarded-for + value: 84.234.244.244 + - name: observed-x-forwarded-for + value: 84.234.244.244 + - name: vary + value: Cookie,Accept-Encoding,Authorization,Cookie, Authorization, + X-Requested-With,Cookie + - name: x-content-type-options + value: nosniff + - name: x-frame-options + value: DENY + - name: x-xss-protection + value: 1; mode=block + - name: strict-transport-security + value: max-age=31536000; includeSubDomains; preload + headersSize: 1537 + httpVersion: HTTP/1.1 + redirectURL: "" + status: 200 + statusText: OK + startedDateTime: 2024-10-22T19:47:41.911Z + time: 344 + timings: + blocked: -1 + connect: -1 + dns: -1 + receive: 0 + send: 0 + ssl: -1 + wait: 344 + - _id: 17cdda983992f1d54910d5c8827cdb03 + _order: 0 + cache: {} + request: + bodySize: 795 + cookies: [] + headers: + - name: connection + value: close + - name: host + value: sourcegraph.com + - name: accept-encoding + value: identity + - name: content-length + value: "795" + - name: accept + value: "*/*" + - name: user-agent + value: vscode/1.38.2 (Node.js v20.16.0) + - name: content-type + value: application/json; charset=utf-8 + - name: authorization + value: token + REDACTED_fc324d3667e841181b0779375f26dedc911d26b303d23b29b1a2d7ee63dc77eb + - name: x-mitm-proxy-name + value: sourcegraph.dotcom + - name: x-mitm-auth-token-name + value: sourcegraph.dotcom + headersSize: 594 + httpVersion: HTTP/1.1 + method: POST + postData: + mimeType: application/json; charset=utf-8 + params: [] + textJSON: + query: >- + + query ViewerPrompts($query: String!) { + prompts(query: $query, first: 100, includeDrafts: false, includeViewerDrafts: true, viewerIsAffiliated: true, orderBy: PROMPT_UPDATED_AT) { + nodes { + id + name + nameWithOwner + owner { + namespaceName + } + description + draft + autoSubmit + mode + definition { + text + } + url + createdBy { + id + username + displayName + avatarURL + } + } + totalCount + pageInfo { + hasNextPage + endCursor + } + } + } + variables: + query: "" + queryString: + - name: ViewerPrompts + value: null + url: https://sourcegraph.com/.api/graphql?ViewerPrompts + response: + bodySize: 98 + content: + mimeType: application/json + size: 98 + text: "{\"data\":{\"prompts\":{\"nodes\":[],\"totalCount\":0,\"pageInfo\":{\"ha\ + sNextPage\":false,\"endCursor\":null}}}}" + cookies: [] + headers: + - name: date + value: Tue, 22 Oct 2024 19:47:47 GMT + - name: content-type + value: application/json + - name: content-length + value: "98" + - name: connection + value: close + - name: access-control-allow-credentials + value: "true" + - name: access-control-allow-origin + value: "" + - name: cache-control + value: no-cache, max-age=0 + - name: observed-calculated-ip-from-forwarded-for + value: 84.234.244.244 + - name: observed-x-forwarded-for + value: 84.234.244.244 + - name: vary + value: Cookie,Accept-Encoding,Authorization,Cookie, Authorization, + X-Requested-With,Cookie + - name: x-content-type-options + value: nosniff + - name: x-frame-options + value: DENY + - name: x-xss-protection + value: 1; mode=block + - name: strict-transport-security + value: max-age=31536000; includeSubDomains; preload + headersSize: 1537 + httpVersion: HTTP/1.1 + redirectURL: "" + status: 200 + statusText: OK + startedDateTime: 2024-10-22T19:47:46.951Z + time: 315 + timings: + blocked: -1 + connect: -1 + dns: -1 + receive: 0 + send: 0 + ssl: -1 + wait: 315 + - _id: 5bf27035df04d471d88a6d6cb52a0dd6 + _order: 0 + cache: {} + request: + bodySize: 0 + cookies: [] + headers: + - name: connection + value: close + - name: host + value: sourcegraph.com + - name: accept-encoding + value: identity + - name: accept + value: "*/*" + - name: user-agent + value: vscode/1.38.2 (Node.js v20.16.0) + - name: authorization + value: token + REDACTED_fc324d3667e841181b0779375f26dedc911d26b303d23b29b1a2d7ee63dc77eb + - name: x-mitm-proxy-name + value: sourcegraph.dotcom + - name: x-mitm-auth-token-name + value: sourcegraph.dotcom + headersSize: 464 + httpVersion: HTTP/1.1 + method: GET + queryString: [] + url: https://sourcegraph.com/.api/modelconfig/supported-models.json + response: + bodySize: 6154 + content: + mimeType: text/plain; charset=utf-8 + size: 6154 + text: > + { + "schemaVersion": "1.0", + "revision": "0.0.0+dev", + "providers": [ + { + "id": "anthropic", + "displayName": "Anthropic" + }, + { + "id": "fireworks", + "displayName": "Fireworks" + }, + { + "id": "google", + "displayName": "Google" + }, + { + "id": "openai", + "displayName": "OpenAI" + }, + { + "id": "mistral", + "displayName": "Mistral" + } + ], + "models": [ + { + "modelRef": "anthropic::2024-10-22::claude-3-5-sonnet-latest", + "displayName": "Claude 3.5 Sonnet (Latest)", + "modelName": "claude-3-5-sonnet-latest", + "capabilities": [ + "edit", + "chat", + "vision" + ], + "category": "accuracy", + "status": "stable", + "tier": "free", + "contextWindow": { + "maxInputTokens": 45000, + "maxOutputTokens": 4000 + } + }, + { + "modelRef": "anthropic::2023-06-01::claude-3-opus", + "displayName": "Claude 3 Opus", + "modelName": "claude-3-opus-20240229", + "capabilities": [ + "edit", + "chat" + ], + "category": "other", + "status": "stable", + "tier": "pro", + "contextWindow": { + "maxInputTokens": 45000, + "maxOutputTokens": 4000 + } + }, + { + "modelRef": "anthropic::2023-06-01::claude-3-haiku", + "displayName": "Claude 3 Haiku", + "modelName": "claude-3-haiku-20240307", + "capabilities": [ + "edit", + "chat" + ], + "category": "speed", + "status": "stable", + "tier": "free", + "contextWindow": { + "maxInputTokens": 7000, + "maxOutputTokens": 4000 + } + }, + { + "modelRef": "fireworks::v1::starcoder", + "displayName": "StarCoder", + "modelName": "starcoder", + "capabilities": [ + "autocomplete" + ], + "category": "speed", + "status": "stable", + "tier": "free", + "contextWindow": { + "maxInputTokens": 2048, + "maxOutputTokens": 256 + } + }, + { + "modelRef": "fireworks::v1::deepseek-coder-v2-lite-base", + "displayName": "DeepSeek V2 Lite Base", + "modelName": "accounts/sourcegraph/models/deepseek-coder-v2-lite-base", + "capabilities": [ + "autocomplete" + ], + "category": "speed", + "status": "stable", + "tier": "free", + "contextWindow": { + "maxInputTokens": 2048, + "maxOutputTokens": 256 + } + }, + { + "modelRef": "google::v1::gemini-1.5-pro", + "displayName": "Gemini 1.5 Pro", + "modelName": "gemini-1.5-pro", + "capabilities": [ + "edit", + "chat" + ], + "category": "balanced", + "status": "stable", + "tier": "free", + "contextWindow": { + "maxInputTokens": 45000, + "maxOutputTokens": 4000 + } + }, + { + "modelRef": "google::v1::gemini-1.5-flash", + "displayName": "Gemini 1.5 Flash", + "modelName": "gemini-1.5-flash", + "capabilities": [ + "edit", + "chat" + ], + "category": "speed", + "status": "stable", + "tier": "free", + "contextWindow": { + "maxInputTokens": 45000, + "maxOutputTokens": 4000 + } + }, + { + "modelRef": "mistral::v1::mixtral-8x7b-instruct", + "displayName": "Mixtral 8x7B", + "modelName": "accounts/fireworks/models/mixtral-8x7b-instruct", + "capabilities": [ + "chat" + ], + "category": "speed", + "status": "stable", + "tier": "free", + "contextWindow": { + "maxInputTokens": 7000, + "maxOutputTokens": 4000 + } + }, + { + "modelRef": "openai::2024-02-01::gpt-4o", + "displayName": "GPT-4o", + "modelName": "gpt-4o", + "capabilities": [ + "edit", + "chat", + "vision" + ], + "category": "accuracy", + "status": "stable", + "tier": "pro", + "contextWindow": { + "maxInputTokens": 45000, + "maxOutputTokens": 4000 + } + }, + { + "modelRef": "openai::2024-02-01::cody-chat-preview-001", + "displayName": "OpenAI o1-preview", + "modelName": "cody-chat-preview-001", + "capabilities": [ + "chat" + ], + "category": "accuracy", + "status": "waitlist", + "tier": "pro", + "contextWindow": { + "maxInputTokens": 45000, + "maxOutputTokens": 4000 + } + }, + { + "modelRef": "openai::2024-02-01::cody-chat-preview-002", + "displayName": "OpenAI o1-mini", + "modelName": "cody-chat-preview-002", + "capabilities": [ + "chat" + ], + "category": "accuracy", + "status": "waitlist", + "tier": "pro", + "contextWindow": { + "maxInputTokens": 45000, + "maxOutputTokens": 4000 + } + } + ], + "defaultModels": { + "chat": "anthropic::2024-10-22::claude-3-5-sonnet-latest", + "fastChat": "anthropic::2023-06-01::claude-3-haiku", + "codeCompletion": "fireworks::v1::deepseek-coder-v2-lite-base" + } + } + cookies: [] + headers: + - name: date + value: Tue, 22 Oct 2024 19:47:43 GMT + - name: content-type + value: text/plain; charset=utf-8 + - name: transfer-encoding + value: chunked + - name: connection + value: close + - name: access-control-allow-credentials + value: "true" + - name: access-control-allow-origin + value: "" + - name: cache-control + value: no-cache, max-age=0 + - name: observed-calculated-ip-from-forwarded-for + value: 84.234.244.244 + - name: observed-x-forwarded-for + value: 84.234.244.244 + - name: vary + value: Cookie,Accept-Encoding,Authorization,Cookie, Authorization, + X-Requested-With,Cookie + - name: x-content-type-options + value: nosniff + - name: x-frame-options + value: DENY + - name: x-xss-protection + value: 1; mode=block + - name: strict-transport-security + value: max-age=31536000; includeSubDomains; preload + headersSize: 1414 + httpVersion: HTTP/1.1 + redirectURL: "" + status: 200 + statusText: OK + startedDateTime: 2024-10-22T19:47:42.859Z + time: 290 + timings: + blocked: -1 + connect: -1 + dns: -1 + receive: 0 + send: 0 + ssl: -1 + wait: 290 + pages: [] + version: "1.2" diff --git a/recordings/e2e/telemetry/at-mention/mentioneventsfirecorrectlyprivateenterprise_3930155387/recording.har.yaml b/recordings/e2e/telemetry/at-mention/mentioneventsfirecorrectlyprivateenterprise_3930155387/recording.har.yaml new file mode 100644 index 00000000000..5080c95dd6f --- /dev/null +++ b/recordings/e2e/telemetry/at-mention/mentioneventsfirecorrectlyprivateenterprise_3930155387/recording.har.yaml @@ -0,0 +1,1480 @@ +log: + _recordingName: mentioneventsfirecorrectlyprivateenterprise + creator: + comment: persister:fs + name: Polly.JS + version: 6.0.6 + entries: + - _id: 4b648596e5a6153bcc004b28c9b7d018 + _order: 0 + cache: {} + request: + bodySize: 0 + cookies: [] + headers: + - name: connection + value: close + - name: host + value: demo.sourcegraph.com + - name: accept-encoding + value: identity + - name: accept + value: "*/*" + - name: user-agent + value: vscode/1.38.2 (Node.js v20.16.0) + - name: content-type + value: application/json; charset=utf-8 + - name: authorization + value: token + REDACTED_69e9f79ce29352d014eeb80b56510341844eb82ad9abac7cab3631c7e873e4ce + - name: x-mitm-proxy-name + value: sourcegraph.enterprise + - name: x-mitm-auth-token-name + value: sourcegraph.enterprise + headersSize: 575 + httpVersion: HTTP/1.1 + method: GET + queryString: [] + url: https://demo.sourcegraph.com/.api/client-config + response: + bodySize: 275 + content: + mimeType: text/plain; charset=utf-8 + size: 275 + text: | + { + "codyEnabled": true, + "chatEnabled": true, + "autoCompleteEnabled": true, + "customCommandsEnabled": true, + "attributionEnabled": true, + "smartContextWindowEnabled": true, + "modelsAPIEnabled": true, + "latestSupportedCompletionsStreamAPIVersion": 4 + } + cookies: [] + headers: + - name: date + value: Tue, 22 Oct 2024 19:47:43 GMT + - name: content-type + value: text/plain; charset=utf-8 + - name: content-length + value: "275" + - name: connection + value: close + - name: access-control-allow-credentials + value: "true" + - name: access-control-allow-origin + value: "" + - name: cache-control + value: no-cache, max-age=0 + - name: vary + value: Accept-Encoding, Authorization, Cookie, Authorization, X-Requested-With, + Cookie + - name: x-content-type-options + value: nosniff + - name: x-frame-options + value: DENY + - name: x-xss-protection + value: 1; mode=block + - name: strict-transport-security + value: max-age=31536000; includeSubDomains; preload + headersSize: 1221 + httpVersion: HTTP/1.1 + redirectURL: "" + status: 200 + statusText: OK + startedDateTime: 2024-10-22T19:47:42.929Z + time: 277 + timings: + blocked: -1 + connect: -1 + dns: -1 + receive: 0 + send: 0 + ssl: -1 + wait: 277 + - _id: 9b8c9f5ea1381cac85093e502a8c7156 + _order: 0 + cache: {} + request: + bodySize: 1188 + cookies: [] + headers: + - name: transfer-encoding + value: chunked + - name: host + value: demo.sourcegraph.com + - name: user-agent + value: vscode/1.38.2 (Node.js v20.16.0) + - name: traceparent + value: 00-46b89a658cf8eaefc2d76411bd53c9e6-05669fb79ea66303-01 + - name: content-type + value: application/json + - name: connection + value: close + - name: authorization + value: token + REDACTED_69e9f79ce29352d014eeb80b56510341844eb82ad9abac7cab3631c7e873e4ce + - name: accept-encoding + value: identity + - name: x-mitm-proxy-name + value: sourcegraph.enterprise + - name: x-mitm-auth-token-name + value: sourcegraph.enterprise + headersSize: 633 + httpVersion: HTTP/1.1 + method: POST + postData: + mimeType: application/json + params: [] + textJSON: + maxTokensToSample: 4000 + messages: + - speaker: system + text: >- + You are Cody, an AI coding assistant from Sourcegraph.If your + answer contains fenced code blocks in Markdown, include the + relevant full file path in the code block tag using this + structure: ```$LANGUAGE:$FILEPATH``` + + For executable terminal commands: enclose each command in individual "bash" language code block without comments and new lines inside. + - speaker: human + text: |- + Codebase context from file buzz.ts: + ```typescript:buzz.ts + export function fizzbuzz() { + const fizzbuzz = [] + for (let i = 1; i <= 100; i++) { + if (i % 15 === 0) { + fizzbuzz.push('FizzBuzz') + } else if (i % 3 === 0) { + fizzbuzz.push('Fizz') + } else if (i % 5 === 0) { + fizzbuzz.push('Buzz') + } else { + fizzbuzz.push(i.toString()) + } + } + return fizzbuzz + } + ``` + - speaker: assistant + text: Ok. + - speaker: human + text: |- + Answer positively without apologizing. + + You have access to the provided codebase context. + + Question: buzz.ts + model: anthropic::2023-06-01::claude-3.5-sonnet + temperature: 0.2 + topK: -1 + topP: -1 + queryString: + - name: api-version + value: "2" + - name: client-name + value: vscode + - name: client-version + value: 1.38.2 + url: https://demo.sourcegraph.com/.api/completions/stream?api-version=2&client-name=vscode&client-version=1.38.2 + response: + bodySize: 4715 + content: + mimeType: text/event-stream + size: 4715 + text: >+ + event: completion + + data: {"deltaText":"Certainly! I'd be happy to discuss the buzz.ts file you've provided. This file contains a TypeScript implementation of the classic FizzBuzz problem. Here's a breakdown of what the code does:\n\n1. It exports a function called `fizzbuzz()`.\n2. Inside the function, it creates an empty array called `fizzbuzz`.\n3. It then loops from 1 to 100, applying the FizzBuzz rules:\n - If the number is divisible by both 3 and 5 (i.e., divisible by 15), it adds 'FizzBuzz' to the array.\n - If the number is only divisible by 3, it adds 'Fizz' to the array.\n - If the number is only divisible by 5, it adds 'Buzz' to the array.\n - For any other number, it adds the number itself (as a string) to the array.\n4. Finally, it returns the completed `fizzbuzz` array.\n\nThis implementation is concise and follows the standard FizzBuzz rules. It's a good example of how to solve this common programming challenge in TypeScript. Is there anything specific about this file you'd like to know more about or any changes you'd like to make?","stopReason":"end_turn"} + + + event: done + + data: {} + + cookies: [] + headers: + - name: date + value: Tue, 22 Oct 2024 19:47:49 GMT + - name: content-type + value: text/event-stream + - name: transfer-encoding + value: chunked + - name: connection + value: close + - name: retry-after + value: "600" + - name: access-control-allow-credentials + value: "true" + - name: access-control-allow-origin + value: "" + - name: cache-control + value: no-cache + - name: vary + value: Accept-Encoding, Authorization, Cookie, Authorization, X-Requested-With, + Cookie + - name: x-content-type-options + value: nosniff + - name: x-frame-options + value: DENY + - name: x-xss-protection + value: 1; mode=block + - name: strict-transport-security + value: max-age=31536000; includeSubDomains; preload + headersSize: 1316 + httpVersion: HTTP/1.1 + redirectURL: "" + status: 200 + statusText: OK + startedDateTime: 2024-10-22T19:47:46.034Z + time: 7832 + timings: + blocked: -1 + connect: -1 + dns: -1 + receive: 0 + send: 0 + ssl: -1 + wait: 7832 + - _id: 37a9b2bda053ce2763b93244ff1af838 + _order: 0 + cache: {} + request: + bodySize: 144 + cookies: [] + headers: + - name: connection + value: close + - name: host + value: demo.sourcegraph.com + - name: accept-encoding + value: identity + - name: content-length + value: "144" + - name: accept + value: "*/*" + - name: user-agent + value: vscode/1.38.2 (Node.js v20.16.0) + - name: content-type + value: application/json; charset=utf-8 + - name: authorization + value: token + REDACTED_69e9f79ce29352d014eeb80b56510341844eb82ad9abac7cab3631c7e873e4ce + - name: x-mitm-proxy-name + value: sourcegraph.enterprise + - name: x-mitm-auth-token-name + value: sourcegraph.enterprise + headersSize: 606 + httpVersion: HTTP/1.1 + method: POST + postData: + mimeType: application/json; charset=utf-8 + params: [] + textJSON: + query: |- + + query ContextFilters { + site { + codyContextFilters(version: V1) { + raw + } + } + } + variables: {} + queryString: + - name: ContextFilters + value: null + url: https://demo.sourcegraph.com/.api/graphql?ContextFilters + response: + bodySize: 53 + content: + mimeType: application/json + size: 53 + text: "{\"data\":{\"site\":{\"codyContextFilters\":{\"raw\":null}}}}" + cookies: [] + headers: + - name: date + value: Tue, 22 Oct 2024 19:47:44 GMT + - name: content-type + value: application/json + - name: content-length + value: "53" + - name: connection + value: close + - name: access-control-allow-credentials + value: "true" + - name: access-control-allow-origin + value: "" + - name: cache-control + value: no-cache, max-age=0 + - name: vary + value: Accept-Encoding, Authorization, Cookie, Authorization, X-Requested-With, + Cookie + - name: x-content-type-options + value: nosniff + - name: x-frame-options + value: DENY + - name: x-xss-protection + value: 1; mode=block + - name: strict-transport-security + value: max-age=31536000; includeSubDomains; preload + headersSize: 1351 + httpVersion: HTTP/1.1 + redirectURL: "" + status: 200 + statusText: OK + startedDateTime: 2024-10-22T19:47:44.303Z + time: 316 + timings: + blocked: -1 + connect: -1 + dns: -1 + receive: 0 + send: 0 + ssl: -1 + wait: 316 + - _id: fa5b795606a9596f1b7383979e00bde6 + _order: 0 + cache: {} + request: + bodySize: 318 + cookies: [] + headers: + - name: connection + value: close + - name: host + value: demo.sourcegraph.com + - name: accept-encoding + value: identity + - name: content-length + value: "318" + - name: accept + value: "*/*" + - name: user-agent + value: vscode/1.38.2 (Node.js v20.16.0) + - name: content-type + value: application/json; charset=utf-8 + - name: authorization + value: token + REDACTED_69e9f79ce29352d014eeb80b56510341844eb82ad9abac7cab3631c7e873e4ce + - name: x-mitm-proxy-name + value: sourcegraph.enterprise + - name: x-mitm-auth-token-name + value: sourcegraph.enterprise + headersSize: 623 + httpVersion: HTTP/1.1 + method: POST + postData: + mimeType: application/json; charset=utf-8 + params: [] + textJSON: + query: |- + + query CurrentSiteCodyLlmConfiguration { + site { + codyLLMConfiguration { + chatModel + chatModelMaxTokens + fastChatModel + fastChatModelMaxTokens + completionModel + completionModelMaxTokens + } + } + } + variables: {} + queryString: + - name: CurrentSiteCodyLlmConfiguration + value: null + url: https://demo.sourcegraph.com/.api/graphql?CurrentSiteCodyLlmConfiguration + response: + bodySize: 282 + content: + mimeType: application/json + size: 282 + text: "{\"data\":{\"site\":{\"codyLLMConfiguration\":{\"chatModel\":\"sourcegra\ + ph/claude-3.5-sonnet\",\"chatModelMaxTokens\":45000,\"fastChatModel\ + \":\"sourcegraph/claude-3-haiku\",\"fastChatModelMaxTokens\":7000,\ + \"completionModel\":\"sourcegraph/deepseek-coder-v2-lite-base\",\"c\ + ompletionModelMaxTokens\":2048}}}}" + cookies: [] + headers: + - name: date + value: Tue, 22 Oct 2024 19:47:43 GMT + - name: content-type + value: application/json + - name: content-length + value: "282" + - name: connection + value: close + - name: access-control-allow-credentials + value: "true" + - name: access-control-allow-origin + value: "" + - name: cache-control + value: no-cache, max-age=0 + - name: vary + value: Accept-Encoding, Authorization, Cookie, Authorization, X-Requested-With, + Cookie + - name: x-content-type-options + value: nosniff + - name: x-frame-options + value: DENY + - name: x-xss-protection + value: 1; mode=block + - name: strict-transport-security + value: max-age=31536000; includeSubDomains; preload + headersSize: 1352 + httpVersion: HTTP/1.1 + redirectURL: "" + status: 200 + statusText: OK + startedDateTime: 2024-10-22T19:47:42.699Z + time: 240 + timings: + blocked: -1 + connect: -1 + dns: -1 + receive: 0 + send: 0 + ssl: -1 + wait: 240 + - _id: 1567a774f8955f42799016aceb946e19 + _order: 0 + cache: {} + request: + bodySize: 165 + cookies: [] + headers: + - name: connection + value: close + - name: host + value: demo.sourcegraph.com + - name: accept-encoding + value: identity + - name: content-length + value: "165" + - name: accept + value: "*/*" + - name: user-agent + value: vscode/1.38.2 (Node.js v20.16.0) + - name: content-type + value: application/json; charset=utf-8 + - name: authorization + value: token + REDACTED_69e9f79ce29352d014eeb80b56510341844eb82ad9abac7cab3631c7e873e4ce + - name: x-mitm-proxy-name + value: sourcegraph.enterprise + - name: x-mitm-auth-token-name + value: sourcegraph.enterprise + headersSize: 623 + httpVersion: HTTP/1.1 + method: POST + postData: + mimeType: application/json; charset=utf-8 + params: [] + textJSON: + query: |- + + query CurrentSiteCodyLlmConfiguration { + site { + codyLLMConfiguration { + smartContextWindow + } + } + } + variables: {} + queryString: + - name: CurrentSiteCodyLlmConfiguration + value: null + url: https://demo.sourcegraph.com/.api/graphql?CurrentSiteCodyLlmConfiguration + response: + bodySize: 76 + content: + mimeType: application/json + size: 76 + text: "{\"data\":{\"site\":{\"codyLLMConfiguration\":{\"smartContextWindow\":\"\ + disabled\"}}}}" + cookies: [] + headers: + - name: date + value: Tue, 22 Oct 2024 19:47:43 GMT + - name: content-type + value: application/json + - name: content-length + value: "76" + - name: connection + value: close + - name: access-control-allow-credentials + value: "true" + - name: access-control-allow-origin + value: "" + - name: cache-control + value: no-cache, max-age=0 + - name: vary + value: Accept-Encoding, Authorization, Cookie, Authorization, X-Requested-With, + Cookie + - name: x-content-type-options + value: nosniff + - name: x-frame-options + value: DENY + - name: x-xss-protection + value: 1; mode=block + - name: strict-transport-security + value: max-age=31536000; includeSubDomains; preload + headersSize: 1351 + httpVersion: HTTP/1.1 + redirectURL: "" + status: 200 + statusText: OK + startedDateTime: 2024-10-22T19:47:42.700Z + time: 243 + timings: + blocked: -1 + connect: -1 + dns: -1 + receive: 0 + send: 0 + ssl: -1 + wait: 243 + - _id: cf3c3975c58a7fd1491c89c4bdda15e9 + _order: 0 + cache: {} + request: + bodySize: 150 + cookies: [] + headers: + - name: connection + value: close + - name: host + value: demo.sourcegraph.com + - name: accept-encoding + value: identity + - name: content-length + value: "150" + - name: accept + value: "*/*" + - name: user-agent + value: vscode/1.38.2 (Node.js v20.16.0) + - name: content-type + value: application/json; charset=utf-8 + - name: authorization + value: token + REDACTED_69e9f79ce29352d014eeb80b56510341844eb82ad9abac7cab3631c7e873e4ce + - name: x-mitm-proxy-name + value: sourcegraph.enterprise + - name: x-mitm-auth-token-name + value: sourcegraph.enterprise + headersSize: 618 + httpVersion: HTTP/1.1 + method: POST + postData: + mimeType: application/json; charset=utf-8 + params: [] + textJSON: + query: |- + + query CurrentSiteCodyLlmProvider { + site { + codyLLMConfiguration { + provider + } + } + } + variables: {} + queryString: + - name: CurrentSiteCodyLlmProvider + value: null + url: https://demo.sourcegraph.com/.api/graphql?CurrentSiteCodyLlmProvider + response: + bodySize: 69 + content: + mimeType: application/json + size: 69 + text: "{\"data\":{\"site\":{\"codyLLMConfiguration\":{\"provider\":\"sourcegraph\ + \"}}}}" + cookies: [] + headers: + - name: date + value: Tue, 22 Oct 2024 19:47:43 GMT + - name: content-type + value: application/json + - name: content-length + value: "69" + - name: connection + value: close + - name: access-control-allow-credentials + value: "true" + - name: access-control-allow-origin + value: "" + - name: cache-control + value: no-cache, max-age=0 + - name: vary + value: Accept-Encoding, Authorization, Cookie, Authorization, X-Requested-With, + Cookie + - name: x-content-type-options + value: nosniff + - name: x-frame-options + value: DENY + - name: x-xss-protection + value: 1; mode=block + - name: strict-transport-security + value: max-age=31536000; includeSubDomains; preload + headersSize: 1351 + httpVersion: HTTP/1.1 + redirectURL: "" + status: 200 + statusText: OK + startedDateTime: 2024-10-22T19:47:42.700Z + time: 241 + timings: + blocked: -1 + connect: -1 + dns: -1 + receive: 0 + send: 0 + ssl: -1 + wait: 241 + - _id: c7a96a6928009c667645b21de5a28adf + _order: 0 + cache: {} + request: + bodySize: 341 + cookies: [] + headers: + - name: connection + value: close + - name: host + value: demo.sourcegraph.com + - name: accept-encoding + value: identity + - name: content-length + value: "341" + - name: accept + value: "*/*" + - name: user-agent + value: vscode/1.38.2 (Node.js v20.16.0) + - name: content-type + value: application/json; charset=utf-8 + - name: authorization + value: token + REDACTED_69e9f79ce29352d014eeb80b56510341844eb82ad9abac7cab3631c7e873e4ce + - name: x-mitm-proxy-name + value: sourcegraph.enterprise + - name: x-mitm-auth-token-name + value: sourcegraph.enterprise + headersSize: 603 + httpVersion: HTTP/1.1 + method: POST + postData: + mimeType: application/json; charset=utf-8 + params: [] + textJSON: + query: |- + + query CurrentUser { + currentUser { + id + hasVerifiedEmail + displayName + username + avatarURL + primaryEmail { + email + } + organizations { + nodes { + id + name + } + } + } + } + variables: {} + queryString: + - name: CurrentUser + value: null + url: https://demo.sourcegraph.com/.api/graphql?CurrentUser + response: + bodySize: 225 + content: + mimeType: application/json + size: 225 + text: "{\"data\":{\"currentUser\":{\"id\":\"VXNlcjozNTM=\",\"hasVerifiedEmail\"\ + :false,\"displayName\":null,\"username\":\"codytesting\",\"avatarURL\ + \":null,\"primaryEmail\":null,\"organizations\":{\"nodes\":[{\"id\":\ + \"T3JnOjU=\",\"name\":\"insights-examples\"}]}}}}" + cookies: [] + headers: + - name: date + value: Tue, 22 Oct 2024 19:47:42 GMT + - name: content-type + value: application/json + - name: content-length + value: "225" + - name: connection + value: close + - name: access-control-allow-credentials + value: "true" + - name: access-control-allow-origin + value: "" + - name: cache-control + value: no-cache, max-age=0 + - name: vary + value: Accept-Encoding, Authorization, Cookie, Authorization, X-Requested-With, + Cookie + - name: x-content-type-options + value: nosniff + - name: x-frame-options + value: DENY + - name: x-xss-protection + value: 1; mode=block + - name: strict-transport-security + value: max-age=31536000; includeSubDomains; preload + headersSize: 1352 + httpVersion: HTTP/1.1 + redirectURL: "" + status: 200 + statusText: OK + startedDateTime: 2024-10-22T19:47:42.396Z + time: 261 + timings: + blocked: -1 + connect: -1 + dns: -1 + receive: 0 + send: 0 + ssl: -1 + wait: 261 + - _id: 7f85ca8eb43a7f6d9174c90d80af475d + _order: 0 + cache: {} + request: + bodySize: 202 + cookies: [] + headers: + - name: connection + value: close + - name: host + value: demo.sourcegraph.com + - name: accept-encoding + value: identity + - name: content-length + value: "202" + - name: accept + value: "*/*" + - name: user-agent + value: vscode/1.38.2 (Node.js v20.16.0) + - name: content-type + value: application/json; charset=utf-8 + - name: authorization + value: token + REDACTED_69e9f79ce29352d014eeb80b56510341844eb82ad9abac7cab3631c7e873e4ce + - name: x-mitm-proxy-name + value: sourcegraph.enterprise + - name: x-mitm-auth-token-name + value: sourcegraph.enterprise + headersSize: 607 + httpVersion: HTTP/1.1 + method: POST + postData: + mimeType: application/json; charset=utf-8 + params: [] + textJSON: + query: | + + query ResolveRepoName($cloneURL: String!) { + repository(cloneURL: $cloneURL) { + name + } + } + variables: + cloneURL: https://github.com/sourcegraph/private-invisible.git + queryString: + - name: ResolveRepoName + value: null + url: https://demo.sourcegraph.com/.api/graphql?ResolveRepoName + response: + bodySize: 28 + content: + mimeType: application/json + size: 28 + text: "{\"data\":{\"repository\":null}}" + cookies: [] + headers: + - name: date + value: Tue, 22 Oct 2024 19:47:44 GMT + - name: content-type + value: application/json + - name: content-length + value: "28" + - name: connection + value: close + - name: access-control-allow-credentials + value: "true" + - name: access-control-allow-origin + value: "" + - name: cache-control + value: no-cache, max-age=0 + - name: vary + value: Accept-Encoding, Authorization, Cookie, Authorization, X-Requested-With, + Cookie + - name: x-content-type-options + value: nosniff + - name: x-frame-options + value: DENY + - name: x-xss-protection + value: 1; mode=block + - name: strict-transport-security + value: max-age=31536000; includeSubDomains; preload + headersSize: 1351 + httpVersion: HTTP/1.1 + redirectURL: "" + status: 200 + statusText: OK + startedDateTime: 2024-10-22T19:47:43.922Z + time: 331 + timings: + blocked: -1 + connect: -1 + dns: -1 + receive: 0 + send: 0 + ssl: -1 + wait: 331 + - _id: 322e0aeead43ccccbd57ad162a64fde3 + _order: 0 + cache: {} + request: + bodySize: 101 + cookies: [] + headers: + - name: connection + value: close + - name: host + value: demo.sourcegraph.com + - name: accept-encoding + value: identity + - name: content-length + value: "101" + - name: accept + value: "*/*" + - name: user-agent + value: vscode/1.38.2 (Node.js v20.16.0) + - name: content-type + value: application/json; charset=utf-8 + - name: authorization + value: token + REDACTED_69e9f79ce29352d014eeb80b56510341844eb82ad9abac7cab3631c7e873e4ce + - name: x-mitm-proxy-name + value: sourcegraph.enterprise + - name: x-mitm-auth-token-name + value: sourcegraph.enterprise + headersSize: 610 + httpVersion: HTTP/1.1 + method: POST + postData: + mimeType: application/json; charset=utf-8 + params: [] + textJSON: + query: |- + + query SiteProductVersion { + site { + productVersion + } + } + variables: {} + queryString: + - name: SiteProductVersion + value: null + url: https://demo.sourcegraph.com/.api/graphql?SiteProductVersion + response: + bodySize: 47 + content: + mimeType: application/json + size: 47 + text: "{\"data\":{\"site\":{\"productVersion\":\"5.8.1579\"}}}" + cookies: [] + headers: + - name: date + value: Tue, 22 Oct 2024 19:47:42 GMT + - name: content-type + value: application/json + - name: content-length + value: "47" + - name: connection + value: close + - name: access-control-allow-credentials + value: "true" + - name: access-control-allow-origin + value: "" + - name: cache-control + value: no-cache, max-age=0 + - name: vary + value: Accept-Encoding, Authorization, Cookie, Authorization, X-Requested-With, + Cookie + - name: x-content-type-options + value: nosniff + - name: x-frame-options + value: DENY + - name: x-xss-protection + value: 1; mode=block + - name: strict-transport-security + value: max-age=31536000; includeSubDomains; preload + headersSize: 1351 + httpVersion: HTTP/1.1 + redirectURL: "" + status: 200 + statusText: OK + startedDateTime: 2024-10-22T19:47:42.395Z + time: 233 + timings: + blocked: -1 + connect: -1 + dns: -1 + receive: 0 + send: 0 + ssl: -1 + wait: 233 + - _id: e9670a64916bf997b5971f1de757b0c8 + _order: 0 + cache: {} + request: + bodySize: 726 + cookies: [] + headers: + - name: connection + value: close + - name: host + value: demo.sourcegraph.com + - name: accept-encoding + value: identity + - name: content-length + value: "726" + - name: accept + value: "*/*" + - name: user-agent + value: vscode/1.38.2 (Node.js v20.16.0) + - name: content-type + value: application/json; charset=utf-8 + - name: authorization + value: token + REDACTED_69e9f79ce29352d014eeb80b56510341844eb82ad9abac7cab3631c7e873e4ce + - name: x-mitm-proxy-name + value: sourcegraph.enterprise + - name: x-mitm-auth-token-name + value: sourcegraph.enterprise + headersSize: 605 + httpVersion: HTTP/1.1 + method: POST + postData: + mimeType: application/json; charset=utf-8 + params: [] + textJSON: + query: >- + + query ViewerPrompts($query: String!) { + prompts(query: $query, first: 100, includeDrafts: false, viewerIsAffiliated: true, orderBy: PROMPT_UPDATED_AT) { + nodes { + id + name + nameWithOwner + owner { + namespaceName + } + description + draft + definition { + text + } + url + createdBy { + id + username + displayName + avatarURL + } + } + totalCount + pageInfo { + hasNextPage + endCursor + } + } + } + variables: + query: "" + queryString: + - name: ViewerPrompts + value: null + url: https://demo.sourcegraph.com/.api/graphql?ViewerPrompts + response: + bodySize: 7828 + content: + mimeType: application/json + size: 7828 + text: "{\"data\":{\"prompts\":{\"nodes\":[{\"id\":\"UHJvbXB0OjU3\",\"name\":\"g\ + enerate-go-unit-test\",\"nameWithOwner\":\"sara.dam/generate-go-uni\ + t-test\",\"owner\":{\"namespaceName\":\"sara.dam\"},\"description\":\ + \"Generate a Go unit + test\",\"draft\":false,\"definition\":{\"text\":\"Generate a Go unit + test for the following Go code. Ensure that:\\n\\nError conditions + are tested wherever applicable, using Go's error type.\\nTest + functions are split logically, with each function testing a specific + scenario (e.g., success, error cases).\\nA setup() function is used + to initialize shared test data if necessary.\\nUse Go's testing + package for all assertions and + checks.\"},\"url\":\"/prompts/UHJvbXB0OjU3\",\"createdBy\":{\"id\":\ + \"VXNlcjozMDQ=\",\"username\":\"sara.dam\",\"displayName\":\"Sara\",\ + \"avatarURL\":\"https://lh3.googleusercontent.com/a/AGNmyxZeAP4iHdf\ + TovIuavCIHBGktVqmpMzTyjtnh9iT=s96-c\"}},{\"id\":\"UHJvbXB0OjUy\",\"\ + name\":\"review-typescript-code\",\"nameWithOwner\":\"dan.diemer/re\ + view-typescript-code\",\"owner\":{\"namespaceName\":\"dan.diemer\"},\ + \"description\":\"\",\"draft\":false,\"definition\":{\"text\":\"Ple\ + ase review the following TypeScript code for best practices, + potential bugs, and improvements. Provide feedback on code + readability, performance, security, and adherence to TypeScript + conventions. Suggest any refactoring where necessary and recommend + improvements for type safety and error handling. Ensure the code + follows clean coding principles.\\n\\nadd a joke about + typescript\"},\"url\":\"/prompts/UHJvbXB0OjUy\",\"createdBy\":{\"id\ + \":\"VXNlcjoxMDk=\",\"username\":\"dan.diemer\",\"displayName\":\"D\ + an\",\"avatarURL\":\"https://lh3.googleusercontent.com/a/AATXAJwyll\ + ByWju65ODeEJNJzSptjJ7xOb4VsrsKQKIl=s96-c\"}},{\"id\":\"UHJvbXB0OjUz\ + \",\"name\":\"spring-boot-unit-test\",\"nameWithOwner\":\"swaterer/\ + spring-boot-unit-test\",\"owner\":{\"namespaceName\":\"swaterer\"},\ + \"description\":\"\",\"draft\":false,\"definition\":{\"text\":\"Rev\ + iew the shared context to identify the testing framework and + libraries in use. Then, generate a suite of multiple unit tests for + the selected testfile using the detected test framework and + libraries. Be sure to import the function being tested. Use the same + patterns, testing framework, conventions, and libraries as shown in + the shared context. Only import modules, functions, dependencies, + and mocks based on shared code. If a test suite for the selected + code is in the shared context, focus on generating new tests for + uncovered cases. If none are detected, import common unit test + libraries for Java. Focus on validating key functionality with + simple and complete assertions. Before writing the tests, identify + which testing libraries and frameworks to use and import. At the + end, enclose the fully completed code for the new unit tests without + any comments, fragments, or TODOs. The new tests should validate the + expected functionality and cover edge cases for with all required + imports, including the function being tested. Do not repeat tests + from the shared context. Enclose only the complete runnable tests. + In this case this is a Java Spring Boot application. Apart from + generating the updated code document the additional tests that you + have + generated.\"},\"url\":\"/prompts/UHJvbXB0OjUz\",\"createdBy\":{\"id\ + \":\"VXNlcjo5NQ==\",\"username\":\"swaterer\",\"displayName\":\"Sim\ + on + W\",\"avatarURL\":\"https://lh3.googleusercontent.com/a/AGNmyxYVCyi\ + HdMK_IkxqHEcxhmfbmiFxsT-CNLhc38O_=s96-c\"}},{\"id\":\"UHJvbXB0OjMw\ + \",\"name\":\"sourcegraph-api-doc-template\",\"nameWithOwner\":\"sa\ + ra.dam/sourcegraph-api-doc-template\",\"owner\":{\"namespaceName\":\ + \"sara.dam\"},\"description\":\"Generate API documentation template + for our company's RESTful + services\",\"draft\":false,\"definition\":{\"text\":\"Generate API + documentation template for our company's RESTful services:\\n\\n# + [API Name]\\n\\n## Endpoint: [HTTP Method] + /api/v1/[resource]\\n\\n### Description\\n[Brief description of what + this API does]\\n\\n### Request Parameters\\n- `param1` (type): + Description\\n- `param2` (type): Description\\n\\n### Request + Body\\n```json\\n{\\n \\\"field1\\\": + \\\"type\\\",\\n \\\"field2\\\": + \\\"type\\\"\\n}\"},\"url\":\"/prompts/UHJvbXB0OjMw\",\"createdBy\"\ + :{\"id\":\"VXNlcjozMDQ=\",\"username\":\"sara.dam\",\"displayName\":\ + \"Sara\",\"avatarURL\":\"https://lh3.googleusercontent.com/a/AGNmyx\ + ZeAP4iHdfTovIuavCIHBGktVqmpMzTyjtnh9iT=s96-c\"}},{\"id\":\"UHJvbXB0\ + OjI=\",\"name\":\"generate-unit-test\",\"nameWithOwner\":\"kosta.il\ + inov/generate-unit-test\",\"owner\":{\"namespaceName\":\"kosta.ilin\ + ov\"},\"description\":\"Generate unit test in backend + stack\",\"draft\":false,\"definition\":{\"text\":\"Generate a unit + test for the selected code. Use the junit version that is referenced + in project dependencies. Mock out dependencies like repositories, + mappers and other auxiliary services. If there are any ambiguities + of what components you need to mock out, confirm the fully qualified + class names with me before proceeding. Do not utilise MockMvc + mechanism as this is more appropriate for integration testing. For + the testing part, make a call to the method under test and validate + expected calls to the downstream dependencies, performing checks on + number of calls and passed + arguments.\"},\"url\":\"/prompts/UHJvbXB0OjI=\",\"createdBy\":{\"id\ + \":\"VXNlcjozMjQ=\",\"username\":\"kosta.ilinov\",\"displayName\":\ + \"Kosta\",\"avatarURL\":\"https://lh3.googleusercontent.com/a/AAcHT\ + tc4ct0CqXfDojlNJf-SLWjFNZ5EM1MFtrnTa136qV56=s96-c\"}},{\"id\":\"UHJ\ + vbXB0OjE0\",\"name\":\"generate-integration-test\",\"nameWithOwner\ + \":\"kosta.ilinov/generate-integration-test\",\"owner\":{\"namespac\ + eName\":\"kosta.ilinov\"},\"description\":\"generate integration + test with + MockMvc\",\"draft\":false,\"definition\":{\"text\":\"Generate an + integration test for the selected code. Mock out dependencies like + repositories, mappers and other auxiliary services. If there are any + ambiguities of what components you need to mock out, confirm the + fully qualified class names with me before proceeding. For the + testing part, make a call to the method under test and validate + expected calls to the downstream dependencies, performing checks on + number of calls and passed + arguments.\"},\"url\":\"/prompts/UHJvbXB0OjE0\",\"createdBy\":{\"id\ + \":\"VXNlcjozMjQ=\",\"username\":\"kosta.ilinov\",\"displayName\":\ + \"Kosta\",\"avatarURL\":\"https://lh3.googleusercontent.com/a/AAcHT\ + tc4ct0CqXfDojlNJf-SLWjFNZ5EM1MFtrnTa136qV56=s96-c\"}},{\"id\":\"UHJ\ + vbXB0OjY=\",\"name\":\"commit-message-for-current-changes\",\"nameW\ + ithOwner\":\"carson/commit-message-for-current-changes\",\"owner\":{\ + \"namespaceName\":\"carson\"},\"description\":\"\",\"draft\":false,\ + \"definition\":{\"text\":\"Suggest an informative commit message by + summarizing code changes from the shared command output. The commit + message should follow the conventional commit format and provide + meaningful context for future + readers.\"},\"url\":\"/prompts/UHJvbXB0OjY=\",\"createdBy\":{\"id\":\ + \"VXNlcjoxMTA=\",\"username\":\"carson\",\"displayName\":\"Carson\",\ + \"avatarURL\":\"https://lh3.googleusercontent.com/a/AATXAJwc5-6HOLk\ + oO2WDljH20maymRttK9ehMPULqMSn=s96-c\"}},{\"id\":\"UHJvbXB0OjU=\",\"\ + name\":\"split-up-large-ruby-function\",\"nameWithOwner\":\"carson/\ + split-up-large-ruby-function\",\"owner\":{\"namespaceName\":\"carson\ + \"},\"description\":\"Break up large Ruby functions into smaller + helper functions\",\"draft\":false,\"definition\":{\"text\":\"The + selected code contains a large function that could benefit from + being split up. Identify logical chunks that could be extracted out + into well-named helper functions. Consider which parameters and + return values would be needed for each new function. The code you + return should be a set of smaller functions/methods. The method + names should be descriptive and readable. The code should follow + Ruby convention and best practices and be + documented-in-line.\"},\"url\":\"/prompts/UHJvbXB0OjU=\",\"createdBy\ + \":{\"id\":\"VXNlcjoxMTA=\",\"username\":\"carson\",\"displayName\":\ + \"Carson\",\"avatarURL\":\"https://lh3.googleusercontent.com/a/AATX\ + AJwc5-6HOLkoO2WDljH20maymRttK9ehMPULqMSn=s96-c\"}}],\"totalCount\":\ + 8,\"pageInfo\":{\"hasNextPage\":false,\"endCursor\":\"UHJvbXB0Q3Vyc\ + 29yOlt7ImMiOiJ1cGRhdGVkX2F0IiwidiI6IjE3MjMyMjU1ODM5OTcyNDIwMDAiLCJk\ + IjoiIn1d\"}}}}" + cookies: [] + headers: + - name: date + value: Tue, 22 Oct 2024 19:47:46 GMT + - name: content-type + value: application/json + - name: transfer-encoding + value: chunked + - name: connection + value: close + - name: access-control-allow-credentials + value: "true" + - name: access-control-allow-origin + value: "" + - name: cache-control + value: no-cache, max-age=0 + - name: vary + value: Accept-Encoding, Authorization, Cookie, Authorization, X-Requested-With, + Cookie + - name: x-content-type-options + value: nosniff + - name: x-frame-options + value: DENY + - name: x-xss-protection + value: 1; mode=block + - name: strict-transport-security + value: max-age=31536000; includeSubDomains; preload + headersSize: 1359 + httpVersion: HTTP/1.1 + redirectURL: "" + status: 200 + statusText: OK + startedDateTime: 2024-10-22T19:47:45.882Z + time: 326 + timings: + blocked: -1 + connect: -1 + dns: -1 + receive: 0 + send: 0 + ssl: -1 + wait: 326 + - _id: 49bed0d771a2067eccdc72b3a59f37ba + _order: 0 + cache: {} + request: + bodySize: 0 + cookies: [] + headers: + - name: connection + value: close + - name: host + value: demo.sourcegraph.com + - name: accept-encoding + value: identity + - name: accept + value: "*/*" + - name: user-agent + value: vscode/1.38.2 (Node.js v20.16.0) + - name: authorization + value: token + REDACTED_69e9f79ce29352d014eeb80b56510341844eb82ad9abac7cab3631c7e873e4ce + - name: x-mitm-proxy-name + value: sourcegraph.enterprise + - name: x-mitm-auth-token-name + value: sourcegraph.enterprise + headersSize: 475 + httpVersion: HTTP/1.1 + method: GET + queryString: [] + url: https://demo.sourcegraph.com/.api/modelconfig/supported-models.json + response: + bodySize: 6133 + content: + mimeType: text/plain; charset=utf-8 + size: 6133 + text: > + { + "schemaVersion": "1.0", + "revision": "0.0.0+dev", + "providers": [ + { + "id": "anthropic", + "displayName": "Anthropic" + }, + { + "id": "fireworks", + "displayName": "Fireworks" + }, + { + "id": "google", + "displayName": "Google" + }, + { + "id": "openai", + "displayName": "OpenAI" + }, + { + "id": "mistral", + "displayName": "Mistral" + } + ], + "models": [ + { + "modelRef": "anthropic::2023-06-01::claude-3.5-sonnet", + "displayName": "Claude 3.5 Sonnet", + "modelName": "claude-3-5-sonnet-20240620", + "capabilities": [ + "edit", + "chat", + "vision" + ], + "category": "accuracy", + "status": "stable", + "tier": "free", + "contextWindow": { + "maxInputTokens": 45000, + "maxOutputTokens": 4000 + } + }, + { + "modelRef": "anthropic::2023-06-01::claude-3-opus", + "displayName": "Claude 3 Opus", + "modelName": "claude-3-opus-20240229", + "capabilities": [ + "edit", + "chat" + ], + "category": "other", + "status": "stable", + "tier": "pro", + "contextWindow": { + "maxInputTokens": 45000, + "maxOutputTokens": 4000 + } + }, + { + "modelRef": "anthropic::2023-06-01::claude-3-haiku", + "displayName": "Claude 3 Haiku", + "modelName": "claude-3-haiku-20240307", + "capabilities": [ + "edit", + "chat" + ], + "category": "speed", + "status": "stable", + "tier": "free", + "contextWindow": { + "maxInputTokens": 7000, + "maxOutputTokens": 4000 + } + }, + { + "modelRef": "fireworks::v1::starcoder", + "displayName": "StarCoder", + "modelName": "starcoder", + "capabilities": [ + "autocomplete" + ], + "category": "speed", + "status": "stable", + "tier": "free", + "contextWindow": { + "maxInputTokens": 2048, + "maxOutputTokens": 256 + } + }, + { + "modelRef": "fireworks::v1::deepseek-coder-v2-lite-base", + "displayName": "DeepSeek V2 Lite Base", + "modelName": "accounts/sourcegraph/models/deepseek-coder-v2-lite-base", + "capabilities": [ + "autocomplete" + ], + "category": "speed", + "status": "stable", + "tier": "free", + "contextWindow": { + "maxInputTokens": 2048, + "maxOutputTokens": 256 + } + }, + { + "modelRef": "google::v1::gemini-1.5-pro", + "displayName": "Gemini 1.5 Pro", + "modelName": "gemini-1.5-pro", + "capabilities": [ + "edit", + "chat" + ], + "category": "balanced", + "status": "stable", + "tier": "free", + "contextWindow": { + "maxInputTokens": 45000, + "maxOutputTokens": 4000 + } + }, + { + "modelRef": "google::v1::gemini-1.5-flash", + "displayName": "Gemini 1.5 Flash", + "modelName": "gemini-1.5-flash", + "capabilities": [ + "edit", + "chat" + ], + "category": "speed", + "status": "stable", + "tier": "free", + "contextWindow": { + "maxInputTokens": 45000, + "maxOutputTokens": 4000 + } + }, + { + "modelRef": "mistral::v1::mixtral-8x7b-instruct", + "displayName": "Mixtral 8x7B", + "modelName": "accounts/fireworks/models/mixtral-8x7b-instruct", + "capabilities": [ + "chat" + ], + "category": "speed", + "status": "stable", + "tier": "free", + "contextWindow": { + "maxInputTokens": 7000, + "maxOutputTokens": 4000 + } + }, + { + "modelRef": "openai::2024-02-01::gpt-4o", + "displayName": "GPT-4o", + "modelName": "gpt-4o", + "capabilities": [ + "edit", + "chat", + "vision" + ], + "category": "accuracy", + "status": "stable", + "tier": "pro", + "contextWindow": { + "maxInputTokens": 45000, + "maxOutputTokens": 4000 + } + }, + { + "modelRef": "openai::2024-02-01::cody-chat-preview-001", + "displayName": "OpenAI o1-preview", + "modelName": "cody-chat-preview-001", + "capabilities": [ + "chat" + ], + "category": "accuracy", + "status": "waitlist", + "tier": "pro", + "contextWindow": { + "maxInputTokens": 45000, + "maxOutputTokens": 4000 + } + }, + { + "modelRef": "openai::2024-02-01::cody-chat-preview-002", + "displayName": "OpenAI o1-mini", + "modelName": "cody-chat-preview-002", + "capabilities": [ + "chat" + ], + "category": "accuracy", + "status": "waitlist", + "tier": "pro", + "contextWindow": { + "maxInputTokens": 45000, + "maxOutputTokens": 4000 + } + } + ], + "defaultModels": { + "chat": "anthropic::2023-06-01::claude-3.5-sonnet", + "fastChat": "anthropic::2023-06-01::claude-3-haiku", + "codeCompletion": "fireworks::v1::deepseek-coder-v2-lite-base" + } + } + cookies: [] + headers: + - name: date + value: Tue, 22 Oct 2024 19:47:43 GMT + - name: content-type + value: text/plain; charset=utf-8 + - name: transfer-encoding + value: chunked + - name: connection + value: close + - name: access-control-allow-credentials + value: "true" + - name: access-control-allow-origin + value: "" + - name: cache-control + value: no-cache, max-age=0 + - name: vary + value: Accept-Encoding, Authorization, Cookie, Authorization, X-Requested-With, + Cookie + - name: x-content-type-options + value: nosniff + - name: x-frame-options + value: DENY + - name: x-xss-protection + value: 1; mode=block + - name: strict-transport-security + value: max-age=31536000; includeSubDomains; preload + headersSize: 1228 + httpVersion: HTTP/1.1 + redirectURL: "" + status: 200 + statusText: OK + startedDateTime: 2024-10-22T19:47:43.214Z + time: 242 + timings: + blocked: -1 + connect: -1 + dns: -1 + receive: 0 + send: 0 + ssl: -1 + wait: 242 + pages: [] + version: "1.2" diff --git a/recordings/e2e/features/command-edit/canchangeeditranges_1294251119/recording.har.yaml b/recordings/e2e/telemetry/at-mention/mentioneventsfirecorrectlypublicdotcom_3869144460/recording.har.yaml similarity index 68% rename from recordings/e2e/features/command-edit/canchangeeditranges_1294251119/recording.har.yaml rename to recordings/e2e/telemetry/at-mention/mentioneventsfirecorrectlypublicdotcom_3869144460/recording.har.yaml index 364191bb23b..7cfbd5c99dc 100644 --- a/recordings/e2e/features/command-edit/canchangeeditranges_1294251119/recording.har.yaml +++ b/recordings/e2e/telemetry/at-mention/mentioneventsfirecorrectlypublicdotcom_3869144460/recording.har.yaml @@ -1,5 +1,5 @@ log: - _recordingName: canchangeeditranges + _recordingName: mentioneventsfirecorrectlypublicdotcom creator: comment: persister:fs name: Polly.JS @@ -55,15 +55,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:15 GMT + value: Tue, 22 Oct 2024 19:47:39 GMT - name: content-type value: text/plain; charset=utf-8 - name: content-length value: "277" - name: connection value: close - - name: retry-after - value: "467" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -85,13 +83,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1514 + headersSize: 1407 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:15.380Z - time: 392 + startedDateTime: 2024-10-22T19:47:39.594Z + time: 301 timings: blocked: -1 connect: -1 @@ -99,7 +97,154 @@ log: receive: 0 send: 0 ssl: -1 - wait: 392 + wait: 301 + - _id: 3a178a024879c2b3cce1f99f0ecd0742 + _order: 0 + cache: {} + request: + bodySize: 1195 + cookies: [] + headers: + - name: transfer-encoding + value: chunked + - name: host + value: sourcegraph.com + - name: user-agent + value: vscode/1.38.2 (Node.js v20.16.0) + - name: traceparent + value: 00-aee353568157e5f3025a6c5b90c47027-76156d01a3ba9de7-01 + - name: content-type + value: application/json + - name: connection + value: close + - name: authorization + value: token + REDACTED_fc324d3667e841181b0779375f26dedc911d26b303d23b29b1a2d7ee63dc77eb + - name: accept-encoding + value: identity + - name: x-mitm-proxy-name + value: sourcegraph.dotcom + - name: x-mitm-auth-token-name + value: sourcegraph.dotcom + headersSize: 622 + httpVersion: HTTP/1.1 + method: POST + postData: + mimeType: application/json + params: [] + textJSON: + maxTokensToSample: 4000 + messages: + - speaker: system + text: >- + You are Cody, an AI coding assistant from Sourcegraph.If your + answer contains fenced code blocks in Markdown, include the + relevant full file path in the code block tag using this + structure: ```$LANGUAGE:$FILEPATH``` + + For executable terminal commands: enclose each command in individual "bash" language code block without comments and new lines inside. + - speaker: human + text: |- + Codebase context from file buzz.ts: + ```typescript:buzz.ts + export function fizzbuzz() { + const fizzbuzz = [] + for (let i = 1; i <= 100; i++) { + if (i % 15 === 0) { + fizzbuzz.push('FizzBuzz') + } else if (i % 3 === 0) { + fizzbuzz.push('Fizz') + } else if (i % 5 === 0) { + fizzbuzz.push('Buzz') + } else { + fizzbuzz.push(i.toString()) + } + } + return fizzbuzz + } + ``` + - speaker: assistant + text: Ok. + - speaker: human + text: |- + Answer positively without apologizing. + + You have access to the provided codebase context. + + Question: buzz.ts + model: anthropic::2024-10-22::claude-3-5-sonnet-latest + temperature: 0.2 + topK: -1 + topP: -1 + queryString: + - name: api-version + value: "2" + - name: client-name + value: vscode + - name: client-version + value: 1.38.2 + url: https://sourcegraph.com/.api/completions/stream?api-version=2&client-name=vscode&client-version=1.38.2 + response: + bodySize: 3458 + content: + mimeType: text/event-stream + size: 3458 + text: >+ + event: completion + + data: {"deltaText":"I see the buzz.ts file which contains a fizzbuzz implementation. The code exports a function `fizzbuzz()` that:\n\n1. Creates an empty array to store results\n2. Loops from 1 to 100\n3. Applies the classic FizzBuzz rules:\n - For multiples of 15: adds \"FizzBuzz\"\n - For multiples of 3: adds \"Fizz\" \n - For multiples of 5: adds \"Buzz\"\n - For other numbers: adds the number as a string\n4. Returns the completed array\n\nThe implementation is clean and follows standard FizzBuzz logic, using modulo operators (%) to check divisibility. The function returns an array of strings containing the full sequence of FizzBuzz results from 1 to 100.","stopReason":"end_turn"} + + + event: done + + data: {} + + cookies: [] + headers: + - name: date + value: Tue, 22 Oct 2024 19:47:46 GMT + - name: content-type + value: text/event-stream + - name: transfer-encoding + value: chunked + - name: connection + value: close + - name: access-control-allow-credentials + value: "true" + - name: access-control-allow-origin + value: "" + - name: cache-control + value: no-cache + - name: observed-calculated-ip-from-forwarded-for + value: 84.234.244.244 + - name: observed-x-forwarded-for + value: 84.234.244.244 + - name: vary + value: Cookie,Accept-Encoding,Authorization,Cookie, Authorization, + X-Requested-With,Cookie + - name: x-content-type-options + value: nosniff + - name: x-frame-options + value: DENY + - name: x-xss-protection + value: 1; mode=block + - name: strict-transport-security + value: max-age=31536000; includeSubDomains; preload + headersSize: 1395 + httpVersion: HTTP/1.1 + redirectURL: "" + status: 200 + statusText: OK + startedDateTime: 2024-10-22T19:47:43.993Z + time: 4168 + timings: + blocked: -1 + connect: -1 + dns: -1 + receive: 0 + send: 0 + ssl: -1 + wait: 4168 - _id: 28c346c4c160958f92e8f989a1737e5e _order: 0 cache: {} @@ -155,27 +300,25 @@ log: value: null url: https://sourcegraph.com/.api/graphql?CurrentSiteCodyLlmConfiguration response: - bodySize: 282 + bodySize: 289 content: mimeType: application/json - size: 282 + size: 289 text: "{\"data\":{\"site\":{\"codyLLMConfiguration\":{\"chatModel\":\"sourcegra\ - ph/claude-3.5-sonnet\",\"chatModelMaxTokens\":45000,\"fastChatModel\ - \":\"sourcegraph/claude-3-haiku\",\"fastChatModelMaxTokens\":7000,\ - \"completionModel\":\"sourcegraph/deepseek-coder-v2-lite-base\",\"c\ - ompletionModelMaxTokens\":2048}}}}" + ph/claude-3-5-sonnet-latest\",\"chatModelMaxTokens\":45000,\"fastCh\ + atModel\":\"sourcegraph/claude-3-haiku\",\"fastChatModelMaxTokens\"\ + :7000,\"completionModel\":\"sourcegraph/deepseek-coder-v2-lite-base\ + \",\"completionModelMaxTokens\":2048}}}}" cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:14 GMT + value: Tue, 22 Oct 2024 19:47:39 GMT - name: content-type value: application/json - name: content-length - value: "282" + value: "289" - name: connection value: close - - name: retry-after - value: "468" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -197,13 +340,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1645 + headersSize: 1538 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:14.299Z - time: 214 + startedDateTime: 2024-10-22T19:47:39.353Z + time: 259 timings: blocked: -1 connect: -1 @@ -211,7 +354,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 214 + wait: 259 - _id: a4d641ac3093a4efbffe59352b351757 _order: 0 cache: {} @@ -271,15 +414,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:14 GMT + value: Tue, 22 Oct 2024 19:47:39 GMT - name: content-type value: application/json - name: content-length value: "76" - name: connection value: close - - name: retry-after - value: "468" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -301,13 +442,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1644 + headersSize: 1537 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:14.300Z - time: 232 + startedDateTime: 2024-10-22T19:47:39.354Z + time: 283 timings: blocked: -1 connect: -1 @@ -315,7 +456,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 232 + wait: 283 - _id: 06568f66a76daea32430b82552305046 _order: 0 cache: {} @@ -375,15 +516,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:14 GMT + value: Tue, 22 Oct 2024 19:47:39 GMT - name: content-type value: application/json - name: content-length value: "69" - name: connection value: close - - name: retry-after - value: "468" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -405,13 +544,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1644 + headersSize: 1537 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:14.299Z - time: 240 + startedDateTime: 2024-10-22T19:47:39.353Z + time: 283 timings: blocked: -1 connect: -1 @@ -419,7 +558,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 240 + wait: 283 - _id: d1e9e9d8ae116eb7e71823b775d35828 _order: 0 cache: {} @@ -494,15 +633,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:14 GMT + value: Tue, 22 Oct 2024 19:47:39 GMT - name: content-type value: application/json - name: content-length value: "334" - name: connection value: close - - name: retry-after - value: "468" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -524,13 +661,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1645 + headersSize: 1538 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:13.726Z - time: 545 + startedDateTime: 2024-10-22T19:47:38.764Z + time: 331 timings: blocked: -1 connect: -1 @@ -538,7 +675,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 545 + wait: 331 - _id: 9fdf3418a505d251116e020fda591c55 _order: 0 cache: {} @@ -604,15 +741,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:15 GMT + value: Tue, 22 Oct 2024 19:47:39 GMT - name: content-type value: application/json - name: content-length value: "194" - name: connection value: close - - name: retry-after - value: "468" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -634,13 +769,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1645 + headersSize: 1538 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:14.303Z - time: 1205 + startedDateTime: 2024-10-22T19:47:39.356Z + time: 382 timings: blocked: -1 connect: -1 @@ -648,7 +783,113 @@ log: receive: 0 send: 0 ssl: -1 - wait: 1205 + wait: 382 + - _id: 39fe3efa22c727dff9fd6b923a145b81 + _order: 0 + cache: {} + request: + bodySize: 247 + cookies: [] + headers: + - name: connection + value: close + - name: host + value: sourcegraph.com + - name: accept-encoding + value: identity + - name: content-length + value: "247" + - name: accept + value: "*/*" + - name: user-agent + value: vscode/1.38.2 (Node.js v20.16.0) + - name: content-type + value: application/json; charset=utf-8 + - name: authorization + value: token + REDACTED_fc324d3667e841181b0779375f26dedc911d26b303d23b29b1a2d7ee63dc77eb + - name: x-mitm-proxy-name + value: sourcegraph.dotcom + - name: x-mitm-auth-token-name + value: sourcegraph.dotcom + headersSize: 593 + httpVersion: HTTP/1.1 + method: POST + postData: + mimeType: application/json; charset=utf-8 + params: [] + textJSON: + query: | + + query Repositories($names: [String!]!, $first: Int!) { + repositories(names: $names, first: $first) { + nodes { + name + id + } + } + } + variables: + first: 10 + names: + - github.com/sourcegraph/cody + queryString: + - name: Repositories + value: null + url: https://sourcegraph.com/.api/graphql?Repositories + response: + bodySize: 112 + content: + mimeType: application/json + size: 112 + text: "{\"data\":{\"repositories\":{\"nodes\":[{\"name\":\"github.com/sourcegra\ + ph/cody\",\"id\":\"UmVwb3NpdG9yeTo2MTMyNTMyOA==\"}]}}}" + cookies: [] + headers: + - name: date + value: Tue, 22 Oct 2024 19:47:43 GMT + - name: content-type + value: application/json + - name: content-length + value: "112" + - name: connection + value: close + - name: access-control-allow-credentials + value: "true" + - name: access-control-allow-origin + value: "" + - name: cache-control + value: no-cache, max-age=0 + - name: observed-calculated-ip-from-forwarded-for + value: 84.234.244.244 + - name: observed-x-forwarded-for + value: 84.234.244.244 + - name: vary + value: Cookie,Accept-Encoding,Authorization,Cookie, Authorization, + X-Requested-With,Cookie + - name: x-content-type-options + value: nosniff + - name: x-frame-options + value: DENY + - name: x-xss-protection + value: 1; mode=block + - name: strict-transport-security + value: max-age=31536000; includeSubDomains; preload + headersSize: 1538 + httpVersion: HTTP/1.1 + redirectURL: "" + status: 200 + statusText: OK + startedDateTime: 2024-10-22T19:47:42.965Z + time: 273 + timings: + blocked: -1 + connect: -1 + dns: -1 + receive: 0 + send: 0 + ssl: -1 + wait: 273 - _id: a4f06f44ac6627e56ffe62ff40b4aaa9 _order: 0 cache: {} @@ -701,20 +942,18 @@ log: content: mimeType: application/json size: 73 - text: "{\"data\":{\"site\":{\"productVersion\":\"296541_2024-10-22_5.8-74e3dabd\ - f9a8\"}}}" + text: "{\"data\":{\"site\":{\"productVersion\":\"296687_2024-10-22_5.8-352d60d3\ + 1a67\"}}}" cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:14 GMT + value: Tue, 22 Oct 2024 19:47:39 GMT - name: content-type value: application/json - name: content-length value: "73" - name: connection value: close - - name: retry-after - value: "468" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -736,13 +975,140 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1644 + headersSize: 1537 + httpVersion: HTTP/1.1 + redirectURL: "" + status: 200 + statusText: OK + startedDateTime: 2024-10-22T19:47:38.762Z + time: 325 + timings: + blocked: -1 + connect: -1 + dns: -1 + receive: 0 + send: 0 + ssl: -1 + wait: 325 + - _id: 17cdda983992f1d54910d5c8827cdb03 + _order: 0 + cache: {} + request: + bodySize: 795 + cookies: [] + headers: + - name: connection + value: close + - name: host + value: sourcegraph.com + - name: accept-encoding + value: identity + - name: content-length + value: "795" + - name: accept + value: "*/*" + - name: user-agent + value: vscode/1.38.2 (Node.js v20.16.0) + - name: content-type + value: application/json; charset=utf-8 + - name: authorization + value: token + REDACTED_fc324d3667e841181b0779375f26dedc911d26b303d23b29b1a2d7ee63dc77eb + - name: x-mitm-proxy-name + value: sourcegraph.dotcom + - name: x-mitm-auth-token-name + value: sourcegraph.dotcom + headersSize: 594 + httpVersion: HTTP/1.1 + method: POST + postData: + mimeType: application/json; charset=utf-8 + params: [] + textJSON: + query: >- + + query ViewerPrompts($query: String!) { + prompts(query: $query, first: 100, includeDrafts: false, includeViewerDrafts: true, viewerIsAffiliated: true, orderBy: PROMPT_UPDATED_AT) { + nodes { + id + name + nameWithOwner + owner { + namespaceName + } + description + draft + autoSubmit + mode + definition { + text + } + url + createdBy { + id + username + displayName + avatarURL + } + } + totalCount + pageInfo { + hasNextPage + endCursor + } + } + } + variables: + query: "" + queryString: + - name: ViewerPrompts + value: null + url: https://sourcegraph.com/.api/graphql?ViewerPrompts + response: + bodySize: 98 + content: + mimeType: application/json + size: 98 + text: "{\"data\":{\"prompts\":{\"nodes\":[],\"totalCount\":0,\"pageInfo\":{\"ha\ + sNextPage\":false,\"endCursor\":null}}}}" + cookies: [] + headers: + - name: date + value: Tue, 22 Oct 2024 19:47:43 GMT + - name: content-type + value: application/json + - name: content-length + value: "98" + - name: connection + value: close + - name: access-control-allow-credentials + value: "true" + - name: access-control-allow-origin + value: "" + - name: cache-control + value: no-cache, max-age=0 + - name: observed-calculated-ip-from-forwarded-for + value: 84.234.244.244 + - name: observed-x-forwarded-for + value: 84.234.244.244 + - name: vary + value: Cookie,Accept-Encoding,Authorization,Cookie, Authorization, + X-Requested-With,Cookie + - name: x-content-type-options + value: nosniff + - name: x-frame-options + value: DENY + - name: x-xss-protection + value: 1; mode=block + - name: strict-transport-security + value: max-age=31536000; includeSubDomains; preload + headersSize: 1537 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:13.706Z - time: 379 + startedDateTime: 2024-10-22T19:47:43.225Z + time: 261 timings: blocked: -1 connect: -1 @@ -750,7 +1116,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 379 + wait: 261 - _id: 5bf27035df04d471d88a6d6cb52a0dd6 _order: 0 cache: {} @@ -781,10 +1147,10 @@ log: queryString: [] url: https://sourcegraph.com/.api/modelconfig/supported-models.json response: - bodySize: 6133 + bodySize: 6154 content: mimeType: text/plain; charset=utf-8 - size: 6133 + size: 6154 text: > { "schemaVersion": "1.0", @@ -813,9 +1179,9 @@ log: ], "models": [ { - "modelRef": "anthropic::2023-06-01::claude-3.5-sonnet", - "displayName": "Claude 3.5 Sonnet", - "modelName": "claude-3-5-sonnet-20240620", + "modelRef": "anthropic::2024-10-22::claude-3-5-sonnet-latest", + "displayName": "Claude 3.5 Sonnet (Latest)", + "modelName": "claude-3-5-sonnet-latest", "capabilities": [ "edit", "chat", @@ -987,7 +1353,7 @@ log: } ], "defaultModels": { - "chat": "anthropic::2023-06-01::claude-3.5-sonnet", + "chat": "anthropic::2024-10-22::claude-3-5-sonnet-latest", "fastChat": "anthropic::2023-06-01::claude-3-haiku", "codeCompletion": "fireworks::v1::deepseek-coder-v2-lite-base" } @@ -995,15 +1361,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:16 GMT + value: Tue, 22 Oct 2024 19:47:40 GMT - name: content-type value: text/plain; charset=utf-8 - name: transfer-encoding value: chunked - name: connection value: close - - name: retry-after - value: "466" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -1025,13 +1389,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1521 + headersSize: 1414 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:15.788Z - time: 308 + startedDateTime: 2024-10-22T19:47:39.914Z + time: 236 timings: blocked: -1 connect: -1 @@ -1039,6 +1403,6 @@ log: receive: 0 send: 0 ssl: -1 - wait: 308 + wait: 236 pages: [] version: "1.2" diff --git a/recordings/e2e/telemetry/at-mention/mentioneventsfirecorrectlypublicenterprise_3823474375/recording.har.yaml b/recordings/e2e/telemetry/at-mention/mentioneventsfirecorrectlypublicenterprise_3823474375/recording.har.yaml new file mode 100644 index 00000000000..5357c094a17 --- /dev/null +++ b/recordings/e2e/telemetry/at-mention/mentioneventsfirecorrectlypublicenterprise_3823474375/recording.har.yaml @@ -0,0 +1,1582 @@ +log: + _recordingName: mentioneventsfirecorrectlypublicenterprise + creator: + comment: persister:fs + name: Polly.JS + version: 6.0.6 + entries: + - _id: 4b648596e5a6153bcc004b28c9b7d018 + _order: 0 + cache: {} + request: + bodySize: 0 + cookies: [] + headers: + - name: connection + value: close + - name: host + value: demo.sourcegraph.com + - name: accept-encoding + value: identity + - name: accept + value: "*/*" + - name: user-agent + value: vscode/1.38.2 (Node.js v20.16.0) + - name: content-type + value: application/json; charset=utf-8 + - name: authorization + value: token + REDACTED_69e9f79ce29352d014eeb80b56510341844eb82ad9abac7cab3631c7e873e4ce + - name: x-mitm-proxy-name + value: sourcegraph.enterprise + - name: x-mitm-auth-token-name + value: sourcegraph.enterprise + headersSize: 575 + httpVersion: HTTP/1.1 + method: GET + queryString: [] + url: https://demo.sourcegraph.com/.api/client-config + response: + bodySize: 275 + content: + mimeType: text/plain; charset=utf-8 + size: 275 + text: | + { + "codyEnabled": true, + "chatEnabled": true, + "autoCompleteEnabled": true, + "customCommandsEnabled": true, + "attributionEnabled": true, + "smartContextWindowEnabled": true, + "modelsAPIEnabled": true, + "latestSupportedCompletionsStreamAPIVersion": 4 + } + cookies: [] + headers: + - name: date + value: Tue, 22 Oct 2024 19:47:42 GMT + - name: content-type + value: text/plain; charset=utf-8 + - name: content-length + value: "275" + - name: connection + value: close + - name: access-control-allow-credentials + value: "true" + - name: access-control-allow-origin + value: "" + - name: cache-control + value: no-cache, max-age=0 + - name: vary + value: Accept-Encoding, Authorization, Cookie, Authorization, X-Requested-With, + Cookie + - name: x-content-type-options + value: nosniff + - name: x-frame-options + value: DENY + - name: x-xss-protection + value: 1; mode=block + - name: strict-transport-security + value: max-age=31536000; includeSubDomains; preload + headersSize: 1221 + httpVersion: HTTP/1.1 + redirectURL: "" + status: 200 + statusText: OK + startedDateTime: 2024-10-22T19:47:42.570Z + time: 254 + timings: + blocked: -1 + connect: -1 + dns: -1 + receive: 0 + send: 0 + ssl: -1 + wait: 254 + - _id: 9b8c9f5ea1381cac85093e502a8c7156 + _order: 0 + cache: {} + request: + bodySize: 1188 + cookies: [] + headers: + - name: transfer-encoding + value: chunked + - name: host + value: demo.sourcegraph.com + - name: user-agent + value: vscode/1.38.2 (Node.js v20.16.0) + - name: traceparent + value: 00-5f6a719781c8b6ca4bdc2f2a85101e9e-aade390cd78927e2-01 + - name: content-type + value: application/json + - name: connection + value: close + - name: authorization + value: token + REDACTED_69e9f79ce29352d014eeb80b56510341844eb82ad9abac7cab3631c7e873e4ce + - name: accept-encoding + value: identity + - name: x-mitm-proxy-name + value: sourcegraph.enterprise + - name: x-mitm-auth-token-name + value: sourcegraph.enterprise + headersSize: 633 + httpVersion: HTTP/1.1 + method: POST + postData: + mimeType: application/json + params: [] + textJSON: + maxTokensToSample: 4000 + messages: + - speaker: system + text: >- + You are Cody, an AI coding assistant from Sourcegraph.If your + answer contains fenced code blocks in Markdown, include the + relevant full file path in the code block tag using this + structure: ```$LANGUAGE:$FILEPATH``` + + For executable terminal commands: enclose each command in individual "bash" language code block without comments and new lines inside. + - speaker: human + text: |- + Codebase context from file buzz.ts: + ```typescript:buzz.ts + export function fizzbuzz() { + const fizzbuzz = [] + for (let i = 1; i <= 100; i++) { + if (i % 15 === 0) { + fizzbuzz.push('FizzBuzz') + } else if (i % 3 === 0) { + fizzbuzz.push('Fizz') + } else if (i % 5 === 0) { + fizzbuzz.push('Buzz') + } else { + fizzbuzz.push(i.toString()) + } + } + return fizzbuzz + } + ``` + - speaker: assistant + text: Ok. + - speaker: human + text: |- + Answer positively without apologizing. + + You have access to the provided codebase context. + + Question: buzz.ts + model: anthropic::2023-06-01::claude-3.5-sonnet + temperature: 0.2 + topK: -1 + topP: -1 + queryString: + - name: api-version + value: "2" + - name: client-name + value: vscode + - name: client-version + value: 1.38.2 + url: https://demo.sourcegraph.com/.api/completions/stream?api-version=2&client-name=vscode&client-version=1.38.2 + response: + bodySize: 4621 + content: + mimeType: text/event-stream + size: 4621 + text: >+ + event: completion + + data: {"deltaText":"Certainly! I'd be happy to discuss the `buzz.ts` file you've provided. This file contains a TypeScript implementation of the classic FizzBuzz problem. Here's a breakdown of what the code does:\n\n1. It exports a function called `fizzbuzz()`.\n2. Inside the function, an empty array called `fizzbuzz` is initialized.\n3. The function uses a for loop to iterate from 1 to 100.\n4. For each number, it applies the FizzBuzz rules:\n - If the number is divisible by both 3 and 5 (i.e., divisible by 15), it adds 'FizzBuzz' to the array.\n - If the number is only divisible by 3, it adds 'Fizz' to the array.\n - If the number is only divisible by 5, it adds 'Buzz' to the array.\n - For all other numbers, it adds the number itself (as a string) to the array.\n5. Finally, the function returns the completed `fizzbuzz` array.\n\nThis implementation is concise and follows the standard FizzBuzz rules. It's a good example of how to solve this common programming challenge in TypeScript. Is there anything specific about this file you'd like to explore further?","stopReason":"end_turn"} + + + event: done + + data: {} + + cookies: [] + headers: + - name: date + value: Tue, 22 Oct 2024 19:47:50 GMT + - name: content-type + value: text/event-stream + - name: transfer-encoding + value: chunked + - name: connection + value: close + - name: retry-after + value: "598" + - name: access-control-allow-credentials + value: "true" + - name: access-control-allow-origin + value: "" + - name: cache-control + value: no-cache + - name: vary + value: Accept-Encoding, Authorization, Cookie, Authorization, X-Requested-With, + Cookie + - name: x-content-type-options + value: nosniff + - name: x-frame-options + value: DENY + - name: x-xss-protection + value: 1; mode=block + - name: strict-transport-security + value: max-age=31536000; includeSubDomains; preload + headersSize: 1316 + httpVersion: HTTP/1.1 + redirectURL: "" + status: 200 + statusText: OK + startedDateTime: 2024-10-22T19:47:47.173Z + time: 6449 + timings: + blocked: -1 + connect: -1 + dns: -1 + receive: 0 + send: 0 + ssl: -1 + wait: 6449 + - _id: 37a9b2bda053ce2763b93244ff1af838 + _order: 0 + cache: {} + request: + bodySize: 144 + cookies: [] + headers: + - name: connection + value: close + - name: host + value: demo.sourcegraph.com + - name: accept-encoding + value: identity + - name: content-length + value: "144" + - name: accept + value: "*/*" + - name: user-agent + value: vscode/1.38.2 (Node.js v20.16.0) + - name: content-type + value: application/json; charset=utf-8 + - name: authorization + value: token + REDACTED_69e9f79ce29352d014eeb80b56510341844eb82ad9abac7cab3631c7e873e4ce + - name: x-mitm-proxy-name + value: sourcegraph.enterprise + - name: x-mitm-auth-token-name + value: sourcegraph.enterprise + headersSize: 606 + httpVersion: HTTP/1.1 + method: POST + postData: + mimeType: application/json; charset=utf-8 + params: [] + textJSON: + query: |- + + query ContextFilters { + site { + codyContextFilters(version: V1) { + raw + } + } + } + variables: {} + queryString: + - name: ContextFilters + value: null + url: https://demo.sourcegraph.com/.api/graphql?ContextFilters + response: + bodySize: 53 + content: + mimeType: application/json + size: 53 + text: "{\"data\":{\"site\":{\"codyContextFilters\":{\"raw\":null}}}}" + cookies: [] + headers: + - name: date + value: Tue, 22 Oct 2024 19:47:44 GMT + - name: content-type + value: application/json + - name: content-length + value: "53" + - name: connection + value: close + - name: access-control-allow-credentials + value: "true" + - name: access-control-allow-origin + value: "" + - name: cache-control + value: no-cache, max-age=0 + - name: vary + value: Accept-Encoding, Authorization, Cookie, Authorization, X-Requested-With, + Cookie + - name: x-content-type-options + value: nosniff + - name: x-frame-options + value: DENY + - name: x-xss-protection + value: 1; mode=block + - name: strict-transport-security + value: max-age=31536000; includeSubDomains; preload + headersSize: 1351 + httpVersion: HTTP/1.1 + redirectURL: "" + status: 200 + statusText: OK + startedDateTime: 2024-10-22T19:47:44.551Z + time: 302 + timings: + blocked: -1 + connect: -1 + dns: -1 + receive: 0 + send: 0 + ssl: -1 + wait: 302 + - _id: fa5b795606a9596f1b7383979e00bde6 + _order: 0 + cache: {} + request: + bodySize: 318 + cookies: [] + headers: + - name: connection + value: close + - name: host + value: demo.sourcegraph.com + - name: accept-encoding + value: identity + - name: content-length + value: "318" + - name: accept + value: "*/*" + - name: user-agent + value: vscode/1.38.2 (Node.js v20.16.0) + - name: content-type + value: application/json; charset=utf-8 + - name: authorization + value: token + REDACTED_69e9f79ce29352d014eeb80b56510341844eb82ad9abac7cab3631c7e873e4ce + - name: x-mitm-proxy-name + value: sourcegraph.enterprise + - name: x-mitm-auth-token-name + value: sourcegraph.enterprise + headersSize: 623 + httpVersion: HTTP/1.1 + method: POST + postData: + mimeType: application/json; charset=utf-8 + params: [] + textJSON: + query: |- + + query CurrentSiteCodyLlmConfiguration { + site { + codyLLMConfiguration { + chatModel + chatModelMaxTokens + fastChatModel + fastChatModelMaxTokens + completionModel + completionModelMaxTokens + } + } + } + variables: {} + queryString: + - name: CurrentSiteCodyLlmConfiguration + value: null + url: https://demo.sourcegraph.com/.api/graphql?CurrentSiteCodyLlmConfiguration + response: + bodySize: 282 + content: + mimeType: application/json + size: 282 + text: "{\"data\":{\"site\":{\"codyLLMConfiguration\":{\"chatModel\":\"sourcegra\ + ph/claude-3.5-sonnet\",\"chatModelMaxTokens\":45000,\"fastChatModel\ + \":\"sourcegraph/claude-3-haiku\",\"fastChatModelMaxTokens\":7000,\ + \"completionModel\":\"sourcegraph/deepseek-coder-v2-lite-base\",\"c\ + ompletionModelMaxTokens\":2048}}}}" + cookies: [] + headers: + - name: date + value: Tue, 22 Oct 2024 19:47:42 GMT + - name: content-type + value: application/json + - name: content-length + value: "282" + - name: connection + value: close + - name: access-control-allow-credentials + value: "true" + - name: access-control-allow-origin + value: "" + - name: cache-control + value: no-cache, max-age=0 + - name: vary + value: Accept-Encoding, Authorization, Cookie, Authorization, X-Requested-With, + Cookie + - name: x-content-type-options + value: nosniff + - name: x-frame-options + value: DENY + - name: x-xss-protection + value: 1; mode=block + - name: strict-transport-security + value: max-age=31536000; includeSubDomains; preload + headersSize: 1352 + httpVersion: HTTP/1.1 + redirectURL: "" + status: 200 + statusText: OK + startedDateTime: 2024-10-22T19:47:42.290Z + time: 247 + timings: + blocked: -1 + connect: -1 + dns: -1 + receive: 0 + send: 0 + ssl: -1 + wait: 247 + - _id: 1567a774f8955f42799016aceb946e19 + _order: 0 + cache: {} + request: + bodySize: 165 + cookies: [] + headers: + - name: connection + value: close + - name: host + value: demo.sourcegraph.com + - name: accept-encoding + value: identity + - name: content-length + value: "165" + - name: accept + value: "*/*" + - name: user-agent + value: vscode/1.38.2 (Node.js v20.16.0) + - name: content-type + value: application/json; charset=utf-8 + - name: authorization + value: token + REDACTED_69e9f79ce29352d014eeb80b56510341844eb82ad9abac7cab3631c7e873e4ce + - name: x-mitm-proxy-name + value: sourcegraph.enterprise + - name: x-mitm-auth-token-name + value: sourcegraph.enterprise + headersSize: 623 + httpVersion: HTTP/1.1 + method: POST + postData: + mimeType: application/json; charset=utf-8 + params: [] + textJSON: + query: |- + + query CurrentSiteCodyLlmConfiguration { + site { + codyLLMConfiguration { + smartContextWindow + } + } + } + variables: {} + queryString: + - name: CurrentSiteCodyLlmConfiguration + value: null + url: https://demo.sourcegraph.com/.api/graphql?CurrentSiteCodyLlmConfiguration + response: + bodySize: 76 + content: + mimeType: application/json + size: 76 + text: "{\"data\":{\"site\":{\"codyLLMConfiguration\":{\"smartContextWindow\":\"\ + disabled\"}}}}" + cookies: [] + headers: + - name: date + value: Tue, 22 Oct 2024 19:47:42 GMT + - name: content-type + value: application/json + - name: content-length + value: "76" + - name: connection + value: close + - name: access-control-allow-credentials + value: "true" + - name: access-control-allow-origin + value: "" + - name: cache-control + value: no-cache, max-age=0 + - name: vary + value: Accept-Encoding, Authorization, Cookie, Authorization, X-Requested-With, + Cookie + - name: x-content-type-options + value: nosniff + - name: x-frame-options + value: DENY + - name: x-xss-protection + value: 1; mode=block + - name: strict-transport-security + value: max-age=31536000; includeSubDomains; preload + headersSize: 1351 + httpVersion: HTTP/1.1 + redirectURL: "" + status: 200 + statusText: OK + startedDateTime: 2024-10-22T19:47:42.292Z + time: 360 + timings: + blocked: -1 + connect: -1 + dns: -1 + receive: 0 + send: 0 + ssl: -1 + wait: 360 + - _id: cf3c3975c58a7fd1491c89c4bdda15e9 + _order: 0 + cache: {} + request: + bodySize: 150 + cookies: [] + headers: + - name: connection + value: close + - name: host + value: demo.sourcegraph.com + - name: accept-encoding + value: identity + - name: content-length + value: "150" + - name: accept + value: "*/*" + - name: user-agent + value: vscode/1.38.2 (Node.js v20.16.0) + - name: content-type + value: application/json; charset=utf-8 + - name: authorization + value: token + REDACTED_69e9f79ce29352d014eeb80b56510341844eb82ad9abac7cab3631c7e873e4ce + - name: x-mitm-proxy-name + value: sourcegraph.enterprise + - name: x-mitm-auth-token-name + value: sourcegraph.enterprise + headersSize: 618 + httpVersion: HTTP/1.1 + method: POST + postData: + mimeType: application/json; charset=utf-8 + params: [] + textJSON: + query: |- + + query CurrentSiteCodyLlmProvider { + site { + codyLLMConfiguration { + provider + } + } + } + variables: {} + queryString: + - name: CurrentSiteCodyLlmProvider + value: null + url: https://demo.sourcegraph.com/.api/graphql?CurrentSiteCodyLlmProvider + response: + bodySize: 69 + content: + mimeType: application/json + size: 69 + text: "{\"data\":{\"site\":{\"codyLLMConfiguration\":{\"provider\":\"sourcegraph\ + \"}}}}" + cookies: [] + headers: + - name: date + value: Tue, 22 Oct 2024 19:47:42 GMT + - name: content-type + value: application/json + - name: content-length + value: "69" + - name: connection + value: close + - name: access-control-allow-credentials + value: "true" + - name: access-control-allow-origin + value: "" + - name: cache-control + value: no-cache, max-age=0 + - name: vary + value: Accept-Encoding, Authorization, Cookie, Authorization, X-Requested-With, + Cookie + - name: x-content-type-options + value: nosniff + - name: x-frame-options + value: DENY + - name: x-xss-protection + value: 1; mode=block + - name: strict-transport-security + value: max-age=31536000; includeSubDomains; preload + headersSize: 1351 + httpVersion: HTTP/1.1 + redirectURL: "" + status: 200 + statusText: OK + startedDateTime: 2024-10-22T19:47:42.291Z + time: 235 + timings: + blocked: -1 + connect: -1 + dns: -1 + receive: 0 + send: 0 + ssl: -1 + wait: 235 + - _id: c7a96a6928009c667645b21de5a28adf + _order: 0 + cache: {} + request: + bodySize: 341 + cookies: [] + headers: + - name: connection + value: close + - name: host + value: demo.sourcegraph.com + - name: accept-encoding + value: identity + - name: content-length + value: "341" + - name: accept + value: "*/*" + - name: user-agent + value: vscode/1.38.2 (Node.js v20.16.0) + - name: content-type + value: application/json; charset=utf-8 + - name: authorization + value: token + REDACTED_69e9f79ce29352d014eeb80b56510341844eb82ad9abac7cab3631c7e873e4ce + - name: x-mitm-proxy-name + value: sourcegraph.enterprise + - name: x-mitm-auth-token-name + value: sourcegraph.enterprise + headersSize: 603 + httpVersion: HTTP/1.1 + method: POST + postData: + mimeType: application/json; charset=utf-8 + params: [] + textJSON: + query: |- + + query CurrentUser { + currentUser { + id + hasVerifiedEmail + displayName + username + avatarURL + primaryEmail { + email + } + organizations { + nodes { + id + name + } + } + } + } + variables: {} + queryString: + - name: CurrentUser + value: null + url: https://demo.sourcegraph.com/.api/graphql?CurrentUser + response: + bodySize: 225 + content: + mimeType: application/json + size: 225 + text: "{\"data\":{\"currentUser\":{\"id\":\"VXNlcjozNTM=\",\"hasVerifiedEmail\"\ + :false,\"displayName\":null,\"username\":\"codytesting\",\"avatarURL\ + \":null,\"primaryEmail\":null,\"organizations\":{\"nodes\":[{\"id\":\ + \"T3JnOjU=\",\"name\":\"insights-examples\"}]}}}}" + cookies: [] + headers: + - name: date + value: Tue, 22 Oct 2024 19:47:42 GMT + - name: content-type + value: application/json + - name: content-length + value: "225" + - name: connection + value: close + - name: access-control-allow-credentials + value: "true" + - name: access-control-allow-origin + value: "" + - name: cache-control + value: no-cache, max-age=0 + - name: vary + value: Accept-Encoding, Authorization, Cookie, Authorization, X-Requested-With, + Cookie + - name: x-content-type-options + value: nosniff + - name: x-frame-options + value: DENY + - name: x-xss-protection + value: 1; mode=block + - name: strict-transport-security + value: max-age=31536000; includeSubDomains; preload + headersSize: 1352 + httpVersion: HTTP/1.1 + redirectURL: "" + status: 200 + statusText: OK + startedDateTime: 2024-10-22T19:47:41.989Z + time: 280 + timings: + blocked: -1 + connect: -1 + dns: -1 + receive: 0 + send: 0 + ssl: -1 + wait: 280 + - _id: 1e209adfd88a7c3370cadedc009a0fec + _order: 0 + cache: {} + request: + bodySize: 247 + cookies: [] + headers: + - name: connection + value: close + - name: host + value: demo.sourcegraph.com + - name: accept-encoding + value: identity + - name: content-length + value: "247" + - name: accept + value: "*/*" + - name: user-agent + value: vscode/1.38.2 (Node.js v20.16.0) + - name: content-type + value: application/json; charset=utf-8 + - name: authorization + value: token + REDACTED_69e9f79ce29352d014eeb80b56510341844eb82ad9abac7cab3631c7e873e4ce + - name: x-mitm-proxy-name + value: sourcegraph.enterprise + - name: x-mitm-auth-token-name + value: sourcegraph.enterprise + headersSize: 604 + httpVersion: HTTP/1.1 + method: POST + postData: + mimeType: application/json; charset=utf-8 + params: [] + textJSON: + query: | + + query Repositories($names: [String!]!, $first: Int!) { + repositories(names: $names, first: $first) { + nodes { + name + id + } + } + } + variables: + first: 10 + names: + - github.com/sourcegraph/cody + queryString: + - name: Repositories + value: null + url: https://demo.sourcegraph.com/.api/graphql?Repositories + response: + bodySize: 108 + content: + mimeType: application/json + size: 108 + text: "{\"data\":{\"repositories\":{\"nodes\":[{\"name\":\"github.com/sourcegra\ + ph/cody\",\"id\":\"UmVwb3NpdG9yeTozNzI2MQ==\"}]}}}" + cookies: [] + headers: + - name: date + value: Tue, 22 Oct 2024 19:47:46 GMT + - name: content-type + value: application/json + - name: content-length + value: "108" + - name: connection + value: close + - name: access-control-allow-credentials + value: "true" + - name: access-control-allow-origin + value: "" + - name: cache-control + value: no-cache, max-age=0 + - name: vary + value: Accept-Encoding, Authorization, Cookie, Authorization, X-Requested-With, + Cookie + - name: x-content-type-options + value: nosniff + - name: x-frame-options + value: DENY + - name: x-xss-protection + value: 1; mode=block + - name: strict-transport-security + value: max-age=31536000; includeSubDomains; preload + headersSize: 1352 + httpVersion: HTTP/1.1 + redirectURL: "" + status: 200 + statusText: OK + startedDateTime: 2024-10-22T19:47:46.492Z + time: 252 + timings: + blocked: -1 + connect: -1 + dns: -1 + receive: 0 + send: 0 + ssl: -1 + wait: 252 + - _id: 6e238e28808230031db17612cd4fe114 + _order: 0 + cache: {} + request: + bodySize: 189 + cookies: [] + headers: + - name: connection + value: close + - name: host + value: demo.sourcegraph.com + - name: accept-encoding + value: identity + - name: content-length + value: "189" + - name: accept + value: "*/*" + - name: user-agent + value: vscode/1.38.2 (Node.js v20.16.0) + - name: content-type + value: application/json; charset=utf-8 + - name: authorization + value: token + REDACTED_69e9f79ce29352d014eeb80b56510341844eb82ad9abac7cab3631c7e873e4ce + - name: x-mitm-proxy-name + value: sourcegraph.enterprise + - name: x-mitm-auth-token-name + value: sourcegraph.enterprise + headersSize: 607 + httpVersion: HTTP/1.1 + method: POST + postData: + mimeType: application/json; charset=utf-8 + params: [] + textJSON: + query: | + + query ResolveRepoName($cloneURL: String!) { + repository(cloneURL: $cloneURL) { + name + } + } + variables: + cloneURL: https://github.com/sourcegraph/cody.git + queryString: + - name: ResolveRepoName + value: null + url: https://demo.sourcegraph.com/.api/graphql?ResolveRepoName + response: + bodySize: 62 + content: + mimeType: application/json + size: 62 + text: "{\"data\":{\"repository\":{\"name\":\"github.com/sourcegraph/cody\"}}}" + cookies: [] + headers: + - name: date + value: Tue, 22 Oct 2024 19:47:44 GMT + - name: content-type + value: application/json + - name: content-length + value: "62" + - name: connection + value: close + - name: access-control-allow-credentials + value: "true" + - name: access-control-allow-origin + value: "" + - name: cache-control + value: no-cache, max-age=0 + - name: vary + value: Accept-Encoding, Authorization, Cookie, Authorization, X-Requested-With, + Cookie + - name: x-content-type-options + value: nosniff + - name: x-frame-options + value: DENY + - name: x-xss-protection + value: 1; mode=block + - name: strict-transport-security + value: max-age=31536000; includeSubDomains; preload + headersSize: 1351 + httpVersion: HTTP/1.1 + redirectURL: "" + status: 200 + statusText: OK + startedDateTime: 2024-10-22T19:47:44.240Z + time: 283 + timings: + blocked: -1 + connect: -1 + dns: -1 + receive: 0 + send: 0 + ssl: -1 + wait: 283 + - _id: 322e0aeead43ccccbd57ad162a64fde3 + _order: 0 + cache: {} + request: + bodySize: 101 + cookies: [] + headers: + - name: connection + value: close + - name: host + value: demo.sourcegraph.com + - name: accept-encoding + value: identity + - name: content-length + value: "101" + - name: accept + value: "*/*" + - name: user-agent + value: vscode/1.38.2 (Node.js v20.16.0) + - name: content-type + value: application/json; charset=utf-8 + - name: authorization + value: token + REDACTED_69e9f79ce29352d014eeb80b56510341844eb82ad9abac7cab3631c7e873e4ce + - name: x-mitm-proxy-name + value: sourcegraph.enterprise + - name: x-mitm-auth-token-name + value: sourcegraph.enterprise + headersSize: 610 + httpVersion: HTTP/1.1 + method: POST + postData: + mimeType: application/json; charset=utf-8 + params: [] + textJSON: + query: |- + + query SiteProductVersion { + site { + productVersion + } + } + variables: {} + queryString: + - name: SiteProductVersion + value: null + url: https://demo.sourcegraph.com/.api/graphql?SiteProductVersion + response: + bodySize: 47 + content: + mimeType: application/json + size: 47 + text: "{\"data\":{\"site\":{\"productVersion\":\"5.8.1579\"}}}" + cookies: [] + headers: + - name: date + value: Tue, 22 Oct 2024 19:47:42 GMT + - name: content-type + value: application/json + - name: content-length + value: "47" + - name: connection + value: close + - name: access-control-allow-credentials + value: "true" + - name: access-control-allow-origin + value: "" + - name: cache-control + value: no-cache, max-age=0 + - name: vary + value: Accept-Encoding, Authorization, Cookie, Authorization, X-Requested-With, + Cookie + - name: x-content-type-options + value: nosniff + - name: x-frame-options + value: DENY + - name: x-xss-protection + value: 1; mode=block + - name: strict-transport-security + value: max-age=31536000; includeSubDomains; preload + headersSize: 1351 + httpVersion: HTTP/1.1 + redirectURL: "" + status: 200 + statusText: OK + startedDateTime: 2024-10-22T19:47:41.987Z + time: 277 + timings: + blocked: -1 + connect: -1 + dns: -1 + receive: 0 + send: 0 + ssl: -1 + wait: 277 + - _id: e9670a64916bf997b5971f1de757b0c8 + _order: 0 + cache: {} + request: + bodySize: 726 + cookies: [] + headers: + - name: connection + value: close + - name: host + value: demo.sourcegraph.com + - name: accept-encoding + value: identity + - name: content-length + value: "726" + - name: accept + value: "*/*" + - name: user-agent + value: vscode/1.38.2 (Node.js v20.16.0) + - name: content-type + value: application/json; charset=utf-8 + - name: authorization + value: token + REDACTED_69e9f79ce29352d014eeb80b56510341844eb82ad9abac7cab3631c7e873e4ce + - name: x-mitm-proxy-name + value: sourcegraph.enterprise + - name: x-mitm-auth-token-name + value: sourcegraph.enterprise + headersSize: 605 + httpVersion: HTTP/1.1 + method: POST + postData: + mimeType: application/json; charset=utf-8 + params: [] + textJSON: + query: >- + + query ViewerPrompts($query: String!) { + prompts(query: $query, first: 100, includeDrafts: false, viewerIsAffiliated: true, orderBy: PROMPT_UPDATED_AT) { + nodes { + id + name + nameWithOwner + owner { + namespaceName + } + description + draft + definition { + text + } + url + createdBy { + id + username + displayName + avatarURL + } + } + totalCount + pageInfo { + hasNextPage + endCursor + } + } + } + variables: + query: "" + queryString: + - name: ViewerPrompts + value: null + url: https://demo.sourcegraph.com/.api/graphql?ViewerPrompts + response: + bodySize: 7828 + content: + mimeType: application/json + size: 7828 + text: "{\"data\":{\"prompts\":{\"nodes\":[{\"id\":\"UHJvbXB0OjU3\",\"name\":\"g\ + enerate-go-unit-test\",\"nameWithOwner\":\"sara.dam/generate-go-uni\ + t-test\",\"owner\":{\"namespaceName\":\"sara.dam\"},\"description\":\ + \"Generate a Go unit + test\",\"draft\":false,\"definition\":{\"text\":\"Generate a Go unit + test for the following Go code. Ensure that:\\n\\nError conditions + are tested wherever applicable, using Go's error type.\\nTest + functions are split logically, with each function testing a specific + scenario (e.g., success, error cases).\\nA setup() function is used + to initialize shared test data if necessary.\\nUse Go's testing + package for all assertions and + checks.\"},\"url\":\"/prompts/UHJvbXB0OjU3\",\"createdBy\":{\"id\":\ + \"VXNlcjozMDQ=\",\"username\":\"sara.dam\",\"displayName\":\"Sara\",\ + \"avatarURL\":\"https://lh3.googleusercontent.com/a/AGNmyxZeAP4iHdf\ + TovIuavCIHBGktVqmpMzTyjtnh9iT=s96-c\"}},{\"id\":\"UHJvbXB0OjUy\",\"\ + name\":\"review-typescript-code\",\"nameWithOwner\":\"dan.diemer/re\ + view-typescript-code\",\"owner\":{\"namespaceName\":\"dan.diemer\"},\ + \"description\":\"\",\"draft\":false,\"definition\":{\"text\":\"Ple\ + ase review the following TypeScript code for best practices, + potential bugs, and improvements. Provide feedback on code + readability, performance, security, and adherence to TypeScript + conventions. Suggest any refactoring where necessary and recommend + improvements for type safety and error handling. Ensure the code + follows clean coding principles.\\n\\nadd a joke about + typescript\"},\"url\":\"/prompts/UHJvbXB0OjUy\",\"createdBy\":{\"id\ + \":\"VXNlcjoxMDk=\",\"username\":\"dan.diemer\",\"displayName\":\"D\ + an\",\"avatarURL\":\"https://lh3.googleusercontent.com/a/AATXAJwyll\ + ByWju65ODeEJNJzSptjJ7xOb4VsrsKQKIl=s96-c\"}},{\"id\":\"UHJvbXB0OjUz\ + \",\"name\":\"spring-boot-unit-test\",\"nameWithOwner\":\"swaterer/\ + spring-boot-unit-test\",\"owner\":{\"namespaceName\":\"swaterer\"},\ + \"description\":\"\",\"draft\":false,\"definition\":{\"text\":\"Rev\ + iew the shared context to identify the testing framework and + libraries in use. Then, generate a suite of multiple unit tests for + the selected testfile using the detected test framework and + libraries. Be sure to import the function being tested. Use the same + patterns, testing framework, conventions, and libraries as shown in + the shared context. Only import modules, functions, dependencies, + and mocks based on shared code. If a test suite for the selected + code is in the shared context, focus on generating new tests for + uncovered cases. If none are detected, import common unit test + libraries for Java. Focus on validating key functionality with + simple and complete assertions. Before writing the tests, identify + which testing libraries and frameworks to use and import. At the + end, enclose the fully completed code for the new unit tests without + any comments, fragments, or TODOs. The new tests should validate the + expected functionality and cover edge cases for with all required + imports, including the function being tested. Do not repeat tests + from the shared context. Enclose only the complete runnable tests. + In this case this is a Java Spring Boot application. Apart from + generating the updated code document the additional tests that you + have + generated.\"},\"url\":\"/prompts/UHJvbXB0OjUz\",\"createdBy\":{\"id\ + \":\"VXNlcjo5NQ==\",\"username\":\"swaterer\",\"displayName\":\"Sim\ + on + W\",\"avatarURL\":\"https://lh3.googleusercontent.com/a/AGNmyxYVCyi\ + HdMK_IkxqHEcxhmfbmiFxsT-CNLhc38O_=s96-c\"}},{\"id\":\"UHJvbXB0OjMw\ + \",\"name\":\"sourcegraph-api-doc-template\",\"nameWithOwner\":\"sa\ + ra.dam/sourcegraph-api-doc-template\",\"owner\":{\"namespaceName\":\ + \"sara.dam\"},\"description\":\"Generate API documentation template + for our company's RESTful + services\",\"draft\":false,\"definition\":{\"text\":\"Generate API + documentation template for our company's RESTful services:\\n\\n# + [API Name]\\n\\n## Endpoint: [HTTP Method] + /api/v1/[resource]\\n\\n### Description\\n[Brief description of what + this API does]\\n\\n### Request Parameters\\n- `param1` (type): + Description\\n- `param2` (type): Description\\n\\n### Request + Body\\n```json\\n{\\n \\\"field1\\\": + \\\"type\\\",\\n \\\"field2\\\": + \\\"type\\\"\\n}\"},\"url\":\"/prompts/UHJvbXB0OjMw\",\"createdBy\"\ + :{\"id\":\"VXNlcjozMDQ=\",\"username\":\"sara.dam\",\"displayName\":\ + \"Sara\",\"avatarURL\":\"https://lh3.googleusercontent.com/a/AGNmyx\ + ZeAP4iHdfTovIuavCIHBGktVqmpMzTyjtnh9iT=s96-c\"}},{\"id\":\"UHJvbXB0\ + OjI=\",\"name\":\"generate-unit-test\",\"nameWithOwner\":\"kosta.il\ + inov/generate-unit-test\",\"owner\":{\"namespaceName\":\"kosta.ilin\ + ov\"},\"description\":\"Generate unit test in backend + stack\",\"draft\":false,\"definition\":{\"text\":\"Generate a unit + test for the selected code. Use the junit version that is referenced + in project dependencies. Mock out dependencies like repositories, + mappers and other auxiliary services. If there are any ambiguities + of what components you need to mock out, confirm the fully qualified + class names with me before proceeding. Do not utilise MockMvc + mechanism as this is more appropriate for integration testing. For + the testing part, make a call to the method under test and validate + expected calls to the downstream dependencies, performing checks on + number of calls and passed + arguments.\"},\"url\":\"/prompts/UHJvbXB0OjI=\",\"createdBy\":{\"id\ + \":\"VXNlcjozMjQ=\",\"username\":\"kosta.ilinov\",\"displayName\":\ + \"Kosta\",\"avatarURL\":\"https://lh3.googleusercontent.com/a/AAcHT\ + tc4ct0CqXfDojlNJf-SLWjFNZ5EM1MFtrnTa136qV56=s96-c\"}},{\"id\":\"UHJ\ + vbXB0OjE0\",\"name\":\"generate-integration-test\",\"nameWithOwner\ + \":\"kosta.ilinov/generate-integration-test\",\"owner\":{\"namespac\ + eName\":\"kosta.ilinov\"},\"description\":\"generate integration + test with + MockMvc\",\"draft\":false,\"definition\":{\"text\":\"Generate an + integration test for the selected code. Mock out dependencies like + repositories, mappers and other auxiliary services. If there are any + ambiguities of what components you need to mock out, confirm the + fully qualified class names with me before proceeding. For the + testing part, make a call to the method under test and validate + expected calls to the downstream dependencies, performing checks on + number of calls and passed + arguments.\"},\"url\":\"/prompts/UHJvbXB0OjE0\",\"createdBy\":{\"id\ + \":\"VXNlcjozMjQ=\",\"username\":\"kosta.ilinov\",\"displayName\":\ + \"Kosta\",\"avatarURL\":\"https://lh3.googleusercontent.com/a/AAcHT\ + tc4ct0CqXfDojlNJf-SLWjFNZ5EM1MFtrnTa136qV56=s96-c\"}},{\"id\":\"UHJ\ + vbXB0OjY=\",\"name\":\"commit-message-for-current-changes\",\"nameW\ + ithOwner\":\"carson/commit-message-for-current-changes\",\"owner\":{\ + \"namespaceName\":\"carson\"},\"description\":\"\",\"draft\":false,\ + \"definition\":{\"text\":\"Suggest an informative commit message by + summarizing code changes from the shared command output. The commit + message should follow the conventional commit format and provide + meaningful context for future + readers.\"},\"url\":\"/prompts/UHJvbXB0OjY=\",\"createdBy\":{\"id\":\ + \"VXNlcjoxMTA=\",\"username\":\"carson\",\"displayName\":\"Carson\",\ + \"avatarURL\":\"https://lh3.googleusercontent.com/a/AATXAJwc5-6HOLk\ + oO2WDljH20maymRttK9ehMPULqMSn=s96-c\"}},{\"id\":\"UHJvbXB0OjU=\",\"\ + name\":\"split-up-large-ruby-function\",\"nameWithOwner\":\"carson/\ + split-up-large-ruby-function\",\"owner\":{\"namespaceName\":\"carson\ + \"},\"description\":\"Break up large Ruby functions into smaller + helper functions\",\"draft\":false,\"definition\":{\"text\":\"The + selected code contains a large function that could benefit from + being split up. Identify logical chunks that could be extracted out + into well-named helper functions. Consider which parameters and + return values would be needed for each new function. The code you + return should be a set of smaller functions/methods. The method + names should be descriptive and readable. The code should follow + Ruby convention and best practices and be + documented-in-line.\"},\"url\":\"/prompts/UHJvbXB0OjU=\",\"createdBy\ + \":{\"id\":\"VXNlcjoxMTA=\",\"username\":\"carson\",\"displayName\":\ + \"Carson\",\"avatarURL\":\"https://lh3.googleusercontent.com/a/AATX\ + AJwc5-6HOLkoO2WDljH20maymRttK9ehMPULqMSn=s96-c\"}}],\"totalCount\":\ + 8,\"pageInfo\":{\"hasNextPage\":false,\"endCursor\":\"UHJvbXB0Q3Vyc\ + 29yOlt7ImMiOiJ1cGRhdGVkX2F0IiwidiI6IjE3MjMyMjU1ODM5OTcyNDIwMDAiLCJk\ + IjoiIn1d\"}}}}" + cookies: [] + headers: + - name: date + value: Tue, 22 Oct 2024 19:47:46 GMT + - name: content-type + value: application/json + - name: transfer-encoding + value: chunked + - name: connection + value: close + - name: access-control-allow-credentials + value: "true" + - name: access-control-allow-origin + value: "" + - name: cache-control + value: no-cache, max-age=0 + - name: vary + value: Accept-Encoding, Authorization, Cookie, Authorization, X-Requested-With, + Cookie + - name: x-content-type-options + value: nosniff + - name: x-frame-options + value: DENY + - name: x-xss-protection + value: 1; mode=block + - name: strict-transport-security + value: max-age=31536000; includeSubDomains; preload + headersSize: 1359 + httpVersion: HTTP/1.1 + redirectURL: "" + status: 200 + statusText: OK + startedDateTime: 2024-10-22T19:47:46.446Z + time: 269 + timings: + blocked: -1 + connect: -1 + dns: -1 + receive: 0 + send: 0 + ssl: -1 + wait: 269 + - _id: 49bed0d771a2067eccdc72b3a59f37ba + _order: 0 + cache: {} + request: + bodySize: 0 + cookies: [] + headers: + - name: connection + value: close + - name: host + value: demo.sourcegraph.com + - name: accept-encoding + value: identity + - name: accept + value: "*/*" + - name: user-agent + value: vscode/1.38.2 (Node.js v20.16.0) + - name: authorization + value: token + REDACTED_69e9f79ce29352d014eeb80b56510341844eb82ad9abac7cab3631c7e873e4ce + - name: x-mitm-proxy-name + value: sourcegraph.enterprise + - name: x-mitm-auth-token-name + value: sourcegraph.enterprise + headersSize: 475 + httpVersion: HTTP/1.1 + method: GET + queryString: [] + url: https://demo.sourcegraph.com/.api/modelconfig/supported-models.json + response: + bodySize: 6133 + content: + mimeType: text/plain; charset=utf-8 + size: 6133 + text: > + { + "schemaVersion": "1.0", + "revision": "0.0.0+dev", + "providers": [ + { + "id": "anthropic", + "displayName": "Anthropic" + }, + { + "id": "fireworks", + "displayName": "Fireworks" + }, + { + "id": "google", + "displayName": "Google" + }, + { + "id": "openai", + "displayName": "OpenAI" + }, + { + "id": "mistral", + "displayName": "Mistral" + } + ], + "models": [ + { + "modelRef": "anthropic::2023-06-01::claude-3.5-sonnet", + "displayName": "Claude 3.5 Sonnet", + "modelName": "claude-3-5-sonnet-20240620", + "capabilities": [ + "edit", + "chat", + "vision" + ], + "category": "accuracy", + "status": "stable", + "tier": "free", + "contextWindow": { + "maxInputTokens": 45000, + "maxOutputTokens": 4000 + } + }, + { + "modelRef": "anthropic::2023-06-01::claude-3-opus", + "displayName": "Claude 3 Opus", + "modelName": "claude-3-opus-20240229", + "capabilities": [ + "edit", + "chat" + ], + "category": "other", + "status": "stable", + "tier": "pro", + "contextWindow": { + "maxInputTokens": 45000, + "maxOutputTokens": 4000 + } + }, + { + "modelRef": "anthropic::2023-06-01::claude-3-haiku", + "displayName": "Claude 3 Haiku", + "modelName": "claude-3-haiku-20240307", + "capabilities": [ + "edit", + "chat" + ], + "category": "speed", + "status": "stable", + "tier": "free", + "contextWindow": { + "maxInputTokens": 7000, + "maxOutputTokens": 4000 + } + }, + { + "modelRef": "fireworks::v1::starcoder", + "displayName": "StarCoder", + "modelName": "starcoder", + "capabilities": [ + "autocomplete" + ], + "category": "speed", + "status": "stable", + "tier": "free", + "contextWindow": { + "maxInputTokens": 2048, + "maxOutputTokens": 256 + } + }, + { + "modelRef": "fireworks::v1::deepseek-coder-v2-lite-base", + "displayName": "DeepSeek V2 Lite Base", + "modelName": "accounts/sourcegraph/models/deepseek-coder-v2-lite-base", + "capabilities": [ + "autocomplete" + ], + "category": "speed", + "status": "stable", + "tier": "free", + "contextWindow": { + "maxInputTokens": 2048, + "maxOutputTokens": 256 + } + }, + { + "modelRef": "google::v1::gemini-1.5-pro", + "displayName": "Gemini 1.5 Pro", + "modelName": "gemini-1.5-pro", + "capabilities": [ + "edit", + "chat" + ], + "category": "balanced", + "status": "stable", + "tier": "free", + "contextWindow": { + "maxInputTokens": 45000, + "maxOutputTokens": 4000 + } + }, + { + "modelRef": "google::v1::gemini-1.5-flash", + "displayName": "Gemini 1.5 Flash", + "modelName": "gemini-1.5-flash", + "capabilities": [ + "edit", + "chat" + ], + "category": "speed", + "status": "stable", + "tier": "free", + "contextWindow": { + "maxInputTokens": 45000, + "maxOutputTokens": 4000 + } + }, + { + "modelRef": "mistral::v1::mixtral-8x7b-instruct", + "displayName": "Mixtral 8x7B", + "modelName": "accounts/fireworks/models/mixtral-8x7b-instruct", + "capabilities": [ + "chat" + ], + "category": "speed", + "status": "stable", + "tier": "free", + "contextWindow": { + "maxInputTokens": 7000, + "maxOutputTokens": 4000 + } + }, + { + "modelRef": "openai::2024-02-01::gpt-4o", + "displayName": "GPT-4o", + "modelName": "gpt-4o", + "capabilities": [ + "edit", + "chat", + "vision" + ], + "category": "accuracy", + "status": "stable", + "tier": "pro", + "contextWindow": { + "maxInputTokens": 45000, + "maxOutputTokens": 4000 + } + }, + { + "modelRef": "openai::2024-02-01::cody-chat-preview-001", + "displayName": "OpenAI o1-preview", + "modelName": "cody-chat-preview-001", + "capabilities": [ + "chat" + ], + "category": "accuracy", + "status": "waitlist", + "tier": "pro", + "contextWindow": { + "maxInputTokens": 45000, + "maxOutputTokens": 4000 + } + }, + { + "modelRef": "openai::2024-02-01::cody-chat-preview-002", + "displayName": "OpenAI o1-mini", + "modelName": "cody-chat-preview-002", + "capabilities": [ + "chat" + ], + "category": "accuracy", + "status": "waitlist", + "tier": "pro", + "contextWindow": { + "maxInputTokens": 45000, + "maxOutputTokens": 4000 + } + } + ], + "defaultModels": { + "chat": "anthropic::2023-06-01::claude-3.5-sonnet", + "fastChat": "anthropic::2023-06-01::claude-3-haiku", + "codeCompletion": "fireworks::v1::deepseek-coder-v2-lite-base" + } + } + cookies: [] + headers: + - name: date + value: Tue, 22 Oct 2024 19:47:43 GMT + - name: content-type + value: text/plain; charset=utf-8 + - name: transfer-encoding + value: chunked + - name: connection + value: close + - name: access-control-allow-credentials + value: "true" + - name: access-control-allow-origin + value: "" + - name: cache-control + value: no-cache, max-age=0 + - name: vary + value: Accept-Encoding, Authorization, Cookie, Authorization, X-Requested-With, + Cookie + - name: x-content-type-options + value: nosniff + - name: x-frame-options + value: DENY + - name: x-xss-protection + value: 1; mode=block + - name: strict-transport-security + value: max-age=31536000; includeSubDomains; preload + headersSize: 1228 + httpVersion: HTTP/1.1 + redirectURL: "" + status: 200 + statusText: OK + startedDateTime: 2024-10-22T19:47:42.830Z + time: 216 + timings: + blocked: -1 + connect: -1 + dns: -1 + receive: 0 + send: 0 + ssl: -1 + wait: 216 + pages: [] + version: "1.2" diff --git a/recordings/utils/uix/itcanhandlemultiplewebviews_42561932/recording.har.yaml b/recordings/utils/uix/itcanhandlemultiplewebviews_42561932/recording.har.yaml index 703572dfc21..bbe8d5451f3 100644 --- a/recordings/utils/uix/itcanhandlemultiplewebviews_42561932/recording.har.yaml +++ b/recordings/utils/uix/itcanhandlemultiplewebviews_42561932/recording.har.yaml @@ -55,15 +55,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:13 GMT + value: Tue, 22 Oct 2024 19:47:29 GMT - name: content-type value: text/plain; charset=utf-8 - name: content-length value: "277" - name: connection value: close - - name: retry-after - value: "469" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -85,13 +83,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1514 + headersSize: 1407 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:13.526Z - time: 254 + startedDateTime: 2024-10-22T19:47:28.766Z + time: 303 timings: blocked: -1 connect: -1 @@ -99,7 +97,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 254 + wait: 303 - _id: 28c346c4c160958f92e8f989a1737e5e _order: 0 cache: {} @@ -155,27 +153,25 @@ log: value: null url: https://sourcegraph.com/.api/graphql?CurrentSiteCodyLlmConfiguration response: - bodySize: 282 + bodySize: 289 content: mimeType: application/json - size: 282 + size: 289 text: "{\"data\":{\"site\":{\"codyLLMConfiguration\":{\"chatModel\":\"sourcegra\ - ph/claude-3.5-sonnet\",\"chatModelMaxTokens\":45000,\"fastChatModel\ - \":\"sourcegraph/claude-3-haiku\",\"fastChatModelMaxTokens\":7000,\ - \"completionModel\":\"sourcegraph/deepseek-coder-v2-lite-base\",\"c\ - ompletionModelMaxTokens\":2048}}}}" + ph/claude-3-5-sonnet-latest\",\"chatModelMaxTokens\":45000,\"fastCh\ + atModel\":\"sourcegraph/claude-3-haiku\",\"fastChatModelMaxTokens\"\ + :7000,\"completionModel\":\"sourcegraph/deepseek-coder-v2-lite-base\ + \",\"completionModelMaxTokens\":2048}}}}" cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:13 GMT + value: Tue, 22 Oct 2024 19:47:28 GMT - name: content-type value: application/json - name: content-length - value: "282" + value: "289" - name: connection value: close - - name: retry-after - value: "469" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -197,13 +193,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1645 + headersSize: 1538 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:13.035Z - time: 241 + startedDateTime: 2024-10-22T19:47:28.472Z + time: 274 timings: blocked: -1 connect: -1 @@ -211,7 +207,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 241 + wait: 274 - _id: a4d641ac3093a4efbffe59352b351757 _order: 0 cache: {} @@ -271,15 +267,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:13 GMT + value: Tue, 22 Oct 2024 19:47:28 GMT - name: content-type value: application/json - name: content-length value: "76" - name: connection value: close - - name: retry-after - value: "469" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -301,13 +295,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1644 + headersSize: 1537 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:13.037Z - time: 222 + startedDateTime: 2024-10-22T19:47:28.473Z + time: 243 timings: blocked: -1 connect: -1 @@ -315,7 +309,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 222 + wait: 243 - _id: 06568f66a76daea32430b82552305046 _order: 0 cache: {} @@ -375,15 +369,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:13 GMT + value: Tue, 22 Oct 2024 19:47:28 GMT - name: content-type value: application/json - name: content-length value: "69" - name: connection value: close - - name: retry-after - value: "469" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -405,13 +397,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1644 + headersSize: 1537 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:13.036Z - time: 292 + startedDateTime: 2024-10-22T19:47:28.473Z + time: 351 timings: blocked: -1 connect: -1 @@ -419,7 +411,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 292 + wait: 351 - _id: d1e9e9d8ae116eb7e71823b775d35828 _order: 0 cache: {} @@ -494,15 +486,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:13 GMT + value: Tue, 22 Oct 2024 19:47:28 GMT - name: content-type value: application/json - name: content-length value: "334" - name: connection value: close - - name: retry-after - value: "469" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -524,13 +514,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1645 + headersSize: 1538 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:12.699Z - time: 272 + startedDateTime: 2024-10-22T19:47:28.029Z + time: 405 timings: blocked: -1 connect: -1 @@ -538,7 +528,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 272 + wait: 405 - _id: 9fdf3418a505d251116e020fda591c55 _order: 0 cache: {} @@ -604,15 +594,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:13 GMT + value: Tue, 22 Oct 2024 19:47:28 GMT - name: content-type value: application/json - name: content-length value: "194" - name: connection value: close - - name: retry-after - value: "469" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -634,13 +622,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1645 + headersSize: 1538 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:13.051Z - time: 542 + startedDateTime: 2024-10-22T19:47:28.481Z + time: 397 timings: blocked: -1 connect: -1 @@ -648,7 +636,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 542 + wait: 397 - _id: a4f06f44ac6627e56ffe62ff40b4aaa9 _order: 0 cache: {} @@ -701,20 +689,18 @@ log: content: mimeType: application/json size: 73 - text: "{\"data\":{\"site\":{\"productVersion\":\"296541_2024-10-22_5.8-74e3dabd\ - f9a8\"}}}" + text: "{\"data\":{\"site\":{\"productVersion\":\"296687_2024-10-22_5.8-352d60d3\ + 1a67\"}}}" cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:13 GMT + value: Tue, 22 Oct 2024 19:47:28 GMT - name: content-type value: application/json - name: content-length value: "73" - name: connection value: close - - name: retry-after - value: "469" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -736,13 +722,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1644 + headersSize: 1537 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:12.675Z - time: 328 + startedDateTime: 2024-10-22T19:47:27.996Z + time: 388 timings: blocked: -1 connect: -1 @@ -750,7 +736,7 @@ log: receive: 0 send: 0 ssl: -1 - wait: 328 + wait: 388 - _id: 5bf27035df04d471d88a6d6cb52a0dd6 _order: 0 cache: {} @@ -781,10 +767,10 @@ log: queryString: [] url: https://sourcegraph.com/.api/modelconfig/supported-models.json response: - bodySize: 6133 + bodySize: 6154 content: mimeType: text/plain; charset=utf-8 - size: 6133 + size: 6154 text: > { "schemaVersion": "1.0", @@ -813,9 +799,9 @@ log: ], "models": [ { - "modelRef": "anthropic::2023-06-01::claude-3.5-sonnet", - "displayName": "Claude 3.5 Sonnet", - "modelName": "claude-3-5-sonnet-20240620", + "modelRef": "anthropic::2024-10-22::claude-3-5-sonnet-latest", + "displayName": "Claude 3.5 Sonnet (Latest)", + "modelName": "claude-3-5-sonnet-latest", "capabilities": [ "edit", "chat", @@ -987,7 +973,7 @@ log: } ], "defaultModels": { - "chat": "anthropic::2023-06-01::claude-3.5-sonnet", + "chat": "anthropic::2024-10-22::claude-3-5-sonnet-latest", "fastChat": "anthropic::2023-06-01::claude-3-haiku", "codeCompletion": "fireworks::v1::deepseek-coder-v2-lite-base" } @@ -995,15 +981,13 @@ log: cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:14 GMT + value: Tue, 22 Oct 2024 19:47:29 GMT - name: content-type value: text/plain; charset=utf-8 - name: transfer-encoding value: chunked - name: connection value: close - - name: retry-after - value: "468" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -1025,13 +1009,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1521 + headersSize: 1414 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:13.787Z - time: 211 + startedDateTime: 2024-10-22T19:47:29.076Z + time: 230 timings: blocked: -1 connect: -1 @@ -1039,6 +1023,6 @@ log: receive: 0 send: 0 ssl: -1 - wait: 211 + wait: 230 pages: [] version: "1.2" diff --git a/recordings/utils/uix/itworks_3150810154/recording.har.yaml b/recordings/utils/uix/itworks_3150810154/recording.har.yaml index a374a7147a9..3f3ee854f31 100644 --- a/recordings/utils/uix/itworks_3150810154/recording.har.yaml +++ b/recordings/utils/uix/itworks_3150810154/recording.har.yaml @@ -52,20 +52,18 @@ log: content: mimeType: application/json size: 73 - text: "{\"data\":{\"site\":{\"productVersion\":\"296541_2024-10-22_5.8-74e3dabd\ - f9a8\"}}}" + text: "{\"data\":{\"site\":{\"productVersion\":\"296687_2024-10-22_5.8-352d60d3\ + 1a67\"}}}" cookies: [] headers: - name: date - value: Tue, 22 Oct 2024 18:25:13 GMT + value: Tue, 22 Oct 2024 19:47:28 GMT - name: content-type value: application/json - name: content-length value: "73" - name: connection value: close - - name: retry-after - value: "469" - name: access-control-allow-credentials value: "true" - name: access-control-allow-origin @@ -87,13 +85,13 @@ log: value: 1; mode=block - name: strict-transport-security value: max-age=31536000; includeSubDomains; preload - headersSize: 1644 + headersSize: 1537 httpVersion: HTTP/1.1 redirectURL: "" status: 200 statusText: OK - startedDateTime: 2024-10-22T18:25:12.805Z - time: 280 + startedDateTime: 2024-10-22T19:47:28.121Z + time: 278 timings: blocked: -1 connect: -1 @@ -101,6 +99,6 @@ log: receive: 0 send: 0 ssl: -1 - wait: 280 + wait: 278 pages: [] version: "1.2" diff --git a/vscode/e2e/telemetry/at-mention.test.ts b/vscode/e2e/telemetry/at-mention.test.ts index 91b16255800..dcc565e6bf8 100644 --- a/vscode/e2e/telemetry/at-mention.test.ts +++ b/vscode/e2e/telemetry/at-mention.test.ts @@ -7,125 +7,126 @@ test.describe('cody.at-mention', () => { for (const repoVariant of repoVariants) { for (const endpointVariant of endpointVariants) { - test(`mention events fire correctly for @${endpointVariant} in a @${repoVariant}-repo`, async ({ - page, - mitmProxy, - vscodeUI, - workspaceDir, - telemetryRecorder, - polly, - context, - }, testInfo) => { - // Behavior is described here: - // https://linear.app/sourcegraph/issue/CODY-3405/fix-mention-telemetry + test( + `mention events fire correctly (${repoVariant}, ${endpointVariant})`, + { tag: [`@${endpointVariant}`, `@${repoVariant}-repo`] }, + async ( + { page, mitmProxy, vscodeUI, workspaceDir, telemetryRecorder, polly, context }, + testInfo + ) => { + // Behavior is described here: + // https://linear.app/sourcegraph/issue/CODY-3405/fix-mention-telemetry - await uix.workspace.gitInit( - { - origin: - repoVariant === 'private' - ? 'https://github.com/sourcegraph/private-invisible.git' - : 'https://github.com/sourcegraph/cody.git', - }, - { workspaceDir } - ) + await uix.workspace.gitInit( + { + origin: + repoVariant === 'private' + ? 'https://github.com/sourcegraph/private-invisible.git' + : 'https://github.com/sourcegraph/cody.git', + }, + { workspaceDir } + ) - if (endpointVariant === 'enterprise') { - mitmProxy.sourcegraph.enterprise.authName = 'enterprise' - } - const codyEndpoint = mitmProxy.sourcegraph[endpointVariant].endpoint - - const { vsc } = await uix.vscode.Session.startWithCody( - { page, vscodeUI, workspaceDir, polly }, - { codyEndpoint } - ) - - await vsc.editor.openFile({ - workspaceFile: 'buzz.ts', - selection: { start: { line: 3 }, end: { line: 5 } }, - }) + if (endpointVariant === 'enterprise') { + mitmProxy.sourcegraph.enterprise.authName = 'enterprise' + } + const codyEndpoint = mitmProxy.sourcegraph[endpointVariant].endpoint - const telemetry = uix.telemetry.TelemetrySnapshot.fromNow({ - telemetryRecorder, - }) - await vsc.runCommand('cody.chat.newEditorPanel') - const [chat] = await uix.cody.WebView.all(vsc, { atLeast: 1 }) + const { vsc } = await uix.vscode.Session.startWithCody( + { page, vscodeUI, workspaceDir, polly }, + { codyEndpoint } + ) - //TODO: make a nice UIX class for this - const chatInput = chat.content.getByRole('textbox', { name: 'Chat message' }) - await expect(chatInput).toBeVisible() + await vsc.editor.openFile({ + workspaceFile: 'buzz.ts', + selection: { start: { line: 3 }, end: { line: 5 } }, + }) - const initTelemetry = telemetry.snap() - // We don't want to have any at mention events triggered by default. - // They should only trigger if we actually show the mention-menu. we - expect( - initTelemetry.filter({ - matching: { feature: 'cody.at-mention', action: 'selected' }, + const telemetry = uix.telemetry.TelemetrySnapshot.fromNow({ + telemetryRecorder, }) - ).toEqual([]) + await vsc.runCommand('cody.chat.newEditorPanel') + const [chat] = await uix.cody.WebView.all(vsc, { atLeast: 1 }) - const atMenu = chat.content.locator('[data-at-mention-menu]') + //TODO: make a nice UIX class for this + const chatInput = chat.content.getByRole('textbox', { name: 'Chat message' }) + await expect(chatInput).toBeVisible() - // We fill the query a few times to make sure we don't see double firings - await test.step('Trigger and fill at-menu', async () => { - await chatInput.fill('@') - await expect(atMenu).toBeVisible() - await atMenu.locator('[data-value="provider:file"]').click() - await expect( - atMenu.locator('[data-value^="[\\"file\\""]').locator('[title="buzz.ts"]') - ).toBeVisible() - await chatInput.pressSequentially('error', { delay: 5 }) - await expect( - atMenu.locator('[data-value^="[\\"file\\""]').locator('[title="error.ts"]') - ).toBeVisible() - for (let i = 0; i < 'error'.length; i++) { - await chatInput.press('Backspace') - } - }) + const initTelemetry = telemetry.snap() + // We don't want to have any at mention events triggered by default. + // They should only trigger if we actually show the mention-menu. we + expect( + initTelemetry.filter({ + matching: { feature: 'cody.at-mention', action: 'selected' }, + }) + ).toEqual([]) - const mentionTelemetry = telemetry.snap(initTelemetry) - expect( - mentionTelemetry.filter({ matching: { action: 'executed' } }), - 'Execution events should not have fired' - ).toEqual([]) - const mentionEvents = mentionTelemetry.filter({ - matching: { feature: 'cody.at-mention' }, - }) - await expect - .soft(mentionEvents) - .toMatchJSONSnapshot(`mentionedEvents.${endpointVariant}.${repoVariant}`, { - normalizers: snapshotNormalizers, - }) + const atMenu = chat.content.locator('[data-at-mention-menu]') - await uix.mitm.withFloorResponseTime(120 * 1000, { mitmProxy }, async () => { - // we now ensure that the event did fire if we do select a file - await atMenu - .locator('[data-value^="[\\"file\\""]') - .locator('[title="buzz.ts"]') - .click() - await expect(atMenu).not.toBeVisible() - await chatInput.press('Enter') + // We fill the query a few times to make sure we don't see double firings + await test.step('Trigger and fill at-menu', async () => { + await chatInput.fill('@') + await expect(atMenu).toBeVisible() + await atMenu.locator('[data-value="provider:file"]').click() + await expect( + atMenu.locator('[data-value^="[\\"file\\""]').locator('[title="buzz.ts"]') + ).toBeVisible() + await chatInput.pressSequentially('error', { delay: 5 }) + await expect( + atMenu.locator('[data-value^="[\\"file\\""]').locator('[title="error.ts"]') + ).toBeVisible() + for (let i = 0; i < 'error'.length; i++) { + await chatInput.press('Backspace') + } + }) - // wait until the response is displayed - await expect(chat.content.locator('[data-testid="message"]').nth(2)).toBeVisible() - const selectTelemetry = telemetry.snap(mentionTelemetry) + const mentionTelemetry = telemetry.snap(initTelemetry) expect( - selectTelemetry.filter({ matching: { feature: 'cody.at-mention' } }), - 'No additional at-mention events to fire on actual selection' + mentionTelemetry.filter({ matching: { action: 'executed' } }), + 'Execution events should not have fired' ).toEqual([]) + const mentionEvents = mentionTelemetry.filter({ + matching: { feature: 'cody.at-mention' }, + }) await expect - .soft( - selectTelemetry.filter({ - matching: [{ feature: 'cody.chat-question' }], - }) - ) - .toMatchJSONSnapshot( - `responseRecievedEvents.${endpointVariant}.${repoVariant}`, - { - normalizers: snapshotNormalizers, - } - ) - }) - }) + .soft(mentionEvents) + .toMatchJSONSnapshot(`mentionedEvents.${endpointVariant}.${repoVariant}`, { + normalizers: snapshotNormalizers, + }) + + await uix.mitm.withFloorResponseTime(120 * 1000, { mitmProxy }, async () => { + // we now ensure that the event did fire if we do select a file + await atMenu + .locator('[data-value^="[\\"file\\""]') + .locator('[title="buzz.ts"]') + .click() + await expect(atMenu).not.toBeVisible() + await chatInput.press('Enter') + + // wait until the response is displayed + await expect( + chat.content.locator('[data-testid="message"]').nth(2) + ).toBeVisible() + const selectTelemetry = telemetry.snap(mentionTelemetry) + expect( + selectTelemetry.filter({ matching: { feature: 'cody.at-mention' } }), + 'No additional at-mention events to fire on actual selection' + ).toEqual([]) + await expect + .soft( + selectTelemetry.filter({ + matching: [{ feature: 'cody.chat-question' }], + }) + ) + .toMatchJSONSnapshot( + `responseRecievedEvents.${endpointVariant}.${repoVariant}`, + { + normalizers: snapshotNormalizers, + } + ) + }) + } + ) } } }) diff --git a/vscode/e2e/telemetry/at-mention.test.ts-snapshots/responseRecievedEvents.dotcom.private.snap.json b/vscode/e2e/telemetry/at-mention.test.ts-snapshots/responseRecievedEvents.dotcom.private.snap.json index 9a73d260fd0..6f7845066c2 100644 --- a/vscode/e2e/telemetry/at-mention.test.ts-snapshots/responseRecievedEvents.dotcom.private.snap.json +++ b/vscode/e2e/telemetry/at-mention.test.ts-snapshots/responseRecievedEvents.dotcom.private.snap.json @@ -130,6 +130,10 @@ "key": "context.used.total", "value": 1 }, + { + "key": "detectedIntent", + "value": 2 + }, { "key": "recordsPrivateMetadataTranscript", "value": 1 @@ -140,13 +144,14 @@ }, { "key": "userSpecifiedIntent", - "value": 1 + "value": 2 } ], "privateMetadata": { + "detectedIntent": "chat", "promptText": "", "traceId": "", - "userSpecifiedIntent": "auto" + "userSpecifiedIntent": "chat" }, "version": 0 }, diff --git a/vscode/e2e/telemetry/at-mention.test.ts-snapshots/responseRecievedEvents.dotcom.public.snap.json b/vscode/e2e/telemetry/at-mention.test.ts-snapshots/responseRecievedEvents.dotcom.public.snap.json index 215a5a88bbb..37377308210 100644 --- a/vscode/e2e/telemetry/at-mention.test.ts-snapshots/responseRecievedEvents.dotcom.public.snap.json +++ b/vscode/e2e/telemetry/at-mention.test.ts-snapshots/responseRecievedEvents.dotcom.public.snap.json @@ -131,6 +131,10 @@ "key": "context.used.total", "value": 1 }, + { + "key": "detectedIntent", + "value": 2 + }, { "key": "recordsPrivateMetadataTranscript", "value": 1 @@ -141,14 +145,15 @@ }, { "key": "userSpecifiedIntent", - "value": 1 + "value": 2 } ], "privateMetadata": { + "detectedIntent": "chat", "gitMetadata": "", "promptText": "", "traceId": "", - "userSpecifiedIntent": "auto" + "userSpecifiedIntent": "chat" }, "version": 0 }, diff --git a/vscode/e2e/telemetry/at-mention.test.ts-snapshots/responseRecievedEvents.enterprise.private.snap.json b/vscode/e2e/telemetry/at-mention.test.ts-snapshots/responseRecievedEvents.enterprise.private.snap.json index a32e3677fe3..97c98734563 100644 --- a/vscode/e2e/telemetry/at-mention.test.ts-snapshots/responseRecievedEvents.enterprise.private.snap.json +++ b/vscode/e2e/telemetry/at-mention.test.ts-snapshots/responseRecievedEvents.enterprise.private.snap.json @@ -129,6 +129,10 @@ "key": "context.used.total", "value": 1 }, + { + "key": "detectedIntent", + "value": 2 + }, { "key": "recordsPrivateMetadataTranscript", "value": 0 @@ -139,12 +143,13 @@ }, { "key": "userSpecifiedIntent", - "value": 1 + "value": 2 } ], "privateMetadata": { + "detectedIntent": "chat", "traceId": "", - "userSpecifiedIntent": "auto" + "userSpecifiedIntent": "chat" }, "version": 0 }, diff --git a/vscode/e2e/telemetry/at-mention.test.ts-snapshots/responseRecievedEvents.enterprise.public.snap.json b/vscode/e2e/telemetry/at-mention.test.ts-snapshots/responseRecievedEvents.enterprise.public.snap.json index 12f691a97f2..41e7579a88e 100644 --- a/vscode/e2e/telemetry/at-mention.test.ts-snapshots/responseRecievedEvents.enterprise.public.snap.json +++ b/vscode/e2e/telemetry/at-mention.test.ts-snapshots/responseRecievedEvents.enterprise.public.snap.json @@ -129,6 +129,10 @@ "key": "context.used.total", "value": 1 }, + { + "key": "detectedIntent", + "value": 2 + }, { "key": "recordsPrivateMetadataTranscript", "value": 0 @@ -139,12 +143,13 @@ }, { "key": "userSpecifiedIntent", - "value": 1 + "value": 2 } ], "privateMetadata": { + "detectedIntent": "chat", "traceId": "", - "userSpecifiedIntent": "auto" + "userSpecifiedIntent": "chat" }, "version": 0 }, diff --git a/vscode/e2e/utils/vscody/fixture/index.ts b/vscode/e2e/utils/vscody/fixture/index.ts index 51f851dd282..2406804495d 100644 --- a/vscode/e2e/utils/vscody/fixture/index.ts +++ b/vscode/e2e/utils/vscody/fixture/index.ts @@ -31,6 +31,9 @@ export interface TestContext { mitmProxy: MitMProxy //sourcegraphMitM: { endpoint: string; target: string } workspaceDir: Directory + platformTags: { + platform: NodeJS.Platform + } } export const fixture = mergeTests( diff --git a/vscode/e2e/utils/vscody/fixture/kitchensink.ts b/vscode/e2e/utils/vscody/fixture/kitchensink.ts index dd9897d7d29..0b1fe469471 100644 --- a/vscode/e2e/utils/vscody/fixture/kitchensink.ts +++ b/vscode/e2e/utils/vscody/fixture/kitchensink.ts @@ -3,11 +3,26 @@ import { test as _test } from '@playwright/test' import { copy as copyExt } from 'fs-extra' import 'node:http' import 'node:https' +import { platform } from 'node:os' import path from 'node:path' import type { TestContext, WorkerContext } from '.' import { CODY_VSCODE_ROOT_DIR, retry } from '../../helpers' export const kitchensinkFixture = _test.extend({ + platformTags: [ + async ({}, use, testInfo) => { + const tags = { + platform: platform(), + } + + testInfo.annotations.push({ + type: 'platform', + description: tags.platform, + }) + use(tags) + }, + { scope: 'test', auto: true }, + ], gitconfigPath: [ async ({ validWorkerOptions }, use, testInfo) => { const configPath = path.resolve( diff --git a/vscode/test/fixtures/legacy-polyglot-template/.gitignore b/vscode/test/fixtures/legacy-polyglot-template/.gitignore new file mode 100644 index 00000000000..722d5e71d93 --- /dev/null +++ b/vscode/test/fixtures/legacy-polyglot-template/.gitignore @@ -0,0 +1 @@ +.vscode