Repository navigation
fix(oa): centralize image tags and fix API upload status/item count (ITEP-96828, ITEP-98443) - #236
Merged
avinash-palleti merged 1 commit intoNov 20, 2026
Conversation
Read the release tag from the root VERSION file in both Makefiles and the Trivy image scan. Remove duplicate tag settings and use latest in Compose only when TAG is empty or unset. Wake the API upload monitor when a validation result arrives. If the monitor errors, mark the upload as failed and release the upload slot. Leave the UI upload flow unchanged. Rank frames by expected-item coverage, then prefer frames without people before comparing box counts. Delay order closure briefly so OCR can confirm that the same order has resumed. Backport of intel-retail#233 to release-2026.3.0. Refs: ITEP-96828, ITEP-98443 Signed-off-by: rishika-y-gaur <rishika.gaur@intel.com>
avinash-palleti
approved these changes
Nov 20, 2026
avinash-palleti
merged commit Nov 20, 2026
5c15bd9
into
intel-retail:release-2026.3.0
1 check passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What are you changing?
Videos uploaded via
POST /upload-video(curl/API) stayed in "Processing" or lagged the validation result by 2–4 s. The API upload monitor now waits on an event signalled byadd_result(), so the video is marked Completed as soon as the validation result arrives. If the monitor errors, the video is marked Failed and the single-upload slot is released. UI upload flow is unchanged.uploaded video/Order sporadically returned
mismatch(banana detected 3, expected 2) for both API and UI uploads. The frame-selector picked the 3 frames with the most YOLO boxes. That count includesperson,dining table,clockand duplicate low-confidencebananaboxes, so it favoured busy hand-placement frames over the stable view. Top-K selection now ranks by expected-item coverage, then person-free, then box count. The[TOP-K]log line now showsperson_freefor each selected frame. When the table looks empty, wait before writing the per-order EOS. If OCR confirms the same order id within a short window, keep collecting into that order. If it reads a different id, or the window runs out, write the EOS.Screenshot: The first two orders were uploaded via UI, and the remaining orders were uploaded via the curl (POST /upload-video). All orders show Completed with the correct validation results.
Issue this PR closes
close: ITEP-96828, ITEP-98443
PR Checklist
<type>(<scope>): <summary>) and reads like a changelog entry — not "Update ".git commit -s, Developer Certificate of Origin).Does this change results or break compatibility?
Security
Test instructions
Follow documentation and run unit test cases
VERSION/TAG
cat VERSION, then runmake buildindine-in/andtake-away/and confirm the images are tagged with that version.ITEP-96828 (take-away)
cd take-away && make build REGISTRY=false && make upcurl -X POST http://localhost:8000/upload-video -F "file=@storage/videos/test.mp4" -F "video_id=test_001"curl -s http://localhost:8000/videos/test_001: status should change fromprocessingtocompletedat the same time as the validation result appears.ITEP-98443 (take-away)
cd take-away && make build REGISTRY=false && make upstorage/videos/test.mp48–12 times (curl and UI), waiting ≥30 s between runs.docker compose logs frame-selector, the[TOP-K]lines should showperson_free=True.curl http://localhost:8000/results/<video_id>should return"status": "validated"withbanana x2every run.Related PRs in other repositories