mirror of
https://github.com/morluto/rea.git
synced 2026-11-18 04:34:13 +00:00
refactor(kernel): eliminate remaining record predicate copies and compose cleanup dependencies through shared owner (#11799)
* refactor(kernel): eliminate remaining record predicate copies and compose cleanup dependencies through shared owner * fix(firmware,tests): remove unused cleanup import and align CI shard and CLI registration tests
This commit is contained in:
1 parent
4a6bee6cdb
commit
af062e7a2d
21 files changed
+65
-122
No files matched your search
@@ -81,12 +81,10 @@ import {
|
||||
} from "./BinarySessionExecution.js";
|
||||
import { closeAnalysisClient } from "../../providers/AnalysisClientCleanup.js";
|
||||
import {
|
||||
analysisErrorWithCleanupFailure,
|
||||
analysisErrorWithCleanupDependencies,
|
||||
analysisErrorWithCloseRejection,
|
||||
analysisErrorWithCloseRejections,
|
||||
} from "../../domain/analysisErrorCleanup.js";
|
||||
import { ConfigurationError } from "../../domain/configurationErrors.js";
|
||||
import type { AnalysisCleanupRetry } from "../../domain/analysisErrorRecovery.js";
|
||||
import { analysisErrorWithCancellation } from "../../domain/analysisErrorCancellation.js";
|
||||
import { ProviderAdapterError } from "../../domain/providerAdapterError.js";
|
||||
@@ -617,11 +615,11 @@ export class BinarySession
|
||||
this.#clearRuntimeAvailability();
|
||||
if (isAborted(options.signal))
|
||||
return err(
|
||||
analysisErrorWithCleanupFailure(
|
||||
analysisErrorWithCleanupDependencies(
|
||||
cancelledBy("open_binary", options.signal),
|
||||
closed.error,
|
||||
"open_binary",
|
||||
).bindCleanupDependencies([closed.error]),
|
||||
),
|
||||
);
|
||||
return closed;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user