Repository navigation
feat(vscode): Update bundled codeful SDK 1.0.0-preview.3 - #9617
Andrew Eldridge (andrew-eldridge) wants to merge 16 commits into
Conversation
🤖 AI PR Validation ReportPR Review ResultsThank you for your submission! Here's detailed feedback on your PR title and body compliance:✅ PR Title
✅ Commit Type
❌ Risk Level
❌ What & Why
❌ Impact of Change
✅ Test Plan
|
| Section | Status | Recommendation |
|---|---|---|
| Title | ✅ | No change required. |
| Commit Type | ✅ | Keep the single feature selection. |
| Risk Level | ❌ | Reassess as High; the advised risk is higher than the submitted Medium level. |
| What & Why | ❌ | Correct preview.2 to preview.3 and describe the codeful path parsing scope. |
| Impact of Change | ❌ | Document user, developer, and system impacts; remove N/A entries. |
| Test Plan | ✅ | Unit test coverage is present in the diff. |
| Contributors | Add other contributors if applicable. | |
| Screenshots/Videos | Not required for this primarily non-visual change. |
Please update the SDK version and scope in the PR body, expand the impact details, and reassess the risk level. The PR currently does not pass because the body contains inaccurate and incomplete required information.
Powered by: Logic App (fallback) | Last updated: Fri, 23 Oct 2026 21:05:20 GMT
📊 Coverage CheckThe following changed files need attention:
Please add tests for the uncovered files before merging. |
There was a problem hiding this comment.
🟡 Changes recommended
Address the SDK compatibility, stale-package selection, unused import, and missing template replacement coverage issues.
Get a fresh assessment by requesting another Copilot review.
Pull request overview
Updates the VS Code designer to use Codeful SDK 1.0.0-preview.2.
Changes:
- Centralizes SDK versions and package naming.
- Updates project templates, language-server setup, cache handling, and conversion logic.
- Refreshes related tests and bundled SDK references.
File summaries
| File | Summary |
|---|---|
apps/vs-code-designer/src/test/ui/run-e2e.ts |
Updates SDK asset usage. |
apps/vs-code-designer/src/constants.ts |
Adds centralized SDK constants. |
apps/vs-code-designer/src/assets/CodefulProjectTemplate/CodefulProj |
Uses the generated SDK version. |
apps/vs-code-designer/src/app/utils/languageServerProtocolConstants.ts |
Removes relocated constants. |
apps/vs-code-designer/src/app/utils/languageServerProtocol.ts |
Installs the updated SDK package. |
apps/vs-code-designer/src/app/utils/codeful.ts |
Updates SDK cache handling. |
apps/vs-code-designer/src/app/utils/__test__/verifyIsProject.test.ts |
Updates project expectations. |
apps/vs-code-designer/src/app/utils/__test__/languageServerProtocol.test.ts |
Updates SDK installation tests. |
apps/vs-code-designer/src/app/utils/__test__/codeful.test.ts |
Updates cache path tests. |
apps/vs-code-designer/src/app/languageServer/languageServer.ts |
Locates the bundled SDK package. |
apps/vs-code-designer/src/app/languageServer/__test__/languageServer.test.ts |
Updates language-server expectations. |
apps/vs-code-designer/src/app/languageServer/__test__/bundledLspServerCodeLens.test.ts |
Updates bundled LSP setup and cleanup. |
apps/vs-code-designer/src/app/commands/workflows/switchToDotnetProject.ts |
Uses centralized SDK versions. |
apps/vs-code-designer/src/app/commands/workflows/__test__/switchToDotnetProject.test.ts |
Updates mocked SDK constants. |
apps/vs-code-designer/src/app/commands/createNewCodeProject/CodeProjectBase/CreateLogicAppWorkspace.ts |
Substitutes the SDK version in new projects. |
Review details
- Files reviewed: 15/17 changed files
- Comments generated: 4
- Review effort level: Lite (auto)
Note
Copilot is running an experiment and ran this review at Lite.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| const projectNugetFolder = path.join(projectPath, '.nuget'); | ||
| const projectSdkHashMarkerPath = path.join(projectNugetFolder, codefulSdkProjectHashMarkerName); | ||
| const projectSdkPackagePath = path.join(projectNugetFolder, 'packages', codefulSdkPackageId.toLowerCase(), codefulSdkPackageVersion); | ||
| const projectSdkPackagePath = path.join(projectNugetFolder, 'packages', CodefulSdk.WorkflowsSDK.toLowerCase(), CodefulSdkVersion.WorkflowsSDK); |
| const files = await fse.readdir(sdkFolderPath); | ||
| const sdkNupkgFile = files.find((file) => { | ||
| return file.startsWith('Microsoft.Azure.Workflows.Sdk.') && file.endsWith('.nupkg'); | ||
| return file.startsWith(`${CodefulSdk.WorkflowsSDK}.`) && file.endsWith('.nupkg'); |
| const templateProjContent = (await fse.readFile(templateProjPath, 'utf-8')) | ||
| .replace(/<%= codefulSdkPackageVersion %>/g, CodefulSdkVersion.WorkflowsSDK); |
…deful-sdk-update-9-14
…deful-sdk-update-9-14
…deful-sdk-update-9-14
Commit Type
Risk Level
What & Why
Update bundled codeful SDK to version 1.0.0-preview.2
Impact of Change
Test Plan
Contributors
Andrew Eldridge (@andrew-eldridge)