Skip to content

Conversation

@Snider
Copy link
Collaborator

@Snider Snider commented Feb 2, 2026

Summary

  • Replace manual Go bootstrap with host-uk/build@dev action
  • Add matrix builds for linux/amd64, linux/arm64, darwin/universal, windows/amd64
  • Update README URLs from Snider/Core to host-uk/core
  • Simplify artifact handling with merge-multiple

Test plan

  • Merge and verify dev-release workflow runs successfully
  • Tag a release to verify release workflow

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores

    • CI/CD updated to run a multi-platform build matrix (Linux, macOS, Windows) with a consolidated build step and simplified artifact/release preparation; removed per-platform packaging steps.
  • Documentation

    • Updated repository references and module/import paths in docs and examples to reflect the new project layout.

- Replace manual Go bootstrap with host-uk/build@dev action
- Add matrix builds for linux/amd64, linux/arm64, darwin/universal, windows/amd64
- Update README URLs from Snider/Core to host-uk/core
- Simplify artifact handling with merge-multiple

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 2, 2026

📝 Walkthrough

Walkthrough

GitHub Actions workflows refactored to use a matrix strategy for multi-platform builds and consolidated build steps into a single host-uk/build@dev action; checkout action versions and artifact/release preparation logic simplified. Repository references updated from Snider/Core to host-uk/core in docs.

Changes

