Artifact 4b6585b0231f9587c7648b3a39cfedd77094f9bdcfcd74ccd3834036838150d8:
- File internal/api/selfprobe_test.go — part of check-in [df2f8cb9ae] at 2026-10-14 17:37:07 on branch no-false-landed — A landing never reads as already landed against itself, nor in the moments after an update from its target (user: zeitgeist, size: 480) [annotate] [blame] [check-ins using] [more...]
package api import ( "testing" "craftdesign.group/quarry/internal/zitcli" ) // One check-in on both sides is the index mid-fold, never landed work: // alreadyLanded answers false without asking the store (a check-in // "merges up-to-date" into itself). func TestAlreadyLandedRefusesASelfProbe(t *testing.T) { repo := &Repo{Zit: zitcli.New(t.TempDir())} if alreadyLanded(repo, "abc123", "abc123") { t.Error("FAIL: a tip probed against itself read as already landed") } }