fix(ql3): stream sparse process logs within exact byte quotas

This commit is contained in:
whyour
2026-09-04 05:32:25 +08:00
parent ed4ba9b817
commit efb7379fa9
10 changed files with 287 additions and 12 deletions
+17
View File
@@ -716,6 +716,23 @@ jobs:
--security-opt no-new-privileges \
--entrypoint /usr/bin/docker \
"${OPERATOR_IMAGE}" --version
- name: Verify live sparse output and byte quotas in the installed runtime
env:
IMAGE: qinglong3-local-application:ci-${{ matrix.image_arch }}
CONSOLE_IMAGE: qinglong3-local-console:ci-${{ matrix.image_arch }}
run: |
for capture_image in "${IMAGE}" "${CONSOLE_IMAGE}"; do
docker run --rm --read-only \
--network none \
--cap-drop ALL \
--security-opt no-new-privileges \
--memory=128m --memory-swap=128m --cpus=0.5 --pids-limit=64 \
--tmpfs /tmp:rw,nosuid,nodev,noexec,size=16m \
--volume "${GITHUB_WORKSPACE}/packages/ql3-local-process/test:/opt/qinglong/node_modules/@qinglong/local-process/test:ro" \
--entrypoint node "${capture_image}" \
--test --test-name-pattern='publishes sparse|keeps byte-exact|rejects unsupported' \
/opt/qinglong/node_modules/@qinglong/local-process/test/launcher.test.cjs
done
- name: Build the short-lived fresh deployment authority
working-directory: packages/ql3-local-owner-cli
run: node ../../scripts/ql3-build-package-closure.cjs