Internal beta hardening: pnpm cleanup and recovery semantics
- update internal beta hardening docs and Smart Clean execution coverage for the 2026-03-16 hardening slice - add pnpm store detection, execution fixtures, and regression coverage across adapters, infrastructure, and app model tests - distinguish file-backed vs Atlas-only recovery messaging in History and restore summaries - preserve completed Smart Clean recovery entries when later targets fail, and report failed findings explicitly instead of losing side effects
This commit is contained in:
@@ -75,7 +75,7 @@ final class AtlasAppModelTests: XCTestCase {
|
||||
XCTAssertTrue(model.latestScanSummary.contains("2 reclaimable item"))
|
||||
}
|
||||
|
||||
func testExecuteCurrentPlanMovesFindingsIntoRecovery() async throws {
|
||||
func testExecuteCurrentPlanOnlyRecordsRecoveryForRealSideEffects() async throws {
|
||||
let repository = makeRepository()
|
||||
let worker = AtlasScaffoldWorkerService(
|
||||
repository: repository,
|
||||
@@ -88,7 +88,7 @@ final class AtlasAppModelTests: XCTestCase {
|
||||
await model.runSmartCleanScan()
|
||||
await model.executeCurrentPlan()
|
||||
|
||||
XCTAssertGreaterThan(model.snapshot.recoveryItems.count, initialRecoveryCount)
|
||||
XCTAssertEqual(model.snapshot.recoveryItems.count, initialRecoveryCount)
|
||||
XCTAssertEqual(model.snapshot.taskRuns.first?.kind, .executePlan)
|
||||
XCTAssertGreaterThan(model.latestScanProgress, 0)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user