Skip to content

Fix release automation and packaging gating for oc-rsync - #2128

Merged
oferchen merged 1 commit into
masterfrom
fix-ci-and-cross-compile-issues
Nov 13, 2025
Merged

oferchen merged 1 commit into
masterfrom
fix-ci-and-cross-compile-issues

Conversation

@oferchen

@oferchen oferchen commented Nov 13, 2025 •

Copy link
Copy Markdown
Owner

Summary

  • ensure the build/tarball scripts and Homebrew formula treat oc-rsync as the sole shipped binary
  • restrict Linux packaging and release jobs to tag pushes with successful builds
  • short-circuit the metadata ACL build script on non-Unix targets so Windows builds skip libacl probing

Testing

  • cargo check

[Codex Task](

@oferchen
oferchen merged commit 7b9617d into master Nov 13, 2025
@oferchen
oferchen deleted the fix-ci-and-cross-compile-issues branch November 13, 2025 09:34
exit 1
- name: Capture release tag
id: release
run: echo "tag=${{ github.event.workflow_run.head_branch }}" >> "$GITHUB_OUTPUT"

Check failure

Code scanning / CodeQL

Code injection

Potential code injection in [${{ github.event.workflow_run.head_branch }}](1), which may be controlled by an external user ([workflow_run](2)).

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

Copy link
Copy Markdown

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.

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

Comment on lines +14 to +17
if: |
github.event.workflow_run.conclusion == 'success' &&
github.event.workflow_run.event == 'push' &&
startsWith(github.event.workflow_run.head_branch, 'v')

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Release gating uses missing head_branch

The job-level condition now requires startsWith(github.event.workflow_run.head_branch, 'v'), but for workflow_run events that come from tag pushes (the only case that triggers Build-cross in the first place) GitHub does not populate head_branch—it is null/empty because there is no branch associated with a tag. That makes this if expression permanently false, so the upload job never runs and no release is ever published. Even if the condition were to pass, Capture release tag would still emit an empty tag name, so action-gh-release would fail to find a tag to publish. Net effect: every tagged build loses its release artifacts until this condition is removed or replaced with a field that actually contains the tag name (e.g., github.event.workflow_run.head_sha + API lookup or github.event.workflow_run.head_repository.full_name).

Useful? React with 👍 / 👎.

oferchen added a commit that referenced this pull request May 7, 2026
…3916)

Concise audit of upstream rsync 3.4.1 dir-merge inheritance semantics
against oc-rsync's FilterChain and engine implementations. Notes the
no-inherit enforcement gap, deep-nesting coverage gap, modifier
parity, case sensitivity, exclude-self ordering, and a deep-tree
test plan that diffs upstream vs oc-rsync transferred sets.
oferchen added a commit that referenced this pull request May 18, 2026
…3916)

Concise audit of upstream rsync 3.4.1 dir-merge inheritance semantics
against oc-rsync's FilterChain and engine implementations. Notes the
no-inherit enforcement gap, deep-nesting coverage gap, modifier
parity, case sensitivity, exclude-self ordering, and a deep-tree
test plan that diffs upstream vs oc-rsync transferred sets.
oferchen added a commit that referenced this pull request Aug 24, 2026
…3916)

Concise audit of upstream rsync 3.4.1 dir-merge inheritance semantics
against oc-rsync's FilterChain and engine implementations. Notes the
no-inherit enforcement gap, deep-nesting coverage gap, modifier
parity, case sensitivity, exclude-self ordering, and a deep-tree
test plan that diffs upstream vs oc-rsync transferred sets.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants