diff --git a/.github/workflows/atlas-search-pr.yml b/.github/workflows/atlas-search-pr.yml index 75a69803cc..4e3e5fc7a4 100644 --- a/.github/workflows/atlas-search-pr.yml +++ b/.github/workflows/atlas-search-pr.yml @@ -32,19 +32,19 @@ jobs: - uses: actions/checkout@v7 - name: Install Rust toolchain - run: rustup toolchain install 1.99.0 --profile minimal + run: rustup toolchain install 1.99.1 --profile minimal - name: Test atlas-search - run: cargo +1.99.0 test --manifest-path pkgs/atlas-search/Cargo.toml -p atlas-search --all-targets + run: cargo +1.99.1 test --manifest-path pkgs/atlas-search/Cargo.toml -p atlas-search --all-targets - name: Test atlas-core - run: cargo +1.99.0 test --manifest-path pkgs/atlas-search/Cargo.toml -p atlas-core --all-targets + run: cargo +1.99.1 test --manifest-path pkgs/atlas-search/Cargo.toml -p atlas-core --all-targets - name: Test atlas-proto - run: cargo +1.99.0 test --manifest-path pkgs/atlas-search/Cargo.toml -p atlas-proto --all-targets + run: cargo +1.99.1 test --manifest-path pkgs/atlas-search/Cargo.toml -p atlas-proto --all-targets # gate_a's model test stays #[ignore]d here: it requires # ATLAS_ORT_LIB and the pinned model snapshot (see the test's # file docs) — the venue runs the crate's remaining targets. - name: Test atlas-embed - run: cargo +1.99.0 test --manifest-path pkgs/atlas-search/Cargo.toml -p atlas-embed --all-targets + run: cargo +1.99.1 test --manifest-path pkgs/atlas-search/Cargo.toml -p atlas-embed --all-targets diff --git a/pkgs/atlas-search/book/development/building.md b/pkgs/atlas-search/book/development/building.md index 3e3853d268..da2e22386d 100644 --- a/pkgs/atlas-search/book/development/building.md +++ b/pkgs/atlas-search/book/development/building.md @@ -76,23 +76,18 @@ cargo test -p atlas-core cargo test -p atlas-search ``` -Per-crate runs mirror what CI does (below). Two facts about the toolchain -pin, stated exactly as the sources give them, because they do not quite -agree: - -- CI installs **1.99.0** (`rustup toolchain install 1.99.0 --profile minimal`) - and the `flake.nix` comment describes the pin as "the pinned toolchain - (`rust-toolchain.toml`, channel 1.99.0) — the same rustup toolchain the - step 1–4 gates ran under on the laptop". -- The `rust-toolchain.toml` file itself, as checked on the laptop for this - book, reads `channel = "1.99.1"` (with `rustfmt` and `clippy` - components, profile `default`). The file also carries the warning that - changing the channel may cause rustc itself to build, so a channel bump - is committed only once nixpkgs has the new compiler cached. - -Per this book's rule — where sources disagree, state the source behaviour -and say so — the file wins for what a Nix or rustup build actually uses, -and the CI/comment figure is recorded here as the discrepancy it is. +Per-crate runs mirror what CI does (below). The toolchain pin agrees +across its sources: CI installs **1.99.1** (`rustup toolchain install +1.99.1 --profile minimal`), the `flake.nix` comment describes the pin as +"the pinned toolchain (`rust-toolchain.toml`, channel 1.99.1) — the same +rustup toolchain the step 1–4 gates ran under on the laptop", and the +`rust-toolchain.toml` file itself reads `channel = "1.99.1"` (with +`rustfmt` and `clippy` components, profile `default`). The file also +carries the warning that changing the channel may cause rustc itself to +build, so a channel bump is committed only once nixpkgs has the new +compiler cached. (CI and the comment briefly said 1.99.0 while the file +said 1.99.1; #13286 aligned them on the file's value, since the file is +what Nix and rustup builds actually use.) Separately, the workspace manifest's `rust-version = 1.96` is a *minimum* (the oldest compiler the code claims to support), not the pin. @@ -117,11 +112,11 @@ presentation somewhere, and the `on:` block is the truth in each case. exists in the file; the header cites the 2026-11-16 nightly-main-CI policy, and the name is the stale part. - One job ("basic: atlas-search Rust checks"), `ubuntu-latest`, 30-minute - timeout, `contents: read`: checkout, install the 1.99.0 toolchain, then + timeout, `contents: read`: checkout, install the 1.99.1 toolchain, then four test steps — one per crate, each of the shape: ```sh - cargo +1.99.0 test --manifest-path pkgs/atlas-search/Cargo.toml --all-targets -p atlas-core + cargo +1.99.1 test --manifest-path pkgs/atlas-search/Cargo.toml --all-targets -p atlas-core ``` for `-p atlas-search`, `-p atlas-core`, `-p atlas-proto`, `-p atlas-embed`. diff --git a/pkgs/atlas-search/book/getting-started/installation.md b/pkgs/atlas-search/book/getting-started/installation.md index 7577e0132a..150b70a03a 100644 --- a/pkgs/atlas-search/book/getting-started/installation.md +++ b/pkgs/atlas-search/book/getting-started/installation.md @@ -17,8 +17,7 @@ Source: https://github.com/developing-today/code/blob/main/pkgs/atlas-search/def Atlas lives in the repository at `pkgs/atlas-search/`, a self-contained package with its own Cargo workspace, its own `flake.nix`, and a `rust-toolchain.toml` pinning the Rust toolchain (the file itself reads -channel 1.99.1; the `flake.nix` comment and CI still say 1.99.0 — the file -wins for what a build actually uses, and the disagreement is recorded in +channel 1.99.1; the `flake.nix` comment and CI agree — see [Building and testing](../development/building.md)). **Route 1 — the package's own sub-flake.** From the repository root: diff --git a/pkgs/atlas-search/flake.nix b/pkgs/atlas-search/flake.nix index 45ec10884c..11c59138c1 100644 --- a/pkgs/atlas-search/flake.nix +++ b/pkgs/atlas-search/flake.nix @@ -41,7 +41,7 @@ overlays = [ (import rust-overlay) ]; }; # The pinned toolchain (rust-toolchain.toml, channel - # 1.99.0) — the same rustup toolchain the step 1-4 gates + # 1.99.1) — the same rustup toolchain the step 1-4 gates # ran under on the laptop, so the packaged build compiles # with the compiler the parity evidence belongs to. rustToolchain = pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;