Skip to content

Use the app onboarding pipeline - #1665

Open
Nathan (nturinski) wants to merge 1 commit into
feat/CoRfrom
nat/appOnboardDeployment
Open

Use the app onboarding pipeline#1665
Nathan (nturinski) wants to merge 1 commit into
feat/CoRfrom
nat/appOnboardDeployment

Conversation

@nturinski

Copy link
Copy Markdown
Member

The entry point for deployment with Azure skills was actually changed from azure-prepare to azure-app-onboard. That explains why our deployment suddenly got way worse-- a lot of the logic in azure-prepare was stripped and put into other skills. onboard is more of an orchestrator and will eventually call prepare when about to deploy.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Routes deployment through Azure App Onboard, adds pinned skill installation, and supports resuming App Onboard sessions.

Changes:

  • Replaces the legacy deployment workflow with azure-app-onboard.
  • Tracks active sessions and adds Start/Resume tree actions.
  • Updates deployment prompts and agent guidance.

Reviewed changes

Copilot reviewed 16 out of 16 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/webviews/copilotOnRails/extension/projectSession.ts Uses the active App Onboard session for deployment resume context.
src/webviews/copilotOnRails/extension/controllers/LocalDevNextStepsViewController.ts Updates the deployment handoff prompt.
src/tree/project/StateStageNode.ts Supports customizable action labels.
src/tree/project/projectPlanFiles.ts Detects and watches App Onboard sessions.
src/tree/project/DeploymentStageItem.ts Adds deployment Start/Resume actions.
src/tree/project/AzureProjectProgressTreeDataProvider.ts Passes session state into the deployment stage.
src/extension.ts Reorders imports only.
src/commands/copilotOnRails/registerCopilotOnRailsCommands.ts Launches the complete App Onboard workflow.
src/commands/copilotOnRails/deploymentPrerequisites.ts Installs and validates pinned Azure skills.
src/chat/tools/copilotOnRails/startDeploymentTool.ts Updates tool guidance for App Onboard.
resources/agents/azure-project-plan/plan.md Documents the new deployment handoff.
resources/agents/azure-project-plan/instructions.md Routes deployment through the deployment agent.
resources/agents/azure-deploy.agent.md Replaces the legacy workflow with App Onboard instructions.
resources/agents/azure-debug-plan/instructions.md Updates deployment ownership guidance.
resources/agents/azure-debug-generate/instructions.md Updates deployment ownership guidance.
resources/agents/azure-debug-generate.agent.md Updates the generated deployment handoff prompt.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +47 to +50
const hasAllSkills = await Promise.all(
requiredDeploymentSkillNames.map(skillName => fileExists(vscode.Uri.joinPath(root, 'skills', skillName, skillFileName))),
);
if (hasAllSkills.every(Boolean)) {
## Hard boundaries

**Action — call the `open_deploy_plan_view` tool immediately, before any other output.** It takes no arguments.
- **Do not use `azure-prepare`, `azure-validate`, or the standalone `azure-deploy` skill.** This custom agent is named `azure-deploy`, but its implementation is the self-contained `azure-app-onboard` pipeline.
Comment on lines +25 to +26
if (this.hasPlanFile) {
return [new OpenPlanNode(this.stageId, copilotOnRailsCommandIds.openDeploymentPlanView)];
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.

2 participants