@@ -206,10 +206,21 @@ removed_post_status="$(http_status "${output_dir}/removed-review-telemetry-post.
206206 -H " x-clawsweeper-exact-review-signature: sha256=${removed_signature} " \
207207 --data-binary " $removed_body " \
208208 " http://127.0.0.1:${worker_port} /internal/exact-review/review-telemetry" ) "
209- removed_get_status =" $( http_status " ${output_dir} /removed- reviews-get.txt" \
209+ reviews_get_status =" $( http_status " ${output_dir} /reviews-get.txt" \
210210 " http://127.0.0.1:${worker_port} /api/exact-review-queue/reviews?repo=openclaw%2Fopenclaw&item_number=674" ) "
211211test " $removed_post_status " = " 404"
212- test " $removed_get_status " = " 404"
212+ test " $reviews_get_status " = " 200"
213+ node -e '
214+ const assert = require("node:assert/strict");
215+ const fs = require("node:fs");
216+ const body = JSON.parse(fs.readFileSync(process.argv[1], "utf8"));
217+ assert.deepEqual(body, {
218+ ok: true,
219+ repo: "openclaw/openclaw",
220+ item_number: 674,
221+ reviews: [],
222+ });
223+ ' " ${output_dir} /reviews-get.txt"
213224
214225stop_worker
215226node " $sqlite_helper " assert-proof-run-record " $queue_db " " $proof_run_id "
@@ -230,7 +241,7 @@ RUN_POST_STATUS="$run_post_status" \
230241PROOF_RUN_ID=" $proof_run_id " \
231242OBSERVABILITY_STATUS=" $observability_status " \
232243REMOVED_POST_STATUS=" $removed_post_status " \
233- REMOVED_GET_STATUS =" $removed_get_status " \
244+ REVIEWS_GET_STATUS =" $reviews_get_status " \
234245node -e '
235246 const fs = require("node:fs");
236247 const body = JSON.parse(fs.readFileSync(process.argv[1], "utf8"));
@@ -244,7 +255,7 @@ node -e '
244255 "POST /internal/exact-review/review-run-telemetry: HTTP " + process.env.RUN_POST_STATUS,
245256 "/api/review-observability: HTTP " + process.env.OBSERVABILITY_STATUS + "; lanes exact_event,hot_intake,normal_backfill,recovery; normal_backfill run_count " + lane.run_count + "; item_count " + lane.item_count + "; last_run_at " + lane.last_run_at,
246257 "POST /internal/exact-review/review-telemetry: HTTP " + process.env.REMOVED_POST_STATUS,
247- "GET /api/exact-review-queue/reviews: HTTP " + process.env.REMOVED_GET_STATUS ,
258+ "GET /api/exact-review-queue/reviews: HTTP " + process.env.REVIEWS_GET_STATUS + "; envelope { ok: true, repo: openclaw/openclaw, item_number: 674, reviews: [] }" ,
248259 "run-level storage after upgrade: exact_review_run_telemetry present; posted run_id " + process.env.PROOF_RUN_ID + " present in inspected queue database"
249260 ];
250261 fs.writeFileSync(process.argv[2], lines.join("\n") + "\n");
0 commit comments