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

config(chat): try opt in implicit @workspace context once if users are in treatment group #5302

Merged
merged 6 commits into from
Jan 28, 2025

Conversation

Will-ShaoHua
Copy link
Contributor

@Will-ShaoHua Will-ShaoHua commented Jan 28, 2025

Screen.Recording.2025-01-28.at.1.47.07.AM.mov

Description

Most users might have disabled workspace context due to previous sub-process performance issue, therefore #6098 experiment has too few datapoints.

As we've been actively working on fixes to improve the amazon q helper sub-process performance, the team decided to try turn on (only once) workspace context for a small fraction of all users (20%) to collect few more datapoints.

License

I confirm that my contribution is made under the terms of the Apache 2.0 license.

@Will-ShaoHua Will-ShaoHua requested review from a team as code owners January 28, 2025 06:44
@Will-ShaoHua Will-ShaoHua changed the title try opt in implicit @workspace context once for users assigned to tre… config(chat): try opt in implicit @workspace context once if users are in treatment group Jan 28, 2025
@Will-ShaoHua
Copy link
Contributor Author

vscode pr aws/aws-toolkit-vscode#6217

@Will-ShaoHua
Copy link
Contributor Author

/retryBuilds

@@ -48,6 +51,14 @@ class CodeWhispererSettings : PersistentStateComponent<CodeWhispererConfiguratio
if (!hasEnabledProjectContextOnce()) {
toggleEnabledProjectContextOnce(true)
state.value[CodeWhispererConfigurationType.IsProjectContextEnabled] = value
// todo: hack to bypass module dependency issue (codewhisperer -> shared), should pass [CodeWhispererShowSettingsAction] instead when it's resolved
Copy link
Contributor Author

Choose a reason for hiding this comment

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

will follow up in this wip pr #5304

@rli rli merged commit aa98252 into aws:main Jan 28, 2025
11 checks passed
@Will-ShaoHua Will-ShaoHua deleted the ws-context branch January 28, 2025 23:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants