Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
What was missed
Issue #78 explicitly required that
review.ContentEntryandreview.GiteaClientbe deleted in the same PR asvcs/types.go, with the note: "These deletions are owned by #78 and must be included in the same PR asvcs/types.go. They are not deferred — #82 depends on them already being gone."Both types still exist in
review/repo_persona.gounchanged.review.ContentEntryduplicatesvcs.ContentEntryandreview.GiteaClientduplicatesvcs.FileReader(partially). Thereview/package can safely importvcs/without a cycle sincevcs/has no upward dependencies.Source
review/repo_persona.golines 14–28What needs to happen
review.ContentEntryfromreview/repo_persona.goreview.ContentEntryinreview/withvcs.ContentEntryreview.GiteaClientand replace withvcs.FileReaderinreview.LoadRepoPersonassignaturereview/repo_persona_test.go:mockGiteaClient.ListContentsreturn type changes from[]review.ContentEntryto[]vcs.ContentEntrygo build ./...andgo test ./...passReferences
rodin referenced this issue2026-05-12 19:39:02 +00:00