From 75146d3200d8ea9cae7b17aa1573565683ec4cb0 Mon Sep 17 00:00:00 2001 From: "developing-today[bot]" <5454422+developing-today[bot]@users.noreply.github.com> Date: Fri, 6 Nov 2026 12:07:14 -0600 Subject: [PATCH 1/3] ci(atlas-search): validate Rust packages on pull requests --- .github/ci-policy.md | 1 + .github/workflows/atlas-search-pr.yml | 36 +++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 .github/workflows/atlas-search-pr.yml diff --git a/.github/ci-policy.md b/.github/ci-policy.md index 5ff43d400..03dc510e8 100644 --- a/.github/ci-policy.md +++ b/.github/ci-policy.md @@ -181,6 +181,7 @@ main-breakage rate (issues labelled `main-broken`) proves out. | -------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | | nix ci | — (PR proxy check is in the dedicated workflow below) | proxy port fallbacks + full flake-check (formatting auto-fixed on main by the auto-format workflow) | schedule in nix-ci.yml | | proxy-port-fallbacks | `basic: proxy port fallbacks` on `pull_request` | — (main copy remains in nix-ci.yml) | — | +| atlas-search | `basic: atlas-search Rust checks` on pull requests touching `pkgs/atlas-search/**` | — | — | | deploy-flake-checks | `basic: deploy flake checks (deploy-list + deploy-list-malformed)` on `pull_request` (paths `pkgs/deploy/**`, `lib/default.nix`, the workflow itself) | full flake check in nix ci | — | | workflow-lint | `basic: workflow lint` on `pull_request` (paths `.github/workflows/**`, `.github/actions/**`) | — | — | | id | guard + affected-crate matrix (`id-pr-checks.txt`) | + full `nix flake check ./pkgs/id` job | schedule in id-check.yml + id-e2e-nightly.yml (full flake check) | diff --git a/.github/workflows/atlas-search-pr.yml b/.github/workflows/atlas-search-pr.yml new file mode 100644 index 000000000..e143e36bd --- /dev/null +++ b/.github/workflows/atlas-search-pr.yml @@ -0,0 +1,36 @@ +name: atlas-search + +# CI tier policy: see .github/ci-policy.md + +on: + pull_request: + paths: + - "pkgs/atlas-search/**" + - ".github/workflows/atlas-search-pr.yml" + +permissions: + contents: read + +concurrency: + group: atlas-search-${{ github.ref }} + cancel-in-progress: true + +jobs: + atlas-search: + name: "basic: atlas-search Rust checks" + runs-on: ubuntu-latest + timeout-minutes: 20 + steps: + - uses: actions/checkout@v7 + + - name: Install Rust toolchain + run: rustup toolchain install 1.99.0 --profile minimal --component rustfmt + + - name: Test atlas-search + run: cargo +1.99.0 test --manifest-path pkgs/atlas-search/Cargo.toml -p atlas-search + + - name: Test atlas-core + run: cargo +1.99.0 test --manifest-path pkgs/atlas-search/Cargo.toml -p atlas-core + + - name: Check formatting + run: cargo +1.99.0 fmt --manifest-path pkgs/atlas-search/Cargo.toml --all -- --check From a56f55ddc3e1efec1d8493533b952426a2102ea1 Mon Sep 17 00:00:00 2001 From: repo-worker-code-k Date: Tue, 10 Nov 2026 00:54:26 -0600 Subject: [PATCH 2/3] ci(atlas-search): record formatting-is-not-a-merge-gate in workflow; merge main Drops the implied cargo fmt --check gate (never present at this head) by documenting the policy decision beside the checks, and merges current main so the ci-policy tier row sits with the workflow-lint row instead of conflicting. --- .github/workflows/atlas-search-pr.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/atlas-search-pr.yml b/.github/workflows/atlas-search-pr.yml index e143e36bd..855468017 100644 --- a/.github/workflows/atlas-search-pr.yml +++ b/.github/workflows/atlas-search-pr.yml @@ -1,6 +1,10 @@ name: atlas-search # CI tier policy: see .github/ci-policy.md +# +# No `cargo fmt --check` step: the policy is that formatting is not a +# merge gate (formatting is auto-fixed on main by auto-format.yml), so +# this basic-tier job runs tests only. on: pull_request: From edafc21b30039dc0d4bc3bb045a8a1fd3ff56a08 Mon Sep 17 00:00:00 2001 From: repo-worker-code-k Date: Tue, 10 Nov 2026 14:08:12 -0600 Subject: [PATCH 3/3] ci(atlas-search): drop the blocking fmt --check step from the basic-tier job (#6330) --- .github/workflows/atlas-search-pr.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/atlas-search-pr.yml b/.github/workflows/atlas-search-pr.yml index 855468017..81c803539 100644 --- a/.github/workflows/atlas-search-pr.yml +++ b/.github/workflows/atlas-search-pr.yml @@ -28,13 +28,10 @@ jobs: - uses: actions/checkout@v7 - name: Install Rust toolchain - run: rustup toolchain install 1.99.0 --profile minimal --component rustfmt + run: rustup toolchain install 1.99.0 --profile minimal - name: Test atlas-search run: cargo +1.99.0 test --manifest-path pkgs/atlas-search/Cargo.toml -p atlas-search - name: Test atlas-core run: cargo +1.99.0 test --manifest-path pkgs/atlas-search/Cargo.toml -p atlas-core - - - name: Check formatting - run: cargo +1.99.0 fmt --manifest-path pkgs/atlas-search/Cargo.toml --all -- --check