3 Commits
Author SHA1 Message Date
Djeex 93fe213c18 Fix flaky unit test on merge-triggered CI runs (#7)
CI / build-and-scan (push) Successful in 2m24s
- entrypoint.sh: bound the target connectivity check with `-w 2` (the only unbounded step in the startup path)
- tests/entrypoint.bats: widen wait_for_log's budget from 5s to 10s

Merge-triggered runs land on a colder runner (Docker cache evicted by other repos' scheduled jobs since the PR was last tested) than PR-check runs, and the first backgrounded entrypoint.sh in the suite was occasionally landing just past the old 5s window — always passed on rerun once warm.
2026-08-26 16:36:39 +02:00
Djeex 0cc1b3cb37 Run as non-root by default via PUID/PGID 2026-08-23 15:10:17 +02:00
Djeex 59be656047 Add bats test suite for entrypoint.sh
Covers env-var validation, socket path preparation, target connectivity
messaging, DEBUG_LEVEL to socat-flag mapping, and graceful shutdown vs.
crash detection — run against the real socat/nc binaries rather than
mocks, since UNIX-LISTEN binds without needing the TCP target reachable.
2026-08-22 23:50:32 +02:00