Repository navigation
fix(ci): stabilize release validation assertions - #117377
Conversation
42705c4 to
ff1ca32
Compare
|
Codex review: needs maintainer review before merge. Reviewed August 1, 2026, 7:39 AM ET / 11:39 UTC. ClawSweeper reviewWhat this changesThe PR updates provider auto-enable and LanceDB memory tests so release validation asserts the current activation metadata and separates agent enablement from persistence behavior. Merge readinessNo blocking patch defect found. This maintainer-authored, protected PR repairs two stale release-validation assertions: provider activation now receives prepared manifest metadata, and LanceDB enablement coverage no longer doubles as storage-scope coverage; leave it open for the queued exact-head CI gate. Priority: P3 Review scores
Verification
How this fits togetherProvider activation converts configuration plus a prepared plugin manifest registry into enabled runtime providers. The LanceDB plugin uses each agent's memory setting to gate both recall before prompts and capture after an agent run, with embeddings and storage downstream. flowchart LR
A[Plugin configuration] --> B[Prepared manifest registry]
B --> C[Provider activation]
C --> D[Enabled provider runtime]
E[Agent memory setting] --> F[Memory enablement gate]
F --> G[Recall before prompt]
F --> H[Capture after agent run]
H --> I[Embedding and LanceDB storage]
Before merge
Agent review detailsSecurityNone. PR surfaceTests +5. Total +5 across 2 files. View PR surface stats
Review metricsNone. Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the boundary-level provider assertion and the separated LanceDB gate assertion, then merge after the exact-head CI gate confirms the reported release-validation stability. Do we have a high-confidence way to reproduce the issue? Yes, from source: activation passes Is this the best way to solve the issue? Yes. The provider test now checks the prepared-metadata contract, while the LanceDB test keeps enablement coverage at the embedding boundary and leaves storage payload behavior to the dedicated auto-capture test. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against a84302cd73aa. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
* origin/main: refactor(doctor): unify legacy auth migration ownership (openclaw#117361) fix(plugins): surface actionable doctor warnings (openclaw#117357) fix(ci): use corrected Kova release evaluator (openclaw#116920) fix(ci): stabilize release validation assertions (openclaw#117377) refactor(memory): use sqlite transcript identities (openclaw#117334) fix(plugins): require tracked owners for targeted updates (openclaw#117333)
* test(plugins): align auto-enable metadata assertion * test(memory): isolate agent enablement coverage
* origin/main: refactor(doctor): unify legacy auth migration ownership (openclaw#117361) fix(plugins): surface actionable doctor warnings (openclaw#117357) fix(ci): use corrected Kova release evaluator (openclaw#116920) fix(ci): stabilize release validation assertions (openclaw#117377) refactor(memory): use sqlite transcript identities (openclaw#117334) fix(plugins): require tracked owners for targeted updates (openclaw#117333)
What Problem This Solves
Resolves two failures found while running the full release validation suite against
main: the provider auto-enable test still expected the pre-snapshot call shape, and the LanceDB agent-gating test coupled enablement coverage to a low-level store mock that flakes under the full extension-memory shard.Why This Change Was Made
The provider assertion now verifies the prepared manifest registry carried by the activation path. The memory test now proves enabled recall and capture independently at the embedding boundary; the dedicated auto-capture test continues to own storage and agent-scope behavior.
User Impact
No user-visible runtime change. Release validation no longer fails on stale or cross-layer test assertions.
Evidence
node scripts/run-vitest.mjs src/plugins/providers.test.ts: 61 passednode scripts/run-vitest.mjs extensions/memory-lancedb/index.test.ts --testNamePattern "gates every memory surface on the agent's memorySearch.enabled": passed