Cohort / File(s) Summary
GitHub Actions Workflows
.github/workflows/dev-release.yml, .github/workflows/release.yml
Replaced fixed-runner jobs with a matrix across ubuntu (amd64/arm64), macOS (universal), and windows (amd64); removed per-platform setup/build steps and replaced them with a parameterized host-uk/build@dev Build step (build/package/sign); switched actions/checkout usage to v4; simplified artifact download (merge-multiple: true) and release preparation to copy dist/*.
Documentation
README.md
Updated textual references and Go import paths from Snider/Core to host-uk/core; adjusted frontend bindings output path accordingly.
Documentation config
mkdocs.yml
Updated repo_url and repo_name from Snider/Core to host-uk/core.

Sequence Diagram(s)

sequenceDiagram
    participant Developer
    participant GitHubActions as GH Actions (matrix runner)
    participant BuildAction as host-uk/build@dev
    participant Artifacts as Actions Artifacts
    participant ReleaseJob as Release Job

    Developer->>GitHubActions: push / tag triggers workflow
    GitHubActions->>BuildAction: run matrix jobs (platform param)
    BuildAction->>Artifacts: upload dist/* artifacts
    GitHubActions->>ReleaseJob: trigger release job after matrix completes
    ReleaseJob->>Artifacts: download (merge-multiple: true)
    ReleaseJob->>ReleaseJob: copy dist/* -> release/
    ReleaseJob->>Developer: create GitHub release with assets
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Suggested labels

enhancement

Poem

🐰
I hopped through workflows, changed their tune,
Matrixed the runners, from sun to moon,
One build to bind them, artifacts in tow,
Host-uk/core now springs where Snider used to go,
A carrot of CI, in morning's glow.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately and concisely captures the main change: replacing manual CI/CD build steps with a dedicated GitHub Action (host-uk/build@dev) across multiple platforms.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch ci/use-build-action

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In @.github/workflows/release.yml:
- Around line 28-35: The Build step currently pins the action to the unstable
ref host-uk/build@dev; change that to a stable tag or commit SHA (e.g.,
host-uk/build@vX.Y.Z or host-uk/build@<commit-sha>) so production releases use
an immutable, tested action; update the uses value in the step named "Build"
accordingly and, if relevant, document or source the chosen tag so future
updates are intentional.
🧹 Nitpick comments (2)
.github/workflows/dev-release.yml (1)

55-55: Silent failure on artifact copy could mask build issues.

The 2>/dev/null || true pattern suppresses all errors, which could hide problems if the build action fails to produce artifacts or outputs them to an unexpected location.

Consider logging the contents of dist/ before copying, or removing the error suppression to surface issues:

Suggested improvement
       - name: Prepare release files
         run: |
           mkdir -p release
+          echo "Contents of dist/:"
+          ls -la dist/ || echo "dist/ is empty or does not exist"
-          cp dist/* release/ 2>/dev/null || true
+          cp dist/* release/ || echo "Warning: No files to copy from dist/"
           ls -la release/
.github/workflows/release.yml (1)

52-52: Same silent failure concern as dev-release.yml.

The cp dist/* release/ 2>/dev/null || true pattern could hide missing artifacts in production releases, which is more critical than in dev builds.

@Snider
Copy link
Collaborator Author

Snider commented Feb 2, 2026

/gemini review

@Snider
Copy link
Collaborator Author

Snider commented Feb 2, 2026

hey @jules-cli can you do a code review focusing on DX, UX, QA and Security issues?

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the CI/CD workflows and migrates repository references from Snider/Core to host-uk/core. The provided patches only cover changes to README.md, where all repository paths and import statements have been correctly updated to reflect the new location. These documentation changes are accurate and consistent with the repository migration. I have no specific feedback on the provided changes.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the release automation to build/package across multiple platforms using host-uk/build@dev, and refreshes README references to the new GitHub org/module path.

Changes:

  • Refactor release.yml and dev-release.yml to use a matrix build and host-uk/build@dev, plus simplified artifact download/merge.
  • Simplify release asset preparation by copying from dist/ after actions/download-artifact with merge-multiple.
  • Update README repository URL and example import/bindings paths from Snider/Core to host-uk/core.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 8 comments.

File Description
README.md Updates repository/module/bindings paths to github.com/host-uk/core.
.github/workflows/release.yml Switches tagged releases to matrix builds using host-uk/build@dev and merged artifact handling.
.github/workflows/dev-release.yml Switches dev releases to matrix builds using host-uk/build@dev and merged artifact handling; updates release notes block.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@Snider
Copy link
Collaborator Author

Snider commented Feb 2, 2026

Agent Review Responses

@coderabbitai - Pin action version

Acknowledged. host-uk/build@dev is the v3 rewrite - v2.x tags are incompatible. Will pin to stable tag once v3.0.0 is released. Keeping @dev intentionally until then.

@copilot - mkdocs.yml references

Fixed in dd47aaf - updated repo_url and repo_name to host-uk/core.

@copilot - CHECKSUMS.txt merge conflict

Valid concern. The build action handles per-platform naming. Will verify artifacts don't collide after first successful run.

@copilot / @coderabbitai - Silent failure pattern

Acceptable for now - the ls -la release/ immediately after will show if nothing was copied. Can improve error handling in follow-up.

Copy link

Copilot AI commented Feb 2, 2026

@Snider I've opened a new pull request, #265, to work on those changes. Once the pull request is ready, I'll request review from you.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 2, 2026

Tip

For best results, initiate chat on the files or code changes.

@Snider, thanks for the clarifications!

Pin action version: Understood - using @dev for the v3 rewrite makes sense until v3.0.0 is released.

Silent failure pattern: Sounds reasonable - the ls -la will surface any issues, and improving error handling in a follow-up works.

All clear on my end. Good luck with the release workflow testing! 🚀

Snider and others added 4 commits February 2, 2026 18:57
Trigger with @coderabbitai review to control costs.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Rename dev-release.yml → alpha-release.yml
- Alpha builds: v0.0.4-alpha.{run_number} (prerelease)
- Add pr-build.yml for draft releases
- PR builds: v0.0.4-pr.{num}.bid.{id} (draft, not published)
- Add attestation permissions for SLSA compliance
- No more deleting/recreating dev tag

Versioning strategy:
- Draft: +pr.{NUM}.bid.{ID} (testable, not published)
- Alpha: -alpha.{N} (canary channel)
- Beta: -beta (quality scored)
- RC: -rc.{N} (release candidate)
- Stable: no suffix

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Switch from host-uk/build@dev to host-uk/build@v3
- Use dots instead of + for build metadata (GitHub tag compatible)
- v0.0.4.pr.{num}.bid.{id} format for PR drafts

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- actions/setup-go: v5 → v6 (Go 1.25+ support)
- actions/upload-artifact: v4 → v6 (immutable artifacts)
- actions/download-artifact: v4 → v7 (attestations support)
- actions/github-script: v7 → v8 (Node 20)
- actions/checkout: standardized on v6

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@Snider Snider enabled auto-merge February 2, 2026 20:33
Snider and others added 5 commits February 2, 2026 21:59
Testing build on local runners while GitHub hosted runners are backed up.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Fall back to libwebkit2gtk-4.0-dev on older Ubuntu.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Docker self-hosted runners run as root, which can write anywhere.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Self-hosted runners need environment parity work (ARM64, root user, SDK tools).
Keep self-hosted for future local-llm integration tasks.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Security fix: Remove Windows drive root bypass and properly strip
volume names before sandboxing. Paths like C:\Windows are now
correctly sandboxed under root instead of escaping.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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