fix(io): consolidate managed snapshots and retain cleanup ownership
Reuse managed snapshot admission and hashing in sequential path comparisons, retaining caller paths and completed inspection Evidence on later failure. Preserve exact failed-close owners alongside typed read and cancellation failures, and retry them through caller-owned resource scopes. Require canonical Hopper lease identities, remove signed offset coercion, and repair stale setup cleanup expectations that failed CI.
This commit is contained in:
@@ -219,7 +219,11 @@ describe("managed one-shot cleanup outcomes", () => {
|
||||
);
|
||||
expect(result.ok).toBe(false);
|
||||
if (result.ok) return;
|
||||
expect(result.error.cause).toBe(primaryError);
|
||||
expect(result.error.cause).toBeInstanceOf(AggregateError);
|
||||
expect(result.error.cause).toMatchObject({
|
||||
cause: primaryError,
|
||||
errors: [primaryError, cleanupError],
|
||||
});
|
||||
expect(projectAnalysisError(result.error)).toMatchObject({
|
||||
code: "cleanup_incomplete",
|
||||
details: {
|
||||
|
||||
Reference in New Issue
Block a user