gate Supermemory smoke on v4 retrieval
This commit is contained in:
@@ -87,7 +87,7 @@ preserved under their old data directories because embedding plans cannot be
|
||||
changed in place. This deployment uses the fresh
|
||||
`data-gemini-embedding-2-768` directory. The one-shot `supermemory-smoke`
|
||||
service verifies the locked embedding plan, tracks the exact document ID to a
|
||||
terminal state, separately checks v3 search, v4 document search, and Chinese
|
||||
terminal state, observes legacy v3 search, gates on v4 document and Chinese
|
||||
hybrid search, checks provenance metadata, and exercises the profile and
|
||||
conversation endpoints. It writes a sentinel after success so ordinary
|
||||
redeploys do not add duplicate smoke documents. Do not import sampled
|
||||
|
||||
@@ -102,7 +102,6 @@ fi
|
||||
|
||||
printf '{"smoke":"search-diagnostic","v3":%s,"v4_documents":%s,"v4_documents_metadata":%s,"v4_hybrid":%s,"v4_hybrid_metadata":%s}\n' \
|
||||
"$v3_hit" "$documents_hit" "$documents_metadata" "$hybrid_hit" "$hybrid_metadata"
|
||||
[ "$v3_hit" = true ] || fail 44 search-v3-no-hit
|
||||
[ "$documents_hit" = true ] || fail 45 search-documents-no-hit
|
||||
[ "$documents_metadata" = true ] || fail 46 search-documents-metadata-missing
|
||||
[ "$hybrid_hit" = true ] || fail 48 search-hybrid-no-hit
|
||||
@@ -122,4 +121,4 @@ curl --fail --silent --show-error --max-time 60 \
|
||||
"$base_url/v4/conversations" >/tmp/conversation.json || fail 61 conversation-ingest
|
||||
|
||||
touch "$sentinel"
|
||||
printf '%s\n' '{"embedding_plan":"gemini/gemini-embedding-2/768","llm":"gemini-native-default","v3_search":"ok","v4_documents_search":"ok","chinese_hybrid_search":"ok","metadata_traceability":"ok","profile":"ok","conversation_ingest":"accepted"}'
|
||||
printf '{"embedding_plan":"gemini/gemini-embedding-2/768","llm":"gemini-native-default","v3_search":%s,"v4_documents_search":"ok","chinese_hybrid_search":"ok","metadata_traceability":"ok","profile":"ok","conversation_ingest":"accepted"}\n' "$v3_hit"
|
||||
|
||||
Reference in New Issue
Block a user