You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TestRegistry_SyncIntegration fails instead of skipping without a network, and its escape hatch calls t.Fatalf where it means t.Skip #888
cmd/internal/lorepackage/registry_test.go:171 clones https://github.com/NobleFactor/devlore-registry.git in the ordinary test suite. The file carries no build tag,
so make test runs it. Without a usable network it hangs until the suite's own deadline:
panic: test timed out after 1m0s
running tests:
TestRegistry_SyncIntegration (1m0s)
FAIL github.com/NobleFactor/devlore-cli/cmd/internal/lorepackage 60.585s
Observed 2026-09-13 on an aircraft, where a satellite link cannot finish the clone inside the budget. The whole
package fails, so make test is red for reasons that have nothing to do with the tree.
The escape hatch is written backwards
Two guards open the test, and both fail where they mean to skip:
iftesting.Short() {
t.Fatalf("requires full test mode: run without -short flag")
}
// Skip if no networkifos.Getenv("SKIP_NETWORK_TESTS") !="" {
t.Fatalf("requires network access: unset SKIP_NETWORK_TESTS")
}
t.Fatalf marks the test failed; t.Skip marks it skipped and passes the package. As written, setting SKIP_NETWORK_TESTS turns a hang into an immediate failure, and -short does the same, so there is no way to
run the suite without a network. The comment above the second guard says "Skip if no network", which is the
intent the code contradicts.
Evidence of completion
SKIP_NETWORK_TESTS skips the test rather than failing it, and -short does the same
A grep for t.Fatalf immediately after a testing.Short() or environment guard finds no other instance,
or fixes what it finds
Activity
David-Noble-at-work commentedon Nov 9, 2026
star github triage sweep added this issue to Triage: devlore, for the rule it breaks:
severity: a Bug whose Severity is blank; a bug is Critical, High, Medium or Low