Fix #307: instance repo totals #309
No reviewers
Labels
No labels
actions
bug
cli
duplicate
enhancement
fork
forum
git storage
help wanted
insights
invalid
issues
moderation
oidc
ownership transfer
packages
pr/merge protection rules
projects
pull requests
question
releases
sponsorships
tags
webhooks
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
crueber/walhub!309
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/issue-307"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #307 (remainder of #295): /explore now shows the true instance repo total from a served payload.
Rail: issue option 1 (preferred) —
repo_counton eachowners/detailedrow. Sound source is the registry's newOwnerRepoCounts(one manifest-gated walk, same trip profile as theOwnerscall it replaces — zero added store trips), NOT the #283 catalog aggregate (the sweep never prunes deleted rows, so a catalog fold would resurrect ghosts; documented in 07 Decisions). Ghost-filtered exactly likeliveRepos; verified byTestRepoRegistryOwnerCounts(litter, unborn forks, delete/recreate).Triple twins + SDK + docs in the same change (law 12): no new endpoint or discovery template (14 §14.12 additive field rule); SDK shape comment; 07_api/12_web_ui Decisions entries; 14 field-rule note. UI: intro card 'Home to N owners and M repositories' via pure
instanceRepoTotal(uncapped-payload sum, headless-tested incl. capped-sum-is-not-the-total).Tests:
go test ./internal/api/ ./internal/server/ ./cmd/walhub/ -racegreen; api cover 95.5% (gate 95);node --test web/test/unit/*.test.js588/588; vite build green. No browser (shared-daemon loopback guard — proof open).