{"sha": "e03aed00026cc2e59c09ca41f69a247e1a85cc89", "message": "Detect server start/stop more reliably.\n\nThis is useful, especially in testing, since your test\nhosts might not reliabliy start the server within two\nseconds, so we do a definite check before progressing.\n\nBy the same token, after `kill $server_pid` wait for\nthe pid to be gone from the process list.\n\nSince now the script can end prematurely, I also added\na cleanup function to make sure the temporary certs are\nremoved in any case.\n\nn.b. this could also be done with the use of `trap 'fn'\nERR` but that felt like a bit too much magic for this\nshort a script.", "author_date": "2022-12-18T09:40:06Z", "committer_date": "2022-12-18T16:01:51Z", "raw_author": {"value": "f333c00958a658720cd93e305aac71711b88e52b", "label": "Jan Lehnardt"}, "raw_committer": {"value": "13ae486343ea6454a93114c6f558ffea2f2c6874", "label": "Simon Willison"}, "repo": {"value": 107914493, "label": "datasette"}, "author": {"value": 11321, "label": "janl"}, "committer": {"value": 9599, "label": "simonw"}}