Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
039c550
Set map scale during map creation during scene import
daddo-intel Jan 13, 2026
96d26c5
Merge branch 'main' of https://github.com/open-edge-platform/scenescape
daddo-intel Jan 15, 2026
23f8d8d
Merge branch 'main' of https://github.com/open-edge-platform/scenescape
daddo-intel Jan 21, 2026
0968474
Merge branch 'main' of https://github.com/open-edge-platform/scenescape
daddo-intel Jan 22, 2026
491e473
Merge branch 'main' of https://github.com/open-edge-platform/scenescape
daddo-intel Jan 26, 2026
154c85b
Merge branch 'main' of https://github.com/open-edge-platform/scenescape
daddo-intel Jan 27, 2026
4254d2f
Merge branch 'main' of https://github.com/open-edge-platform/scenescape
daddo-intel Jan 27, 2026
90d0488
Merge branch 'main' of https://github.com/open-edge-platform/scenescape
daddo-intel Jan 27, 2026
74adad9
Merge branch 'main' of https://github.com/open-edge-platform/scenescape
daddo-intel Jan 29, 2026
e9f7d81
Add mechanism to upload video in scene configuration
daddo-intel Jan 29, 2026
5f3c7c5
Poll for completion of inferencing & mesh generation in client_exampl…
daddo-intel Jan 29, 2026
8395abf
Return empty list if no cameras are found in scene
daddo-intel Jan 29, 2026
51f287b
Update print statement
daddo-intel Jan 30, 2026
fe110e6
Input validation when uploading video files
daddo-intel Jan 30, 2026
1d954ca
Fix indentation
daddo-intel Jan 30, 2026
b124c57
Potential fix for code scanning alert no. 855: Information exposure t…
daddo-intel Jan 30, 2026
1a387a4
Fix prettier check error
daddo-intel Jan 30, 2026
c85876c
Potential fix for code scanning alert no. 856: Information exposure t…
daddo-intel Jan 30, 2026
9a50bbb
Potential fix for code scanning alert no. 854: Information exposure t…
daddo-intel Jan 30, 2026
94a44ac
Update manager/src/django/mesh_generator.py
daddo-intel Feb 2, 2026
1af4511
Update manager/src/django/mesh_generator.py
daddo-intel Feb 2, 2026
eff0162
Update mapping/src/api_service_base.py
daddo-intel Feb 2, 2026
dbd2fd8
Update manager/src/static/js/sscape.js
daddo-intel Feb 2, 2026
12480b7
Merge branch 'main' into feature/ITEP-83148-UI-mechanism-to-upload-video
daddo-intel Feb 3, 2026
6f83072
Add try block
daddo-intel Feb 3, 2026
fff2803
Merge branch 'feature/ITEP-83148-UI-mechanism-to-upload-video' of htt…
daddo-intel Feb 3, 2026
6027f32
Merge branch 'main' into feature/ITEP-83148-UI-mechanism-to-upload-video
saratpoluri Feb 3, 2026
35cdd52
Merge branch 'main' into feature/ITEP-83148-UI-mechanism-to-upload-video
daddo-intel Feb 5, 2026
378bd60
Remove map file first validation
daddo-intel Feb 5, 2026
9cd9987
Merge branch 'main' into feature/ITEP-83148-UI-mechanism-to-upload-video
daddo-intel Feb 6, 2026
02b63ba
Add mesh-creation UI test
daddo-intel Feb 6, 2026
38e64a8
Adding tc_mesh_creation.py
daddo-intel Feb 6, 2026
961094b
Fix map field description
daddo-intel Feb 6, 2026
fee2739
Merge branch 'main' into feature/ITEP-83148-UI-mechanism-to-upload-video
daddo-intel Feb 9, 2026
1655857
Add mesh creation from video test case
daddo-intel Feb 9, 2026
94d69eb
Merge branch 'feature/ITEP-83148-UI-mechanism-to-upload-video' into f…
daddo-intel Feb 9, 2026
1d1eb1d
Add debug logs
daddo-intel Feb 9, 2026
cb3734b
Adding mapping.yml
daddo-intel Feb 9, 2026
4b22765
Remove debug logs
daddo-intel Feb 10, 2026
15ee591
Fix gid/uid mismatch issue
daddo-intel Feb 10, 2026
6d3cea5
Merge branch 'main' into feature/ITEP-77648-mesh-creation-UI-test
daddo-intel Feb 10, 2026
f6da555
Address comments from review
daddo-intel Feb 11, 2026
3714789
Update mapping/src/api_service_base.py
daddo-intel Feb 11, 2026
7561a29
Add extra logging for server during video file upload
daddo-intel Feb 11, 2026
df9c0fb
Merge branch 'main' into feature/ITEP-83148-UI-mechanism-to-upload-video
daddo-intel Feb 11, 2026
19dfadc
Merge branch 'main' into feature/ITEP-83148-UI-mechanism-to-upload-video
daddo-intel Feb 11, 2026
7342339
Merge branch 'feature/ITEP-83148-UI-mechanism-to-upload-video' into f…
daddo-intel Feb 11, 2026
c7c5b6c
Merge branch 'main' into feature/ITEP-77648-mesh-creation-UI-test
daddo-intel Feb 11, 2026
365cd6e
Merge branch 'feature/ITEP-77648-mesh-creation-UI-test' of https://gi…
daddo-intel Feb 11, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 55 additions & 4 deletions manager/config/scenescape-init
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ if [ -d "${WORKSPACE}" ] ; then
fi
WSUID=$(stat -c '%u' "${WORKSPACE}"/* | sort -rn | head -1)
WSGID=$(stat -c '%g' "${WORKSPACE}"/* | sort -rn | head -1)
if ((${WSUID} == 0 || ${WSGID} == 0)) ; then
if [ -n "${HOSTDIR}" ] && ((${WSUID} == 0 || ${WSGID} == 0)); then
echo "Detected root ownership in workspace, using manager dir uid:${MANAGERDIR_UID}"
echo "Chowning workspace to ${MANAGERDIR_UID}"
echo "ls -la ${WORKSPACE}/ before chown:"
Expand All @@ -56,14 +56,65 @@ if [ -d "${WORKSPACE}" ] ; then
echo "Chown complete"
fi

# Create a bind mount to the same location of the host dir
# --- Align WSUSER uid/gid with workspace so bind-mounted files are writable ---
if [ "$(id -u)" -eq 0 ] && [ -n "${HOSTDIR}" ]; then
echo "Workspace ownership: ${WSUID}:${WSGID}"

if id "${WSUSER}" >/dev/null 2>&1; then
echo "Before: ${WSUSER} -> $(id -u ${WSUSER}):$(id -g ${WSUSER})"

# Ensure a group with the target GID exists
if ! getent group "${WSGID}" >/dev/null 2>&1; then
groupadd -g "${WSGID}" hostgrp 2>/dev/null || true
fi

# Set primary group then uid
usermod -g "${WSGID}" "${WSUSER}" 2>/dev/null || true
usermod -u "${WSUID}" "${WSUSER}" 2>/dev/null || true

# Fix ownership of WSUSER home to avoid sudo -H issues
WSHOME=$(eval echo ~${WSUSER})
chown -R "${WSUID}:${WSGID}" "${WSHOME}" 2>/dev/null || true

echo "After: ${WSUSER} -> $(id -u ${WSUSER}):$(id -g ${WSUSER})"
else
echo "WARN: user ${WSUSER} not found; cannot align uid/gid"
fi
fi

if [ -n "${HOSTDIR}" ] ; then
if [ "$(id -u)" -ne 0 ]; then
echo "ERROR: HOSTDIR bind-mount requires root. Current UID=$(id -u)."
echo "Hint: run container as root (docker run -u root) or enable super-shell."
exit 1
fi

mkdir -p "${HOSTDIR}"
mount --bind "${WORKSPACE}" "${HOSTDIR}"

# # Optional: ensure the bind-mounted path is accessible for WSUSER after we drop privileges
# if [ -n "${WSUSER}" ]; then
# WSHOME=$(eval echo ~${WSUSER} 2>/dev/null || true)
# # If WSUSER doesn't exist or homedir isn't resolvable, skip
# if [ -n "${WSHOME}" ]; then
# chown -R ${WSUID}:${WSGID} "$(dirname "${HOSTDIR}")" 2>/dev/null || true
# fi
# fi

cd "${HOSTDIR}"
else
cd "${WORKSPACE}"
echo "After mount: PWD=$(pwd)"

echo "After mount: id=$(id)"
if [ -d "${HOSTDIR}/tests/reports" ]; then
stat -c "dir=%n uid=%u gid=%g perms=%A" "${HOSTDIR}/tests/reports"
else
echo "WARN: ${HOSTDIR}/tests/reports does not exist yet"
fi

else
cd "${WORKSPACE}"
fi

else
cd "${MANAGERDIR}"
fi
Expand Down
Loading