Skip to content

Bump spirit to @main - #15

Closed
morgo wants to merge 1 commit into
block:mainfrom
morgo:bump-spirit-main-20260720
Closed

Bump spirit to @main#15
morgo wants to merge 1 commit into
block:mainfrom
morgo:bump-spirit-main-20260720

Conversation

@morgo

@morgo morgo commented Jul 20, 2026

Copy link
Copy Markdown
Collaborator

Bumps github.com/block/spirit to the latest main (19ef8b5, 2026-07-22).

metadatalock API rename (block/spirit#1067)

Spirit renamed its dbconn advisory-lock API:

  • MetadataLockAdvisoryLock
  • NewMetadataLockNewAdvisoryLock

Updated the 3 call sites / field declarations in pkg/runner/{archive_runner,stage_runner}.go and pkg/test/test.go, plus the related log and comment wording ("metadata lock" → "advisory lock").

Toolchain

spirit@main requires go >= 1.26.5; this repo hermit toolchain was pinned at 1.26.1, so this PR also bumps the hermit Go toolchain to 1.26.5 (bin/go, bin/gofmt, .go-*.pkg) and the go directive in go.mod.

Verified with go build ./... and go vet ./....

Automated by the recurring bump-all-spirit task.

Also bumps the hermit Go toolchain from 1.26.1 to 1.26.5, as spirit@main
now requires go >= 1.26.5.
Copilot AI review requested due to automatic review settings July 20, 2026 15:11

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates this repo’s Spirit dependency to the latest main snapshot and aligns the repository’s Go toolchain requirement accordingly (including Hermit shims), so builds remain compatible with Spirit’s updated minimum Go version.

Changes:

  • Bump github.com/block/spirit to 9dd2b80e44ca and refresh go.sum accordingly.
  • Update go directive in go.mod to 1.26.5 and bump golang.org/x/sync to v0.22.0.
  • Add Hermit-generated Go package shim for 1.26.5.

Reviewed changes

Copilot reviewed 1 out of 5 changed files in this pull request and generated no comments.

File Description
go.mod Updates Go version directive and bumps Spirit + x/sync to match new toolchain requirements.
go.sum Refreshes module checksums for the updated Spirit and x/sync versions.
bin/.go-1.26.5.pkg Adds the Hermit-generated package shim for Go 1.26.5 bootstrapping/execution.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@morgo morgo closed this Jul 20, 2026
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