Skip to content

Improve remote-ci compatibility and generalize docs#12

Merged
mt4110 merged 14 commits intomainfrom
feat/upgrade_ci_self
Mar 30, 2026
Merged

Improve remote-ci compatibility and generalize docs#12
mt4110 merged 14 commits intomainfrom
feat/upgrade_ci_self

Conversation

@mt4110
Copy link
Copy Markdown
Owner

@mt4110 mt4110 commented Mar 30, 2026

Summary

  • harden remote-ci for real-world SSH/bootstrap usage
  • make remote bootstrap and artifact collection more backward compatible
  • generalize README examples and add README_EN.md

What Changed

  • add -i/--identity support and robust remote path handling for remote-ci
  • exclude common generated directories from sync and support SSH fallback for artifact fetch
  • prefer Homebrew rsync on macOS when available
  • fall back to ~/.local/bin/ci-self on the remote machine when ci-self is not in PATH
  • skip remote bootstrap cleanly when remote gh auth is missing instead of surfacing a noisy warning
  • generalize repository-specific examples in docs and add an English README

Verification

  • bash -n ops/ci/ci_self.sh
  • mise x -- go test ./...
  • manual remote-ci verification from Machine B to Machine A with result collection

@mt4110 mt4110 marked this pull request as ready for review March 30, 2026 14:47
Copilot AI review requested due to automatic review settings March 30, 2026 14:47
Copy link
Copy Markdown
Contributor

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

This PR improves the robustness and real-world compatibility of the ci-self remote workflows (notably remote-ci) by adding SSH identity support, better sync defaults, and safer bootstrap/artifact-collection behavior, alongside generalized documentation and a new English README.

Changes:

  • Added -i/--identity support across remote commands, improved remote path handling, and added SSH fallback paths (remote ci-self location + artifact fetch).
  • Hardened remote-ci sync behavior (generated-directory excludes, optional .git/ sync, rsync version fallback, prefer Homebrew rsync on macOS).
  • Updated and generalized documentation examples and added README_EN.md.

Reviewed changes

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

Show a summary per file
File Description
ops/ci/ci_self.sh Adds identity-aware SSH/rsync execution, improves remote-ci sync/bootstrap/fetch behavior, and generalizes examples/config.
ops/ci/ci_self_test.go Expands test coverage for new remote-ci/remote-* behaviors (identity, exclusions, fallbacks, bootstrap skipping).
docs/ci/QUICKSTART.md Generalizes remote-ci guidance and documents identity usage and sync/bootstrap behavior.
README.md Generalizes repository-specific examples and documents updated remote-ci behavior and options.
README_EN.md Adds an English overview and quickstart for local + remote-ci usage and assumptions.

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

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 605e55af8a

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copy link
Copy Markdown
Contributor

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

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


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

mt4110 and others added 2 commits March 31, 2026 01:33
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@mt4110 mt4110 merged commit 07a0bb3 into main Mar 30, 2026
2 checks passed
@mt4110 mt4110 deleted the feat/upgrade_ci_self branch March 30, 2026 16:46
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