You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Handle unknown or legacy component. Sync keeps these components only in the cloud cache, writes no file for them. Add readonly view for legacy or newer component.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
Unsupported-component handling can recreate remotely deleted topics or let later pushes delete remote components because deletion identity and read-only protection are not consistently preserved.
This PR addresses #532 by keeping legacy and unsupported components in the cloud cache rather than attempting to project them into editable files. It adds a read-only Explorer view and extends sync safeguards and diagnostics across the TypeScript extension and C# backend.
Changes:
Preserve unsupported components during sync, with a protection record for components that become readable after an update.
Add read-only documents, folder badges, explanatory diagnostics, and links to Copilot Studio.
Expand unit, host, and interoperability tests for unsupported components and their lifecycle.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
Filename-based matching can associate a file with an unrelated unreadable component despite its explicit schema name, causing Sync to skip or delete the wrong file.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
The cleanup scan misses nested skill anchors, leaving files that can cause a remotely deleted skill to be rediscovered and recreated on the next Apply.
No open issues 🎉
1 previously missed issue
In code that hasn't changed since last review
Clean up nested anchors for remotely deleted skills
The CLI cleanup scan excludes nested anchors such as behaviors/weather/skill.mcs.yml, so a skill that becomes unreadable and is then deleted remotely retains its anchor and SKILL.md. DetectNewLocalSkills rediscovers the retained folder, allowing the next Apply to recreate the deleted skill. Add a cleanup-specific scan for nested skill folders and prevent synthesis from matched deleted folders without removing surviving components' assets; cover this transition with a nested CLI skill regression.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
Critical protection gaps during reattach and failed-retarget rollback can allow unintended cloud deletions, while unreadable skill rediscovery can create unintended cloud inserts.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Persistent cloud-delete protection spans upgrades, retargeting, and retries, requiring human validation of real-tenant PAC/msagent interoperability and recovery paths that could not be verified here.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
Restoring a previously unreadable skill’s parent leaves attachment sidecars and payloads without skill ownership, allowing a later metadata edit to clear ParentBotComponentId.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
Critical cleanup gaps can leave orphaned child files and silently delete unpushed local skill files when unreadable components are later deleted remotely.
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
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.
Handle unknown or legacy component. Sync keeps these components only in the cloud cache, writes no file for them. Add readonly view for legacy or newer component.
Fix: #532