Skip to content

Add CI and benchmarks#110

Merged
alnoki merged 11 commits into
mainfrom
ci-setup
May 15, 2026
Merged

Add CI and benchmarks#110
alnoki merged 11 commits into
mainfrom
ci-setup

Conversation

@ethanterrero
Copy link
Copy Markdown
Contributor

@ethanterrero ethanterrero commented May 6, 2026

  • Adds a new CI workflow with lint, typecheck, check, and test coverage across TypeScript and Rust.

  • Adds a dedicated Benchmarks workflow that sets up Solana tooling and runs all pnpm bench:* suites.

  • Catch regressions earlier with consistent automated checks.

  • Keep benchmark visibility in CI for performance-sensitive changes.

@ethanterrero ethanterrero requested a review from val-levy May 6, 2026 21:12
Comment thread .github/workflows/ci.yml Outdated
Comment thread .github/workflows/ci.yml Outdated
Ethan Terrero added 6 commits May 12, 2026 18:21
- Move from a single ci.yml to per-job workflows so failures don't
  block unrelated checks.
- test.yml: set NEXT_PUBLIC_CLUSTER for the frontend build, and
  exclude client + dropset-taker-bot from cargo test (mollusk-based
  tests rely on the bench workflow's Solana toolchain).
- lint.yml: pin nightly-2026-04-15 on both the toolchain install
  and the cargo invocations so rustfmt resolves correctly.
cu-bench-pack-orders fails to compile under bench-program-B because
`BorshBatchReplaceData::try_from_slice` needs `BorshDeserialize` in
scope. Add the import gated on the borsh-derive feature.
cu-bench-tests enables `borsh-derive` on cu-bench-pack-orders without
`bench-program-B`. Under that combination the import was active but
the call site (gated on bench-program-B) was not, tripping clippy's
unused-imports lint under `-D warnings`. Matching the import's cfg to
the call site fixes it.
cargo fmt --check flagged formatting drift introduced by PR #106 once
its changes landed in the PR's merge ref. Reformat the assert and
remove an extra blank line so fmt --check is clean against main.
`instruction-macros-test-fixtures` uses macrotest, which shells out
to `cargo expand`. Use taiki-e/install-action to install a binary
release rather than building from source.
@alnoki alnoki merged commit ce8072a into main May 15, 2026
7 checks passed
@alnoki alnoki deleted the ci-setup branch May 15, 2026 01:36
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