Skip to content

test(memory): remove redundant reset archive coverage - #130089

Merged
steipete merged 1 commit into
mainfrom
test-audit/memory-session-redundant-reset-coverage
Aug 26, 2026
Merged

steipete merged 1 commit into
mainfrom
test-audit/memory-session-redundant-reset-coverage

Conversation

@steipete

@steipete steipete commented Aug 26, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

#130016 added a reset-archive fixture and assertions to a broad SQLite/archive integration case even though focused owner-boundary tests already prove the same reset/deleted listing and indexing behavior. #129577 subsequently compacted that setup while preserving the duplicate coverage.

Why This Change Was Made

Remove the reset-archive branch from the broader integration case and restore the remaining archived-JSONL setup inline instead of retaining a one-use fixture helper. Stronger focused coverage remains:

  • includes reset and deleted transcripts in session file listing proves both archive kinds enter the corpus listing.
  • indexes usage-counted reset/deleted archives but still skips bak and checkpoint artifacts proves both archive kinds are materialized and indexed.

The surrounding integration case continues to prove SQLite live-row identity alongside archived JSONL artifacts.

User Impact

No runtime behavior changes. This removes duplicate test maintenance while preserving unique reset-session recall coverage.

Evidence

  • node scripts/run-vitest.mjs packages/memory-host-sdk/src/host/session-files.test.ts — 40/40 passed on the rebased head.
  • node scripts/check-changed.mjs -- packages/memory-host-sdk/src/host/session-files.test.ts — changed-files gate passed on the rebased head.
  • .agents/skills/autoreview/scripts/autoreview --mode branch --base origin/main — clean; no accepted/actionable findings.
  • pnpm lint — full core, extension, and script lint passed with 0 errors before rebase; the rebased changed-file lint gate also passed.
  • git diff --check origin/main...HEAD — passed.

@clawsweeper

clawsweeper Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@steipete
steipete marked this pull request as ready for review August 26, 2026 11:25
@openclaw-barnacle openclaw-barnacle Bot added size: XS maintainer Maintainer-authored PR labels Aug 26, 2026
@steipete
steipete force-pushed the test-audit/memory-session-redundant-reset-coverage branch from 1df4bb0 to a07cbac Compare August 26, 2026 11:42

Copy link
Copy Markdown
Contributor Author

Exact-head landing evidence for a07cbacf80028aceda0a9c3c60318ef9cbad4224:

  • CI run 32964686440 completed successfully: 84 passing, 45 skipped, 0 failed, 0 pending.
  • node scripts/run-vitest.mjs packages/memory-host-sdk/src/host/session-files.test.ts — 40/40 passed.
  • node scripts/check-changed.mjs -- packages/memory-host-sdk/src/host/session-files.test.ts — passed.
  • Structured autoreview on the exact branch diff — clean, no accepted/actionable findings.
  • Native review artifacts validated with recommendation READY FOR /prepare-pr and 0 findings.
  • ClawSweeper exact-head review is still publishing and currently has no findings or Rank-up moves; per repository policy, a queued publisher does not block landing.

The removed reset fixture/assertions remain covered by focused reset/deleted listing and archive-indexing tests; no production or user-visible behavior changes.

@steipete
steipete merged commit 710c4ea into main Aug 26, 2026
135 of 137 checks passed
@steipete
steipete deleted the test-audit/memory-session-redundant-reset-coverage branch August 26, 2026 11:59

Copy link
Copy Markdown
Contributor Author

Merged via squash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants