3979dcfa

Author: Michael Lynch <mtlynch@users.noreply.github.com>

Committer: GitHub <noreply@github.com>

Allow idle browser connections to drain during shutdown (#843)

Previously, the five-second shutdown deadline could expire before Go's
HTTP server treated an unused TCP connection as idle. Firefox end-to-end
tests could complete successfully but fail teardown when PicoShare
exited with "context deadline exceeded".

Allow ten seconds for graceful shutdown and give Fly fifteen seconds
before forcing termination. Apply the same stop timeout to generated Fly
configs.

Run both Chromium and Firefox in the Nix end-to-end target, matching
CI's browser coverage instead of omitting the browser that exposed this
failure.

AI-Model: openai/gpt-6.1-sol-fast

Total

2m15s

Created Started Finished

Time to Start Worker time Duration Time to finish Idle
Config 0s 2s 2s 3s 0s
Eval 3s 32s 32s 36s 0s
Build 36s 2m53s 1m40s 2m16s 0s
Suite 0s 3m28s 2m15s 2m16s 1s

Timeline

Config Eval Build
0s10s20s30s40s50s1m1m10s1m20s1m30s1m40s1m50s2m2m10s