Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/actionlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ self-hosted-runner:
labels:
- crabbox
- openclaw
- xcode-27
1 change: 1 addition & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ jobs:

analyze-swift:
name: Analyze (swift)
# CodeQL Swift tracing does not support macOS 27 yet: https://github.com/github/codeql/issues/22742
runs-on: macos-26
timeout-minutes: 45
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ concurrency:
jobs:
swift:
name: Native macOS tests
runs-on: macos-26
runs-on: xcode-27
timeout-minutes: 20
steps:
- name: Check out
Expand Down
42 changes: 41 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,52 @@ on:
description: "Tag to (re)release (e.g. v0.1.0)"
required: true
type: string
dry_run:
description: "Build current main as a snapshot without publishing"
type: boolean
default: false

permissions:
contents: write

jobs:
dry-run:
if: ${{ inputs.dry_run }}
runs-on: ubuntu-latest
timeout-minutes: 20
permissions:
contents: read
steps:
- name: Check out current source
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
persist-credentials: false

- name: Validate version tag
env:
RELEASE_TAG: ${{ inputs.tag }}
run: |
[[ "$RELEASE_TAG" =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z-]+(\.[0-9A-Za-z-]+)*)?$ ]]
git rev-parse --verify "refs/tags/$RELEASE_TAG^{commit}"

- name: Set up Go
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: "1.27.2"
cache: true

- name: Build release snapshot
uses: goreleaser/goreleaser-action@f06c13b6b1a9625abc9e6e439d9c05a8f2190e94 # v7.2.3
with:
distribution: goreleaser
version: "~> v2"
args: release --snapshot --clean --skip=publish
env:
GORELEASER_CURRENT_TAG: ${{ inputs.tag }}

goreleaser:
if: ${{ !inputs.dry_run }}
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
Expand Down Expand Up @@ -54,7 +94,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version-file: go.mod
go-version: "1.27.2"
cache: true

- name: Prepare release notes
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

- Run native macOS CI on Xcode 27 while retaining the existing app deployment floors and the supported Swift CodeQL runner; support read-only release snapshot checks.
- Build with Go 1.27.2 to fix reachable standard-library vulnerabilities while retaining the Go 1.26 source minimum.
- Refresh Worker types and build tools, Rust client WebAssembly bindings and Tokio, and CodeQL while retaining the runtime floors and 48-hour dependency cooldown.
- Keep Tight fallback from resizing a shared Mac capture without exclusive resize ownership, and release the gate after failed updates, thanks @SebTardif (#152).
- Release consumed Mac relay bytes without copying the unread tail on every small read, thanks @SebTardif (#151).
Expand Down
4 changes: 4 additions & 0 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ version comes from the tag through the build linker flags; the private Node
package and experimental Rust workspace do not use that version. Native Mac
and Windows binaries are not packaged by this workflow.

To verify the current main source without publishing, dispatch `release.yml`
on main with the current release `tag` and `dry_run: true`. The read-only job
builds a GoReleaser snapshot; it does not check out the old tag or publish assets.

1. Run the gates in `AGENTS.md` and review the changes. Use a patch version for
fixes, or a minor version for features and compatibility requirement changes.
2. Finalize the changelog as `## X.Y.Z - YYYY-MM-DD` with a highlights lead-in,
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/openclaw/crabfleet

go 1.26.0

toolchain go1.27.1
toolchain go1.27.2

require (
github.com/coder/websocket v1.8.15
Expand Down
Loading