Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Cody Ignore: set lower client version constraint to enable clients testing#62690

Merged
kalanchan merged 2 commits intomainfrom
ty/cody-ignore-set-version-constraint-fot-test-mode
May 15, 2024
Merged

Cody Ignore: set lower client version constraint to enable clients testing#62690
kalanchan merged 2 commits intomainfrom
ty/cody-ignore-set-version-constraint-fot-test-mode

Conversation

@taras-yemets
Copy link
Contributor

Sets version constraints to lower pre-release versions for VS Code and JetBrains Cody extensions if cody-context-filters-clients-test-mode feature flag is set to true to enable testing clients Cody Ignore implementation in the prod environment.
More context in this thread.

Test plan

  • Updated unit tests
  • CI

Copy link
Contributor

@kalanchan kalanchan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to approve for now so that I can test this on SG02 and unblock QA.

@dominiccooney please review afterwards and leave any comments/concerns with the approach.

@taras-yemets if you could update the tests again that would be great.

next steps: we plan on cutting JB 6.0.0 next week, but this PR will unblock us for now. We should think of a way to test VS Code 1.20.0 as well before next week

{
// See https://pkg.go.dev/github.com/Masterminds/semver#readme-working-with-pre-release-versions
name: "jetbrains: pre-release version doesn't match constraint if \"cody-context-filters-allow-pre-release-client-versions\" feature flag is enabled",
name: "jetbrains: pre-release version doesn't match constraint if \"cody-context-filters-clients-test-mode\" feature flag is enabled",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we add one more test here to show that the test will pass if we use a JetBrains version like 5.5.10-nightly ?

@kalanchan kalanchan merged commit a21d2f1 into main May 15, 2024
@kalanchan kalanchan deleted the ty/cody-ignore-set-version-constraint-fot-test-mode branch May 15, 2024 18:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants