Skip to content

ci: add PR verification workflow#18

Open
rz1989s wants to merge 1 commit into
masterfrom
chore/add-pr-ci
Open

ci: add PR verification workflow#18
rz1989s wants to merge 1 commit into
masterfrom
chore/add-pr-ci

Conversation

@rz1989s

@rz1989s rz1989s commented Jun 19, 2026

Copy link
Copy Markdown
Member

What

Adds a CI workflow that runs on PRs and pushes to master:

  • cargo check (encrypted-ixs) — compiles the Arcis circuit crate and its arcis / blake3 / arcium-core / solana-zk-sdk dependency tree (rust 1.89.0, pinned by rust-toolchain.toml). ~14s locally.
  • npm ci — verifies the npm lockfile resolves.

Why

Per the org Dependabot audit (sip-protocol/sip-protocol#1186), this repo had no PR CI, so its open Dependabot bumps (anchor-lang, arcium-*, chai, mocha, ts-mocha, typescript, actions, …) were landing unverified.

Honest scope note

The on-chain Anchor program (programs/sip_arcium_transfer) is intentionally not built here. Its #[arcium_program]/#[arcium_callback] macros require the Arcis circuits to be pre-compiled to build/*.arcis by the Arcium toolchain (arcium build + solana + anchor); cargo check --workspace panics without them. Standing that up in CI is tracked with the Anchor 1.0 toolchain reconciliation (sip-protocol/sip-protocol#1161). So this verifies only what compiles/resolves without the toolchain (the circuit crate + npm) — it is not full program-compile coverage, consistent with the audit's "CI-pass ≠ safe for majors" guidance.

Verification

Validated locally (rust 1.89.0): cargo check -p encrypted-ixs → clean (13.7s); npm ci → resolves. The Linux path is exercised by this PR's own CI run.

Refs sip-protocol/sip-protocol#1186

This repo had no PR CI, so Dependabot bumps landed unverified
(sip-protocol/sip-protocol#1186). Add a workflow that runs on PRs and
pushes to main:

- cargo check -p encrypted-ixs — compiles the Arcis circuit crate and
  its arcis/blake3/arcium-core dependency tree (rust 1.89.0).
- npm ci — verifies the npm lockfile resolves.

The on-chain Anchor program build is intentionally out of scope: its
Arcium macros need build/*.arcis from the Arcium toolchain, tracked with
the Anchor 1.0 toolchain work (sip-protocol/sip-protocol#1161).

Refs sip-protocol/sip-protocol#1186
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