mirror of
https://github.com/affaan-m/ECC.git
synced 2026-11-23 16:25:30 +00:00
fix(antigravity): keep doctor reporting when one target root is unsafe
An Antigravity home whose workflows directory resolves outside the trusted config root made resolveTrustedRoots throw out of the doctor loop, hiding results for every other installed target. Report it as an unsafe-trusted-root error for that target instead, with a regression. Also align the README support row with the pinned CLI 1.3.5 validation and leave the shipped 2.2.0 release notes unchanged.
This commit is contained in:
4 files changed
+31
-5
No files matched your search
@@ -1127,8 +1127,15 @@ function collectTargetPathIssues(record, state, issues) {
|
||||
}
|
||||
|
||||
function collectOperationHealthIssues(record, context, state, issues) {
|
||||
const trustedRoots = getInstallTargetAdapter(record.adapter.id || record.adapter.target)
|
||||
.resolveTrustedRoots(context);
|
||||
let trustedRoots;
|
||||
try {
|
||||
trustedRoots = getInstallTargetAdapter(record.adapter.id || record.adapter.target)
|
||||
.resolveTrustedRoots(context);
|
||||
} catch (error) {
|
||||
// Report an unsafe root for this target without aborting the other targets.
|
||||
issues.push(buildIssue('error', 'unsafe-trusted-root', error.message));
|
||||
return;
|
||||
}
|
||||
const operationHealth = summarizeManagedOperationHealth(
|
||||
context.repoRoot,
|
||||
record.targetRoot,
|
||||
|
||||
Reference in new issue
Block a user