feat(planner): seek a trailing rowid range after an index equality pr… #1789
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| fmt: | |
| name: Rustfmt | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt | |
| - name: cargo fmt --all --check | |
| run: cargo fmt --all --check | |
| clippy: | |
| name: Clippy (warnings denied) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: clippy | |
| - name: Cache | |
| uses: Swatinem/rust-cache@v2 | |
| with: | |
| key: clippy | |
| - name: cargo clippy --all-targets --all-features -- -D warnings | |
| run: cargo clippy --all-targets --all-features -- -D warnings | |
| docs: | |
| name: Docs build (warnings denied) | |
| runs-on: ubuntu-latest | |
| env: | |
| RUSTDOCFLAGS: -D warnings -D rustdoc::broken-intra-doc-links | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Cache | |
| uses: Swatinem/rust-cache@v2 | |
| with: | |
| key: docs | |
| - name: cargo doc --no-deps --all-features | |
| run: cargo doc --no-deps --all-features | |
| test: | |
| name: Test suite | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Cache | |
| uses: Swatinem/rust-cache@v2 | |
| with: | |
| key: test | |
| # The differential / cross-engine tests use the sqlite3 CLI as the oracle. | |
| # The distro's apt sqlite3 is too old for some features graphitesql tracks | |
| # (ISO-week strftime %G/%V/%u, `_` numeric separators, %f rounding), which | |
| # would make correct graphitesql output look "divergent". Pin a known | |
| # recent sqlite3 — the version local development validates against — so the | |
| # oracle matches graphitesql's target behavior. | |
| - name: Install sqlite3 (pinned) | |
| run: | | |
| set -euo pipefail | |
| ver=3500400 # 3.50.4 | |
| mkdir -p "$HOME/.local/bin" | |
| curl -fsSL "https://www.sqlite.org/2025/sqlite-tools-linux-x64-${ver}.zip" -o /tmp/sqlite-tools.zip | |
| unzip -o -j /tmp/sqlite-tools.zip sqlite3 -d "$HOME/.local/bin" | |
| chmod +x "$HOME/.local/bin/sqlite3" | |
| echo "$HOME/.local/bin" >> "$GITHUB_PATH" | |
| - name: Show sqlite3 version | |
| run: sqlite3 --version | |
| - name: cargo test --all-features | |
| run: cargo test --all-features | |
| no_std: | |
| name: no_std build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Cache | |
| uses: Swatinem/rust-cache@v2 | |
| with: | |
| key: no_std | |
| - name: cargo build --no-default-features | |
| run: cargo build --no-default-features | |
| msrv: | |
| name: MSRV (1.88) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install Rust 1.88 | |
| uses: dtolnay/rust-toolchain@1.88 | |
| - name: Cache | |
| uses: Swatinem/rust-cache@v2 | |
| with: | |
| key: msrv | |
| - name: cargo build (default + no_std) on MSRV | |
| run: | | |
| cargo build --all-features | |
| cargo build --no-default-features |