fix(agent): install sqlite ssh worker per remote arch from offline zip

This commit is contained in:
zipg authored and GitHub committed 2026-09-26 06:47:45 +08:00
1 parent 8da0c59f42
commit 20577142fa
4 files changed
+315 -34

No files matched your search

+9
View File
@@ -60,6 +60,15 @@ for platform in "${PLATFORMS[@]}"; do
cp "$native_file" "$WORK/drivers/"
done
# The SQLite SSH worker executes on the remote SSH host, so its Linux binaries
# must ship in every bundle: the desktop platform never matches them, which
# otherwise leaves the worker missing from offline packages (#8987).
for worker_file in "$RELEASE_DIR"/dbx-agent-sqlite-worker-*-linux-x64 \
"$RELEASE_DIR"/dbx-agent-sqlite-worker-*-linux-aarch64; do
[ -f "$worker_file" ] || continue
cp "$worker_file" "$WORK/drivers/"
done
ZIP_NAME="dbx-agents-offline-${platform}.zip"
ZIP_ENTRIES=(agent-registry.json jre/ drivers/)
[ -d "$WORK/jdbc" ] && ZIP_ENTRIES+=(jdbc/)