test(release): the cut-tunnel cell proves it reached the cut tunnel

Review on #136509 (Greptile): assert_nothing_changed accepts any non-zero
exit, so an unrelated early failure could pass. The cell now asserts the
proxy recorded the EOF on github.com and the output names the failed fetch.
This commit is contained in:
Teknium committed 2026-10-11 02:55:56 -07:00
1 parent 7831de8999
commit d3bdf761b0
1 file changed
+3
@@ -109,3 +109,6 @@ def test_tunnel_cut_to_the_git_host_fails_fast_and_changes_nothing(inst):
edge.close()
assert r.secs < 60, f"a cut tunnel took {r.secs:.0f}s to fail\n" + r.report(inst)
S.assert_nothing_changed(inst, before, r, "tunnel cut to the git host")
assert "github.com" in edge.proxy.hosts("eof"), "the update failed before reaching the cut tunnel\n" + r.report(inst)
assert "fetch" in r.out.lower() or "github.com" in r.out, (
"the failure does not say the git fetch failed\n" + r.report(inst))