Skip to content

CI: package USD-M reference collector release - #257

Merged
proerror77 merged 1 commit into
mainfrom
codex/cex-usdm-reference-release-222
Jul 23, 2026
Merged

proerror77 merged 1 commit into
mainfrom
codex/cex-usdm-reference-release-222

Conversation

@proerror77

Copy link
Copy Markdown
Owner

Change contract

Publish binance-usdm-reference-collector as an executable Linux image/bare-metal artifact with candidate SHA-256 and source-bound release metadata.

Part of #222. This PR does not close the issue.

Out of scope

Dependency or merge order

Depends on merged PR #255. Merge before the shadow service/gate control bundle.

Focused validation

  • TDD red: release contract failed because the image did not build/copy the binary
  • bash deployment/aliyun/test-binance-usdm-reference-release-contract.sh
  • bash -n deployment/aliyun/test-binance-usdm-reference-release-contract.sh
  • cargo check --manifest-path rust_hft/Cargo.toml -p hft-collector --bin binance-usdm-reference-collector
  • git diff --check
  • independent Spec and Standards reviews: no blockers

Rollout / rollback impact

Rollout: CI artifacts gain one checksummed binary and release JSON; no host is changed. Rollback: revert this PR without affecting the running collectors or merged runtime code.

@coderabbitai

coderabbitai Bot commented Jul 23, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@proerror77, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 26 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: eb06b5fe-d0e6-4e9f-9db2-431e6973d07f

📥 Commits

Reviewing files that changed from the base of the PR and between 2a18532 and a8e5234.

📒 Files selected for processing (3)
  • .github/workflows/acr-publish.yml
  • deployment/aliyun/test-binance-usdm-reference-release-contract.sh
  • rust_hft/deployment/docker/Dockerfile.binance-lob-archiver
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/cex-usdm-reference-release-222

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@proerror77
proerror77 merged commit 09faeec into main Jul 23, 2026
21 of 22 checks passed

@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.

Reviewed commit: a8e5234d22

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

docker cp "$container_id:/usr/local/bin/binance-usdm-reference-collector" artifact/binance-usdm-reference-collector
chmod 0755 artifact/binance-lob-archiver
chmod 0755 artifact/polymarket-raw-ops
chmod 0755 artifact/binance-usdm-reference-collector

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Preserve the collector's executable bit in the artifact

When this bundle is downloaded through actions/upload-artifact@v4, the new collector is restored with mode 0644 because the action does not retain POSIX file permissions, so this chmod does not actually deliver the executable bare-metal artifact promised by the change contract. The action's permission-loss documentation recommends archiving executable files before upload; package the binary in a tar archive or ensure the verified installation path explicitly restores mode 0755.

Useful? React with 👍 / 👎.

@proerror77
proerror77 deleted the codex/cex-usdm-reference-release-222 branch July 24, 2026 08:44
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.

1 participant