Merge branch 'main' into feature/robust-logging
All checks were successful
Smoke tests / Build and smoke test (pull_request) Successful in 1m28s
Smoke tests / Build and smoke test (push) Successful in 1m28s

This commit is contained in:
2026-03-19 21:11:44 -06:00
12 changed files with 185 additions and 4 deletions

View File

@@ -61,6 +61,35 @@ jobs:
set -e
[[ $r -eq 0 || $r -eq 255 ]]
- name: Smoke - weather and time
run: |
set -euo pipefail
RUST_LOG=info ./target/debug/mudserver -d "$TEST_DB" &
MUD_PID=$!
trap 'kill $MUD_PID 2>/dev/null || true' EXIT
bash scripts/ci/wait-for-tcp.sh 127.0.0.1 2222
set +e
ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p 2222 smoketest@localhost <<'EOF' > weather_test.out
go south
go down
look
quit
EOF
r=$?
set -e
[[ $r -eq 0 || $r -eq 255 ]]
if ! grep -q "The sky is\|raining\|storm\|snow\|fog" weather_test.out; then
echo "Error: Weather info not found in look output"
cat weather_test.out
exit 1
fi
if ! grep -q "\[Night\]\|\[Morning\]\|\[Afternoon\]\|\[Evening\]" weather_test.out; then
echo "Error: Time of day info not found in look output"
cat weather_test.out
exit 1
fi
rm weather_test.out
- name: Smoke - persistence (reconnect)
run: |
set -euo pipefail