gate Supermemory smoke on v4 retrieval

This commit is contained in:
Codex
2026-09-09 00:24:14 -07:00
parent c00ead36c7
commit b83a47fc5c
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -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
+1 -2
View File
@@ -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"