ITEP-89829 - Automate tests for scene retrack functionality#1278
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new functional test suite to validate scene retrack behavior when linking a child scene (Demo) to a newly created parent scene, and wires it into the functional test Makefile target.
Changes:
- Add
retrack-objectfunctional test target to run the new retrack test module. - Introduce
tc_scene_retrack.pywith multiple retrack scenarios (retrack on/off and toggle), validating regulated-topic propagation and object ID behavior.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 12 comments.
| File | Description |
|---|---|
tests/Makefile.functional |
Adds a retrack-object target that runs the new retrack functional test with the standard compose stack and controller auth secret. |
tests/functional/tc_scene_retrack.py |
New functional tests that create/link scenes, toggle retrack via REST, publish camera detections via MQTT, and assert parent/child regulated outputs and ID semantics. |
daddo-intel
reviewed
Apr 7, 2026
saratpoluri
reviewed
Apr 8, 2026
ltalarcz
reviewed
Apr 20, 2026
Move shared retrack test helpers to common_retrack.py
2000349 to
fda8d8b
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated 12 comments.
Comments suppressed due to low confidence (1)
tests/functional/common_retrack.py:1
publish_data()mutates theobj_datafixture in-place (timestamp, bounding box, category). IfobjDatais not function-scoped (or is reused by other tests), this can leak state across tests and cause order-dependent failures. Consider copying the dict (e.g., deep copy) insidepublish_data()/publish_timed()before mutating, or constructing a per-publish payload object.
#!/usr/bin/env python3
Contributor
|
@copilot address all comments |
…ons, rate restore Agent-Logs-Url: https://github.com/open-edge-platform/scenescape/sessions/0b75b5cc-da4f-4742-9222-356eb858e628 Co-authored-by: saratpoluri <1325325+saratpoluri@users.noreply.github.com>
auto-merge was automatically disabled
April 30, 2026 23:26
Head branch was pushed to by a user without write access
Contributor
Addressed all open comments in 99cb43d:
|
…text Agent-Logs-Url: https://github.com/open-edge-platform/scenescape/sessions/0b75b5cc-da4f-4742-9222-356eb858e628 Co-authored-by: saratpoluri <1325325+saratpoluri@users.noreply.github.com>
saratpoluri
reviewed
Apr 30, 2026
saratpoluri
reviewed
Apr 30, 2026
Contributor
|
@copilot fix all review comments |
…tinuous publish Agent-Logs-Url: https://github.com/open-edge-platform/scenescape/sessions/89ccf257-8db3-4290-801f-9323deea1fbe Co-authored-by: saratpoluri <1325325+saratpoluri@users.noreply.github.com>
Contributor
saratpoluri
approved these changes
May 1, 2026
15 tasks
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.
📝 Description
Automate tests for scene retrack functionality
JIRA: ITEP-89829
✨ Type of Change
Select the type of change your PR introduces:
🧪 Testing Scenarios
Describe how the changes were tested and how reviewers can test them too:
✅ Checklist
Before submitting the PR, ensure the following: