test: add internal semantic smoke
This commit is contained in:
@@ -304,6 +304,15 @@ services:
|
||||
io.thothii.task13.run: "$TASK13_RUN_ID"
|
||||
labels:
|
||||
io.thothii.task13.run: "$TASK13_RUN_ID"
|
||||
qdrant:
|
||||
labels:
|
||||
io.thothii.task13.run: "$TASK13_RUN_ID"
|
||||
embedding:
|
||||
labels:
|
||||
io.thothii.task13.run: "$TASK13_RUN_ID"
|
||||
embedding-model-init:
|
||||
labels:
|
||||
io.thothii.task13.run: "$TASK13_RUN_ID"
|
||||
networks:
|
||||
thothii:
|
||||
labels:
|
||||
@@ -321,6 +330,12 @@ volumes:
|
||||
sessions:
|
||||
labels:
|
||||
io.thothii.task13.run: "$TASK13_RUN_ID"
|
||||
qdrant-data:
|
||||
labels:
|
||||
io.thothii.task13.run: "$TASK13_RUN_ID"
|
||||
embedding-models:
|
||||
labels:
|
||||
io.thothii.task13.run: "$TASK13_RUN_ID"
|
||||
EOF
|
||||
chmod 0600 "$TASK13_OVERRIDE"
|
||||
|
||||
@@ -405,12 +420,28 @@ services:
|
||||
io.thothii.task13.run: "$TASK13_RUN_ID"
|
||||
labels:
|
||||
io.thothii.task13.run: "$TASK13_RUN_ID"
|
||||
qdrant:
|
||||
labels:
|
||||
io.thothii.task13.run: "$TASK13_RUN_ID"
|
||||
embedding:
|
||||
labels:
|
||||
io.thothii.task13.run: "$TASK13_RUN_ID"
|
||||
embedding-model-init:
|
||||
labels:
|
||||
io.thothii.task13.run: "$TASK13_RUN_ID"
|
||||
session-migrate:
|
||||
image: $TASK13_CORE_IMAGE
|
||||
networks:
|
||||
thothii:
|
||||
labels:
|
||||
io.thothii.task13.run: "$TASK13_RUN_ID"
|
||||
volumes:
|
||||
qdrant-data:
|
||||
labels:
|
||||
io.thothii.task13.run: "$TASK13_RUN_ID"
|
||||
embedding-models:
|
||||
labels:
|
||||
io.thothii.task13.run: "$TASK13_RUN_ID"
|
||||
EOF
|
||||
chmod 0600 "$TASK13_OVERRIDE"
|
||||
|
||||
@@ -744,6 +775,12 @@ task13_mount_fingerprint() {
|
||||
| LC_ALL=C sort
|
||||
}
|
||||
|
||||
task13_service_mount_fingerprint() {
|
||||
local service="$1"
|
||||
docker inspect --format '{{range .Mounts}}{{println .Destination "=" .Type ":" .Name}}{{end}}' \
|
||||
"$(task13_compose ps -q "$service")" | LC_ALL=C sort
|
||||
}
|
||||
|
||||
task13_prepare_persistence() {
|
||||
task13_compose exec -T core sh -ceu '
|
||||
printf %s settings-preserved > /data/settings/task13-settings
|
||||
@@ -1368,6 +1405,9 @@ task13_self_test_public_timeout_contract() {
|
||||
grep -Eq 'task13_supervise[[:space:]].*task13_smoke_main[[:space:]]+update' \
|
||||
"$root/scripts/thothctl-update-smoke.sh" \
|
||||
|| task13_fail "direct update smoke invocation lacks an internal supervisor"
|
||||
grep -Eq 'task13_supervise[[:space:]].*task13_internal_semantic_smoke_main' \
|
||||
"$root/scripts/internal-semantic-smoke.sh" \
|
||||
|| task13_fail "direct internal semantic smoke invocation lacks an internal supervisor"
|
||||
}
|
||||
|
||||
task13_self_test_windows_release_contract() {
|
||||
@@ -1428,7 +1468,8 @@ task13_self_test_source_contract() {
|
||||
registry_function='task13_start_''registry'
|
||||
if rg -n 'docker[[:space:]]+(system[[:space:]]+)?prune' \
|
||||
"$root/scripts/unified-deployment-smoke.sh" \
|
||||
"$root/scripts/thothctl-update-smoke.sh" >/dev/null; then
|
||||
"$root/scripts/thothctl-update-smoke.sh" \
|
||||
"$root/scripts/internal-semantic-smoke.sh" >/dev/null; then
|
||||
task13_fail "Task 13 smoke scripts must never prune global Docker state"
|
||||
fi
|
||||
! grep -Fq -- "$host_network" "$root/scripts/unified-deployment-smoke.sh" \
|
||||
|
||||
Reference in New Issue
Block a user