T-HUB/apps/media-worker/scripts/nightly-soak.sh
glass beadian aa5e262f3a Tactical Media Broadcast Hub — initial release
Self-hosted multi-platform broadcast newsroom for activist collectives:
publishing pipeline with group approval and DST-proof scheduling, TweetDeck-style
column wall with hostile-content-safe rendering, live control room with Auto
Director, bridged chat governance with polls and quorum, distributed sandboxed
transcode workers, encrypted content-addressed archive, monthly analytics.

MIT licensed. See README.md and docs/.
2026-10-10 11:56:42 +00:00

12 lines
537 B
Bash

#!/bin/sh
# Reference-host nightly entry point. Eight hours; nonzero means a gate/leak failure.
# Usage: sh scripts/nightly-soak.sh [JSONL_OUTPUT_PATH]
set -eu
worker_dir=$(cd "$(dirname "$0")/.." && pwd)
repo_dir=$(cd "$worker_dir/../.." && pwd)
out=${1:-"$repo_dir/runs/soak/$(date -u +%F).jsonl"}
mkdir -p "$(dirname "$out")"
cd "$worker_dir"
sh scripts/build-helpers.sh
export MEDIA_HELPER_DIR="$worker_dir/bin"
exec node --import tsx src/compositor/soak.ts --hours 8 --profile 1080p30 --swap-every 30 --sample-every 10 --out "$out"