Repository navigation
fix(vscode): Fix codeful workflow templates, Add stateless template - #9731
Andrew Eldridge (andrew-eldridge) merged 3 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
|
| Section | Status | Recommendation |
|---|---|---|
| Title | ✅ | Optional capitalization/style refinement |
| Commit Type | ✅ | No change needed |
| Risk Level | ✅ | Medium selection and label match the assessed scope |
| What & Why | ✅ | Optionally mention workflow discovery and UI updates |
| Impact of Change | Replace N/A developer/system entries with specific impacts |
|
| Test Plan | ✅ | Unit test coverage is present in the diff |
| Contributors | Add other contributors if applicable | |
| Screenshots/Videos | ✅ | Screenshots are provided for the UI change |
This PR passes the title and body review. The advised risk level is medium, which matches the submitter's selected risk and label. Updating the developer and system impact descriptions would make the PR documentation more complete.
Powered by: Logic App (fallback) | Last updated: Mon, 23 Nov 2026 17:37:21 GMT
🤖 AI PR Validation ReportPR Review ResultsThank you for your submission! Here's detailed feedback on your PR title and body compliance:✅ PR Title
|
| Section | Status | Recommendation |
|---|---|---|
| Title | ✅ | Optionally use lowercase after the conventional-commit prefix. |
| Commit Type | Consider acknowledging both the fix and feature aspects. | |
| Risk Level | ✅ | Medium matches the risk:medium label. |
| What & Why | ✅ | Optionally mention workflow discovery and UI support. |
| Impact of Change | Replace N/A with concrete developer and system impacts. |
|
| Test Plan | ✅ | Unit tests cover the changed functionality. |
| Contributors | ✅ | Contributor is listed. |
| Screenshots/Videos | Add UI screenshots or a short video if available. |
The PR passes title and body compliance. Before merging, consider improving the commit-type description, documenting developer/system impact, and adding screenshots for the new UI flow.
Powered by: Logic App (fallback) | Last updated: Mon, 23 Nov 2026 16:53:15 GMT
📊 Coverage CheckThe following changed files need attention:
Please add tests for the uncovered files before merging. |
There was a problem hiding this comment.
🔵 Needs a closer look
The generated C# projects still need compilation and startup verification against the pinned SDK 1.0.0-preview.3, since the added tests check only source text and the available SDK reference is untagged.
No open issues 🎉
What changed in this PR
This PR updates the VS Code extension’s codeful workflow templates for current SDK APIs and adds stateless workflow support across workspace creation and workflow discovery.
Changes:
- Corrects weather enum and Office 365 email input usage in existing templates.
- Adds a stateless template, wizard selection, and source-based workflow kind detection.
- Adds unit tests for stateless creation, display, discovery, and updated template content.
| File | Description |
|---|---|
apps/vs-code-react/src/app/createWorkspace/steps/workflowTypeStep.tsx |
Adds the codeful stateless option. |
apps/vs-code-react/src/app/createWorkspace/steps/reviewCreateStep.tsx |
Displays the stateless workflow label. |
apps/vs-code-react/src/app/createWorkspace/steps/__test__/workflowTypeStep.test.tsx |
Tests stateless selection and stored value. |
apps/vs-code-react/src/app/createWorkspace/steps/__test__/reviewCreateStep.test.tsx |
Tests stateless review details. |
apps/vs-code-designer/src/assets/CodefulProjectTemplate/StatelessCodefulWorkflow |
Adds a stateless HTTP request/response template. |
apps/vs-code-designer/src/assets/CodefulProjectTemplate/StatefulCodefulWorkflow |
Corrects the weather units enum. |
apps/vs-code-designer/src/assets/CodefulProjectTemplate/AgenticCodefulWorkflow |
Updates weather and email SDK usage. |
apps/vs-code-designer/src/assets/CodefulProjectTemplate/AgentCodefulWorkflow |
Updates weather and email SDK usage. |
apps/vs-code-designer/src/app/utils/codeful.ts |
Detects stateless workflow factory calls. |
apps/vs-code-designer/src/app/utils/__test__/codeful.test.ts |
Tests stateless workflow detection. |
apps/vs-code-designer/src/app/commands/workflows/overview/utils/codefulHelpers.ts |
Preserves workflow kinds during source discovery. |
apps/vs-code-designer/src/app/commands/workflows/overview/panels/__test__/localCodefulOverviewPanel.test.ts |
Tests stateless overview metadata without the runtime. |
apps/vs-code-designer/src/app/commands/createNewCodeProject/CodeProjectBase/CreateLogicAppWorkspace.ts |
Selects the stateless template and rejects unsupported types. |
apps/vs-code-designer/src/app/commands/createNewCodeProject/CodeProjectBase/__test__/CreateLogicAppWorkspace.test.ts |
Tests template updates and stateless file generation. |
Review effort: Balanced
There was a problem hiding this comment.
🔵 Needs a closer look
The rendered C# templates still need compilation and startup validation against Microsoft.Azure.Workflows.Sdk 1.0.0-preview.3, since tests only check source strings and pinned-package execution was unavailable.
No open issues 🎉
Review effort: Balanced
b299100
into
main
Commit Type
Risk Level
What & Why
Impact of Change
Test Plan
Contributors
Andrew Eldridge (@andrew-eldridge)
Screenshots