clear debug stuff

This commit is contained in:
Petar Radovic 2026-04-09 19:43:33 +02:00
parent 7266433d51
commit 9dc5c32354
2 changed files with 0 additions and 47 deletions

View File

@ -182,52 +182,12 @@ jobs:
- name: Install nextest
run: cargo install --locked cargo-nextest
- name: Start container log capture
run: |
mkdir -p /tmp/container-logs
(
seen=""
while true; do
for c in $(docker ps -q 2>/dev/null); do
case " $seen " in
*" $c "*) ;;
*)
name=$(docker inspect -f '{{.Name}}' "$c" 2>/dev/null | sed 's|^/||')
docker logs -f "$c" >"/tmp/container-logs/${name}.log" 2>&1 &
seen="$seen $c"
;;
esac
done
sleep 1
done
) &
echo $! > /tmp/log-watcher.pid
- name: Run tests
env:
RISC0_DEV_MODE: "1"
RUST_LOG: "info"
run: cargo nextest run -p integration_tests indexer -- --skip tps_test
- name: Dump captured container logs on failure
if: failure()
run: |
kill "$(cat /tmp/log-watcher.pid)" 2>/dev/null || true
# Filter out noisy gossipsub/overwatch lines that bloat the log without helping debug.
NOISE='gossipsub|libp2p_gossipsub|overwatch::overwatch::(handle|runner)|services::state::handle'
for f in /tmp/container-logs/*.log; do
[ -e "$f" ] || continue
echo "=== $f (lines: $(wc -l < $f)) ==="
echo "--- proposed-block events with removals (denoised) ---"
grep -v -E "$NOISE" "$f" \
| grep -B 200 -A 5 -E '\([1-9][0-9]* removed\)' \
| tail -3000 || true
echo "--- mempool/tx/inscribe activity (denoised) ---"
grep -v -E "$NOISE" "$f" \
| grep -i -E 'mempool|inscrib|verif|reject|invalid|gas|validate|removed' \
| tail -1000 || true
done
valid-proof-test:
runs-on: ubuntu-latest
timeout-minutes: 60

View File

@ -26,11 +26,4 @@ sed -i '/slot_activation_coeff:/,+4 s/denominator: [0-9]\+/denominator: 2/' /dep
# to the indexer much sooner.
sed -i 's/security_param: [0-9]\+/security_param: 10/' /deployment-settings.yaml
# Verify the patches took effect (printed to container stdout for debugging).
echo "=== slot_activation_coeff after sed ==="
sed -n '/slot_activation_coeff:/,+4 p' /deployment-settings.yaml
echo "=== security_param after sed ==="
grep 'security_param' /deployment-settings.yaml
echo "======================================="
exec /usr/bin/logos-blockchain-node /config.yaml --deployment /deployment-settings.yaml