From 569b501d7be8193af9ebf3e8513ae9631095023d Mon Sep 17 00:00:00 2001 From: Harvey Tseng Date: Wed, 11 Nov 2026 19:16:33 -0500 Subject: [PATCH 1/7] ci: move the changelog packages into soothfast.toml --- .github/workflows/ci.yml | 22 ---------------------- soothfast.toml | 7 +++++++ 2 files changed, 7 insertions(+), 22 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f0f8dc8..4e1e7cd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,25 +18,3 @@ jobs: - run: cargo fmt --all -- --check - run: cargo clippy --workspace --all-targets -- -D warnings - run: cargo test --workspace - - soothfast: - # the bot's own merge must not regenerate again - if: github.event_name == 'pull_request' || !endsWith(github.actor, '[bot]') - runs-on: ubuntu-latest - environment: soothfast-bot - permissions: - contents: read - pull-requests: write - id-token: write - concurrency: - group: soothfast-${{ github.ref }} - cancel-in-progress: true - steps: - - uses: actions/checkout@v5 - with: - persist-credentials: false - - uses: dtolnay/rust-toolchain@stable - - uses: Swatinem/rust-cache@v2 - - uses: Verdenroz/soothfast@c115134ae4369862836206660610ebf0a1a51eb3 # v0.5.3 - with: - changelog-packages: scry-core scry-server diff --git a/soothfast.toml b/soothfast.toml index bc727eb..1b20540 100644 --- a/soothfast.toml +++ b/soothfast.toml @@ -23,3 +23,10 @@ walltime = "hard" [docs] package = ["scry"] + +# The crates whose API the changelog diffs; neither has a bench target. +[changelog] +packages = ["scry-core", "scry-server"] + +[bot] +labels = true From 6ea9ffbe9c230f4f08bdef6485d02df4acef3718 Mon Sep 17 00:00:00 2001 From: Harvey Tseng Date: Wed, 11 Nov 2026 19:37:27 -0500 Subject: [PATCH 2/7] ci: deploy the docs site from the soothfast workflow --- .github/workflows/docs.yml | 46 -------------------------------------- soothfast.toml | 4 ++++ 2 files changed, 4 insertions(+), 46 deletions(-) delete mode 100644 .github/workflows/docs.yml diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml deleted file mode 100644 index 992050b..0000000 --- a/.github/workflows/docs.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: docs - -on: - push: - branches: [main] - -permissions: - contents: read - -concurrency: - group: pages - cancel-in-progress: true - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v5 - - uses: dtolnay/rust-toolchain@stable - - uses: Swatinem/rust-cache@v2 - # callgrind fallback for PMU-less runners - - run: sudo apt-get update -qq && sudo apt-get install -y -qq valgrind - # install only, pinned to Cargo.lock - - uses: Verdenroz/soothfast@c115134ae4369862836206660610ebf0a1a51eb3 # v0.5.3 - with: - gate: "false" - changelog: "false" - - run: cargo soothfast measure -p scry-core --save-baseline base - - run: cargo soothfast docs check - - run: cargo soothfast docs build --baseline base - - uses: actions/upload-pages-artifact@v3 - with: - path: site - - deploy: - needs: build - runs-on: ubuntu-latest - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - permissions: - pages: write - id-token: write - steps: - - id: deployment - uses: actions/deploy-pages@v4 diff --git a/soothfast.toml b/soothfast.toml index 1b20540..373dd78 100644 --- a/soothfast.toml +++ b/soothfast.toml @@ -30,3 +30,7 @@ packages = ["scry-core", "scry-server"] [bot] labels = true + +# Publishes the docs site from the soothfast workflow on a push to main. +[ci] +pages = true From 178b6d697d14e4ddb027669d4edf90fbe711ef02 Mon Sep 17 00:00:00 2001 From: Harvey Tseng Date: Wed, 11 Nov 2026 19:41:05 -0500 Subject: [PATCH 3/7] ci: pin the soothfast workflow to its new run.yml --- .github/workflows/soothfast.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/soothfast.yml b/.github/workflows/soothfast.yml index 4a2946d..79d87ec 100644 --- a/.github/workflows/soothfast.yml +++ b/.github/workflows/soothfast.yml @@ -5,6 +5,8 @@ on: pull_request: push: branches: [main] + schedule: + - cron: "*/30 * * * *" permissions: contents: read @@ -21,6 +23,8 @@ jobs: contents: read pull-requests: write id-token: write - uses: Verdenroz/soothfast/.github/workflows/run.yml@c115134ae4369862836206660610ebf0a1a51eb3 # v0.5.3 + pages: write + uses: Verdenroz/soothfast/.github/workflows/run.yml@2eef2fce3a9f985c3507a9175ba32943ed806dd1 with: - soothfast_ref: "c115134ae4369862836206660610ebf0a1a51eb3" + soothfast_ref: "2eef2fce3a9f985c3507a9175ba32943ed806dd1" + bot: true From 03211e70c1bf03de3849967b5c49ab342d6d62e9 Mon Sep 17 00:00:00 2001 From: Harvey Tseng Date: Wed, 11 Nov 2026 19:56:17 -0500 Subject: [PATCH 4/7] ci: move the soothfast pin to the pages fix --- .github/workflows/soothfast.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/soothfast.yml b/.github/workflows/soothfast.yml index 79d87ec..c2711db 100644 --- a/.github/workflows/soothfast.yml +++ b/.github/workflows/soothfast.yml @@ -23,8 +23,14 @@ jobs: contents: read pull-requests: write id-token: write - pages: write - uses: Verdenroz/soothfast/.github/workflows/run.yml@2eef2fce3a9f985c3507a9175ba32943ed806dd1 + uses: Verdenroz/soothfast/.github/workflows/run.yml@348d98f61fddaaea7528b9cb011374c081fd1f9c with: - soothfast_ref: "2eef2fce3a9f985c3507a9175ba32943ed806dd1" + soothfast_ref: "348d98f61fddaaea7528b9cb011374c081fd1f9c" bot: true + pages: + needs: soothfast + if: github.event_name == 'push' + permissions: + pages: write + id-token: write + uses: Verdenroz/soothfast/.github/workflows/pages.yml@348d98f61fddaaea7528b9cb011374c081fd1f9c From 88b9d7cd73e0bf035fc2b23fc00b418a80272c9b Mon Sep 17 00:00:00 2001 From: Harvey Tseng Date: Wed, 11 Nov 2026 20:16:57 -0500 Subject: [PATCH 5/7] ci: pin the soothfast workflow to master --- .github/workflows/soothfast.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/soothfast.yml b/.github/workflows/soothfast.yml index c2711db..e24437a 100644 --- a/.github/workflows/soothfast.yml +++ b/.github/workflows/soothfast.yml @@ -23,9 +23,9 @@ jobs: contents: read pull-requests: write id-token: write - uses: Verdenroz/soothfast/.github/workflows/run.yml@348d98f61fddaaea7528b9cb011374c081fd1f9c + uses: Verdenroz/soothfast/.github/workflows/run.yml@7dfdb2b60f403a36a2acace95a4cbe8dbebd8d9e with: - soothfast_ref: "348d98f61fddaaea7528b9cb011374c081fd1f9c" + soothfast_ref: "7dfdb2b60f403a36a2acace95a4cbe8dbebd8d9e" bot: true pages: needs: soothfast @@ -33,4 +33,4 @@ jobs: permissions: pages: write id-token: write - uses: Verdenroz/soothfast/.github/workflows/pages.yml@348d98f61fddaaea7528b9cb011374c081fd1f9c + uses: Verdenroz/soothfast/.github/workflows/pages.yml@7dfdb2b60f403a36a2acace95a4cbe8dbebd8d9e From 829570e20327e7b86369bccf61261c58280023b3 Mon Sep 17 00:00:00 2001 From: Harvey Tseng Date: Thu, 12 Nov 2026 19:34:17 -0500 Subject: [PATCH 6/7] ci: pin the soothfast workflow to master --- .github/workflows/soothfast.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/soothfast.yml b/.github/workflows/soothfast.yml index e24437a..4416d36 100644 --- a/.github/workflows/soothfast.yml +++ b/.github/workflows/soothfast.yml @@ -23,9 +23,9 @@ jobs: contents: read pull-requests: write id-token: write - uses: Verdenroz/soothfast/.github/workflows/run.yml@7dfdb2b60f403a36a2acace95a4cbe8dbebd8d9e + uses: Verdenroz/soothfast/.github/workflows/run.yml@ab20df5b34c740be0350397cbf7867d0031cc619 with: - soothfast_ref: "7dfdb2b60f403a36a2acace95a4cbe8dbebd8d9e" + soothfast_ref: "ab20df5b34c740be0350397cbf7867d0031cc619" bot: true pages: needs: soothfast @@ -33,4 +33,4 @@ jobs: permissions: pages: write id-token: write - uses: Verdenroz/soothfast/.github/workflows/pages.yml@7dfdb2b60f403a36a2acace95a4cbe8dbebd8d9e + uses: Verdenroz/soothfast/.github/workflows/pages.yml@ab20df5b34c740be0350397cbf7867d0031cc619 From 5a9a806a70ef5b3cc2b4bff313c070d74d11b4ec Mon Sep 17 00:00:00 2001 From: Harvey Tseng Date: Thu, 12 Nov 2026 19:45:53 -0500 Subject: [PATCH 7/7] ci: pin soothfast to the signed bot commit fix --- .github/workflows/soothfast.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/soothfast.yml b/.github/workflows/soothfast.yml index 4416d36..6878532 100644 --- a/.github/workflows/soothfast.yml +++ b/.github/workflows/soothfast.yml @@ -23,9 +23,9 @@ jobs: contents: read pull-requests: write id-token: write - uses: Verdenroz/soothfast/.github/workflows/run.yml@ab20df5b34c740be0350397cbf7867d0031cc619 + uses: Verdenroz/soothfast/.github/workflows/run.yml@2ae46646f150426bb2c18a8c27ff8e75c7e452c5 with: - soothfast_ref: "ab20df5b34c740be0350397cbf7867d0031cc619" + soothfast_ref: "2ae46646f150426bb2c18a8c27ff8e75c7e452c5" bot: true pages: needs: soothfast @@ -33,4 +33,4 @@ jobs: permissions: pages: write id-token: write - uses: Verdenroz/soothfast/.github/workflows/pages.yml@ab20df5b34c740be0350397cbf7867d0031cc619 + uses: Verdenroz/soothfast/.github/workflows/pages.yml@2ae46646f150426bb2c18a8c27ff8e75c7e452c5