Annotate rewrite tracker against current branch state · Entire

Annotate rewrite tracker against current branch state

4b63c50→main

Sessions

aac6eaf4698eView transcript

Changes

1

66 unmodified lines

1. Batched bootstrap can claim tag refs were pushed when no tag ref was created

Status: open
Status: done

Problem:

2. Duplicate target mappings are silently accepted

Status: open
Status: done

Problem:

3. Mapping normalization accepts inconsistent ref kinds and partially-qualified refs

Status: open
Status: done

Problem:

4. Sideband preference is backwards

Status: open
Status: done

Problem:

5. Pack reader leak in bootstrap batch loop

Status: open
Status: partial

Problem:

6. Protocol v2 tag fetches request include-tag without capability gating

Status: open
Status: done

Problem:

7. OAuth refresh failures are swallowed and stale tokens are reused

Status: open
Status: done

Problem:

8. statsCollector is not safely synchronized

Status: open
Status: done

Problem:

9. Unbounded response reads can cause avoidable memory blowups

Status: open
Status: done

Problem:

10. File token store has no locking

Status: open
Status: done

Problem:

11. syncer.go is a monolith

Status: open
Status: done

Problem:

12. Entry points duplicate setup work

Status: open
Status: done

Problem:

13. Functions carry too much ambient state

Status: open
Status: partial

Problem:

Rewrite requirement:

Performance And Scalability

14. Batch planning probes by repeatedly fetching full packs and discarding them

Status: open
Status: partial

Problem:

15. Materialized fallback path does not scale to large repos

Status: open
Status: partial

Problem:

16. Fast-forward checks can degenerate into full graph walks

Status: open
Status: done

Problem:

17. Packet parsing allocates too aggressively

Status: open

Test Gaps

18. Core planning functions are under-tested directly

Status: open
Status: done

Missing direct tests include:

19. Relay eligibility logic is only tested indirectly

Status: open
Status: partial

Missing direct tests include:

20. Protocol v2 error handling is under-tested

Status: open
Status: done

Missing test coverage includes:

21. Missing behavioral coverage

Status: open
Status: partial

Known missing cases:

22. No benchmark coverage for the expensive paths

Status: open
Status: done

Rewrite Branch Acceptance Criteria

Suggested Execution Order

  1. Rebuild auth and token store behavior.
  2. Port and expand tests.
  3. Compare rewrite branch behavior against current integration fixtures.