Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lower Cody CodeActions priority as a temporary workaround #2132

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ open class CodyIntegrationTextFixture : BasePlatformTestCase(), LensListener {
AnActionEvent.createFromAnAction(action, null, "", createEditorContext(myFixture.editor))
action.update(event)
val presentation = event.presentation
assertEquals("Action description should be empty", "", presentation.description)
assertTrue("Action should be enabled", presentation.isEnabled)
assertTrue("Action should be visible", presentation.isVisible)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ log:
cookies: []
headers:
- name: date
value: Mon, 26 Aug 2024 10:05:41 GMT
value: Tue, 27 Aug 2024 16:11:35 GMT
- name: content-type
value: text/plain; charset=utf-8
- name: transfer-encoding
Expand Down Expand Up @@ -78,7 +78,7 @@ log:
redirectURL: ""
status: 200
statusText: OK
startedDateTime: 2024-08-26T10:05:40.912Z
startedDateTime: 2024-08-27T16:11:35.513Z
time: 0
timings:
blocked: -1
Expand All @@ -105,7 +105,7 @@ log:
- name: user-agent
value: JetBrains / 6.0-localbuild
- name: traceparent
value: 00-b653d1c65c87be9d81056ad71062af9b-89635f314a35f7a1-01
value: 00-c16d52d9ac2338da14cde4f385fc347a-e5fe4e0f5c243153-01
- name: connection
value: keep-alive
- name: host
Expand Down Expand Up @@ -206,14 +206,14 @@ log:
value: 6.0-localbuild
url: https://sourcegraph.com/.api/completions/stream?api-version=1&client-name=jetbrains&client-version=6.0-localbuild
response:
bodySize: 1966
bodySize: 1837
content:
mimeType: text/event-stream
size: 1966
size: 1837
text: >+
event: completion
data: {"completion":"\n/**\n * This import statement brings in the Java Standard Library classes for working with Lists and other collection types.\n */\n","stopReason":"stop_sequence"}
data: {"completion":"/**\n * Imports the necessary Java utility classes, including {@link java.util.List} and {@link java.util.ArrayList}.\n */","stopReason":"stop_sequence"}
event: done
Expand All @@ -223,7 +223,7 @@ log:
cookies: []
headers:
- name: date
value: Mon, 26 Aug 2024 10:05:43 GMT
value: Tue, 27 Aug 2024 16:11:38 GMT
- name: content-type
value: text/event-stream
- name: transfer-encoding
Expand Down Expand Up @@ -252,7 +252,7 @@ log:
redirectURL: ""
status: 200
statusText: OK
startedDateTime: 2024-08-26T10:05:42.406Z
startedDateTime: 2024-08-27T16:11:37.009Z
time: 0
timings:
blocked: -1
Expand Down Expand Up @@ -312,17 +312,17 @@ log:
value: null
url: https://sourcegraph.com/.api/graphql?ContextFilters
response:
bodySize: 107
bodySize: 114
content:
encoding: base64
mimeType: application/json
size: 107
size: 114
text: "[\"H4sIAAAAAAAAA6pWSkks\",\"SVSyqlYqzixJBdHJ+SmVzvl5JakVJW6ZOSWpRcUg0aLE\
ciWrvNKcnNra2loAAAAA//8DADYuyGU1AAAA\"]"
ciWrvNKcnNra2loAAAAA//8=\",\"AwA2LshlNQAAAA==\"]"
cookies: []
headers:
- name: date
value: Mon, 26 Aug 2024 10:05:41 GMT
value: Tue, 27 Aug 2024 16:11:36 GMT
- name: content-type
value: application/json
- name: transfer-encoding
Expand Down Expand Up @@ -353,7 +353,7 @@ log:
redirectURL: ""
status: 200
statusText: OK
startedDateTime: 2024-08-26T10:05:41.361Z
startedDateTime: 2024-08-27T16:11:35.893Z
time: 0
timings:
blocked: -1
Expand Down Expand Up @@ -440,15 +440,13 @@ log:
cookies: []
headers:
- name: date
value: Mon, 26 Aug 2024 10:05:40 GMT
value: Tue, 27 Aug 2024 16:11:34 GMT
- name: content-type
value: application/json
- name: transfer-encoding
value: chunked
- name: connection
value: keep-alive
- name: retry-after
value: "1"
- name: access-control-allow-credentials
value: "true"
- name: access-control-allow-origin
Expand All @@ -468,12 +466,12 @@ log:
value: max-age=31536000; includeSubDomains; preload
- name: content-encoding
value: gzip
headersSize: 1438
headersSize: 1333
httpVersion: HTTP/1.1
redirectURL: ""
status: 200
statusText: OK
startedDateTime: 2024-08-26T10:05:40.167Z
startedDateTime: 2024-08-27T16:11:34.617Z
time: 0
timings:
blocked: -1
Expand Down Expand Up @@ -533,26 +531,28 @@ log:
value: null
url: https://sourcegraph.com/.api/graphql?CurrentSiteCodyLlmConfiguration
response:
bodySize: 139
bodySize: 132
content:
encoding: base64
mimeType: application/json
size: 139
size: 132
text: "[\"H4sIAAAAAAAAA6pWSkksSVSyqlYqzixJBdHJ+SmVPj6+zvl5aZnppUWJJZn5eWD53MSiE\
uf8vJLUipLwzLyU/HIlK6XUvMSknNQUpdra2loAAAAA//8=\",\"AwDoCDSlSwAAAA==\
\"]"
uf8vJLUipLwzLyU/HIlK6XUvMSknNQUpdra2loAAAAA//8DAOgINKVLAAAA\"]"
textDecoded:
data:
site:
codyLLMConfiguration:
smartContextWindow: enabled
cookies: []
headers:
- name: date
value: Mon, 26 Aug 2024 10:05:40 GMT
value: Tue, 27 Aug 2024 16:11:34 GMT
- name: content-type
value: application/json
- name: transfer-encoding
value: chunked
- name: connection
value: keep-alive
- name: retry-after
value: "1"
- name: access-control-allow-credentials
value: "true"
- name: access-control-allow-origin
Expand All @@ -572,12 +572,12 @@ log:
value: max-age=31536000; includeSubDomains; preload
- name: content-encoding
value: gzip
headersSize: 1438
headersSize: 1333
httpVersion: HTTP/1.1
redirectURL: ""
status: 200
statusText: OK
startedDateTime: 2024-08-26T10:05:40.199Z
startedDateTime: 2024-08-27T16:11:34.652Z
time: 0
timings:
blocked: -1
Expand Down Expand Up @@ -637,25 +637,28 @@ log:
value: null
url: https://sourcegraph.com/.api/graphql?CurrentSiteCodyLlmProvider
response:
bodySize: 131
bodySize: 128
content:
encoding: base64
mimeType: application/json
size: 131
size: 128
text: "[\"H4sIAAAAAAAAA6pWSkksSVSyqlYqzixJBdHJ+SmVPj6+zvl5aZnppUWJJZn5eSDxgqL8s\
syU1CIlK6Xi/NKi5NT0osSCDKXa2tpaAAAAAP//\",\"AwAfFAXARQAAAA==\"]"
syU1CIlK6Xi/NKi5NT0osSCDKXa2tpaAAAAAP//AwAfFAXARQAAAA==\"]"
textDecoded:
data:
site:
codyLLMConfiguration:
provider: sourcegraph
cookies: []
headers:
- name: date
value: Mon, 26 Aug 2024 10:05:40 GMT
value: Tue, 27 Aug 2024 16:11:34 GMT
- name: content-type
value: application/json
- name: transfer-encoding
value: chunked
- name: connection
value: keep-alive
- name: retry-after
value: "1"
- name: access-control-allow-credentials
value: "true"
- name: access-control-allow-origin
Expand All @@ -675,12 +678,12 @@ log:
value: max-age=31536000; includeSubDomains; preload
- name: content-encoding
value: gzip
headersSize: 1438
headersSize: 1333
httpVersion: HTTP/1.1
redirectURL: ""
status: 200
statusText: OK
startedDateTime: 2024-08-26T10:05:40.183Z
startedDateTime: 2024-08-27T16:11:34.634Z
time: 0
timings:
blocked: -1
Expand Down Expand Up @@ -751,29 +754,39 @@ log:
value: null
url: https://sourcegraph.com/.api/graphql?CurrentUser
response:
bodySize: 383
bodySize: 376
content:
encoding: base64
mimeType: application/json
size: 383
size: 376
text: "[\"H4sIAAAAAAAAA2RPy07CQBT9l7tuaQ1R2klIFAQXaOMjNBjj4nZ6aaePmToPFJr+O2kwc\
eHunJzHvaeHHC0C64E7rUnarSE9UpEDg3SXNLxSp+T+5eqp4nPwoESTkhZ7QfmqRdEA\
s9qRB7kwXYPHBFsCBm/KaU6Fxq5cKOvHYRiCB86QlheD+TNkysa1v5ffrQMP8IAW9fb\
1ERiU1naGBUFTTieFUkVDYwNX0pK0E67aAIO7ZREpvlnjV/ZOblFn1XW+Xp1+omyXRj\
gTU5Nmm2XynM4eQnc81HMT3/gcPOi0aFEff0f0QBfw77PbYhTGazB4oHSBUpzQCiXNG\
JMqJwPs43MYhuEMAAD//w==\",\"AwBKjJM/TgEAAA==\"]"
JMqJwPs43MYhuEMAAD//wMASoyTP04BAAA=\"]"
textDecoded:
data:
currentUser:
avatarURL: https://lh3.googleusercontent.com/a/ACg8ocKFaqbYeuBkbj5dFEzx8bXV8a7i3sVbKCNPV7G0uyvk=s96-c
displayName: SourcegraphBot-9000
hasVerifiedEmail: true
id: VXNlcjozNDQ1Mjc=
organizations:
nodes: []
primaryEmail:
email: sourcegraphbot9k@gmail.com
username: sourcegraphbot9k-fnwmu
cookies: []
headers:
- name: date
value: Mon, 26 Aug 2024 10:05:40 GMT
value: Tue, 27 Aug 2024 16:11:34 GMT
- name: content-type
value: application/json
- name: transfer-encoding
value: chunked
- name: connection
value: keep-alive
- name: retry-after
value: "1"
- name: access-control-allow-credentials
value: "true"
- name: access-control-allow-origin
Expand All @@ -793,12 +806,12 @@ log:
value: max-age=31536000; includeSubDomains; preload
- name: content-encoding
value: gzip
headersSize: 1438
headersSize: 1333
httpVersion: HTTP/1.1
redirectURL: ""
status: 200
statusText: OK
startedDateTime: 2024-08-26T10:05:40.216Z
startedDateTime: 2024-08-27T16:11:34.669Z
time: 0
timings:
blocked: -1
Expand Down Expand Up @@ -862,36 +875,25 @@ log:
value: null
url: https://sourcegraph.com/.api/graphql?CurrentUserCodySubscription
response:
bodySize: 228
bodySize: 234
content:
encoding: base64
mimeType: application/json
size: 228
text: "[\"H4sIAAAAAAAAA1zMsQrCMBSF4Xc5c4U2dtBsRToIgqWtDm6xyRCoSbi5GUrJu4uCoI7n5\
+Os0IoV5IopERnHl2joPb1ehnSPE9nA1rtXi6w4RUg0h/F4bVEgzMpBouvPKKBCmJeO\
fK/YnOzDcoRkSqb4fHeGrNcDK+KGISFKUW/K3aaqRyFkVcmtuOFPt05/2f2vzTnnJwA\
AAP//AwBSGHacwgAAAA==\"]"
textDecoded:
data:
currentUser:
codySubscription:
applyProRateLimits: true
currentPeriodEndAt: 2024-09-14T22:11:32Z
currentPeriodStartAt: 2024-08-14T22:11:32Z
plan: PRO
status: ACTIVE
size: 234
text: "[\"H4sIAAAAAAAAA1zMsQrC\",\"MBSF4Xc5c4U2dtBsRToIgqWtDm6xyRCoSbi5GUrJu4uC\
oI7n5+Os0IoV5IopERnHl2joPb1ehnSPE9nA1rtXi6w4RUg0h/F4bVEgzMpBouvPKKB\
CmJeOfK/YnOzDcoRkSqb4fHeGrNcDK+KGISFKUW/K3aaqRyFkVcmtuOFPt05/2f2vzT\
nnJwAAAP//\",\"AwBSGHacwgAAAA==\"]"
cookies: []
headers:
- name: date
value: Mon, 26 Aug 2024 10:05:40 GMT
value: Tue, 27 Aug 2024 16:11:35 GMT
- name: content-type
value: application/json
- name: transfer-encoding
value: chunked
- name: connection
value: keep-alive
- name: retry-after
value: "1"
- name: access-control-allow-credentials
value: "true"
- name: access-control-allow-origin
Expand All @@ -911,12 +913,12 @@ log:
value: max-age=31536000; includeSubDomains; preload
- name: content-encoding
value: gzip
headersSize: 1438
headersSize: 1333
httpVersion: HTTP/1.1
redirectURL: ""
status: 200
statusText: OK
startedDateTime: 2024-08-26T10:05:40.442Z
startedDateTime: 2024-08-27T16:11:34.922Z
time: 0
timings:
blocked: -1
Expand Down Expand Up @@ -979,24 +981,22 @@ log:
encoding: base64
mimeType: application/json
size: 136
text: "[\"H4sIAAAAAAAAA6pWSkksSVSyqlYqzixJBdEFRfkppcklYalFxZn5eUpWSkYWFmYG5vFGB\
kYmugYWukZG8aZ6ZrrGxmlJlhbJpgYmFilKtbW1AAAAAP//AwCvLlq5SQAAAA==\"]"
text: "[\"H4sIAAAAAAAAA6pWSkksSVSyqlYqzixJBdEFRfkppcklYalFxZn5eUpWSkYWFpZmRvFGB\
kYmugYWukbm8aZ6ZrpJqSZGZslGKSamJgZKtbW1AAAAAP//AwBCoM+KSQAAAA==\"]"
textDecoded:
data:
site:
productVersion: 288607_2024-08-22_5.6-33fb98c5048d
productVersion: 288962_2024-08-27_5.6-be426c2d4540
cookies: []
headers:
- name: date
value: Mon, 26 Aug 2024 10:05:40 GMT
value: Tue, 27 Aug 2024 16:11:34 GMT
- name: content-type
value: application/json
- name: transfer-encoding
value: chunked
- name: connection
value: keep-alive
- name: retry-after
value: "1"
- name: access-control-allow-credentials
value: "true"
- name: access-control-allow-origin
Expand All @@ -1016,12 +1016,12 @@ log:
value: max-age=31536000; includeSubDomains; preload
- name: content-encoding
value: gzip
headersSize: 1438
headersSize: 1333
httpVersion: HTTP/1.1
redirectURL: ""
status: 200
statusText: OK
startedDateTime: 2024-08-26T10:05:40.131Z
startedDateTime: 2024-08-27T16:11:34.580Z
time: 0
timings:
blocked: -1
Expand Down
Loading
Loading