Skip to content

Flaky: gardener report.test.py Judge test gets None from the local model server #1141

Done

Description

@scuttletoby

`fork-kit/gardener/tests/report.test.py` `Judge.test_the_model_gets_findings_and_only_tracked_files_inside_the_root` failed once on a GitHub-hosted runner (PR #1085, job 140733584342): `AssertionError: None != 'looks real'` at line 335. The test serves a canned answer from a local `http.server` on 127.0.0.1 and `judge.judge` returned no answer.

Other runs of the same job pass, and #1085 doesn't touch the gardener. Find the root cause rather than rerunning. Some leads to check: a proxy env var on the runner (`http_proxy` / `no_proxy`), the 10 s timeout under load, or the server thread not being ready before the first request. Then make the test deterministic, with a test that fails without the fix.

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions