Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
73de01f
fix: support --serve-info nodes by falling back to periodic ABCI stat…
yangwao Mar 8, 2026
d6cebff
fix: panic in orderbook listener
jonathanudd Dec 5, 2025
0dc7f77
docs: add initial AGENTS.md
jkbrsn Jan 19, 2026
4e35b63
test: make tests use tempfile
jkbrsn Jan 19, 2026
8c54455
docs: architecture overview + test section in readme
jkbrsn Jan 19, 2026
ea8ce1f
docs: add initial CLAUDE.md
jkbrsn Jan 19, 2026
2c69894
docs: merge all AGENT files into AGENTS.md
jkbrsn Jan 19, 2026
4ff9bf5
docs: add guide for the new people
jkbrsn Jan 19, 2026
11b62b2
feat(add): CLI arg inactivity_exit_secs for tuning how long the serv…
jonathanudd Sep 25, 2025
ed423be
docs: add date comment to NEW.md
jkbrsn Jan 19, 2026
a23faeb
ci: add CI tests workflow
jkbrsn Jan 19, 2026
ac70bd7
ci: add CI sanitizers workflow
jkbrsn Jan 19, 2026
630934e
ci: make CI tests workflow use nightly toolchain
jkbrsn Jan 19, 2026
b0c732b
ci: move flaky tests to nightly
jkbrsn Jan 19, 2026
a19067b
style: cargo fmt
jkbrsn Jan 19, 2026
900ae29
fix(linter): various
jkbrsn Jan 20, 2026
4273ab3
ci: update test calls
jkbrsn Jan 20, 2026
744e143
docs: AGENTS.md + NEW.md updates
jkbrsn Jan 20, 2026
0c2078b
style: cargo fmt
jkbrsn Jan 20, 2026
da84284
ci: add git hook pre-commit
jkbrsn Jan 20, 2026
4829c75
docs: README.md and NEW.md updates
jkbrsn Jan 20, 2026
324d619
ci: fix sanitizer test calls
jkbrsn Jan 20, 2026
d470a49
test: fix TSan error
jkbrsn Jan 20, 2026
e33e41e
chore: convenience tool justfile added
jkbrsn Jan 20, 2026
c7d82ec
test: fix sanitizer errors
jkbrsn Jan 20, 2026
16015be
feat: add support for spot markets via --include-spot-unsafe
yangwao Mar 8, 2026
e024f3b
fix: use shared volume path for fileSnapshot API output
yangwao Mar 8, 2026
bf6b62a
fix: correct API port, add timeout, and prevent concurrent snapshot f…
yangwao Mar 17, 2026
00026cf
fix: correct API port to 3001 (info API), not 4001 (gossip)
yangwao Mar 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .githooks/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh

echo "> Running pre-commit hook (fmt, lint)"

cargo fmt --all -- --check
cargo clippy --workspace --all-targets --all-features -- -D warnings

echo "> pre-commit hook done"
exit 0
76 changes: 76 additions & 0 deletions .github/workflows/ci-nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: CI Nightly

on:
workflow_dispatch:
schedule:
- cron: "0 3 * * 1"
push:
branches:
- main

env:
RUST_TOOLCHAIN: nightly

jobs:
sanitizer-asan:
name: Sanitizer (ASan)
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@nightly
with:
components: rust-src
- name: AddressSanitizer
run: |
ASAN_OPTIONS=detect_leaks=0 \
RUSTFLAGS="-Z sanitizer=address" \
cargo +${{ env.RUST_TOOLCHAIN }} test --workspace --all-features -Z build-std --target x86_64-unknown-linux-gnu

sanitizer-tsan:
name: Sanitizer (TSan)
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@nightly
with:
components: rust-src
- name: ThreadSanitizer
run: |
RUSTFLAGS="-Z sanitizer=thread" \
RUSTDOCFLAGS="-Z sanitizer=thread" \
cargo +${{ env.RUST_TOOLCHAIN }} test --workspace --all-features -Z build-std --target x86_64-unknown-linux-gnu

unit-tests-flaky:
name: Unit tests (flaky)
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@nightly
- run: |
for i in {1..16}; do
cargo test --workspace --all-features -- -Z unstable-options --shuffle
done

summary:
name: Sanitizer Summary
runs-on: ubuntu-24.04
needs: [sanitizer-asan, sanitizer-tsan, unit-tests-flaky]
if: always()
steps:
- name: Write CI summary
run: |
{
echo "## Sanitizer Summary"
echo ""
echo "- **ASan:** ${{ needs.sanitizer-asan.result }}"
echo "- **TSan:** ${{ needs.sanitizer-tsan.result }}"
echo "- **Unit (flaky):** ${{ needs.unit-tests-flaky.result }}"
echo ""
echo "### Commit"
echo "[${{ github.sha }}](${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }})"
echo ""
echo "Triggered by: @${{ github.actor }}"
echo "Event: \`${{ github.event_name }}\`"
echo ""
echo "[View workflow run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})"
} >> "$GITHUB_STEP_SUMMARY"
55 changes: 55 additions & 0 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: CI Tests

on:
pull_request:
branches:
- '**'
push:
branches:
- main

jobs:
clippy:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@nightly
with:
components: clippy, rustfmt

- name: fmt
run: cargo fmt --all -- --check

- name: clippy
run: cargo clippy --workspace --all-targets --all-features -- -D warnings

unit-tests:
name: Unit tests
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@nightly
- run: cargo test --workspace --all-features -- -Z unstable-options --shuffle

summary:
name: CI Summary
runs-on: ubuntu-24.04
needs: [clippy, unit-tests]
if: always() # Always run, even if earlier jobs fail
steps:
- name: Write CI summary
run: |
{
echo "## CI Test Summary"
echo ""
echo "- **Clippy + fmt:** ${{ needs.clippy.result }}"
echo "- **Unit:** ${{ needs.unit-tests.result }}"
echo ""
echo "### Commit"
echo "[${{ github.sha }}](${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }})"
echo ""
echo "Triggered by: @${{ github.actor }}"
echo "Event: \`${{ github.event_name }}\`"
echo ""
echo "[View workflow run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})"
} >> "$GITHUB_STEP_SUMMARY"
Loading