Skip to content

Bug: Deploy to Foundry accepts actions before prerequisites complete #603

Description

@jaeyong8687

Describe the bug
The Foundry agent canvas accepts Deploy to Foundry while Step 1 is still running. It reports Sent to chat, but no deployment task or visible follow-up occurs. This is success-shaped feedback for an action the system cannot currently perform.

To Reproduce
Steps to reproduce the behavior:

  1. Open the Foundry agent canvas and begin Step 1.
  2. While Step 1 is still running, select Deploy to Foundry.
  3. Observe the Sent to chat message.
  4. Observe that no deployment action or progress follows.

Expected behavior
Deployment is disabled while prerequisites are running, incomplete, or invalid. The canvas explains what remains before deployment is available. Once deployment is valid, the action produces task-specific progress, success, or an actionable error rather than an inert handoff message.

Evidence — C64

Deploy to Foundry selected before prerequisites are complete

Problem: Clicked the 'Deploy to foundry' while step 1 is ongoing. The message shows that it sent the message to the chat but nothing actually happens.

Suggestion: if this won't bring any changes, or not recommended to operate while a task is going on, better to be inactive or guide users when would be the right timing to deploy to Foundry.

Environment information (please complete the following information):

  • Foundry Toolkit version: POC audit; version not recorded
  • OS version: Not environment-specific

Additional context
Parent: #602

Priority: P2 — The control accepts an invalid action and produces misleading feedback, but the user can avoid it by completing prerequisites first.
Size: M — Requires prerequisite gating, state integration, and corrected feedback.
POC report: vscode/extension/ai-mlstudio/docs/experience-audit/agent-canvas-2026-07/report.md (not yet published upstream).

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcanvasrelated issue to foundry-agent-canvas

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions