fix(artifacts): guide retries for symlinked files (#8725)

* fix(go): suggest resolved path for rejected symlinks

* test(go): cover unresolved symlink recovery paths

* fix(go): omit schema recovery for resolved symlinks

* fix(artifacts): share resolved-path recovery across inspectors

* fix(sqlite): retain resolved database path through snapshot reads

* fix(captures): retain symlink retry guidance

* fix(artifacts): preserve retry hints through redaction and selected reads

---------

Co-authored-by: dhruvac29 <dhruvac29@users.noreply.github.com>
This commit is contained in:
Dhruvilkumar Ashokbhai Chodvadiyaanddhruvac29 authored and GitHub committed 2026-11-04 19:58:06 +08:00
1 parent bd7002b441
commit 85be0f70a6
36 files changed
+525 -116

No files matched your search

+12 -7
View File
@@ -1,4 +1,5 @@
import { ArtifactReaderFailure } from "../artifacts/ArtifactReader.js";
import { stableArtifactInputRecovery } from "../artifacts/StableArtifactFailure.js";
import {
ArtifactFileCleanupFailure,
bindArtifactFileCleanup,
@@ -172,13 +173,17 @@ export const sqliteDatabaseFailure = (
return new AnalysisCancelledError(operation, {
cause: artifactFileCancellationCause(cause),
});
return new AnalysisInputError(operation, { cause }, [
{
path: ["path"],
reason: "invalid_format",
message: cause.message,
},
]);
return new AnalysisInputError(
operation,
{ cause, ...stableArtifactInputRecovery(cause) },
[
{
path: ["path"],
reason: "invalid_format",
message: cause.message,
},
],
);
}
if (cause instanceof Error && cause.name === "AbortError")
return new AnalysisCancelledError(operation, {