refactor: remove redundant seams and preserve cleanup ownership (#10375)

* refactor: remove redundant seams and preserve cleanup ownership

* fix: validate PE resource extents before budget checks
This commit is contained in:
morluto authored and GitHub committed 2026-11-13 10:11:06 -05:00
1 parent 4b26f38d6f
commit cdc4541ef7
369 files changed
+3847 -3662

No files matched your search

+2 -1
View File
@@ -283,7 +283,8 @@ const readStableFileEntry = async (
total: contents.total,
...(signal === undefined ? {} : { signal }),
});
} catch (cause: unknown) {
} catch (caught: unknown) {
let cause = caught;
if (cause instanceof RegularFileAdmissionFailure) {
retain(cause.owner);
cause = cause.cause;