Skip to content

chore(bootstrap): remove unreachable nil-cfg guard in finalizeSyncedBootstrap#3222

Merged
maphew merged 1 commit intogastownhall:mainfrom
maphew:chore/bootstrap-remove-nil-cfg-guard
Apr 12, 2026
Merged

chore(bootstrap): remove unreachable nil-cfg guard in finalizeSyncedBootstrap#3222
maphew merged 1 commit intogastownhall:mainfrom
maphew:chore/bootstrap-remove-nil-cfg-guard

Conversation

@maphew
Copy link
Copy Markdown
Collaborator

@maphew maphew commented Apr 12, 2026

Follow-up to #3203 — removes the unnecessary cfg == nil guard since the caller chain guarantees non-nil via DefaultConfig() fallback.

Tests pass: go test -tags gms_pure_go -run TestFinalizeSyncedBootstrap ./cmd/bd/

…ootstrap

The caller chain (bootstrapCmd.Run → executeBootstrapPlan → executeSyncAction)
guarantees cfg is non-nil via DefaultConfig() fallback at bootstrap.go:178-180.

Follow-up to gastownhall#3203.

Amp-Thread-ID: https://ampcode.com/threads/T-019d7fee-1326-74af-a566-9c45ad5b349e
Co-authored-by: Amp <amp@ampcode.com>
@maphew maphew merged commit dfd1add into gastownhall:main Apr 12, 2026
16 checks passed
@maphew maphew deleted the chore/bootstrap-remove-nil-cfg-guard branch April 13, 2026 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant