fix(openclaw-plugin): clean up ov-healthcheck artifacts#1540
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨No code suggestions found for the PR. |
45fe675 to
f365d95
Compare
| HEALTHCHECK_PREFIX | ||
| + "Please remember the following SYNTHETIC test data: " | ||
| "my name is Lin Zhou, I am rebuilding an order platform, " | ||
| HEALTHCHECK_PREFIX + "My name is Lin Zhou, I am rebuilding an order platform, " |
There was a problem hiding this comment.
Yes, this is intentional. The old wording explicitly told the model that the payload was synthetic data that should be ignored after the check, which made the memory path much less reliable to exercise in real E2E runs. For #1462 we need the healthcheck to create realistic synthetic artifacts so Phase 5 can actually verify cleanup of both sessions and memories. The run is still clearly marked by the [OPENVIKING-HEALTHCHECK] prefix and unique probe marker, and the new default cleanup removes those artifacts unless --keep-artifacts is set.
f365d95 to
bed88b3
Compare
|
Addressed the cleanup safety concerns in the latest push:
Quick revalidation after the patch:
|
bed88b3 to
744f828
Compare
|
Addressed the new blocker in the latest push ( Revalidation on the real backend:
So the memory cleanup path is no longer blocked by the |
744f828 to
d676d97
Compare
Co-authored-by: GPT-5.4 <noreply@openai.com>
d676d97 to
116d456
Compare
Summary
ov-healthcheck.pyso synthetic sessions and memories created by the healthcheck do not accumulate in OpenViking--keep-artifactsbehavior in both English and Chinese docsRoot Cause
Issue #1462 reported that
ov-healthcheck.pyleft synthetic session and memory artifacts behind after repeated runs.There were two practical gaps:
session_idvalues discovered earlier in the flowsearch/findstill returned no hitsWhat Changed
Phase 5: cleanupand--keep-artifactssession_idviking://user/default/memoriesand then verify by content fingerprints before deletingHEALTHCHECK.mdandHEALTHCHECK-ZH.mdto describe the new cleanup behaviorReal E2E Validation
No mocks or stubs were used.
Environment:
http://127.0.0.1:18789http://127.0.0.1:1933ov.confObserved real artifact set from an earlier healthcheck run:
c58c486f-26c1-4090-904d-2bb8df26f54bviking://user/default/memories/profile.mdviking://user/default/memories/entities/project/order platform.mdviking://user/default/memories/entities/kafka/order_events_v2.mdviking://user/default/memories/entities/service/payment callback.mdviking://user/default/memories/preferences/default/communication style.mdValidation result after running the new cleanup logic against the real backend:
session_exists_before = truesession_exists_after = falseuri_exists = falseafter deletionprobe_session_after_cleanup = nullmemory_uris_after_cleanup = []Verification
python3 -m py_compile examples/openclaw-plugin/health_check_tools/ov-healthcheck.py