Skip to content

Assert the build-layout floor and pin go-release to d648d89 - #36

Merged
imanimanyara merged 3 commits into
mainfrom
ci/build-layout-floor-and-release-pin
Nov 13, 2026
Merged

imanimanyara merged 3 commits into
mainfrom
ci/build-layout-floor-and-release-pin

Conversation

@imanimanyara

Copy link
Copy Markdown
Member

Summary

Two sweeps in one PR, one commit each, plus the changelog.

  • Build layout (build/<os>/ only). Measured first: build/ already holds one folder per OS with {binary}_{os}_{arch} names, checksums.txt over {os}/{file}, the host build in build/<host-os>/, GoReleaser's dist: in the ignored .cache/goreleaser, and a guard with red cases for dist/, darwin/ and per-target folders. The one gap was that the guard did not assert how many entries it inspected. It now counts the files at the root of build/ and in each OS folder and fails below BUILD_LAYOUT_MIN: 2 after make build, one per target plus targets.txt and checksums.txt after make cross/make dist.
  • Release pin. release.yml calls simtabi/.github/.github/workflows/go-release.yml@d648d8998f95a351001979f9c4527badca588bf1 # simtabi/.github#30, the latest commit. The commits since the old pin add optional inputs only (node-version and earlier environment/runs-on/post-release); nothing this caller passes changed.
  • Dependabot. .github/dependabot.yml already has a weekly, grouped github-actions entry, and agent-kit's dependabot.py check reports no drift. It will not advance this pin by itself: simtabi/.github has no tags, and Dependabot's GitHub Actions updater only moves a commit-SHA pin to a tagged release.

Verification

  • gofmt, go -C src vet ./...: clean. go -C src test -count=1 ./...: everything passes except two cmd/osaat tests that write ~/.config/osaat/logs, which the local sandbox refuses; CI runs them.
  • make build-local (floor 2) and make cross (12 binaries, floor 14, 15 entries inspected): green
  • Red, floor: make check-build BUILD_LAYOUT_MIN=999 fails with "inspected N entries in build/, expected at least 999". Red, stray: a build/dist/ folder fails the check. Both reverted, and make check-build is green again.
  • actionlint on release.yml: clean

TestBuildLayout now counts the files it inspected in build/ (those at the
root and in each OS folder) and fails below BUILD_LAYOUT_MIN. make build
passes 2, and make cross and make dist pass one per target plus
targets.txt and checksums.txt, so a check that reads an empty or wrong
directory fails instead of passing. A new test pins the count.
release.yml calls simtabi/.github's go-release.yml at its latest commit,
d648d89 (simtabi/.github#30). The commits since the old pin add optional
inputs only; every input this caller passes is unchanged.
Copilot AI balanced review requested due to automatic review settings November 13, 2026 20:57

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@imanimanyara
imanimanyara merged commit 34ec28f into main Nov 13, 2026
12 checks passed
@imanimanyara
imanimanyara deleted the ci/build-layout-floor-and-release-pin branch November 13, 2026 21:29
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.

2 participants