Remove obsolete renumber and stale commands, fix test

- Remove renumber.go: Hash IDs eliminated need for ID compaction
- Remove stale.go: Executor/heartbeat tables were never implemented
- Fix TestListCommand: duplicate dependency constraint violation
- Update comments removing references to removed commands

Amp-Thread-ID: https://ampcode.com/threads/T-3dcd8681-c7d3-4fe1-9750-b38279b56cdb
Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
Steve Yegge
2025-10-31 21:27:11 -07:00
parent af517b4b10
commit 0b852f52d9
9 changed files with 48 additions and 812 deletions

View File

@@ -200,16 +200,7 @@ func TestListCommand(t *testing.T) {
})
t.Run("output formatted list digraph preset", func(t *testing.T) {
// Add a dependency first
dep := &types.Dependency{
IssueID: h.issues[0].ID,
DependsOnID: h.issues[1].ID,
Type: types.DepBlocks,
}
if err := h.store.AddDependency(h.ctx, dep, "test-user"); err != nil {
t.Fatalf("Failed to add dependency: %v", err)
}
// Dependency already added in previous test, just use it
err := outputFormattedList(h.ctx, h.store, h.issues, "digraph")
if err != nil {
t.Errorf("outputFormattedList with digraph format failed: %v", err)