test(plausible): psql -q in _register_site — -t does not suppress command tags #9
Reference in New Issue
Block a user
No description provided.
Delete Branch "test/plausible-psql-quiet"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The plausible custom tier (first executed in build 237 — install always failed before) revealed
_register_siteassertingout == siteagainst psql output that includes theINSERT 0 1command tag:-t(tuples-only) suppresses headers/footers but NOT command tags. Both event-tracking roundtrip tests fail on it.Fix:
psql -q, which suppresses the tags. Verified against the recipe's db container: with-qthe INSERT+SELECT statement pair returns exactly the site domain.Pair: recipe-maintainers/plausible#3 (its
!testmecustom tier needs this to go green; the restore-tier fixes are on the recipe PR itself — head270c840).