Lot 335: Systemd user services for Kokoro TTS + AI Bridge (survive reboot) - kokoro-tts.service (port 9201), ai-bridge.service (port 8301) - Restart=always, linger enabled Lot 336: Cleanup 30 orphan .js/.ts + 23 audit artifacts at repo root - .gitignore: /*.js /*.ts rules to prevent future orphans Lot 337: Responsive CSS final pass (all pages) - chat: overflow-x hidden, flex-wrap on header/input - MinitelFrame: flex-wrap on nav bars - ImaginePage: minmax grids, slider wrapping, upload-pair stacking - DawAIPanel: generator card wrapping, compact mobile rules - AIInstruments: full-width controls on mobile - ComposePage: timeline overflow, track wrapping - Global grids: minmax(min(Xpx, 100%), 1fr) pattern Lot 338: Demucs stem separation in DawAIPanel - STEMS button on each saved sample (orange, ai-bridge /separate) - Fetches WAV → POST to Demucs → saves vocal + instrument stems as new samples - CSS for .daw-ai-sep-btn 211 tests passing, 0 fail. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
45 lines
1.1 KiB
Bash
Executable File
45 lines
1.1 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
LOG_DIR="${ROOT_DIR}/ops/v2/logs/playwright"
|
|
SUBCOMMAND="${1:-run}"
|
|
|
|
mkdir -p "${LOG_DIR}"
|
|
|
|
print_usage() {
|
|
cat <<'EOF'
|
|
Usage:
|
|
bash scripts/run-playwright-e2e.sh run [playwright args...]
|
|
bash scripts/run-playwright-e2e.sh clean-logs
|
|
|
|
Commands:
|
|
run Execute the Playwright E2E suite and tee logs to ops/v2/logs/playwright.
|
|
clean-logs Remove old Playwright runner logs (older than 7 days).
|
|
EOF
|
|
}
|
|
|
|
case "${SUBCOMMAND}" in
|
|
run)
|
|
shift || true
|
|
TIMESTAMP="$(date +"%Y%m%d-%H%M%S")"
|
|
LOG_FILE="${LOG_DIR}/playwright-e2e-${TIMESTAMP}.log"
|
|
echo "[playwright-e2e] log file: ${LOG_FILE}"
|
|
(
|
|
cd "${ROOT_DIR}"
|
|
node node_modules/@playwright/test/cli.js test "$@"
|
|
) 2>&1 | tee "${LOG_FILE}"
|
|
;;
|
|
clean-logs)
|
|
find "${LOG_DIR}" -type f -name 'playwright-e2e-*.log' -mtime +7 -delete
|
|
echo "[playwright-e2e] old logs cleaned in ${LOG_DIR}"
|
|
;;
|
|
help|-h|--help)
|
|
print_usage
|
|
;;
|
|
*)
|
|
print_usage >&2
|
|
exit 1
|
|
;;
|
|
esac
|