Files
Nicolò Boschi b19995fd6d test: fix 8 flaky CI tests (#7185)
* test: fix flaky CI tests (relink queue, cleared observations, startup timeout, sign-in port, survey cleanup, base-path LLM, CLI installer)

* fix(cloud-login): bind the callback port once, like ChatGPT sign-in

Review fixes:
- cloud_auth: the listener binds port 0 itself and reports the bound port; drop
  _free_port, whose probe-then-rebind raced in login() and in test_cloud_login
  (same race as #7173)
- test_cli_installer: imports at module top

* test(embed): don't let a slow Windows loopback probe outrun the UI start cap

test_ui_that_never_answers_hits_the_cap_and_is_terminated failed on
test-embed-windows: a refused loopback connect takes ~2s per address there, so
the first probe alone passed the 2s cap and the loop broke before drawing the
download hint. The fake never answers, so the test stubs the probe.
2026-12-02 15:05:45 +01:00
..