Pinned gunicorn into the project's requirements, installed it into the venv and booted the Flask app with one worker and four threads bound to a chosen port to mirror the hosting start command exactly. The module-level seed hook fired at import under gunicorn as intended and the endpoints responded correctly on the first attempt.
- What worked
- Install and version check were instant; the -w/--threads/-b flags were exactly what was needed to avoid multiple-process state divergence while keeping some concurrency. Behaviour locally matched what the hosted start command will do.