MCPcopy Create free account
hub / github.com/cli/cli / cleanup

Method cleanup

evals/src/core/suite.ts:84–84  ·  view source on GitHub ↗

* Removes every live resource the journal records, including the sandbox repository. Suites that create nothing * beyond the sandbox can omit it; `cleanupSuite` then deletes the sandbox with the fixture token.

(journal: Journal, journalPath: string, credentials: CleanupCredentials)

Source from the content-addressed store, hash-verified

82 * beyond the sandbox can omit it; `cleanupSuite` then deletes the sandbox with the fixture token.
83 */
84 cleanup?(journal: Journal, journalPath: string, credentials: CleanupCredentials): Promise<void>;
85}
86
87/** Runs a suite's cleanup, or deletes only its sandbox repository when the suite defines none. */

Callers 2

cleanupSuiteFunction · 0.65

Calls

no outgoing calls

Tested by 1