fix(github-verify-frozen-bleak): enhance directory traversal to locate 'lib' in subdirectories if not present directly

This commit is contained in:
Ivan 2026-07-08 11:25:21 -05:00
parent c9813b9b2b
commit dda3fdae46
No known key found for this signature in database
2 changed files with 14 additions and 2 deletions

View file

@ -10,6 +10,17 @@ if [[ ! -d "${BUILD_EXE}" ]]; then
exit 1
fi
# If the target directory doesn't have a direct "lib" but has subdirectories (e.g. linux-x64),
# automatically traverse to the first subdirectory containing "lib".
if [[ ! -d "${BUILD_EXE}/lib" ]]; then
for sub in "${BUILD_EXE}"/*; do
if [[ -d "${sub}/lib" ]]; then
BUILD_EXE="${sub}"
break
fi
done
fi
LIB_DIR="${BUILD_EXE}/lib"
if [[ -d "${LIB_DIR}/bleak" ]]; then
echo "bleak bundled at lib/bleak"

View file

@ -1,7 +1,8 @@
# SPDX-License-Identifier: 0BSD
"""Regression test: leaving a connected RRC room must drop it from the
known-rooms list.
"""Regression test for leaving a connected RRC room.
Leaving a connected RRC room must drop it from the known-rooms list.
`RRCHub.ordered_known_rooms()` treats any room with an entry in
`self.messages` as "known", even if it was never joined. `part_room()`