about summary refs log tree commit homepage
path: root/TODO
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2022-08-26 10:15:45 +0000
committerEric Wong <e@80x24.org>2022-08-26 18:10:30 +0000
commit81ea7f0100f016ad8c66605b49230e876a1eb82d (patch)
treea65529a4aaa1fa9abc0b7d09ef6f151ccd7ebe4c /TODO
parentf2ee1e5f1c36afee3bf80e42e9c5f3196dded34f (diff)
downloadpublic-inbox-81ea7f0100f016ad8c66605b49230e876a1eb82d.tar.gz
Unindexed v1 inboxes were leaving $smsg objects unpopulated when
using public-inbox-httpd (but not generic PSGI servers) and
causing missing HTML content and uninitialized value warnings.

Our existing tests for unindexed v1 inboxes only assumed generic
PSGI servers and synchronous blob retrieval.  Due to changes
several years ago to make git blob retrieval async for slow
storage using public-inbox-httpd, our tests were insufficient to
detect this regression.

So ensure $smsg->populate runs in a few places and rewrite
t/plack.t to test against both generic PSGI and -httpd
implementations.

Fortunately, unindexed v1 inboxes are uncommon, and this
bug was only (finally) discovered while developing other
features.

For ensuring we can test (and not blindly follow) redirects with
-httpd, we now provide our own LWP::UserAgent (used internally
by Plack::Test::ExternalServer) with redirect following
disabled to P:T:ES::test_psgi.
Diffstat (limited to 'TODO')
0 files changed, 0 insertions, 0 deletions