Skip to content

review: apply the August asl layout rules - #200

Merged
CMGS merged 2 commits into
masterfrom
asl/layout-2026-08
Aug 25, 2026
Merged

review: apply the August asl layout rules#200
CMGS merged 2 commits into
masterfrom
asl/layout-2026-08

Conversation

@CMGS

@CMGS CMGS commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

asl (CMGS/asl at dc48996) now mechanizes more of the layout rules of the code-style standard; this branch clears every finding it reports on this repository.

  • hypervisor/baseconfig.go, hypervisor/snapshot.go: the integrity callback func(srcDir string, sidecar []*types.StorageConfig) error was spelled in both PreflightRestore signatures → named hypervisor.IntegrityCheck (functypedup)
  • hypervisor/firecracker/start.go, hypervisor/firecracker/relay.go: the cloneLeaseControl block sat inside the Firecracker method set, splitting the launch sequence (methodinterleave). It is the parent's half of the relay lease protocol, so it moves beside the child's half in relay.go; start.go keeps its original method order.

Gates: asl ./... clean on darwin and linux; go build and go vet on both GOOS; go test ./hypervisor/...; make lint (golangci-lint v2.12.2) 0 issues on both GOOS.

CMGS added 2 commits August 25, 2026 10:39
…hod set contiguous

asl functypedup: the integrity callback was spelled in two signatures;
asl methodinterleave: launchProcess resumed the Firecracker method set
after the cloneLeaseControl block, which only its producers may trail.
The parent's half of the lease protocol lived inside start.go's
Firecracker method set; moving it beside the child's half in relay.go
keeps the launch sequence contiguous without reordering it.
@CMGS
CMGS merged commit 049c515 into master Aug 25, 2026
4 checks passed
@CMGS
CMGS deleted the asl/layout-2026-08 branch August 25, 2026 03:08
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