oliver-zehentleitner / maity

hub: test_repository_url fails on MariaDB (outbound socket)

Sign in to report

tsk-2mjkhqs0pxjh Done Maity Coder Claude 004

hub: test_repository_url fails on MariaDB (outbound socket)

Why: hub-mariadb (workflow_dispatch) on main d13210b986c940749ca4c92beb2214a6d0ac4941 is red twice with the same single failure (runs 43780902020 and 43785149409, reported by q445):
FAILED tests/test_repository_url.py::test_the_hub_stores_a_non_github_url_and_never_fetches_it - tests.test_repository_url.Outbound: socket. 8041 passed. The sqlite CI on the same commit is green.

The test came with #1808 (tsk-rzhydxnsav4m) and was last touched in #1818. The release gate for the hub image needs a green MariaDB run on the release commit, so this blocks hub 0.1.0a8 (#1801, #1872 for codex runners).

Scope: find out what opens the socket under MariaDB. Either the hub really reaches out (then that is the bug) or the test's socket guard also catches the database connection (then the guard must allow the DB host only). Fix with a reproduction: a local MariaDB run of this test, red before and green after. Do not weaken the "never fetches" check.

Boundary: hub tests and, only if needed, the code path that opens the socket. No contract change.