-
Couldn't load subscription status.
- Fork 1.3k
InlineChatIntent #1549
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
base: main
Are you sure you want to change the base?
InlineChatIntent #1549
Conversation
…diagnostics will never be read but slow down the result
Pull request was converted to draft
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request refactors the inline chat testing strategy by renaming Inline2 to InlineChatIntent throughout the test codebase. The change reflects a more descriptive naming convention that better represents the inline chat intent interaction being tested.
Key Changes
- Renamed
EditTestStrategy.Inline2toEditTestStrategy.InlineChatIntent - Updated all test files to use the new
forInlineAndInlineChatIntenthelper instead offorInlineAndInline2 - Refactored
simulateInlineChat3function tosimulateInlineChatIntentwith enhanced diagnostic reference support - Updated baseline test data and outcome files to reflect the naming changes
Reviewed Changes
Copilot reviewed 65 out of 65 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| test/simulation/types.ts | Renamed enum value and updated documentation comment |
| test/simulation/inlineChatSimulator.ts | Refactored simulation function with new name and added diagnostic reference contribution logic |
| test/simulation/slash-test/testGen.ts.stest.ts | Updated imports and test suite configuration to use new naming |
| test/simulation/slash-test/testGen.csharp.stest.ts | Updated imports and helper function calls |
| test/simulation/slash-test/testGen.cpp.stest.ts | Updated imports and helper function calls |
| test/simulation/baseline.json | Updated test baseline names from inline2 to InlineChatIntent |
| test/outcome/*.json | Updated test outcome file names and request hashes |
| test/simulation/cache/layers/*.sqlite | Added new cached test layer files |
| } | ||
|
|
||
| const diagnostics = !this.testContext.isInSimulationTests && this.configurationService.getExperimentBasedConfig(ConfigKey.AutoFixDiagnostics, this.experimentationService) && !(file.isNotebook) | ||
| const diagnostics = (this.props.diagnosticsTimeout === undefined || this.props.diagnosticsTimeout >= 0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fyi @roblourens - I know there is a discussion around this feature and I don't wanna get to involved in that, but for inline chat we really don't need to wait for diagnostics because the tool result won't be fed back to the LM
No description provided.