Rename blob_fetch_stub.go to blob_fetch.go #53
Reference in New Issue
Block a user
Delete Branch "rename-blob-fetch-stub"
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?
Renames
internal/vaultik/blob_fetch_stub.gotointernal/vaultik/blob_fetch.go.The file contains production code (
hashVerifyReader,FetchAndDecryptBlob), not stubs. The_stubsuffix was a misnomer from the original implementation in PR #39.Pure rename — no code changes. All tests, linting, and formatting pass.
closes #52
Review: FAIL ❌
PR #53 claims to be a pure rename of
blob_fetch_stub.go→blob_fetch.goper issue #52, but it contains massive unauthorized changes across 9 additional files (1065 insertions, 1301 deletions):internal/blob/packer.gointernal/cli/restore.gointernal/snapshot/scanner.gointernal/snapshot/snapshot.gointernal/vaultik/info.gointernal/vaultik/prune.gointernal/vaultik/restore.gointernal/vaultik/snapshot.gointernal/vaultik/verify.goThe only file that matches the issue is the actual rename:
blob_fetch_stub.go→blob_fetch.go(0 code changes, correct).All other changes reverse prior refactoring by inlining extracted helper methods back into their parent functions. This is a significant code organization change NOT requested by issue #52.
Verdict:
needs-rework. Strip all changes except the rename. The PR should touch exactly one file.8d3a3ab7a1tod0818e800bRework: Rebased onto current main
The branch was based on a stale
main(before PR #41 was merged), causing the diff to include reversed refactoring changes.Fix: Rebased
rename-blob-fetch-stubonto currentmain(ac2f21a). The diff now shows exactly one change:Pure rename, zero code changes.
docker build .passes (lint, tests, build all green).Review: PASS ✅
PR #53 correctly implements issue #52 — rename
blob_fetch_stub.go→blob_fetch.go.Verified:
blob_fetch_stub.gono longer exists on the branchblob_fetch.gocontains the expected production code (hashVerifyReader,FetchAndDecryptBlob,FetchBlob)docker build .passes: formatting, linting, tests, and binary build all greenPure rename, clean rebase onto current
main. Ready to merge.