chore: merge dev into main#714
Merged
Merged
Conversation
…ved user feedback
…d remove unused imports
…ge in PlanPage for improved clarity and user experience
Updated the index section to 'Table of Contents' and removed duplicate entries.
…dling and related state management for improved clarity and maintainability
…ion; update error handling in PlanPage and router.py for clarity
fix: Enhance error handling and messaging in orchestration and websocket services
…ps and make all steps in bullets
… to resolve fir InvalidResourceLocation and LocationNotAvailableForResourceType
docs: Improve Troubleshoot Doc
refactor: simplify plan approval state management in PlanPage
Roopan-Microsoft
approved these changes
Dec 15, 2025
Prajwal-Microsoft
approved these changes
Dec 15, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
This pull request introduces robust error handling and user feedback improvements across both backend and frontend for plan orchestration and approval flows. The changes ensure that errors are consistently communicated to users via WebSocket messages, with clear formatting and improved logging for debugging. Additionally, the
.flake8config and documentation are updated for clarity and maintainability.Backend Improvements:
Error Handling and User Feedback:
ERROR_MESSAGEtype toWebsocketMessageTypein both backend (messages.py) and frontend (enums.tsx) to standardize error communication. [1] [2]plan_approvalendpoint and orchestration manager to catch and log errors, sending user-friendly error messages via WebSocket on various failure scenarios (e.g., invalid input, agent not found, unexpected errors, runtime errors). [1] [2] [3]Code Quality and Maintenance:
Frontend Improvements:
Error Display and User Experience:
ERROR_MESSAGEWebSocket events inPlanPage.tsx, extracting and formatting error content for display as a system agent message, and ensuring UI state resets appropriately on errors.formatErrorMessageto display error messages with clear visual cues and indentation.Configuration and Documentation:
Project Maintenance:
.flake8to exclude additional frontend and test files, improving linting accuracy for the backend codebase.ACRBuildAndPushGuide.mdwith clearer instructions and new sections for MCP server image management.These changes collectively make the system more resilient to errors, improve the developer experience with better logging, and provide users with clearer, actionable feedback when issues occur.
Does this introduce a breaking change?
How to Test
What to Check
Verify that the following are valid
Other Information