Skip to content

build: publish FreeBSD binaries - #14

Merged
Quick104 merged 1 commit into
mainfrom
build/freebsd-binaries
Nov 17, 2026
Merged

Quick104 merged 1 commit into
mainfrom
build/freebsd-binaries

Conversation

@Quick104

@Quick104 Quick104 commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Related issue: N/A — narrow fix

A Silo server running on FreeBSD cannot install this plugin. The manifest lists only Linux and macOS, so the server does not offer the plugin, and releases ship no FreeBSD binary. A FreeBSD user asked for FreeBSD builds of Silo's plugins.

Approach

  • manifest.json: add freebsd/amd64 and freebsd/arm64 to supported_platforms and raise version from 0.3.2 to 0.3.3, so the merge commit is the commit a maintainer tags.
  • Makefile: add both targets to PLATFORMS, so make build-all builds them too.

After 0.3.3 is released and the catalog picks it up, a FreeBSD server on amd64 or arm64 lists the plugin and can sync watch history with Floppy, the same as on Linux. The plugin is pure Go and built with CGO_ENABLED=0; it needed no code changes. The FreeBSD binaries are cross-compiled. The project does not run them on FreeBSD.

Release order. This repository releases through the shared plugin-release.yml workflow in Silo-Server/.github, which builds only linux/amd64,linux/arm64,darwin/arm64 by default and does not compare that list with manifest.json. Silo-Server/.github#5 adds the two FreeBSD targets to that default. It must merge before v0.3.3 is tagged here. Otherwise the release would declare FreeBSD support without shipping FreeBSD binaries.

Other clients: N/A (no client-visible change)

Validation

Run from the repository root on this branch:

$ GOWORK=off go test ./...
ok  	github.com/Silo-Server/silo-plugin-watchprovider-floppy
ok  	github.com/Silo-Server/silo-plugin-watchprovider-floppy/provider
$ GOWORK=off go vet ./...                  # no output
$ GOWORK=off go build ./...                # no output
$ GOWORK=off go run . manifest >/dev/null  # exit 0; supportedPlatforms lists darwin/arm64, freebsd/amd64, freebsd/arm64, linux/amd64, linux/arm64
$ gofmt -l .                               # no output
$ make build-all
plugin-darwin-arm64 plugin-freebsd-amd64 plugin-freebsd-arm64 plugin-linux-amd64 plugin-linux-arm64

FreeBSD cross-build and vet (GOWORK=off CGO_ENABLED=0 GOOS=freebsd, Go 1.26.5):

freebsd/amd64: go build ok, go vet ok -- ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD)
freebsd/arm64: go build ok, go vet ok -- ELF 64-bit LSB executable, ARM aarch64, version 1 (FreeBSD)

Not run: the binaries were not executed on a FreeBSD host.

Evidence: https://evidence.siloserver.org/r/silo-plugin-watchprovider-floppy/pr-14/

Risks

Linux and macOS builds do not change. If v0.3.3 is tagged before Silo-Server/.github#5 merges, the release lists FreeBSD without FreeBSD assets; the release order above prevents that.

Checklist

  • I read and can explain the complete diff.
  • This pull request addresses one concern.

AI Disclosure

  • Harness: Claude Code
  • Tool(s): Claude Code
  • Model(s): claude-opus-5-5
  • Involvement: Fully AI-generated, human verification pending
  • Adversarial review: n/a (platform list and version change only)

🤖 Generated with Claude Code

Note

Add FreeBSD/amd64 and FreeBSD/arm64 to published binaries

Adds FreeBSD/amd64 and FreeBSD/arm64 to the platform build list in the Makefile and to the manifest. Bumps the manifest version from 0.3.2 to 0.3.3 in manifest.json.

Macroscope summarized 3ce0ba7.

Add freebsd/amd64 and freebsd/arm64 to supported_platforms and the
Makefile build-all platform list, and raise the version to 0.3.3 so the
merge commit is the taggable release commit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@silo-triage silo-triage Bot added the size/S 0–49 added + deleted lines (all files); change volume, not priority. label Nov 17, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-17T14:26:36.038459Z 3ce0ba7 PR opened
🔒 Security Review ✅ Completed 2026-11-17T14:27:46.980872Z 3ce0ba7 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The Makefile and manifest add FreeBSD support for amd64 and arm64. The manifest version changes from 0.3.2 to 0.3.3.

Changes: FreeBSD Platform Support

Layer / File(s) Summary
Platform targets and release metadata
manifest.json, Makefile
The manifest version changes to 0.3.3 and its supported-platform list adds FreeBSD amd64 and arm64. The Makefile platform list adds the same targets.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Feature

Merge Risk: Low · up to 3ce0b

This change declares FreeBSD amd64 and arm64 support and bumps the plugin to 0.3.3. It is safe to merge. Before tagging v0.3.3, confirm that the shared release workflow change (Silo-Server/.github#5) has merged. Otherwise the release could claim FreeBSD support without including the FreeBSD binaries.

Architecture risk: Low · up to 3ce0b

The change affects 2 systems.

Changed systems: Makefile, manifest.json

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — Makefile (service) was modified; 1 changed file maps to changed impact.
  • observed — manifest.json (service) was modified; 1 changed file maps to changed impact.

Before / after behavior

  • observed — Modified behavior in Makefile: PLATFORMS now includes freebsd/amd64 and freebsd/arm64, in addition to the existing Linux and Darwin targets.
  • observed — Modified behavior in manifest.json: The manifest version changes from 0.3.2 to 0.3.3.
  • observed — Modified behavior in manifest.json: The supported-platform list adds FreeBSD entries for amd64 and arm64.
Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "build: publish FreeBSD binaries" matches the main change. The PR adds freebsd/amd64 and freebsd/arm64 to the manifest and the Makefile PLATFORMS list, and bumps the version to 0.3.3. The ti…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The description states the problem (FreeBSD servers cannot install the plugin because the manifest lists only Linux and macOS), the approach (manifest.json and Makefile changes, version bump to 0.3.3)…
Full details: Title check

Explanation

The title "build: publish FreeBSD binaries" matches the main change. The PR adds freebsd/amd64 and freebsd/arm64 to the manifest and the Makefile PLATFORMS list, and bumps the version to 0.3.3. The title is short, specific, and follows a conventional commit style.

Full details: Description check

Explanation

The description states the problem (FreeBSD servers cannot install the plugin because the manifest lists only Linux and macOS), the approach (manifest.json and Makefile changes, version bump to 0.3.3), the validation run, and a release-order risk tied to Silo-Server/.github#5. It is directly related to the changeset.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d947144d-43e4-47ee-b2b1-28991b832803
Commits

Reviewing files that changed from the base of the PR and between 4a5cdb3 and 3ce0ba7.

Files selected for processing: 2

  • Makefile
  • manifest.json

Included review availability: This review used your included allowance. 0 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

@silo-triage silo-triage Bot added enhancement New feature or request triaged High-confidence review completed; does not mean fixed, validated, or accepted for release. labels Nov 17, 2026
@Quick104
Quick104 merged commit 9ab8288 into main Nov 17, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size/S 0–49 added + deleted lines (all files); change volume, not priority. triaged High-confidence review completed; does not mean fixed, validated, or accepted for release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant