Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
feat(ci): faster build and deploy: blacksmith runners, hakari, sticky disks, crane lambdas (#3948)
teoaf21c290e89a
diff --git a/.github/actions/deploy-cloud-storage-pulumi/action.yml b/.github/actions/deploy-cloud-storage-pulumi/action.ymlindex 711e02cf41..8c261793b0 100644--- a/.github/actions/deploy-cloud-storage-pulumi/action.yml+++ b/.github/actions/deploy-cloud-storage-pulumi/action.yml@@ -6,6 +6,13 @@ inputs:description: 'Whether to setup docker'required: falsedefault: 'true'+ use-blacksmith-builder:+ description: >-+ Use a Blacksmith buildkit builder whose layer cache lives on a per-Dockerfile+ sticky disk (persists the heavy base layers across runs). Only valid on+ Blacksmith runners; defaults to the stock docker/setup-buildx-action.+ required: false+ default: 'false'use-lfs:description: 'Whether to checkout LFS content'required: false@@ -48,6 +55,14 @@ inputs:description: 'Optional GitHub artifact containing built Lambda artifacts under target/lambda'required: falsedefault: ''+ prebuilt-binaries-tar:+ description: 'Optional path to a prebuilt-binaries.tar.gz already present on disk (e.g. a Blacksmith sticky-disk handoff). When set, takes precedence over prebuilt-binaries-artifact and skips the GitHub artifact download.'+ required: false+ default: ''+ lambda-artifacts-tar:+ description: 'Optional path to a lambda-artifacts.tar.gz already present on disk (e.g. a Blacksmith sticky-disk handoff). When set, takes precedence over lambda-artifacts and skips the GitHub artifact download.'+ required: false+ default: ''cloud-storage-service-name:description: 'Optional service key from .github/services-config.json; builds Lambda artifacts inline when lambda-artifacts is not provided'required: false@@ -77,12 +92,16 @@ runs:path: rust/cloud-storage/prebuilt-artifact- name: Extract prebuilt service binaries- if: ${{ inputs.prebuilt-binaries-artifact != '' }}+ if: ${{ inputs.prebuilt-binaries-artifact != '' || inputs.prebuilt-binaries-tar != '' }}shell: bash+ env:+ TAR_PATH: ${{ inputs.prebuilt-binaries-tar }}run: |set -euo pipefailmkdir -p rust/cloud-storage/prebuilt- tar -xzf rust/cloud-storage/prebuilt-artifact/prebuilt-binaries.tar.gz -C rust/cloud-storage/prebuilt+ # Prefer an on-disk tar (sticky-disk handoff); fall back to the downloaded artifact.+ src="${TAR_PATH:-rust/cloud-storage/prebuilt-artifact/prebuilt-binaries.tar.gz}"+ tar -xzf "$src" -C rust/cloud-storage/prebuilt- name: Download Lambda artifactsif: ${{ inputs.lambda-artifacts != '' }}@@ -92,14 +111,18 @@ runs:path: rust/cloud-storage/lambda-artifact- name: Extract Lambda artifacts- if: ${{ inputs.lambda-artifacts != '' }}+ if: ${{ inputs.lambda-artifacts != '' || inputs.lambda-artifacts-tar != '' }}shell: bash+ env:+ TAR_PATH: ${{ inputs.lambda-artifacts-tar }}run: |set -euo pipefail- tar -xzf rust/cloud-storage/lambda-artifact/lambda-artifacts.tar.gz -C rust/cloud-storage+ # Prefer an on-disk tar (sticky-disk handoff); fall back to the downloaded artifact.+ src="${TAR_PATH:-rust/cloud-storage/lambda-artifact/lambda-artifacts.tar.gz}"+ tar -xzf "$src" -C rust/cloud-storage- name: Check Lambda config for inline build- if: ${{ inputs.lambda-artifacts == '' && inputs.cloud-storage-service-name != '' }}+ if: ${{ inputs.lambda-artifacts == '' && inputs.lambda-artifacts-tar == '' && inputs.cloud-storage-service-name != '' }}id: check-lambdasshell: bashenv:@@ -109,14 +132,14 @@ runs:echo "has_lambdas=$has_lambdas" >> "$GITHUB_OUTPUT"- name: Configure Cachix- if: ${{ inputs.lambda-artifacts == '' && inputs.cloud-storage-service-name != '' && steps.check-lambdas.outputs.has_lambdas == 'true' }}+ if: ${{ inputs.lambda-artifacts == '' && inputs.lambda-artifacts-tar == '' && inputs.cloud-storage-service-name != '' && steps.check-lambdas.outputs.has_lambdas == 'true' }}uses: ./.github/actions/setup-cachixwith:cachix-auth-token: ${{ inputs.cachix-auth-token }}sccache-bucket: ${{ inputs.sccache-bucket }}- name: Build Lambda artifacts inline- if: ${{ inputs.lambda-artifacts == '' && inputs.cloud-storage-service-name != '' && steps.check-lambdas.outputs.has_lambdas == 'true' }}+ if: ${{ inputs.lambda-artifacts == '' && inputs.lambda-artifacts-tar == '' && inputs.cloud-storage-service-name != '' && steps.check-lambdas.outputs.has_lambdas == 'true' }}shell: bashenv:SERVICE: ${{ inputs.cloud-storage-service-name }}@@ -124,9 +147,17 @@ runs:AWS_SECRET_ACCESS_KEY: ${{ inputs.aws-secret-key }}run: .github/scripts/build-cloud-storage-lambdas.sh- # setup docker+ # setup docker -- a Blacksmith builder keeps the buildkit layer cache on a+ # per-Dockerfile sticky disk (so heavy bases like LibreOffice/Collabora stay+ # warm across runs instead of re-pulling ~hundreds of MB from ECR each time);+ # otherwise the stock buildx builder. Pulumi's docker-build provider uses+ # whichever is set as the default builder.+ - name: Set up Blacksmith Docker builder+ if: ${{ inputs.use-docker == 'true' && inputs.use-blacksmith-builder == 'true' }}+ uses: useblacksmith/setup-docker-builder@v1+- uses: docker/setup-buildx-action@v3- if: ${{ inputs.use-docker == 'true' }}+ if: ${{ inputs.use-docker == 'true' && inputs.use-blacksmith-builder != 'true' }}# install bun- uses: oven-sh/setup-bun@v2@@ -165,4 +196,4 @@ runs:DD_APP_KEY: ${{ inputs.dd-app-key }}DD_API_KEY: ${{ inputs.dd-api-key }}DD_HOST: ${{ inputs.dd-host }}- USE_PREBUILT_SERVICE_BINARIES: ${{ inputs.prebuilt-binaries-artifact != '' && 'true' || 'false' }}+ USE_PREBUILT_SERVICE_BINARIES: ${{ (inputs.prebuilt-binaries-artifact != '' || inputs.prebuilt-binaries-tar != '') && 'true' || 'false' }}diff --git a/.github/actions/setup-cachix/action.yml b/.github/actions/setup-cachix/action.ymlindex e45ed3627e..eb8361f465 100644--- a/.github/actions/setup-cachix/action.yml+++ b/.github/actions/setup-cachix/action.yml@@ -61,8 +61,16 @@ runs:}if ! command -v cachix >/dev/null 2>&1; then- if ! retry 3 nix profile add nixpkgs#cachix; then- echo "::warning::Failed to install Cachix; continuing without the Cachix binary cache."+ # Install cachix from the repo flake's pinned nixpkgs (already on the+ # /nix sticky disk) via --inputs-from, instead of the default registry+ # `nixpkgs`, which Determinate resolves to an unpinned nixpkgs-weekly+ # and re-fetches/re-evaluates (~20s) on every run.+ flake_dir="${GITHUB_WORKSPACE:-$PWD}"+ if ! retry 3 nix profile add --inputs-from "$flake_dir" nixpkgs#cachix; then+ echo "::warning::Failed to install Cachix from the pinned flake; falling back to registry nixpkgs."+ if ! retry 3 nix profile add nixpkgs#cachix; then+ echo "::warning::Failed to install Cachix; continuing without the Cachix binary cache."+ fififidiff --git a/.github/actions/setup-nix/action.yml b/.github/actions/setup-nix/action.ymlnew file mode 100644index 0000000000..fc3c209a1b--- /dev/null+++ b/.github/actions/setup-nix/action.yml@@ -0,0 +1,86 @@+name: Setup Nix+description: >-+ Ensure a working Nix (flakes enabled, systemd daemon) is available on a+ runner that does not ship Nix preinstalled (e.g. Blacksmith). Idempotent:+ when /nix is already populated from a sticky disk it only re-initialises the+ daemon and config rather than reinstalling the store.++inputs:+ extra-substituters:+ description: Space-separated extra binary cache substituters to trust.+ required: false+ default: ''+ extra-trusted-public-keys:+ description: Space-separated public keys for the extra substituters.+ required: false+ default: ''++runs:+ using: composite+ steps:+ - name: Install or re-initialise Nix+ shell: bash+ env:+ EXTRA_SUBSTITUTERS: ${{ inputs.extra-substituters }}+ EXTRA_TRUSTED_PUBLIC_KEYS: ${{ inputs.extra-trusted-public-keys }}+ run: |+ set -euo pipefail++ # When /nix is mounted from a warm sticky disk the store + profiles are+ # already present, but the systemd unit and /etc/nix config live outside+ # /nix and are gone on a fresh runner. Detect that case and only repair+ # the bits that don't persist on the disk.+ nix_bin="/nix/var/nix/profiles/default/bin/nix"++ if [[ -x "$nix_bin" ]]; then+ echo "Found existing Nix store on sticky disk; re-initialising daemon/config only."++ sudo mkdir -p /etc/nix+ # Recreate the minimal config the Determinate installer would have written.+ {+ echo "experimental-features = nix-command flakes"+ echo "trusted-users = root runner"+ echo "build-users-group = nixbld"+ } | sudo tee /etc/nix/nix.conf >/dev/null++ # The nixbld build group/users do not persist outside /nix; recreate if missing.+ if ! getent group nixbld >/dev/null; then+ sudo groupadd -r nixbld || true+ for i in $(seq 1 10); do+ sudo useradd -r -g nixbld -G nixbld -d /var/empty -s "$(command -v nologin || echo /sbin/nologin)" \+ "nixbld$i" 2>/dev/null || true+ done+ fi++ # Reinstall the systemd units shipped in the store and start the daemon.+ if [[ -e /nix/var/nix/profiles/default/lib/systemd/system/nix-daemon.service ]]; then+ sudo cp /nix/var/nix/profiles/default/lib/systemd/system/nix-daemon.* /etc/systemd/system/ || true+ sudo systemctl daemon-reload || true+ fi+ sudo systemctl enable --now nix-daemon.socket nix-daemon.service 2>/dev/null || true+ else+ echo "No Nix store found on sticky disk; performing a full install."+ curl --http1.1 --retry 5 --retry-delay 5 --retry-all-errors \+ --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | \+ sh -s -- install linux --no-confirm --init systemd \+ --extra-conf "experimental-features = nix-command flakes" \+ --extra-conf "trusted-users = root runner"+ fi++ # Make nix discoverable in subsequent (non-login) steps.+ echo "/nix/var/nix/profiles/default/bin" >> "$GITHUB_PATH"+ export PATH="/nix/var/nix/profiles/default/bin:$PATH"+ export NIX_REMOTE=daemon+ echo "NIX_REMOTE=daemon" >> "$GITHUB_ENV"++ # Append fallback substituters (e.g. Cachix) so a cold sticky disk pulls+ # prebuilt artifacts instead of compiling from source.+ if [[ -n "${EXTRA_SUBSTITUTERS}" ]]; then+ {+ echo "extra-substituters = ${EXTRA_SUBSTITUTERS}"+ echo "extra-trusted-public-keys = ${EXTRA_TRUSTED_PUBLIC_KEYS}"+ } | sudo tee -a /etc/nix/nix.conf >/dev/null+ sudo systemctl restart nix-daemon.service 2>/dev/null || true+ fi++ "$nix_bin" --version || nix --versiondiff --git a/.github/actions/teardown-nix/action.yml b/.github/actions/teardown-nix/action.ymlnew file mode 100644index 0000000000..4db7df63d8--- /dev/null+++ b/.github/actions/teardown-nix/action.yml@@ -0,0 +1,24 @@+name: Teardown Nix+description: >-+ Stop the Nix daemon(s) so a /nix sticky disk can be unmounted and committed.+ The Determinate Nix daemon runs out of /nix, which keeps the mount busy and+ makes the Blacksmith sticky-disk commit fail with "target is busy". Run this+ as the final (always()) step of any job that mounts /nix as a sticky disk.++runs:+ using: composite+ steps:+ - name: Stop Nix daemons holding /nix+ shell: bash+ run: |+ # Best-effort: never fail the job from teardown.+ set +e+ for unit in \+ nix-daemon.service nix-daemon.socket \+ determinate-nixd.service determinate-nixd.socket; do+ sudo systemctl stop "$unit" 2>/dev/null+ done+ # Backstop: free any remaining handles so the umount can succeed.+ sudo fuser -km /nix 2>/dev/null+ sync+ exit 0diff --git a/.github/scripts/build-cloud-storage-lambdas-nix.sh b/.github/scripts/build-cloud-storage-lambdas-nix.shnew file mode 100755index 0000000000..42acbdc167--- /dev/null+++ b/.github/scripts/build-cloud-storage-lambdas-nix.sh@@ -0,0 +1,70 @@+#!/usr/bin/env bash+set -euo pipefail++# Build all of a service's Lambda handlers via the crane + cargo-zigbuild nix+# packages (.#deploy-lambda-<name>), and assemble the target/lambda/<name>/ zip+# artifact layout the deploy action consumes -- identical to what the old+# cargo-lambda script produced, so nothing downstream changes.+#+# Unlike the cargo-lambda path, this never recompiles unchanged handlers: nix is+# content-addressed, so an unchanged handler is a pure cache hit (substituted+# from the warm /nix lambda disk or Cachix). Independent handler derivations+# also build in parallel within the single `nix build` invocation.++SERVICE="${SERVICE:?SERVICE is required}"+OUTPUT_DIR="${OUTPUT_DIR:-lambda-artifacts}"+CONFIG_PATH="${CONFIG_PATH:-.github/services-config.json}"++if ! jq -e --arg service "$SERVICE" '.services | has($service)' "$CONFIG_PATH" >/dev/null; then+ echo "Service '$SERVICE' not found in $CONFIG_PATH" >&2+ exit 1+fi++mapfile -t LAMBDAS < <(jq -r --arg service "$SERVICE" '.services[$service].deploy_lambdas[]? // empty' "$CONFIG_PATH")++if [[ ${#LAMBDAS[@]} -eq 0 ]]; then+ echo "No deploy_lambdas configured for $SERVICE"+ exit 0+fi++echo "Building Lambda artifacts for $SERVICE via nix: ${LAMBDAS[*]}"++cachix_pid=+if command -v cachix >/dev/null 2>&1 && [[ -n "${CACHIX_CACHE_NAME:-}" ]]; then+ cachix watch-store "$CACHIX_CACHE_NAME" >/tmp/cachix-watch-store.log 2>&1 &+ cachix_pid=$!+ trap 'if [[ -n "${cachix_pid:-}" ]]; then kill "$cachix_pid" 2>/dev/null || true; wait "$cachix_pid" 2>/dev/null || true; fi' EXIT+fi++# Build every handler for this service in one nix invocation: independent+# derivations build in parallel, unchanged ones are pure cache hits, and the+# out paths are captured here (stdout) while build logs stream to stderr —+# no per-handler re-invocation of nix.+installables=()+for lambda in "${LAMBDAS[@]}"; do+ installables+=(".#deploy-lambda-${lambda}")+done+mapfile -t outs < <(nix build --no-link --print-build-logs --print-out-paths "${installables[@]}")++# Assemble target/lambda/<name>/*.zip. Each out path is laid out as+# <out>/<handler>/{bootstrap.zip,...} (see deployLambdaPackage in flake.nix),+# so the copy needs no name mapping.+rm -rf "$OUTPUT_DIR"+mkdir -p "$OUTPUT_DIR/target/lambda"+for out in "${outs[@]}"; do+ # Copy the handler dir(s) inside each out path. NOT `cp -a "$out"/.` — that+ # form also applies the store dir's read-only mode onto target/lambda+ # itself, breaking the next iteration's copy in multi-handler services.+ cp -a "$out"/* "$OUTPUT_DIR/target/lambda/"+done+# Store copies are read-only; make the tree writable so a re-run's rm -rf works.+chmod -R u+w "$OUTPUT_DIR"++for lambda in "${LAMBDAS[@]}"; do+ test -f "$OUTPUT_DIR/target/lambda/$lambda/bootstrap.zip"+ if [[ "$lambda" == "call_recording_preview_handler" ]]; then+ test -f "$OUTPUT_DIR/target/lambda/$lambda/ffmpeg-layer.zip"+ fi+done++tar -C "$OUTPUT_DIR" -czf lambda-artifacts.tar.gz targetdiff --git a/.github/workflows/cargo-workspace-dependency-check.yml b/.github/workflows/cargo-workspace-dependency-check.ymlindex 947c497864..cd846ab25b 100644--- a/.github/workflows/cargo-workspace-dependency-check.yml+++ b/.github/workflows/cargo-workspace-dependency-check.yml@@ -6,6 +6,11 @@ on:paths:- 'rust/cloud-storage/Cargo.toml'- 'rust/cloud-storage/**/Cargo.toml'+ - 'rust/cloud-storage/Cargo.lock'+ - 'rust/cloud-storage/.config/hakari.toml'+ - 'rust/cloud-storage/workspace-hack/**'+ - 'rust/cloud-storage/tools/xtask/**'+ - '.github/workspace-dep-closures.json'- .github/workflows/cargo-workspace-dependency-check.ymlconcurrency:@@ -27,4 +32,26 @@ jobs:- name: checkrun: |cd rust/cloud-storage+ # workspace-hack (generated, see xtask) re-declares third-party deps+ # with explicit versions by design — that is how it pins union+ # features. Drop it from the member list so this check only polices+ # human-written crates for duplicate dependencies.+ sed -i '/^ "workspace-hack",$/d' Cargo.tomlcargo-workspace-dependency-checker++ # The workspace-hack crate pins every third-party dep to its union feature+ # set so a solo `cargo build -p <crate>` resolves identical features to the+ # union-built crane dep layers (deployCargoArtifacts /+ # lambdaDeployCargoArtifacts) — without it, per-service/per-lambda CI builds+ # silently recompile shared deps. The closure map drives the pruned+ # per-artifact deploy sources in flake.nix. Both are generated by the+ # lock-pinned engine in rust/cloud-storage/tools/xtask; this job rejects drift.+ # Regenerate locally with `just hakari` from rust/cloud-storage.+ hakari-and-dep-closures:+ runs-on: ubuntu-latest+ steps:+ - uses: actions/checkout@v6+ - name: generated dependency artifacts are up to date+ run: |+ cd rust/cloud-storage+ cargo run -p xtask --locked -- deps --checkdiff --git a/.github/workflows/deploy-all-services.yml b/.github/workflows/deploy-all-services.ymlindex 56100c8852..6a3412f5ba 100644--- a/.github/workflows/deploy-all-services.yml+++ b/.github/workflows/deploy-all-services.yml@@ -29,14 +29,14 @@ on:required: trueCACHIX_AUTH_TOKEN:required: true- AWS_ACCESS_KEY_ID:- required: false- SCCACHE_BUCKET:- required: false-# Only run 1 deploy-all workflow at a time per environment+# Only run 1 deploy-all workflow at a time per environment. Literal prefix:+# for workflow_call runs `github.workflow` expands to the *caller's* name,+# which would split dispatches and callers into separate groups and let them+# race the same Pulumi stacks. Groups are repo-global strings, so the on-push+# caller shares this group by using the same literal.concurrency:- group: ${{ github.workflow }}-all-services-${{ inputs.environment }}+ group: deploy-all-services-${{ inputs.environment }}cancel-in-progress: falsejobs:@@ -45,36 +45,169 @@ jobs:runs-on: ubuntu-latestoutputs:matrix: ${{ steps.set-matrix.outputs.matrix }}+ binaries: ${{ steps.set-matrix.outputs.binaries }}+ lambdas: ${{ steps.set-matrix.outputs.lambdas }}steps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd- name: Set deployment matrixid: set-matrixrun: |- # Get all services- services=$(jq -r '.services | keys | @json' .github/services-config.json)- echo "matrix=${services}" >> $GITHUB_OUTPUT- echo "Deploying services: ${services}"+ set -euo pipefail+ cfg=.github/services-config.json+ # Full list drives deploy-services; the filtered lists keep each build+ # matrix to only the services that actually produce that artifact, so+ # no Blacksmith job spins up Nix + a sticky disk for nothing.+ services=$(jq -c '.services | keys' "$cfg")+ binaries=$(jq -c '[.services | to_entries[] | select((.value.deploy_binaries // []) | length > 0) | .key]' "$cfg")+ lambdas=$(jq -c '[.services | to_entries[] | select((.value.deploy_lambdas // []) | length > 0) | .key]' "$cfg")+ echo "matrix=${services}" >> "$GITHUB_OUTPUT"+ echo "binaries=${binaries}" >> "$GITHUB_OUTPUT"+ echo "lambdas=${lambdas}" >> "$GITHUB_OUTPUT"+ echo "All services: ${services}"+ echo "With binaries: ${binaries}"+ echo "With lambdas: ${lambdas}"++ # Warm the two shared dep closures in parallel, each onto its OWN sticky disk+ # so the binary and lambda chains never collide on a last-write-wins commit:+ # - warm-binaries -> deployCargoArtifacts on <repo>-nix-store+ # - warm-lambdas -> lambdaDeployCargoArtifacts on <repo>-nix-lambdas+ # Each build matrix depends only on its own warm job, so a slow lambda-closure+ # warm never blocks binary builds and vice versa.+ warm-binaries:+ name: Warm shared binary deps onto sticky disk+ needs: setup+ if: ${{ needs.setup.outputs.binaries != '[]' }}+ # NOTE: adjust to a provisioned Blacksmith runner label for the org.+ runs-on: blacksmith-32vcpu-ubuntu-2404+ steps:+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd++ - name: Mount Nix store sticky disk+ uses: useblacksmith/stickydisk@v1+ with:+ key: ${{ github.repository }}-nix-store+ path: /nix++ - name: Setup Nix+ uses: ./.github/actions/setup-nix++ - name: Configure Cachix fallback+ uses: ./.github/actions/setup-cachix+ with:+ cachix-auth-token: ${{ secrets.CACHIX_AUTH_TOKEN }}++ - name: Warm shared release deps+ shell: bash+ run: |+ set -euo pipefail+ cachix_pid=+ if command -v cachix >/dev/null 2>&1 && [ -n "${CACHIX_CACHE_NAME:-}" ]; then+ cachix watch-store "$CACHIX_CACHE_NAME" >/tmp/cachix-watch-store.log 2>&1 &+ cachix_pid=$!+ trap 'if [ -n "${cachix_pid:-}" ]; then kill "$cachix_pid" 2>/dev/null || true; wait "$cachix_pid" 2>/dev/null || true; fi' EXIT+ fi+ nix build --print-build-logs ".#deployCargoArtifacts"+ echo "Shared release deps realised into /nix/store; committed on job exit."++ - name: Teardown Nix (free sticky disk for commit)+ if: always()+ uses: ./.github/actions/teardown-nix++ warm-lambdas:+ name: Warm shared lambda deps onto sticky disk+ needs: setup+ if: ${{ needs.setup.outputs.lambdas != '[]' }}+ # NOTE: adjust to a provisioned Blacksmith runner label for the org.+ runs-on: blacksmith-32vcpu-ubuntu-2404+ steps:+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd++ - name: Mount lambda Nix store sticky disk+ uses: useblacksmith/stickydisk@v1+ with:+ key: ${{ github.repository }}-nix-lambdas+ path: /nix++ - name: Setup Nix+ uses: ./.github/actions/setup-nix++ - name: Configure Cachix fallback+ uses: ./.github/actions/setup-cachix+ with:+ cachix-auth-token: ${{ secrets.CACHIX_AUTH_TOKEN }}++ - name: Warm shared lambda dep closure+ shell: bash+ run: |+ set -euo pipefail+ cachix_pid=+ if command -v cachix >/dev/null 2>&1 && [ -n "${CACHIX_CACHE_NAME:-}" ]; then+ cachix watch-store "$CACHIX_CACHE_NAME" >/tmp/cachix-watch-store.log 2>&1 &+ cachix_pid=$!+ trap 'if [ -n "${cachix_pid:-}" ]; then kill "$cachix_pid" 2>/dev/null || true; wait "$cachix_pid" 2>/dev/null || true; fi' EXIT+ fi+ nix build --print-build-logs ".#lambdaDeployCargoArtifacts" ".#callRecordingPreviewFfmpegLayer"+ echo "Shared lambda deps realised into /nix/store; committed on job exit."++ - name: Teardown Nix (free sticky disk for commit)+ if: always()+ uses: ./.github/actions/teardown-nixbuild-service-binaries:name: Build ${{ matrix.service }} binaries- needs: setup- if: ${{ needs.setup.outputs.matrix != '[]' }}- runs-on: linux-extra-beefy+ needs: [setup, warm-binaries]+ if: ${{ needs.setup.outputs.binaries != '[]' }}+ # Runs on Blacksmith, cloning the warm /nix sticky disk committed by+ # warm-binaries so only each service's own crate compiles.+ runs-on: blacksmith-32vcpu-ubuntu-2404strategy:fail-fast: false- max-parallel: 8+ # No max-parallel: all binary services build concurrently (they only clone+ # the warm /nix disk and compile their own crate), instead of batching 8.matrix:- service: ${{ fromJson(needs.setup.outputs.matrix) }}+ service: ${{ fromJson(needs.setup.outputs.binaries) }}steps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83ddwith:clean: false- - name: Configure Cachix+ - name: Mount Nix store sticky disk (clones warmed snapshot)+ uses: useblacksmith/stickydisk@v1+ with:+ key: ${{ github.repository }}-nix-store+ path: /nix++ # Hand the built artifact straight to the matching deploy job over a+ # Blacksmith sticky disk instead of GitHub Actions artifacts. The keyed+ # snapshot is committed on job exit and cloned by deploy-services (which+ # `needs` this job), so the ~96MB closure rides Blacksmith's co-located+ # NVMe fabric (seconds) rather than the GitHub artifact API (~70s).+ # Keyed per service + commit SHA: same SHA builds byte-identical (the Nix+ # build is deploy-env-independent) so concurrent dev/prod runs are safe,+ # different SHAs get distinct keys, and unused snapshots auto-evict after+ # 7 days of inactivity.+ - name: Mount binaries handoff sticky disk+ uses: useblacksmith/stickydisk@v1+ with:+ key: ${{ github.repository }}-handoff-binaries-${{ matrix.service }}-${{ github.sha }}+ path: /handoff-binaries++ # A fresh ext4 sticky disk mounts as root:root; make it writable by the+ # (possibly non-root) runner so the build step can write the tar. No-op+ # when the runner already runs as root.+ - name: Ensure binaries handoff is writable+ shell: bash+ run: |+ set -euo pipefail+ if [ "$(id -u)" -ne 0 ]; then sudo chown -R "$(id -u):$(id -g)" /handoff-binaries; fi++ - name: Setup Nix+ uses: ./.github/actions/setup-nix++ - name: Configure Cachix fallbackuses: ./.github/actions/setup-cachixwith:cachix-auth-token: ${{ secrets.CACHIX_AUTH_TOKEN }}- sccache-bucket: ${{ vars.SCCACHE_BUCKET || secrets.SCCACHE_BUCKET }}- name: Build prebuilt binariesshell: bash@@ -86,15 +219,13 @@ jobs:binaries=$(jq -r --arg service "$SERVICE" '.services[$service].deploy_binaries // [] | @tsv' .github/services-config.json)if [[ -n "$binaries" ]]; then- if command -v cachix >/dev/null 2>&1; then- cachix watch-store "$CACHIX_CACHE_NAME" &+ cachix_pid=+ if command -v cachix >/dev/null 2>&1 && [ -n "${CACHIX_CACHE_NAME:-}" ]; then+ cachix watch-store "$CACHIX_CACHE_NAME" >/tmp/cachix-watch-store.log 2>&1 &cachix_pid=$!- trap 'kill "$cachix_pid" || true' EXIT- else- echo "::warning::Cachix is unavailable; skipping Cachix store uploads."+ trap 'if [ -n "${cachix_pid:-}" ]; then kill "$cachix_pid" 2>/dev/null || true; wait "$cachix_pid" 2>/dev/null || true; fi' EXITfi-- nix build ".#deploy-service-binaries-${SERVICE}"+ nix build --print-build-logs ".#deploy-service-binaries-${SERVICE}"cp -r result/bin/* prebuilt/mkdir -p prebuilt/nix-storewhile IFS= read -r store_path; do@@ -105,59 +236,79 @@ jobs:fitouch prebuilt/.keep- tar -C prebuilt -czf prebuilt-binaries.tar.gz .+ # Write straight onto the handoff sticky disk; deploy-services reads it.+ tar -C prebuilt -czf /handoff-binaries/prebuilt-binaries.tar.gz .- - name: Upload prebuilt binaries- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02- with:- name: cloud-storage-service-binaries-${{ matrix.service }}-${{ github.sha }}- path: prebuilt-binaries.tar.gz- retention-days: 7+ - name: Teardown Nix (free sticky disk for commit)+ if: always()+ uses: ./.github/actions/teardown-nixbuild-lambda-artifacts:name: Build ${{ matrix.service }} Lambda artifacts- needs: setup- if: ${{ needs.setup.outputs.matrix != '[]' }}- runs-on: linux-extra-beefy+ needs: [setup, warm-lambdas]+ if: ${{ needs.setup.outputs.lambdas != '[]' }}+ # Each handler is a crane + cargo-zigbuild nix package. This job builds all+ # of a service's handlers via `nix build .#deploy-lambda-<name>`, cloning the+ # warm lambda /nix disk committed by warm-lambdas. Unchanged handlers are+ # pure cache hits (substituted from the disk/Cachix, no recompile).+ runs-on: blacksmith-32vcpu-ubuntu-2404strategy:fail-fast: false- max-parallel: 8+ # No max-parallel: Blacksmith autoscales runners, so all lambda services+ # build concurrently instead of batching 8.matrix:- service: ${{ fromJson(needs.setup.outputs.matrix) }}+ service: ${{ fromJson(needs.setup.outputs.lambdas) }}steps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83ddwith:clean: false- - name: Configure Cachix- uses: ./.github/actions/setup-cachix+ - name: Mount lambda Nix store sticky disk (clones warmed closure)+ uses: useblacksmith/stickydisk@v1with:- cachix-auth-token: ${{ secrets.CACHIX_AUTH_TOKEN }}- sccache-bucket: ${{ vars.SCCACHE_BUCKET || secrets.SCCACHE_BUCKET }}+ key: ${{ github.repository }}-nix-lambdas+ path: /nix- - name: Check Lambda config- id: check-lambdas- env:- SERVICE: ${{ matrix.service }}+ # Hand the Lambda bundle to the matching deploy job over a sticky disk+ # instead of GitHub artifacts (see build-service-binaries for rationale).+ - name: Mount lambdas handoff sticky disk+ uses: useblacksmith/stickydisk@v1+ with:+ key: ${{ github.repository }}-handoff-lambdas-${{ matrix.service }}-${{ github.sha }}+ path: /handoff-lambdas++ # A fresh ext4 sticky disk mounts as root:root; make it writable by the+ # (possibly non-root) runner so the handoff copy can write the tar. No-op+ # when the runner already runs as root.+ - name: Ensure lambdas handoff is writable+ shell: bashrun: |- has_lambdas=$(jq -r --arg service "$SERVICE" '((.services[$service].deploy_lambdas // []) | length) > 0' .github/services-config.json)- echo "has_lambdas=$has_lambdas" >> "$GITHUB_OUTPUT"+ set -euo pipefail+ if [ "$(id -u)" -ne 0 ]; then sudo chown -R "$(id -u):$(id -g)" /handoff-lambdas; fi++ - name: Setup Nix+ uses: ./.github/actions/setup-nix++ - name: Configure Cachix fallback+ uses: ./.github/actions/setup-cachix+ with:+ cachix-auth-token: ${{ secrets.CACHIX_AUTH_TOKEN }}- name: Build Lambda artifacts- if: ${{ steps.check-lambdas.outputs.has_lambdas == 'true' }}env:SERVICE: ${{ matrix.service }}- AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID || secrets.AWS_ACCESS_KEY }}- AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}- run: .github/scripts/build-cloud-storage-lambdas.sh+ run: .github/scripts/build-cloud-storage-lambdas-nix.sh- - name: Upload Lambda artifacts- if: ${{ steps.check-lambdas.outputs.has_lambdas == 'true' }}- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02- with:- name: cloud-storage-lambdas-${{ matrix.service }}-${{ github.sha }}- path: lambda-artifacts.tar.gz- retention-days: 7+ - name: Hand off Lambda artifacts to deploy+ shell: bash+ run: |+ set -euo pipefail+ # The build script writes lambda-artifacts.tar.gz to the workspace root.+ cp lambda-artifacts.tar.gz /handoff-lambdas/lambda-artifacts.tar.gz++ - name: Teardown Nix (free sticky disk for commit)+ if: always()+ uses: ./.github/actions/teardown-nixmigrate-db:name: Run Database Migrations@@ -176,18 +327,18 @@ jobs:name: Deploy ${{ matrix.service }}needs: [setup, build-service-binaries, build-lambda-artifacts, migrate-db]if: ${{ needs.setup.outputs.matrix != '[]' }}- runs-on:- [- runs-on,- runner=8cpu-linux-x64,- hdd=40,- spot=false,- ssh=false,- 'run-id=${{github.run_id}}-${{ matrix.service }}',- ]+ # Deploys via Pulumi + Docker; AWS auth is via explicit static keys+ # (configure-aws-credentials), so no dependency on a RunsOn instance role.+ # NOTE: adjust to a provisioned Blacksmith runner label for the org.+ runs-on: blacksmith-8vcpu-ubuntu-2404+ # Pin PULUMI_HOME to a fixed path (outside the workspace, which the deploy+ # action's checkout cleans) so the plugins subdir can be backed by a sticky+ # disk. Propagates into the composite action's pulumi step via the job env.+ env:+ PULUMI_HOME: /pulumistrategy:fail-fast: false- max-parallel: 20 # Limit concurrent deployments+ # No max-parallel: all services deploy concurrently.matrix:service: ${{ fromJson(needs.setup.outputs.matrix) }}steps:@@ -209,23 +360,65 @@ jobs:echo "has_binaries=$has_binaries" >> "$GITHUB_OUTPUT"echo "has_lambdas=$has_lambdas" >> "$GITHUB_OUTPUT"+ # Clone the handoff snapshots committed by the build jobs (which this job+ # `needs`). Mounted outside the workspace at /handoff-* so the composite+ # action's own checkout (which cleans the workspace) can't touch them.+ # Gated on the artifact flags so services with no binaries/lambdas don't+ # mount an empty disk.+ - name: Mount binaries handoff sticky disk+ if: ${{ steps.check-artifacts.outputs.has_binaries == 'true' }}+ uses: useblacksmith/stickydisk@v1+ with:+ key: ${{ github.repository }}-handoff-binaries-${{ matrix.service }}-${{ github.sha }}+ path: /handoff-binaries++ - name: Mount lambdas handoff sticky disk+ if: ${{ steps.check-artifacts.outputs.has_lambdas == 'true' }}+ uses: useblacksmith/stickydisk@v1+ with:+ key: ${{ github.repository }}-handoff-lambdas-${{ matrix.service }}-${{ github.sha }}+ path: /handoff-lambdas++ # Cache Pulumi's provider plugins ($PULUMI_HOME/plugins) on a sticky disk.+ # Plugins are version-pinned by infra/ and identical across services, so a+ # single stable-keyed disk is shared by every deploy job: the first run+ # downloads + commits, later runs clone it warm and skip the ~45s pull.+ - name: Cache Pulumi plugins (sticky disk)+ uses: useblacksmith/stickydisk@v1+ with:+ key: ${{ github.repository }}-pulumi-plugins+ path: /pulumi/plugins++ # PULUMI_HOME (/pulumi) and its mounted plugins subdir come up root-owned;+ # make them writable so pulumi can write credentials + plugins as the+ # runner. No-op when the runner already runs as root.+ - name: Ensure Pulumi home is writable+ shell: bash+ run: |+ set -euo pipefail+ if [ "$(id -u)" -ne 0 ]; then sudo chown -R "$(id -u):$(id -g)" /pulumi; fi+- name: Deploy ${{ matrix.service }}uses: ./.github/actions/deploy-cloud-storage-pulumiwith:environment: ${{ inputs.environment }}+ # Blacksmith buildkit builder: keeps the docker layer cache on a+ # per-Dockerfile sticky disk so heavy bases (LibreOffice/Collabora)+ # stay warm instead of re-pulling from ECR each deploy.+ use-blacksmith-builder: 'true'aws-access-key: ${{ secrets.AWS_ACCESS_KEY }}aws-secret-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}pulumi-access-token: ${{ secrets.PULUMI_ACCESS_TOKEN }}pulumi-service-name: ${{ steps.project-name.outputs.project-name }}- prebuilt-binaries-artifact: ${{ steps.check-artifacts.outputs.has_binaries == 'true' && format('cloud-storage-service-binaries-{0}-{1}', matrix.service, github.sha) || '' }}- lambda-artifacts: ${{ steps.check-artifacts.outputs.has_lambdas == 'true' && format('cloud-storage-lambdas-{0}-{1}', matrix.service, github.sha) || '' }}+ prebuilt-binaries-tar: ${{ steps.check-artifacts.outputs.has_binaries == 'true' && '/handoff-binaries/prebuilt-binaries.tar.gz' || '' }}+ lambda-artifacts-tar: ${{ steps.check-artifacts.outputs.has_lambdas == 'true' && '/handoff-lambdas/lambda-artifacts.tar.gz' || '' }}dd-app-key: ${{ secrets.DD_APP_KEY }}dd-api-key: ${{ secrets.DD_API_KEY }}deployment-summary:name: Deployment Summaryruns-on: ubuntu-latest- needs: [setup, build-service-binaries, build-lambda-artifacts, deploy-services]+ needs: [setup, warm-binaries, warm-lambdas, build-service-binaries, build-lambda-artifacts, deploy-services]if: always()steps:- name: Check deployment results@@ -235,6 +428,9 @@ jobs:exit 1elif [[ "${{ needs.setup.result }}" == "skipped" ]]; thenecho "⏭️ Deployment setup was skipped"+ elif [[ "${{ needs.warm-binaries.result }}" == "failure" || "${{ needs.warm-lambdas.result }}" == "failure" ]]; then+ echo "❌ Warming shared deps onto a sticky disk failed"+ exit 1elif [[ "${{ needs.build-service-binaries.result }}" == "failure" ]]; thenecho "❌ One or more service binary builds failed"exit 1diff --git a/.github/workflows/deploy-cloud-storage-on-push.yml b/.github/workflows/deploy-cloud-storage-on-push.ymlindex c663a77248..0dce2e32ba 100644--- a/.github/workflows/deploy-cloud-storage-on-push.yml+++ b/.github/workflows/deploy-cloud-storage-on-push.yml@@ -1,5 +1,10 @@+# Thin trigger: every push to main touching the Rust services (or the deploy+# machinery) deploys all services to dev via the shared deploy-all-services+# pipeline — the same warm sticky-disk nix builds, crane/zigbuild lambdas, and+# handoff topology used by manual dispatches and prod releases. This replaced+# a standalone pipeline that built binaries on Cachix-only runners and lambdas+# via per-handler cargo-lambda jobs.name: Deploy Cloud Storage Services on Push-on:push:branches: [ 'main' ]@@ -7,279 +12,36 @@ on:- 'rust/cloud-storage/**'- 'infra/**'- '.github/workflows/deploy-cloud-storage-on-push.yml'+ - '.github/workflows/deploy-all-services.yml'- '.github/actions/deploy-cloud-storage-pulumi/**'- - '.github/scripts/build-cloud-storage-lambdas.sh'+ - '.github/actions/setup-nix/**'+ - '.github/actions/teardown-nix/**'+ - '.github/actions/setup-cachix/**'+ - '.github/actions/migrate-cloud-storage-db/**'+ - '.github/scripts/build-cloud-storage-lambdas-nix.sh'- '.github/services-config.json'+ - '.github/workspace-dep-closures.json'- 'flake.nix'- 'flake.lock'+# Same repo-global group as dev dispatches of deploy-all-services, so a push+# deploy and a manual dev deploy queue instead of racing the same Pulumi+# stacks. cancel-in-progress stays false: a running deploy finishes, and+# GitHub coalesces queued pushes down to the newest one.concurrency:- group: deploy-cloud-storage-${{ github.ref }}+ group: deploy-all-services-devcancel-in-progress: falsejobs:- generate-deploy-list:- name: Generate Deploy List- runs-on: ubuntu-latest- outputs:- services: ${{ steps.generate-list.outputs.services }}- lambda_matrix: ${{ steps.generate-list.outputs.lambda_matrix }}- lambda_services: ${{ steps.generate-list.outputs.lambda_services }}- has_lambdas: ${{ steps.generate-list.outputs.has_lambdas }}- steps:- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd- with:- fetch-depth: 1- - name: Generate deploy list- id: generate-list- run: |- SERVICES=$(jq -c '.services | keys_unsorted' .github/services-config.json)- echo "Automatic deploy selected all services: $SERVICES"-- lambda_matrix=$(jq -cn --argjson services "$SERVICES" --slurpfile config .github/services-config.json '$services as $services | $config[0] as $config | [$services[] as $service | ($config.services[$service].deploy_lambdas // [])[] | {service:$service, lambda:.}]')- lambda_services=$(jq -cn --argjson matrix "$lambda_matrix" '[$matrix[].service] | unique')- has_lambdas=$(jq -rn --argjson matrix "$lambda_matrix" '$matrix | length > 0')-- # Set outputs- echo "services=$SERVICES" >> $GITHUB_OUTPUT- echo "lambda_matrix=$lambda_matrix" >> $GITHUB_OUTPUT- echo "lambda_services=$lambda_services" >> $GITHUB_OUTPUT- echo "has_lambdas=$has_lambdas" >> $GITHUB_OUTPUT-- # Log for debugging- echo "Selected services: $SERVICES"- echo "Lambda matrix: $lambda_matrix"-- migrate-db:- name: Run Database Migrations- needs: generate-deploy-list- runs-on: db-migrator- steps:- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd- with:- sparse-checkout: .github/-- - name: Run migrations- uses: ./.github/actions/migrate-cloud-storage-db- with:- environment: dev-- build-service-binaries:- name: Build ${{ matrix.service }} binaries- needs: generate-deploy-list- runs-on: linux-extra-beefy- strategy:- fail-fast: false- max-parallel: 8- matrix:- service: ${{ fromJson(needs.generate-deploy-list.outputs.services) }}- steps:- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd- with:- clean: false-- - name: Configure Cachix- uses: ./.github/actions/setup-cachix- with:- cachix-auth-token: ${{ secrets.CACHIX_AUTH_TOKEN }}- sccache-bucket: ${{ vars.SCCACHE_BUCKET || secrets.SCCACHE_BUCKET }}-- - name: Build prebuilt binaries- shell: bash- env:- SERVICE: ${{ matrix.service }}- run: |- set -euo pipefail- mkdir -p prebuilt-- binaries=$(jq -r --arg service "$SERVICE" '.services[$service].deploy_binaries // [] | @tsv' .github/services-config.json)- if [[ -n "$binaries" ]]; then- if command -v cachix >/dev/null 2>&1; then- cachix watch-store "$CACHIX_CACHE_NAME" &- cachix_pid=$!- trap 'kill "$cachix_pid" || true' EXIT- else- echo "::warning::Cachix is unavailable; skipping Cachix store uploads."- fi-- nix build ".#deploy-service-binaries-${SERVICE}"- cp -r result/bin/* prebuilt/- mkdir -p prebuilt/nix-store- while IFS= read -r store_path; do- cp -a "$store_path" prebuilt/nix-store/- done < <(nix-store -qR result)- else- echo "No deploy binaries configured for $SERVICE; uploading an empty artifact"- fi-- touch prebuilt/.keep- tar -C prebuilt -czf prebuilt-binaries.tar.gz .-- - name: Upload prebuilt binaries- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02- with:- name: cloud-storage-service-binaries-${{ matrix.service }}-${{ github.sha }}- path: prebuilt-binaries.tar.gz- retention-days: 7-- build-lambda-artifacts:- name: Build ${{ matrix.lambda }} Lambda artifact- needs: generate-deploy-list- if: ${{ needs.generate-deploy-list.outputs.has_lambdas == 'true' }}- runs-on: linux-extra-beefy- strategy:- fail-fast: false- max-parallel: 8- matrix:- include: ${{ fromJson(needs.generate-deploy-list.outputs.lambda_matrix || '[]') }}- steps:- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd- with:- clean: false-- - name: Configure Cachix- uses: ./.github/actions/setup-cachix- with:- cachix-auth-token: ${{ secrets.CACHIX_AUTH_TOKEN }}- sccache-bucket: ${{ vars.SCCACHE_BUCKET || secrets.SCCACHE_BUCKET }}-- - name: Build Lambda artifact- shell: bash- env:- LAMBDA: ${{ matrix.lambda }}- AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID || secrets.AWS_ACCESS_KEY }}- AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}- run: |- set -euo pipefail- nix develop .# -c bash -lc '- set -euo pipefail- cd rust/cloud-storage- echo "::group::Build $LAMBDA"- ulimit -n 10240- just "$LAMBDA/build"- test -f "target/lambda/$LAMBDA/bootstrap.zip"- if [[ "$LAMBDA" == "call_recording_preview_handler" ]]; then- test -f "target/lambda/$LAMBDA/ffmpeg-layer.zip"- fi- echo "::endgroup::"- '- mkdir -p "lambda-artifacts/target/lambda/$LAMBDA"- cp -a "rust/cloud-storage/target/lambda/$LAMBDA/." "lambda-artifacts/target/lambda/$LAMBDA/"-- - name: Upload Lambda artifact- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02- with:- name: cloud-storage-lambda-${{ matrix.service }}-${{ matrix.lambda }}-${{ github.sha }}- path: lambda-artifacts- retention-days: 7-- package-lambda-artifacts:- name: Package ${{ matrix.service }} Lambda artifacts- needs: [generate-deploy-list, build-lambda-artifacts]- if: ${{ needs.generate-deploy-list.outputs.has_lambdas == 'true' }}- runs-on: ubuntu-latest- strategy:- fail-fast: false- max-parallel: 8- matrix:- service: ${{ fromJson(needs.generate-deploy-list.outputs.lambda_services || '[]') }}- steps:- - name: Download Lambda artifacts- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093- with:- pattern: cloud-storage-lambda-${{ matrix.service }}-*-${{ github.sha }}- path: lambda-artifacts- merge-multiple: true-- - name: Package Lambda artifacts- run: tar -C lambda-artifacts -czf lambda-artifacts.tar.gz target-- - name: Upload Lambda artifacts- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02- with:- name: cloud-storage-lambdas-${{ matrix.service }}-${{ github.sha }}- path: lambda-artifacts.tar.gz- retention-days: 7-- deploy-services:- name: Deploy ${{ matrix.service }}- needs: [generate-deploy-list, migrate-db, build-service-binaries, build-lambda-artifacts, package-lambda-artifacts]- if: ${{ always() && needs.migrate-db.result == 'success' && needs.build-service-binaries.result == 'success' && (needs.build-lambda-artifacts.result == 'success' || needs.build-lambda-artifacts.result == 'skipped') && (needs.package-lambda-artifacts.result == 'success' || needs.package-lambda-artifacts.result == 'skipped') }}- runs-on:- [- runs-on,- runner=8cpu-linux-x64,- hdd=40,- spot=false,- ssh=false,- 'run-id=${{github.run_id}}-${{ matrix.service }}',- ]- timeout-minutes: 120- strategy:- fail-fast: false- max-parallel: 20- matrix:- service: ${{ fromJson(needs.generate-deploy-list.outputs.services) }}- steps:- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd-- - name: Get project name- id: project-name- uses: ./.github/actions/get-project-name- with:- service-name: ${{ matrix.service }}-- - name: Check artifact config- id: check-artifacts- env:- SERVICE: ${{ matrix.service }}- run: |- has_binaries=$(jq -r --arg service "$SERVICE" '((.services[$service].deploy_binaries // []) | length) > 0' .github/services-config.json)- has_lambdas=$(jq -r --arg service "$SERVICE" '((.services[$service].deploy_lambdas // []) | length) > 0' .github/services-config.json)- echo "has_binaries=$has_binaries" >> "$GITHUB_OUTPUT"- echo "has_lambdas=$has_lambdas" >> "$GITHUB_OUTPUT"-- - name: Deploy ${{ matrix.service }}- uses: ./.github/actions/deploy-cloud-storage-pulumi- with:- environment: dev- aws-access-key: ${{ secrets.AWS_ACCESS_KEY }}- aws-secret-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}- pulumi-access-token: ${{ secrets.PULUMI_ACCESS_TOKEN }}- pulumi-service-name: ${{ steps.project-name.outputs.project-name }}- prebuilt-binaries-artifact: ${{ steps.check-artifacts.outputs.has_binaries == 'true' && format('cloud-storage-service-binaries-{0}-{1}', matrix.service, github.sha) || '' }}- lambda-artifacts: ${{ steps.check-artifacts.outputs.has_lambdas == 'true' && format('cloud-storage-lambdas-{0}-{1}', matrix.service, github.sha) || '' }}- dd-app-key: ${{ secrets.DD_APP_KEY }}- dd-api-key: ${{ secrets.DD_API_KEY }}-- deployment-summary:- name: Deployment Summary- runs-on: ubuntu-latest- needs: [generate-deploy-list, migrate-db, build-service-binaries, build-lambda-artifacts, package-lambda-artifacts, deploy-services]- if: always()- steps:- - name: Check deployment results- run: |- if [[ "${{ needs.generate-deploy-list.result }}" == "failure" ]]; then- echo "❌ Failed to generate deploy list"- exit 1- elif [[ "${{ needs.migrate-db.result }}" == "failure" ]]; then- echo "❌ Database migrations failed"- exit 1- elif [[ "${{ needs.build-service-binaries.result }}" == "failure" ]]; then- echo "❌ One or more service binary builds failed"- exit 1- elif [[ "${{ needs.build-lambda-artifacts.result }}" == "failure" ]]; then- echo "❌ One or more Lambda artifact builds failed"- exit 1- elif [[ "${{ needs.package-lambda-artifacts.result }}" == "failure" ]]; then- echo "❌ One or more Lambda artifact packages failed"- exit 1- elif [[ "${{ needs.deploy-services.result }}" == "failure" ]]; then- echo "❌ One or more service deployments failed"- exit 1- elif [[ "${{ needs.deploy-services.result }}" == "skipped" ]]; then- echo "⏭️ No services to deploy"- else- echo "✅ All selected cloud-storage services deployed successfully to dev environment"- fi+ deploy-all:+ name: Deploy Cloud Storage Services+ uses: ./.github/workflows/deploy-all-services.yml+ with:+ environment: dev+ secrets:+ AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}+ AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}+ PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}+ DD_APP_KEY: ${{ secrets.DD_APP_KEY }}+ DD_API_KEY: ${{ secrets.DD_API_KEY }}+ CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }}diff --git a/.github/workflows/release-production.yml b/.github/workflows/release-production.ymlindex 8deb6cc0c3..693b06a627 100644--- a/.github/workflows/release-production.yml+++ b/.github/workflows/release-production.yml@@ -23,8 +23,6 @@ jobs:DD_APP_KEY: ${{ secrets.DD_APP_KEY }}DD_API_KEY: ${{ secrets.DD_API_KEY }}CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }}- AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}- SCCACHE_BUCKET: ${{ secrets.SCCACHE_BUCKET }}build:name: Build Web Appdiff --git a/.github/workspace-dep-closures.json b/.github/workspace-dep-closures.jsonnew file mode 100644index 0000000000..10c2e1e3a4--- /dev/null+++ b/.github/workspace-dep-closures.json@@ -0,0 +1,4054 @@+{+ "//": "Generated by `cargo run -p xtask -- deps` (see rust/cloud-storage/tools/xtask); do not edit by hand. Maps every rust/cloud-storage workspace crate to the directories of its transitive workspace dependency closure (normal + build deps, dev-deps excluded). Consumed by flake.nix to build pruned per-artifact deploy sources.",+ "closures": {+ "agent": [+ "agent",+ "ai_toolset",+ "attachment",+ "cowlike",+ "macro_user_id",+ "model-entity",+ "model_file_type",+ "non_empty",+ "workspace-hack"+ ],+ "ai_tools": [+ "agent",+ "ai_tools",+ "ai_toolset",+ "anthropic",+ "attachment",+ "authentication_service_client",+ "bot_id",+ "call",+ "channels",+ "chat",+ "comms",+ "connection",+ "connection_gateway_client",+ "connection_gateway_models",+ "contacts",+ "cowlike",+ "crm",+ "decode_jwt",+ "document_sub_type",+ "documents",+ "email",+ "email_db_client",+ "email_service_client",+ "email_utils",+ "embedding",+ "entity_access",+ "entity_access_db_utils",+ "entity_access_management",+ "filter_ast",+ "foreign_entity",+ "frecency",+ "invite_email",+ "ip_extractor",+ "item_filters",+ "last_online_tracker",+ "lexical_client",+ "macro_auth",+ "macro_aws_config",+ "macro_db_client",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "macro_middleware",+ "macro_service_urls",+ "macro_user_id",+ "macro_uuid",+ "mention_utils",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_notifications",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_dcs",+ "models_email",+ "models_entity_access_management",+ "models_grouping",+ "models_opensearch",+ "models_pagination",+ "models_permissions",+ "models_properties",+ "models_search",+ "models_search_cursor",+ "models_soup",+ "models_team",+ "non_empty",+ "notification",+ "opensearch_client",+ "opensearch_query_builder",+ "prompt",+ "properties",+ "properties_db_client",+ "rate_limit",+ "readonly_pool",+ "remote_env_var",+ "roles_and_permissions",+ "s3_key",+ "search_service_client",+ "secretsmanager_client",+ "share_permission_db_utils",+ "soup",+ "sqs_client",+ "sqs_worker",+ "sync_service",+ "sync_service_client",+ "system_properties",+ "task_dedup",+ "teams",+ "unfurl",+ "user_quota",+ "workspace-hack"+ ],+ "ai_toolset": [+ "ai_toolset",+ "cowlike",+ "macro_user_id",+ "workspace-hack"+ ],+ "analytics_client": [+ "analytics_client",+ "workspace-hack"+ ],+ "anthropic": [+ "ai_toolset",+ "anthropic",+ "cowlike",+ "macro_user_id",+ "workspace-hack"+ ],+ "attachment": [+ "attachment",+ "cowlike",+ "macro_user_id",+ "model-entity",+ "model_file_type",+ "non_empty",+ "workspace-hack"+ ],+ "authentication_service": [+ "agent",+ "ai_toolset",+ "analytics_client",+ "attachment",+ "authentication_service",+ "authentication_service_client",+ "call",+ "comms",+ "comms_db_client",+ "connection",+ "connection_gateway_client",+ "connection_gateway_models",+ "cowlike",+ "crm",+ "decode_jwt",+ "document_storage_service_client",+ "document_sub_type",+ "documents",+ "email",+ "email_utils",+ "email_validator",+ "embedding",+ "entity_access",+ "entity_access_db_utils",+ "entity_access_management",+ "filter_ast",+ "foreign_entity",+ "frecency",+ "fusionauth",+ "github",+ "invite_email",+ "ip_extractor",+ "item_filters",+ "last_online_tracker",+ "lexical_client",+ "macro_auth",+ "macro_aws_config",+ "macro_cache_client",+ "macro_config",+ "macro_config_derive",+ "macro_cors",+ "macro_db_client",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "macro_middleware",+ "macro_redis",+ "macro_service_urls",+ "macro_tower_layers",+ "macro_user_id",+ "macro_uuid",+ "mention_utils",+ "mobile_welcome_email_db_client",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_notifications",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_dcs",+ "models_email",+ "models_entity_access_management",+ "models_opensearch",+ "models_pagination",+ "models_permissions",+ "models_properties",+ "models_search",+ "models_search_cursor",+ "models_soup",+ "models_team",+ "native_app_service",+ "non_empty",+ "notification",+ "opensearch_client",+ "opensearch_query_builder",+ "rate_limit",+ "readonly_pool",+ "referral",+ "remote_env_var",+ "roles_and_permissions",+ "s3_key",+ "secretsmanager_client",+ "serde_utils",+ "ses_client",+ "sqs_client",+ "sync_service",+ "sync_service_client",+ "system_properties",+ "task_dedup",+ "teams",+ "unfurl",+ "user_quota",+ "workspace-hack"+ ],+ "authentication_service_client": [+ "agent",+ "ai_toolset",+ "attachment",+ "authentication_service_client",+ "cowlike",+ "document_sub_type",+ "filter_ast",+ "frecency",+ "item_filters",+ "macro_user_id",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_pagination",+ "models_permissions",+ "non_empty",+ "workspace-hack"+ ],+ "backfill_entity_access": [+ "backfill_entity_access",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "macro_uuid",+ "workspace-hack"+ ],+ "bot_id": [+ "bot_id",+ "workspace-hack"+ ],+ "bots": [+ "agent",+ "ai_toolset",+ "attachment",+ "authentication_service_client",+ "bot_id",+ "bots",+ "channels",+ "connection_gateway_client",+ "connection_gateway_models",+ "contacts",+ "cowlike",+ "crm",+ "decode_jwt",+ "document_sub_type",+ "email",+ "email_utils",+ "entity_access",+ "entity_access_db_utils",+ "filter_ast",+ "frecency",+ "invite_email",+ "ip_extractor",+ "item_filters",+ "last_online_tracker",+ "macro_auth",+ "macro_db_client",+ "macro_env",+ "macro_env_var",+ "macro_middleware",+ "macro_service_urls",+ "macro_user_id",+ "macro_uuid",+ "mention_utils",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_notifications",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_dcs",+ "models_email",+ "models_entity_access_management",+ "models_opensearch",+ "models_pagination",+ "models_permissions",+ "models_properties",+ "models_team",+ "non_empty",+ "notification",+ "rate_limit",+ "remote_env_var",+ "s3_key",+ "share_permission_db_utils",+ "sqs_client",+ "sqs_worker",+ "system_properties",+ "unfurl",+ "user_quota",+ "workspace-hack"+ ],+ "cal": [+ "analytics_client",+ "cal",+ "model-error-response",+ "workspace-hack"+ ],+ "call": [+ "agent",+ "ai_toolset",+ "attachment",+ "call",+ "comms",+ "connection",+ "connection_gateway_client",+ "connection_gateway_models",+ "cowlike",+ "decode_jwt",+ "document_sub_type",+ "entity_access",+ "entity_access_db_utils",+ "filter_ast",+ "frecency",+ "item_filters",+ "last_online_tracker",+ "macro_auth",+ "macro_aws_config",+ "macro_env",+ "macro_env_var",+ "macro_service_urls",+ "macro_user_id",+ "macro_uuid",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_entity_access_management",+ "models_pagination",+ "models_permissions",+ "non_empty",+ "notification",+ "rate_limit",+ "readonly_pool",+ "remote_env_var",+ "workspace-hack"+ ],+ "call_recording_preview_handler": [+ "call_recording_preview_handler",+ "macro_aws_config",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "workspace-hack"+ ],+ "channel_bots": [+ "agent",+ "ai_tools",+ "ai_toolset",+ "anthropic",+ "attachment",+ "authentication_service_client",+ "bot_id",+ "call",+ "channel_bots",+ "channels",+ "chat",+ "comms",+ "connection",+ "connection_gateway_client",+ "connection_gateway_models",+ "contacts",+ "cowlike",+ "crm",+ "decode_jwt",+ "document_sub_type",+ "documents",+ "email",+ "email_db_client",+ "email_service_client",+ "email_utils",+ "embedding",+ "entity_access",+ "entity_access_db_utils",+ "entity_access_management",+ "filter_ast",+ "foreign_entity",+ "frecency",+ "invite_email",+ "ip_extractor",+ "item_filters",+ "last_online_tracker",+ "lexical_client",+ "macro_auth",+ "macro_aws_config",+ "macro_db_client",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "macro_middleware",+ "macro_service_urls",+ "macro_user_id",+ "macro_uuid",+ "mention_utils",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_notifications",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_dcs",+ "models_email",+ "models_entity_access_management",+ "models_grouping",+ "models_opensearch",+ "models_pagination",+ "models_permissions",+ "models_properties",+ "models_search",+ "models_search_cursor",+ "models_soup",+ "models_team",+ "non_empty",+ "notification",+ "opensearch_client",+ "opensearch_query_builder",+ "prompt",+ "properties",+ "properties_db_client",+ "rate_limit",+ "readonly_pool",+ "remote_env_var",+ "roles_and_permissions",+ "s3_key",+ "search_service_client",+ "secretsmanager_client",+ "share_permission_db_utils",+ "soup",+ "sqs_client",+ "sqs_worker",+ "sync_service",+ "sync_service_client",+ "system_properties",+ "task_dedup",+ "teams",+ "unfurl",+ "user_quota",+ "workspace-hack"+ ],+ "channels": [+ "agent",+ "ai_toolset",+ "attachment",+ "authentication_service_client",+ "bot_id",+ "channels",+ "connection_gateway_client",+ "connection_gateway_models",+ "contacts",+ "cowlike",+ "crm",+ "decode_jwt",+ "document_sub_type",+ "email",+ "email_utils",+ "entity_access",+ "entity_access_db_utils",+ "filter_ast",+ "frecency",+ "invite_email",+ "ip_extractor",+ "item_filters",+ "last_online_tracker",+ "macro_auth",+ "macro_db_client",+ "macro_env",+ "macro_env_var",+ "macro_middleware",+ "macro_service_urls",+ "macro_user_id",+ "macro_uuid",+ "mention_utils",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_notifications",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_dcs",+ "models_email",+ "models_entity_access_management",+ "models_opensearch",+ "models_pagination",+ "models_permissions",+ "models_properties",+ "models_team",+ "non_empty",+ "notification",+ "rate_limit",+ "remote_env_var",+ "s3_key",+ "share_permission_db_utils",+ "sqs_client",+ "sqs_worker",+ "system_properties",+ "unfurl",+ "user_quota",+ "workspace-hack"+ ],+ "chat": [+ "agent",+ "ai_toolset",+ "attachment",+ "chat",+ "cowlike",+ "document_sub_type",+ "entity_access",+ "entity_access_db_utils",+ "entity_access_management",+ "filter_ast",+ "frecency",+ "item_filters",+ "macro_user_id",+ "macro_uuid",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_entity_access_management",+ "models_pagination",+ "models_permissions",+ "non_empty",+ "roles_and_permissions",+ "workspace-hack"+ ],+ "comms": [+ "agent",+ "ai_toolset",+ "attachment",+ "comms",+ "cowlike",+ "document_sub_type",+ "entity_access",+ "filter_ast",+ "frecency",+ "item_filters",+ "macro_user_id",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_pagination",+ "models_permissions",+ "non_empty",+ "readonly_pool",+ "workspace-hack"+ ],+ "comms_db_client": [+ "agent",+ "ai_toolset",+ "attachment",+ "comms_db_client",+ "cowlike",+ "document_sub_type",+ "filter_ast",+ "frecency",+ "item_filters",+ "macro_user_id",+ "macro_uuid",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_pagination",+ "models_permissions",+ "non_empty",+ "workspace-hack"+ ],+ "connection": [+ "agent",+ "ai_toolset",+ "attachment",+ "connection",+ "connection_gateway_client",+ "connection_gateway_models",+ "cowlike",+ "document_sub_type",+ "entity_access",+ "filter_ast",+ "frecency",+ "item_filters",+ "macro_user_id",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_pagination",+ "models_permissions",+ "non_empty",+ "workspace-hack"+ ],+ "connection_gateway": [+ "agent",+ "ai_toolset",+ "attachment",+ "connection_gateway",+ "connection_gateway_client",+ "connection_gateway_models",+ "cowlike",+ "decode_jwt",+ "document_sub_type",+ "ensure_exists",+ "entity_access_db_utils",+ "filter_ast",+ "frecency",+ "ip_extractor",+ "item_filters",+ "last_online_tracker",+ "macro_auth",+ "macro_aws_config",+ "macro_db_client",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "macro_middleware",+ "macro_user_id",+ "macro_uuid",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_dcs",+ "models_entity_access_management",+ "models_opensearch",+ "models_pagination",+ "models_permissions",+ "models_properties",+ "models_team",+ "non_empty",+ "remote_env_var",+ "secretsmanager_client",+ "stream",+ "system_properties",+ "user_quota",+ "workspace-hack"+ ],+ "connection_gateway_client": [+ "connection_gateway_client",+ "connection_gateway_models",+ "cowlike",+ "model-entity",+ "workspace-hack"+ ],+ "connection_gateway_models": [+ "connection_gateway_models",+ "cowlike",+ "model-entity",+ "workspace-hack"+ ],+ "contacts": [+ "agent",+ "ai_toolset",+ "attachment",+ "contacts",+ "cowlike",+ "decode_jwt",+ "document_sub_type",+ "entity_access_db_utils",+ "filter_ast",+ "frecency",+ "ip_extractor",+ "item_filters",+ "macro_auth",+ "macro_db_client",+ "macro_env",+ "macro_env_var",+ "macro_middleware",+ "macro_user_id",+ "macro_uuid",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_dcs",+ "models_entity_access_management",+ "models_opensearch",+ "models_pagination",+ "models_permissions",+ "models_properties",+ "models_team",+ "non_empty",+ "rate_limit",+ "remote_env_var",+ "sqs_worker",+ "system_properties",+ "user_quota",+ "workspace-hack"+ ],+ "contacts_service": [+ "agent",+ "ai_toolset",+ "attachment",+ "contacts",+ "contacts_service",+ "cowlike",+ "decode_jwt",+ "document_sub_type",+ "entity_access_db_utils",+ "filter_ast",+ "frecency",+ "ip_extractor",+ "item_filters",+ "macro_auth",+ "macro_aws_config",+ "macro_cors",+ "macro_db_client",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "macro_middleware",+ "macro_service_urls",+ "macro_user_id",+ "macro_uuid",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_dcs",+ "models_entity_access_management",+ "models_opensearch",+ "models_pagination",+ "models_permissions",+ "models_properties",+ "models_team",+ "non_empty",+ "rate_limit",+ "remote_env_var",+ "secretsmanager_client",+ "sqs_worker",+ "system_properties",+ "user_quota",+ "workspace-hack"+ ],+ "convert_service": [+ "agent",+ "ai_toolset",+ "attachment",+ "authentication_service_client",+ "convert_service",+ "cowlike",+ "crm",+ "decode_jwt",+ "document_sub_type",+ "email",+ "email_utils",+ "entity_access",+ "entity_access_db_utils",+ "filter_ast",+ "frecency",+ "ip_extractor",+ "item_filters",+ "lambda_client",+ "macro_auth",+ "macro_aws_config",+ "macro_cors",+ "macro_db_client",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "macro_middleware",+ "macro_user_id",+ "macro_uuid",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_dcs",+ "models_email",+ "models_entity_access_management",+ "models_opensearch",+ "models_pagination",+ "models_permissions",+ "models_properties",+ "models_team",+ "non_empty",+ "remote_env_var",+ "s3_client",+ "s3_key",+ "secretsmanager_client",+ "sqs_client",+ "sqs_worker",+ "system_properties",+ "unfurl",+ "user_quota",+ "workspace-hack"+ ],+ "cowlike": [+ "cowlike",+ "workspace-hack"+ ],+ "crm": [+ "agent",+ "ai_toolset",+ "attachment",+ "cowlike",+ "crm",+ "document_sub_type",+ "entity_access",+ "filter_ast",+ "frecency",+ "item_filters",+ "macro_user_id",+ "macro_uuid",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_pagination",+ "models_permissions",+ "non_empty",+ "unfurl",+ "workspace-hack"+ ],+ "dataloss_prevention_handler": [+ "dataloss_prevention_handler",+ "macro_aws_config",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "s3_client",+ "sns_client",+ "workspace-hack"+ ],+ "decode_jwt": [+ "cowlike",+ "decode_jwt",+ "macro_auth",+ "macro_env",+ "macro_env_var",+ "macro_user_id",+ "model-error-response",+ "model_user",+ "remote_env_var",+ "workspace-hack"+ ],+ "delete_chat_handler": [+ "delete_chat_handler",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "macro_uuid",+ "workspace-hack"+ ],+ "deleted_item_poller": [+ "agent",+ "ai_toolset",+ "attachment",+ "authentication_service_client",+ "cowlike",+ "crm",+ "deleted_item_poller",+ "document_sub_type",+ "email",+ "email_utils",+ "entity_access",+ "entity_access_db_utils",+ "filter_ast",+ "frecency",+ "item_filters",+ "macro_aws_config",+ "macro_db_client",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "macro_user_id",+ "macro_uuid",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_dcs",+ "models_email",+ "models_entity_access_management",+ "models_opensearch",+ "models_pagination",+ "models_permissions",+ "models_properties",+ "models_team",+ "non_empty",+ "s3_key",+ "sqs_client",+ "system_properties",+ "unfurl",+ "user_quota",+ "workspace-hack"+ ],+ "document_cognition_service": [+ "agent",+ "ai_tools",+ "ai_toolset",+ "anthropic",+ "attachment",+ "authentication_service_client",+ "bot_id",+ "call",+ "channels",+ "chat",+ "comms",+ "connection",+ "connection_gateway",+ "connection_gateway_client",+ "connection_gateway_models",+ "contacts",+ "cowlike",+ "crm",+ "decode_jwt",+ "document_cognition_service",+ "document_storage_service_client",+ "document_sub_type",+ "documents",+ "email",+ "email_db_client",+ "email_service_client",+ "email_utils",+ "embedding",+ "ensure_exists",+ "entity_access",+ "entity_access_db_utils",+ "entity_access_management",+ "filter_ast",+ "foreign_entity",+ "frecency",+ "invite_email",+ "ip_extractor",+ "item_filters",+ "last_online_tracker",+ "lexical_client",+ "macro_auth",+ "macro_aws_config",+ "macro_cors",+ "macro_db_client",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "macro_middleware",+ "macro_service_urls",+ "macro_user_id",+ "macro_uuid",+ "mcp_client",+ "memory",+ "mention_utils",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_notifications",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_dcs",+ "models_email",+ "models_entity_access_management",+ "models_grouping",+ "models_opensearch",+ "models_pagination",+ "models_permissions",+ "models_properties",+ "models_search",+ "models_search_cursor",+ "models_soup",+ "models_team",+ "non_empty",+ "notification",+ "opensearch_client",+ "opensearch_query_builder",+ "prompt",+ "properties",+ "properties_db_client",+ "rate_limit",+ "readonly_pool",+ "remote_env_var",+ "roles_and_permissions",+ "s3_key",+ "search_service_client",+ "secretsmanager_client",+ "share_permission_db_utils",+ "soup",+ "sqs_client",+ "sqs_worker",+ "static_file",+ "stream",+ "sync_service",+ "sync_service_client",+ "system_properties",+ "task_dedup",+ "teams",+ "unfurl",+ "unfurl_service",+ "user_quota",+ "workspace-hack"+ ],+ "document_storage_service": [+ "agent",+ "ai_tools",+ "ai_toolset",+ "analytics_client",+ "anthropic",+ "attachment",+ "authentication_service_client",+ "bot_id",+ "bots",+ "cal",+ "call",+ "channel_bots",+ "channels",+ "chat",+ "comms",+ "comms_db_client",+ "connection",+ "connection_gateway_client",+ "connection_gateway_models",+ "contacts",+ "cowlike",+ "crm",+ "decode_jwt",+ "document_storage_service",+ "document_sub_type",+ "documents",+ "dynamodb_client",+ "email",+ "email_db_client",+ "email_service_client",+ "email_utils",+ "embedding",+ "entity_access",+ "entity_access_db_utils",+ "entity_access_management",+ "filter_ast",+ "foreign_entity",+ "frecency",+ "fusionauth",+ "github",+ "invite_email",+ "ip_extractor",+ "item_filters",+ "last_online_tracker",+ "lexical_client",+ "macro_auth",+ "macro_aws_config",+ "macro_axum_utils",+ "macro_cors",+ "macro_db_client",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "macro_middleware",+ "macro_project_utils",+ "macro_service_urls",+ "macro_sha_count_client",+ "macro_user_id",+ "macro_uuid",+ "mention_utils",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_notifications",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_dcs",+ "models_email",+ "models_entity_access_management",+ "models_grouping",+ "models_opensearch",+ "models_pagination",+ "models_permissions",+ "models_properties",+ "models_search",+ "models_search_cursor",+ "models_soup",+ "models_team",+ "name_search",+ "non_empty",+ "notification",+ "opensearch_client",+ "opensearch_query_builder",+ "prompt",+ "properties",+ "properties_db_client",+ "properties_service",+ "rate_limit",+ "readonly_pool",+ "remote_env_var",+ "roles_and_permissions",+ "s3_key",+ "saved_views",+ "search_service",+ "search_service_client",+ "secretsmanager_client",+ "share_permission_db_utils",+ "soup",+ "sqs_client",+ "sqs_worker",+ "sync_service",+ "sync_service_client",+ "system_properties",+ "task_dedup",+ "teams",+ "unfurl",+ "user_quota",+ "workspace-hack"+ ],+ "document_storage_service_client": [+ "agent",+ "ai_toolset",+ "attachment",+ "cowlike",+ "document_storage_service_client",+ "document_sub_type",+ "filter_ast",+ "frecency",+ "item_filters",+ "macro_user_id",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_pagination",+ "models_permissions",+ "non_empty",+ "workspace-hack"+ ],+ "document_sub_type": [+ "document_sub_type",+ "workspace-hack"+ ],+ "document_text_extractor": [+ "agent",+ "ai_toolset",+ "attachment",+ "cowlike",+ "document_sub_type",+ "document_text_extractor",+ "filter_ast",+ "frecency",+ "item_filters",+ "macro_aws_config",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "macro_user_id",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_pagination",+ "models_permissions",+ "non_empty",+ "s3_key",+ "workspace-hack"+ ],+ "document_upload_finalizer_handler": [+ "agent",+ "ai_toolset",+ "attachment",+ "authentication_service_client",+ "call",+ "comms",+ "connection",+ "connection_gateway_client",+ "connection_gateway_models",+ "cowlike",+ "crm",+ "decode_jwt",+ "document_sub_type",+ "document_upload_finalizer_handler",+ "documents",+ "email",+ "email_utils",+ "embedding",+ "entity_access",+ "entity_access_db_utils",+ "entity_access_management",+ "filter_ast",+ "foreign_entity",+ "frecency",+ "ip_extractor",+ "item_filters",+ "last_online_tracker",+ "lexical_client",+ "macro_auth",+ "macro_aws_config",+ "macro_db_client",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "macro_middleware",+ "macro_service_urls",+ "macro_user_id",+ "macro_uuid",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_dcs",+ "models_entity_access_management",+ "models_opensearch",+ "models_pagination",+ "models_permissions",+ "models_properties",+ "models_search",+ "models_search_cursor",+ "models_soup",+ "models_team",+ "non_empty",+ "notification",+ "opensearch_client",+ "opensearch_query_builder",+ "rate_limit",+ "readonly_pool",+ "remote_env_var",+ "s3_key",+ "secretsmanager_client",+ "sync_service",+ "sync_service_client",+ "system_properties",+ "task_dedup",+ "unfurl",+ "user_quota",+ "workspace-hack"+ ],+ "documents": [+ "agent",+ "ai_toolset",+ "attachment",+ "authentication_service_client",+ "call",+ "comms",+ "connection",+ "connection_gateway_client",+ "connection_gateway_models",+ "cowlike",+ "crm",+ "decode_jwt",+ "document_sub_type",+ "documents",+ "email",+ "email_utils",+ "embedding",+ "entity_access",+ "entity_access_db_utils",+ "entity_access_management",+ "filter_ast",+ "foreign_entity",+ "frecency",+ "ip_extractor",+ "item_filters",+ "last_online_tracker",+ "lexical_client",+ "macro_auth",+ "macro_aws_config",+ "macro_db_client",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "macro_middleware",+ "macro_service_urls",+ "macro_user_id",+ "macro_uuid",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_dcs",+ "models_entity_access_management",+ "models_opensearch",+ "models_pagination",+ "models_permissions",+ "models_properties",+ "models_search",+ "models_search_cursor",+ "models_soup",+ "models_team",+ "non_empty",+ "notification",+ "opensearch_client",+ "opensearch_query_builder",+ "rate_limit",+ "readonly_pool",+ "remote_env_var",+ "s3_key",+ "secretsmanager_client",+ "sync_service",+ "sync_service_client",+ "system_properties",+ "task_dedup",+ "unfurl",+ "user_quota",+ "workspace-hack"+ ],+ "docx_unzip_handler": [+ "agent",+ "ai_toolset",+ "attachment",+ "authentication_service_client",+ "cowlike",+ "crm",+ "document_sub_type",+ "docx_unzip_handler",+ "email",+ "email_utils",+ "entity_access",+ "entity_access_db_utils",+ "filter_ast",+ "frecency",+ "item_filters",+ "lambda_client",+ "macro_aws_config",+ "macro_db_client",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "macro_sha_count_client",+ "macro_user_id",+ "macro_uuid",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_dcs",+ "models_email",+ "models_entity_access_management",+ "models_opensearch",+ "models_pagination",+ "models_permissions",+ "models_properties",+ "models_team",+ "non_empty",+ "s3_client",+ "s3_key",+ "sqs_client",+ "system_properties",+ "unfurl",+ "user_quota",+ "workspace-hack"+ ],+ "dynamodb_client": [+ "dynamodb_client",+ "macro_aws_config",+ "macro_env_var",+ "models_bulk_upload",+ "s3_key",+ "workspace-hack"+ ],+ "email": [+ "agent",+ "ai_toolset",+ "attachment",+ "authentication_service_client",+ "cowlike",+ "crm",+ "document_sub_type",+ "email",+ "email_utils",+ "entity_access",+ "filter_ast",+ "frecency",+ "item_filters",+ "macro_user_id",+ "macro_uuid",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_pagination",+ "models_permissions",+ "non_empty",+ "unfurl",+ "workspace-hack"+ ],+ "email_db_client": [+ "cowlike",+ "email_db_client",+ "email_utils",+ "macro_user_id",+ "macro_uuid",+ "model-error-response",+ "models_email",+ "models_pagination",+ "workspace-hack"+ ],+ "email_formatting": [+ "ai_toolset",+ "cowlike",+ "decode_jwt",+ "document_sub_type",+ "email_formatting",+ "filter_ast",+ "frecency",+ "invite_email",+ "item_filters",+ "last_online_tracker",+ "macro_auth",+ "macro_env",+ "macro_env_var",+ "macro_service_urls",+ "macro_user_id",+ "macro_uuid",+ "mention_utils",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_notifications",+ "model_user",+ "models_comms",+ "models_pagination",+ "non_empty",+ "notification",+ "rate_limit",+ "remote_env_var",+ "workspace-hack"+ ],+ "email_refresh_handler": [+ "agent",+ "ai_toolset",+ "attachment",+ "authentication_service_client",+ "cowlike",+ "crm",+ "document_sub_type",+ "email",+ "email_refresh_handler",+ "email_utils",+ "entity_access",+ "filter_ast",+ "frecency",+ "item_filters",+ "macro_aws_config",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "macro_user_id",+ "macro_uuid",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_email",+ "models_pagination",+ "models_permissions",+ "non_empty",+ "s3_key",+ "sqs_client",+ "unfurl",+ "workspace-hack"+ ],+ "email_scheduled_handler": [+ "agent",+ "ai_toolset",+ "attachment",+ "authentication_service_client",+ "cowlike",+ "crm",+ "document_sub_type",+ "email",+ "email_scheduled_handler",+ "email_utils",+ "entity_access",+ "filter_ast",+ "frecency",+ "item_filters",+ "macro_aws_config",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "macro_user_id",+ "macro_uuid",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_email",+ "models_pagination",+ "models_permissions",+ "non_empty",+ "s3_key",+ "sqs_client",+ "unfurl",+ "workspace-hack"+ ],+ "email_service": [+ "agent",+ "ai_toolset",+ "attachment",+ "authentication_service_client",+ "connection_gateway_client",+ "connection_gateway_models",+ "contacts",+ "cowlike",+ "crm",+ "decode_jwt",+ "document_storage_service_client",+ "document_sub_type",+ "email",+ "email_db_client",+ "email_service",+ "email_utils",+ "entity_access",+ "entity_access_db_utils",+ "filter_ast",+ "frecency",+ "gmail_client",+ "invite_email",+ "ip_extractor",+ "item_filters",+ "last_online_tracker",+ "macro_auth",+ "macro_aws_config",+ "macro_cors",+ "macro_db_client",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "macro_middleware",+ "macro_service_urls",+ "macro_user_id",+ "macro_uuid",+ "mention_utils",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_notifications",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_dcs",+ "models_email",+ "models_entity_access_management",+ "models_opensearch",+ "models_pagination",+ "models_permissions",+ "models_properties",+ "models_sfs",+ "models_team",+ "non_empty",+ "notification",+ "rate_limit",+ "remote_env_var",+ "s3_client",+ "s3_key",+ "secretsmanager_client",+ "sqs_client",+ "sqs_worker",+ "static_file_service_client",+ "system_properties",+ "unfurl",+ "user_quota",+ "workspace-hack"+ ],+ "email_service_client": [+ "agent",+ "ai_toolset",+ "attachment",+ "authentication_service_client",+ "cowlike",+ "crm",+ "document_sub_type",+ "email",+ "email_service_client",+ "email_utils",+ "entity_access",+ "filter_ast",+ "frecency",+ "item_filters",+ "macro_user_id",+ "macro_uuid",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_email",+ "models_pagination",+ "models_permissions",+ "non_empty",+ "unfurl",+ "workspace-hack"+ ],+ "email_sfs_delete_handler": [+ "agent",+ "ai_toolset",+ "attachment",+ "authentication_service_client",+ "cowlike",+ "crm",+ "document_sub_type",+ "email",+ "email_sfs_delete_handler",+ "email_utils",+ "entity_access",+ "filter_ast",+ "frecency",+ "item_filters",+ "macro_aws_config",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "macro_user_id",+ "macro_uuid",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_email",+ "models_pagination",+ "models_permissions",+ "non_empty",+ "s3_key",+ "sqs_client",+ "unfurl",+ "workspace-hack"+ ],+ "email_suppression_handler": [+ "agent",+ "ai_toolset",+ "attachment",+ "cowlike",+ "document_sub_type",+ "email_suppression_handler",+ "entity_access_db_utils",+ "filter_ast",+ "frecency",+ "item_filters",+ "macro_db_client",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "macro_user_id",+ "macro_uuid",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_dcs",+ "models_entity_access_management",+ "models_opensearch",+ "models_pagination",+ "models_permissions",+ "models_properties",+ "models_team",+ "non_empty",+ "system_properties",+ "user_quota",+ "workspace-hack"+ ],+ "email_utils": [+ "email_utils",+ "workspace-hack"+ ],+ "email_validator": [+ "email_validator",+ "workspace-hack"+ ],+ "embedding": [+ "embedding",+ "workspace-hack"+ ],+ "ensure_exists": [+ "ensure_exists",+ "workspace-hack"+ ],+ "entity_access": [+ "agent",+ "ai_toolset",+ "attachment",+ "cowlike",+ "document_sub_type",+ "entity_access",+ "filter_ast",+ "frecency",+ "item_filters",+ "macro_user_id",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_pagination",+ "models_permissions",+ "non_empty",+ "workspace-hack"+ ],+ "entity_access_db_utils": [+ "cowlike",+ "entity_access_db_utils",+ "macro_user_id",+ "macro_uuid",+ "model-entity",+ "model_file_type",+ "models_entity_access_management",+ "models_permissions",+ "workspace-hack"+ ],+ "entity_access_management": [+ "cowlike",+ "entity_access_db_utils",+ "entity_access_management",+ "macro_user_id",+ "macro_uuid",+ "model-entity",+ "model_file_type",+ "models_entity_access_management",+ "models_permissions",+ "workspace-hack"+ ],+ "filter_ast": [+ "filter_ast",+ "workspace-hack"+ ],+ "foreign_entity": [+ "agent",+ "ai_toolset",+ "attachment",+ "cowlike",+ "document_sub_type",+ "entity_access",+ "filter_ast",+ "foreign_entity",+ "frecency",+ "item_filters",+ "macro_user_id",+ "macro_uuid",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_pagination",+ "models_permissions",+ "non_empty",+ "workspace-hack"+ ],+ "frecency": [+ "cowlike",+ "document_sub_type",+ "filter_ast",+ "frecency",+ "item_filters",+ "macro_user_id",+ "model-entity",+ "model_file_type",+ "non_empty",+ "workspace-hack"+ ],+ "fusionauth": [+ "fusionauth",+ "macro_env",+ "macro_env_var",+ "workspace-hack"+ ],+ "github": [+ "agent",+ "ai_toolset",+ "attachment",+ "authentication_service_client",+ "call",+ "comms",+ "connection",+ "connection_gateway_client",+ "connection_gateway_models",+ "cowlike",+ "crm",+ "decode_jwt",+ "document_sub_type",+ "documents",+ "email",+ "email_utils",+ "embedding",+ "entity_access",+ "entity_access_db_utils",+ "entity_access_management",+ "filter_ast",+ "foreign_entity",+ "frecency",+ "fusionauth",+ "github",+ "invite_email",+ "ip_extractor",+ "item_filters",+ "last_online_tracker",+ "lexical_client",+ "macro_auth",+ "macro_aws_config",+ "macro_db_client",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "macro_middleware",+ "macro_service_urls",+ "macro_user_id",+ "macro_uuid",+ "mention_utils",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_notifications",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_dcs",+ "models_entity_access_management",+ "models_opensearch",+ "models_pagination",+ "models_permissions",+ "models_properties",+ "models_search",+ "models_search_cursor",+ "models_soup",+ "models_team",+ "non_empty",+ "notification",+ "opensearch_client",+ "opensearch_query_builder",+ "rate_limit",+ "readonly_pool",+ "remote_env_var",+ "s3_key",+ "secretsmanager_client",+ "sync_service",+ "sync_service_client",+ "system_properties",+ "task_dedup",+ "unfurl",+ "user_quota",+ "workspace-hack"+ ],+ "gmail_client": [+ "cowlike",+ "email_utils",+ "gmail_client",+ "macro_user_id",+ "model-error-response",+ "models_email",+ "models_pagination",+ "workspace-hack"+ ],+ "image_optimizer": [+ "image_optimizer",+ "macro_aws_config",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "workspace-hack"+ ],+ "image_proxy_service": [+ "agent",+ "ai_toolset",+ "attachment",+ "cowlike",+ "decode_jwt",+ "document_sub_type",+ "entity_access_db_utils",+ "filter_ast",+ "frecency",+ "image_proxy_service",+ "ip_extractor",+ "item_filters",+ "macro_auth",+ "macro_aws_config",+ "macro_cors",+ "macro_db_client",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "macro_middleware",+ "macro_user_id",+ "macro_uuid",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_dcs",+ "models_entity_access_management",+ "models_opensearch",+ "models_pagination",+ "models_permissions",+ "models_properties",+ "models_team",+ "non_empty",+ "remote_env_var",+ "secretsmanager_client",+ "system_properties",+ "user_quota",+ "workspace-hack"+ ],+ "invite_email": [+ "ai_toolset",+ "cowlike",+ "decode_jwt",+ "invite_email",+ "last_online_tracker",+ "macro_auth",+ "macro_env",+ "macro_env_var",+ "macro_service_urls",+ "macro_user_id",+ "macro_uuid",+ "model-entity",+ "model-error-response",+ "model_user",+ "models_pagination",+ "notification",+ "rate_limit",+ "remote_env_var",+ "workspace-hack"+ ],+ "ip_extractor": [+ "ip_extractor",+ "workspace-hack"+ ],+ "item_filters": [+ "cowlike",+ "document_sub_type",+ "filter_ast",+ "item_filters",+ "macro_user_id",+ "model_file_type",+ "non_empty",+ "workspace-hack"+ ],+ "lambda_client": [+ "lambda_client",+ "workspace-hack"+ ],+ "last_online_tracker": [+ "cowlike",+ "last_online_tracker",+ "macro_user_id",+ "workspace-hack"+ ],+ "lexical_client": [+ "agent",+ "ai_toolset",+ "attachment",+ "authentication_service_client",+ "call",+ "comms",+ "connection",+ "connection_gateway_client",+ "connection_gateway_models",+ "cowlike",+ "crm",+ "decode_jwt",+ "document_sub_type",+ "email",+ "email_utils",+ "entity_access",+ "entity_access_db_utils",+ "filter_ast",+ "frecency",+ "item_filters",+ "last_online_tracker",+ "lexical_client",+ "macro_auth",+ "macro_aws_config",+ "macro_env",+ "macro_env_var",+ "macro_service_urls",+ "macro_user_id",+ "macro_uuid",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_entity_access_management",+ "models_opensearch",+ "models_pagination",+ "models_permissions",+ "models_properties",+ "models_search",+ "models_search_cursor",+ "models_soup",+ "non_empty",+ "notification",+ "opensearch_client",+ "opensearch_query_builder",+ "rate_limit",+ "readonly_pool",+ "remote_env_var",+ "unfurl",+ "workspace-hack"+ ],+ "load-test": [+ "document_cognition_service/load-test",+ "workspace-hack"+ ],+ "local_e2e_integration_tests": [+ "integration_tests/local_e2e",+ "workspace-hack"+ ],+ "local_e2e_test_support": [+ "cowlike",+ "local_e2e_test_support",+ "macro_auth",+ "macro_env",+ "macro_env_var",+ "macro_user_id",+ "remote_env_var",+ "workspace-hack"+ ],+ "macro_auth": [+ "cowlike",+ "macro_auth",+ "macro_env",+ "macro_env_var",+ "macro_user_id",+ "remote_env_var",+ "workspace-hack"+ ],+ "macro_aws_config": [+ "macro_aws_config",+ "macro_env_var",+ "workspace-hack"+ ],+ "macro_axum_utils": [+ "macro_axum_utils",+ "workspace-hack"+ ],+ "macro_cache_client": [+ "email_validator",+ "macro_cache_client",+ "macro_redis",+ "workspace-hack"+ ],+ "macro_config": [+ "macro_config",+ "macro_config_derive",+ "workspace-hack"+ ],+ "macro_config_derive": [+ "macro_config_derive",+ "workspace-hack"+ ],+ "macro_cors": [+ "macro_cors",+ "workspace-hack"+ ],+ "macro_db_client": [+ "agent",+ "ai_toolset",+ "attachment",+ "cowlike",+ "document_sub_type",+ "entity_access_db_utils",+ "filter_ast",+ "frecency",+ "item_filters",+ "macro_db_client",+ "macro_user_id",+ "macro_uuid",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_dcs",+ "models_entity_access_management",+ "models_opensearch",+ "models_pagination",+ "models_permissions",+ "models_properties",+ "models_team",+ "non_empty",+ "system_properties",+ "user_quota",+ "workspace-hack"+ ],+ "macro_db_migrator": [+ "macro_db_migrator",+ "workspace-hack"+ ],+ "macro_entrypoint": [+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "workspace-hack"+ ],+ "macro_env": [+ "macro_env",+ "macro_env_var",+ "workspace-hack"+ ],+ "macro_env_var": [+ "macro_env_var",+ "workspace-hack"+ ],+ "macro_middleware": [+ "agent",+ "ai_toolset",+ "attachment",+ "cowlike",+ "decode_jwt",+ "document_sub_type",+ "entity_access_db_utils",+ "filter_ast",+ "frecency",+ "ip_extractor",+ "item_filters",+ "macro_auth",+ "macro_db_client",+ "macro_env",+ "macro_env_var",+ "macro_middleware",+ "macro_user_id",+ "macro_uuid",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_dcs",+ "models_entity_access_management",+ "models_opensearch",+ "models_pagination",+ "models_permissions",+ "models_properties",+ "models_team",+ "non_empty",+ "remote_env_var",+ "system_properties",+ "user_quota",+ "workspace-hack"+ ],+ "macro_project_utils": [+ "macro_project_utils",+ "workspace-hack"+ ],+ "macro_redis": [+ "macro_redis",+ "workspace-hack"+ ],+ "macro_service_urls": [+ "macro_env",+ "macro_env_var",+ "macro_service_urls",+ "workspace-hack"+ ],+ "macro_sha_count_client": [+ "agent",+ "ai_toolset",+ "attachment",+ "cowlike",+ "document_sub_type",+ "filter_ast",+ "frecency",+ "item_filters",+ "macro_sha_count_client",+ "macro_user_id",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_pagination",+ "models_permissions",+ "non_empty",+ "workspace-hack"+ ],+ "macro_tower_layers": [+ "macro_tower_layers",+ "workspace-hack"+ ],+ "macro_user_id": [+ "cowlike",+ "macro_user_id",+ "workspace-hack"+ ],+ "macro_uuid": [+ "macro_uuid",+ "workspace-hack"+ ],+ "mcp_auth_proxy": [+ "cowlike",+ "fusionauth",+ "macro_auth",+ "macro_env",+ "macro_env_var",+ "macro_user_id",+ "mcp_auth_proxy",+ "remote_env_var",+ "workspace-hack"+ ],+ "mcp_client": [+ "agent",+ "ai_toolset",+ "attachment",+ "cowlike",+ "macro_env_var",+ "macro_user_id",+ "mcp_client",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "non_empty",+ "workspace-hack"+ ],+ "mcp_service": [+ "agent",+ "ai_tools",+ "ai_toolset",+ "anthropic",+ "attachment",+ "authentication_service_client",+ "bot_id",+ "call",+ "channels",+ "chat",+ "comms",+ "connection",+ "connection_gateway_client",+ "connection_gateway_models",+ "contacts",+ "cowlike",+ "crm",+ "decode_jwt",+ "document_sub_type",+ "documents",+ "email",+ "email_db_client",+ "email_service_client",+ "email_utils",+ "embedding",+ "entity_access",+ "entity_access_db_utils",+ "entity_access_management",+ "filter_ast",+ "foreign_entity",+ "frecency",+ "fusionauth",+ "invite_email",+ "ip_extractor",+ "item_filters",+ "last_online_tracker",+ "lexical_client",+ "macro_auth",+ "macro_aws_config",+ "macro_db_client",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "macro_middleware",+ "macro_service_urls",+ "macro_user_id",+ "macro_uuid",+ "mcp_auth_proxy",+ "mcp_service",+ "mention_utils",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_notifications",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_dcs",+ "models_email",+ "models_entity_access_management",+ "models_grouping",+ "models_opensearch",+ "models_pagination",+ "models_permissions",+ "models_properties",+ "models_search",+ "models_search_cursor",+ "models_soup",+ "models_team",+ "non_empty",+ "notification",+ "opensearch_client",+ "opensearch_query_builder",+ "prompt",+ "properties",+ "properties_db_client",+ "rate_limit",+ "readonly_pool",+ "remote_env_var",+ "roles_and_permissions",+ "s3_key",+ "search_service_client",+ "secretsmanager_client",+ "share_permission_db_utils",+ "soup",+ "sqs_client",+ "sqs_worker",+ "sync_service",+ "sync_service_client",+ "system_properties",+ "task_dedup",+ "teams",+ "unfurl",+ "user_quota",+ "workspace-hack"+ ],+ "memory": [+ "agent",+ "ai_tools",+ "ai_toolset",+ "anthropic",+ "attachment",+ "authentication_service_client",+ "bot_id",+ "call",+ "channels",+ "chat",+ "comms",+ "connection",+ "connection_gateway_client",+ "connection_gateway_models",+ "contacts",+ "cowlike",+ "crm",+ "decode_jwt",+ "document_sub_type",+ "documents",+ "email",+ "email_db_client",+ "email_service_client",+ "email_utils",+ "embedding",+ "entity_access",+ "entity_access_db_utils",+ "entity_access_management",+ "filter_ast",+ "foreign_entity",+ "frecency",+ "invite_email",+ "ip_extractor",+ "item_filters",+ "last_online_tracker",+ "lexical_client",+ "macro_auth",+ "macro_aws_config",+ "macro_db_client",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "macro_middleware",+ "macro_service_urls",+ "macro_user_id",+ "macro_uuid",+ "memory",+ "mention_utils",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_notifications",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_dcs",+ "models_email",+ "models_entity_access_management",+ "models_grouping",+ "models_opensearch",+ "models_pagination",+ "models_permissions",+ "models_properties",+ "models_search",+ "models_search_cursor",+ "models_soup",+ "models_team",+ "non_empty",+ "notification",+ "opensearch_client",+ "opensearch_query_builder",+ "prompt",+ "properties",+ "properties_db_client",+ "rate_limit",+ "readonly_pool",+ "remote_env_var",+ "roles_and_permissions",+ "s3_key",+ "search_service_client",+ "secretsmanager_client",+ "share_permission_db_utils",+ "soup",+ "sqs_client",+ "sqs_worker",+ "sync_service",+ "sync_service_client",+ "system_properties",+ "task_dedup",+ "teams",+ "unfurl",+ "user_quota",+ "workspace-hack"+ ],+ "mention_utils": [+ "cowlike",+ "macro_user_id",+ "mention_utils",+ "workspace-hack"+ ],+ "mobile_welcome_email_db_client": [+ "mobile_welcome_email_db_client",+ "workspace-hack"+ ],+ "model": [+ "agent",+ "ai_toolset",+ "attachment",+ "cowlike",+ "document_sub_type",+ "filter_ast",+ "frecency",+ "item_filters",+ "macro_user_id",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_pagination",+ "models_permissions",+ "non_empty",+ "workspace-hack"+ ],+ "model-entity": [+ "cowlike",+ "model-entity",+ "workspace-hack"+ ],+ "model-error-response": [+ "model-error-response",+ "workspace-hack"+ ],+ "model_file_type": [+ "model_file_type",+ "workspace-hack"+ ],+ "model_notifications": [+ "ai_toolset",+ "cowlike",+ "decode_jwt",+ "document_sub_type",+ "filter_ast",+ "frecency",+ "invite_email",+ "item_filters",+ "last_online_tracker",+ "macro_auth",+ "macro_env",+ "macro_env_var",+ "macro_service_urls",+ "macro_user_id",+ "macro_uuid",+ "mention_utils",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_notifications",+ "model_user",+ "models_comms",+ "models_pagination",+ "non_empty",+ "notification",+ "rate_limit",+ "remote_env_var",+ "workspace-hack"+ ],+ "model_user": [+ "cowlike",+ "macro_user_id",+ "model_user",+ "workspace-hack"+ ],+ "models_bulk_upload": [+ "models_bulk_upload",+ "workspace-hack"+ ],+ "models_comms": [+ "cowlike",+ "document_sub_type",+ "filter_ast",+ "frecency",+ "item_filters",+ "macro_user_id",+ "model-entity",+ "model_file_type",+ "models_comms",+ "non_empty",+ "workspace-hack"+ ],+ "models_dcs": [+ "models_dcs",+ "workspace-hack"+ ],+ "models_email": [+ "cowlike",+ "email_utils",+ "macro_user_id",+ "model-error-response",+ "models_email",+ "models_pagination",+ "workspace-hack"+ ],+ "models_entity_access_management": [+ "models_entity_access_management",+ "workspace-hack"+ ],+ "models_grouping": [+ "models_grouping",+ "workspace-hack"+ ],+ "models_opensearch": [+ "models_opensearch",+ "workspace-hack"+ ],+ "models_pagination": [+ "model-error-response",+ "models_pagination",+ "workspace-hack"+ ],+ "models_permissions": [+ "model_file_type",+ "models_permissions",+ "workspace-hack"+ ],+ "models_properties": [+ "models_properties",+ "workspace-hack"+ ],+ "models_search": [+ "agent",+ "ai_toolset",+ "attachment",+ "authentication_service_client",+ "call",+ "comms",+ "connection",+ "connection_gateway_client",+ "connection_gateway_models",+ "cowlike",+ "crm",+ "decode_jwt",+ "document_sub_type",+ "email",+ "email_utils",+ "entity_access",+ "entity_access_db_utils",+ "filter_ast",+ "frecency",+ "item_filters",+ "last_online_tracker",+ "macro_auth",+ "macro_aws_config",+ "macro_env",+ "macro_env_var",+ "macro_service_urls",+ "macro_user_id",+ "macro_uuid",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_entity_access_management",+ "models_opensearch",+ "models_pagination",+ "models_permissions",+ "models_properties",+ "models_search",+ "models_search_cursor",+ "models_soup",+ "non_empty",+ "notification",+ "opensearch_client",+ "opensearch_query_builder",+ "rate_limit",+ "readonly_pool",+ "remote_env_var",+ "unfurl",+ "workspace-hack"+ ],+ "models_search_cursor": [+ "models_search_cursor",+ "workspace-hack"+ ],+ "models_sfs": [+ "models_sfs",+ "workspace-hack"+ ],+ "models_soup": [+ "agent",+ "ai_toolset",+ "attachment",+ "authentication_service_client",+ "call",+ "comms",+ "connection",+ "connection_gateway_client",+ "connection_gateway_models",+ "cowlike",+ "crm",+ "decode_jwt",+ "document_sub_type",+ "email",+ "email_utils",+ "entity_access",+ "entity_access_db_utils",+ "filter_ast",+ "frecency",+ "item_filters",+ "last_online_tracker",+ "macro_auth",+ "macro_aws_config",+ "macro_env",+ "macro_env_var",+ "macro_service_urls",+ "macro_user_id",+ "macro_uuid",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_entity_access_management",+ "models_pagination",+ "models_permissions",+ "models_properties",+ "models_soup",+ "non_empty",+ "notification",+ "rate_limit",+ "readonly_pool",+ "remote_env_var",+ "unfurl",+ "workspace-hack"+ ],+ "models_team": [+ "models_team",+ "workspace-hack"+ ],+ "name_search": [+ "cowlike",+ "macro_user_id",+ "models_opensearch",+ "models_search_cursor",+ "name_search",+ "workspace-hack"+ ],+ "native_app_server": [+ "native_app_service",+ "tools/native_app_server",+ "workspace-hack"+ ],+ "native_app_service": [+ "native_app_service",+ "workspace-hack"+ ],+ "non_empty": [+ "non_empty",+ "workspace-hack"+ ],+ "notification": [+ "ai_toolset",+ "cowlike",+ "decode_jwt",+ "last_online_tracker",+ "macro_auth",+ "macro_env",+ "macro_env_var",+ "macro_service_urls",+ "macro_user_id",+ "macro_uuid",+ "model-entity",+ "model-error-response",+ "model_user",+ "models_pagination",+ "notification",+ "rate_limit",+ "remote_env_var",+ "workspace-hack"+ ],+ "notification_db_client": [+ "ai_toolset",+ "cowlike",+ "decode_jwt",+ "document_sub_type",+ "filter_ast",+ "frecency",+ "invite_email",+ "item_filters",+ "last_online_tracker",+ "macro_auth",+ "macro_env",+ "macro_env_var",+ "macro_service_urls",+ "macro_user_id",+ "macro_uuid",+ "mention_utils",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_notifications",+ "model_user",+ "models_comms",+ "models_pagination",+ "non_empty",+ "notification",+ "notification_db_client",+ "rate_limit",+ "remote_env_var",+ "workspace-hack"+ ],+ "notification_sandbox": [+ "ai_toolset",+ "cowlike",+ "decode_jwt",+ "document_sub_type",+ "email_formatting",+ "filter_ast",+ "frecency",+ "invite_email",+ "item_filters",+ "last_online_tracker",+ "macro_auth",+ "macro_aws_config",+ "macro_env",+ "macro_env_var",+ "macro_service_urls",+ "macro_user_id",+ "macro_uuid",+ "mention_utils",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_notifications",+ "model_user",+ "models_comms",+ "models_pagination",+ "non_empty",+ "notification",+ "notification_sandbox",+ "rate_limit",+ "remote_env_var",+ "workspace-hack"+ ],+ "notification_service": [+ "agent",+ "ai_toolset",+ "attachment",+ "cowlike",+ "decode_jwt",+ "document_sub_type",+ "email_formatting",+ "entity_access_db_utils",+ "filter_ast",+ "frecency",+ "invite_email",+ "ip_extractor",+ "item_filters",+ "last_online_tracker",+ "macro_auth",+ "macro_aws_config",+ "macro_cors",+ "macro_db_client",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "macro_middleware",+ "macro_service_urls",+ "macro_tower_layers",+ "macro_user_id",+ "macro_uuid",+ "mention_utils",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_notifications",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_dcs",+ "models_entity_access_management",+ "models_opensearch",+ "models_pagination",+ "models_permissions",+ "models_properties",+ "models_team",+ "non_empty",+ "notification",+ "notification_db_client",+ "notification_service",+ "rate_limit",+ "remote_env_var",+ "secretsmanager_client",+ "sns_client",+ "system_properties",+ "user_quota",+ "workspace-hack"+ ],+ "opensearch_client": [+ "models_opensearch",+ "models_search_cursor",+ "opensearch_client",+ "opensearch_query_builder",+ "workspace-hack"+ ],+ "opensearch_query_builder": [+ "opensearch_query_builder",+ "workspace-hack"+ ],+ "organization_retention_handler": [+ "agent",+ "ai_toolset",+ "attachment",+ "authentication_service_client",+ "cowlike",+ "crm",+ "document_sub_type",+ "email",+ "email_utils",+ "entity_access",+ "filter_ast",+ "frecency",+ "item_filters",+ "macro_aws_config",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "macro_user_id",+ "macro_uuid",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_email",+ "models_pagination",+ "models_permissions",+ "non_empty",+ "organization_retention_handler",+ "s3_key",+ "sqs_client",+ "unfurl",+ "workspace-hack"+ ],+ "organization_retention_trigger": [+ "agent",+ "ai_toolset",+ "attachment",+ "authentication_service_client",+ "cowlike",+ "crm",+ "document_sub_type",+ "email",+ "email_utils",+ "entity_access",+ "filter_ast",+ "frecency",+ "item_filters",+ "macro_aws_config",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "macro_user_id",+ "macro_uuid",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_email",+ "models_pagination",+ "models_permissions",+ "non_empty",+ "organization_retention_trigger",+ "s3_key",+ "sqs_client",+ "unfurl",+ "workspace-hack"+ ],+ "prompt": [+ "prompt",+ "workspace-hack"+ ],+ "properties": [+ "agent",+ "ai_toolset",+ "attachment",+ "cowlike",+ "decode_jwt",+ "document_sub_type",+ "email_db_client",+ "email_utils",+ "entity_access",+ "entity_access_db_utils",+ "filter_ast",+ "frecency",+ "invite_email",+ "item_filters",+ "last_online_tracker",+ "macro_auth",+ "macro_db_client",+ "macro_env",+ "macro_env_var",+ "macro_service_urls",+ "macro_user_id",+ "macro_uuid",+ "mention_utils",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_notifications",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_dcs",+ "models_email",+ "models_entity_access_management",+ "models_opensearch",+ "models_pagination",+ "models_permissions",+ "models_properties",+ "models_team",+ "non_empty",+ "notification",+ "properties",+ "rate_limit",+ "remote_env_var",+ "system_properties",+ "user_quota",+ "workspace-hack"+ ],+ "properties_db_client": [+ "macro_uuid",+ "models_properties",+ "properties_db_client",+ "workspace-hack"+ ],+ "properties_service": [+ "agent",+ "ai_toolset",+ "attachment",+ "cowlike",+ "decode_jwt",+ "document_sub_type",+ "email_db_client",+ "email_utils",+ "entity_access",+ "entity_access_db_utils",+ "filter_ast",+ "frecency",+ "invite_email",+ "ip_extractor",+ "item_filters",+ "last_online_tracker",+ "macro_auth",+ "macro_db_client",+ "macro_env",+ "macro_env_var",+ "macro_middleware",+ "macro_service_urls",+ "macro_user_id",+ "macro_uuid",+ "mention_utils",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_notifications",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_dcs",+ "models_email",+ "models_entity_access_management",+ "models_opensearch",+ "models_pagination",+ "models_permissions",+ "models_properties",+ "models_team",+ "non_empty",+ "notification",+ "properties",+ "properties_db_client",+ "properties_service",+ "rate_limit",+ "remote_env_var",+ "system_properties",+ "user_quota",+ "workspace-hack"+ ],+ "rate_limit": [+ "rate_limit",+ "workspace-hack"+ ],+ "readonly_pool": [+ "readonly_pool",+ "workspace-hack"+ ],+ "referral": [+ "ai_toolset",+ "cowlike",+ "decode_jwt",+ "invite_email",+ "ip_extractor",+ "last_online_tracker",+ "macro_auth",+ "macro_env",+ "macro_env_var",+ "macro_service_urls",+ "macro_user_id",+ "macro_uuid",+ "model-entity",+ "model-error-response",+ "model_user",+ "models_pagination",+ "notification",+ "rate_limit",+ "referral",+ "remote_env_var",+ "workspace-hack"+ ],+ "remote_env_var": [+ "macro_env",+ "macro_env_var",+ "remote_env_var",+ "workspace-hack"+ ],+ "roles_and_permissions": [+ "cowlike",+ "macro_user_id",+ "non_empty",+ "roles_and_permissions",+ "workspace-hack"+ ],+ "s3_client": [+ "s3_client",+ "workspace-hack"+ ],+ "s3_key": [+ "s3_key",+ "workspace-hack"+ ],+ "saved_views": [+ "macro_uuid",+ "saved_views",+ "workspace-hack"+ ],+ "scheduled_action": [+ "agent",+ "ai_tools",+ "ai_toolset",+ "anthropic",+ "attachment",+ "authentication_service_client",+ "bot_id",+ "call",+ "channels",+ "chat",+ "comms",+ "connection",+ "connection_gateway_client",+ "connection_gateway_models",+ "contacts",+ "cowlike",+ "crm",+ "decode_jwt",+ "document_sub_type",+ "documents",+ "email",+ "email_db_client",+ "email_service_client",+ "email_utils",+ "embedding",+ "entity_access",+ "entity_access_db_utils",+ "entity_access_management",+ "filter_ast",+ "foreign_entity",+ "frecency",+ "invite_email",+ "ip_extractor",+ "item_filters",+ "last_online_tracker",+ "lexical_client",+ "macro_auth",+ "macro_aws_config",+ "macro_cors",+ "macro_db_client",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "macro_middleware",+ "macro_service_urls",+ "macro_user_id",+ "macro_uuid",+ "memory",+ "mention_utils",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_notifications",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_dcs",+ "models_email",+ "models_entity_access_management",+ "models_grouping",+ "models_opensearch",+ "models_pagination",+ "models_permissions",+ "models_properties",+ "models_search",+ "models_search_cursor",+ "models_soup",+ "models_team",+ "non_empty",+ "notification",+ "opensearch_client",+ "opensearch_query_builder",+ "prompt",+ "properties",+ "properties_db_client",+ "rate_limit",+ "readonly_pool",+ "remote_env_var",+ "roles_and_permissions",+ "s3_key",+ "scheduled_action",+ "search_service_client",+ "secretsmanager_client",+ "share_permission_db_utils",+ "soup",+ "sqs_client",+ "sqs_worker",+ "sync_service",+ "sync_service_client",+ "system_properties",+ "task_dedup",+ "teams",+ "unfurl",+ "user_quota",+ "workspace-hack"+ ],+ "search_processing_service": [+ "agent",+ "ai_toolset",+ "attachment",+ "authentication_service_client",+ "call",+ "comms",+ "comms_db_client",+ "connection",+ "connection_gateway_client",+ "connection_gateway_models",+ "cowlike",+ "crm",+ "decode_jwt",+ "document_sub_type",+ "email",+ "email_db_client",+ "email_utils",+ "ensure_exists",+ "entity_access",+ "entity_access_db_utils",+ "filter_ast",+ "frecency",+ "ip_extractor",+ "item_filters",+ "last_online_tracker",+ "lexical_client",+ "macro_auth",+ "macro_aws_config",+ "macro_cors",+ "macro_db_client",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "macro_middleware",+ "macro_service_urls",+ "macro_user_id",+ "macro_uuid",+ "mention_utils",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_dcs",+ "models_email",+ "models_entity_access_management",+ "models_opensearch",+ "models_pagination",+ "models_permissions",+ "models_properties",+ "models_search",+ "models_search_cursor",+ "models_soup",+ "models_team",+ "non_empty",+ "notification",+ "opensearch_client",+ "opensearch_query_builder",+ "rate_limit",+ "readonly_pool",+ "remote_env_var",+ "s3_client",+ "s3_key",+ "search_processing_service",+ "secretsmanager_client",+ "sqs_client",+ "sqs_worker",+ "system_properties",+ "unfurl",+ "user_quota",+ "workspace-hack"+ ],+ "search_service": [+ "agent",+ "ai_toolset",+ "attachment",+ "authentication_service_client",+ "call",+ "comms",+ "comms_db_client",+ "connection",+ "connection_gateway_client",+ "connection_gateway_models",+ "cowlike",+ "crm",+ "decode_jwt",+ "document_sub_type",+ "email",+ "email_db_client",+ "email_utils",+ "entity_access",+ "entity_access_db_utils",+ "filter_ast",+ "frecency",+ "ip_extractor",+ "item_filters",+ "last_online_tracker",+ "macro_auth",+ "macro_aws_config",+ "macro_db_client",+ "macro_env",+ "macro_env_var",+ "macro_middleware",+ "macro_service_urls",+ "macro_user_id",+ "macro_uuid",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_dcs",+ "models_email",+ "models_entity_access_management",+ "models_opensearch",+ "models_pagination",+ "models_permissions",+ "models_properties",+ "models_search",+ "models_search_cursor",+ "models_soup",+ "models_team",+ "name_search",+ "non_empty",+ "notification",+ "opensearch_client",+ "opensearch_query_builder",+ "properties_db_client",+ "rate_limit",+ "readonly_pool",+ "remote_env_var",+ "search_service",+ "secretsmanager_client",+ "system_properties",+ "unfurl",+ "user_quota",+ "workspace-hack"+ ],+ "search_service_client": [+ "agent",+ "ai_toolset",+ "attachment",+ "authentication_service_client",+ "call",+ "comms",+ "connection",+ "connection_gateway_client",+ "connection_gateway_models",+ "cowlike",+ "crm",+ "decode_jwt",+ "document_sub_type",+ "email",+ "email_utils",+ "entity_access",+ "entity_access_db_utils",+ "filter_ast",+ "frecency",+ "item_filters",+ "last_online_tracker",+ "macro_auth",+ "macro_aws_config",+ "macro_env",+ "macro_env_var",+ "macro_service_urls",+ "macro_user_id",+ "macro_uuid",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_entity_access_management",+ "models_opensearch",+ "models_pagination",+ "models_permissions",+ "models_properties",+ "models_search",+ "models_search_cursor",+ "models_soup",+ "non_empty",+ "notification",+ "opensearch_client",+ "opensearch_query_builder",+ "rate_limit",+ "readonly_pool",+ "remote_env_var",+ "search_service_client",+ "unfurl",+ "workspace-hack"+ ],+ "search_upload_handler": [+ "agent",+ "ai_toolset",+ "attachment",+ "authentication_service_client",+ "cowlike",+ "crm",+ "document_storage_service_client",+ "document_sub_type",+ "email",+ "email_utils",+ "entity_access",+ "filter_ast",+ "frecency",+ "item_filters",+ "macro_aws_config",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "macro_service_urls",+ "macro_user_id",+ "macro_uuid",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_email",+ "models_pagination",+ "models_permissions",+ "non_empty",+ "s3_key",+ "search_upload_handler",+ "sqs_client",+ "unfurl",+ "workspace-hack"+ ],+ "secretsmanager_client": [+ "macro_env",+ "macro_env_var",+ "remote_env_var",+ "secretsmanager_client",+ "workspace-hack"+ ],+ "seed_cli": [+ "agent",+ "ai_toolset",+ "attachment",+ "comms_db_client",+ "cowlike",+ "document_sub_type",+ "email_db_client",+ "email_utils",+ "entity_access_db_utils",+ "filter_ast",+ "frecency",+ "fusionauth",+ "item_filters",+ "macro_aws_config",+ "macro_db_client",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "macro_user_id",+ "macro_uuid",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_dcs",+ "models_email",+ "models_entity_access_management",+ "models_opensearch",+ "models_pagination",+ "models_permissions",+ "models_properties",+ "models_team",+ "non_empty",+ "seed_cli",+ "system_properties",+ "user_quota",+ "workspace-hack"+ ],+ "serde_utils": [+ "serde_utils",+ "workspace-hack"+ ],+ "ses_client": [+ "ses_client",+ "workspace-hack"+ ],+ "sha_cleanup_worker": [+ "macro_aws_config",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "sha_cleanup_worker",+ "workspace-hack"+ ],+ "share_permission_db_utils": [+ "cowlike",+ "entity_access_db_utils",+ "macro_user_id",+ "macro_uuid",+ "model-entity",+ "model_file_type",+ "models_entity_access_management",+ "models_permissions",+ "share_permission_db_utils",+ "workspace-hack"+ ],+ "sns_client": [+ "sns_client",+ "workspace-hack"+ ],+ "soup": [+ "agent",+ "ai_toolset",+ "attachment",+ "authentication_service_client",+ "call",+ "comms",+ "connection",+ "connection_gateway_client",+ "connection_gateway_models",+ "cowlike",+ "crm",+ "decode_jwt",+ "document_sub_type",+ "email",+ "email_utils",+ "entity_access",+ "entity_access_db_utils",+ "filter_ast",+ "foreign_entity",+ "frecency",+ "item_filters",+ "last_online_tracker",+ "macro_auth",+ "macro_aws_config",+ "macro_env",+ "macro_env_var",+ "macro_service_urls",+ "macro_user_id",+ "macro_uuid",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_entity_access_management",+ "models_grouping",+ "models_pagination",+ "models_permissions",+ "models_properties",+ "models_soup",+ "non_empty",+ "notification",+ "properties_db_client",+ "rate_limit",+ "readonly_pool",+ "remote_env_var",+ "soup",+ "system_properties",+ "unfurl",+ "workspace-hack"+ ],+ "sqs_client": [+ "agent",+ "ai_toolset",+ "attachment",+ "authentication_service_client",+ "cowlike",+ "crm",+ "document_sub_type",+ "email",+ "email_utils",+ "entity_access",+ "filter_ast",+ "frecency",+ "item_filters",+ "macro_user_id",+ "macro_uuid",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_email",+ "models_pagination",+ "models_permissions",+ "non_empty",+ "s3_key",+ "sqs_client",+ "unfurl",+ "workspace-hack"+ ],+ "sqs_worker": [+ "sqs_worker",+ "workspace-hack"+ ],+ "static_file": [+ "attachment",+ "cowlike",+ "macro_user_id",+ "model-entity",+ "model_file_type",+ "non_empty",+ "static_file",+ "workspace-hack"+ ],+ "static_file_service": [+ "agent",+ "ai_toolset",+ "attachment",+ "cowlike",+ "decode_jwt",+ "document_sub_type",+ "entity_access_db_utils",+ "filter_ast",+ "frecency",+ "ip_extractor",+ "item_filters",+ "macro_auth",+ "macro_aws_config",+ "macro_cors",+ "macro_db_client",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "macro_middleware",+ "macro_service_urls",+ "macro_user_id",+ "macro_uuid",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_dcs",+ "models_entity_access_management",+ "models_opensearch",+ "models_pagination",+ "models_permissions",+ "models_properties",+ "models_sfs",+ "models_team",+ "non_empty",+ "remote_env_var",+ "s3_key",+ "secretsmanager_client",+ "static_file_service",+ "system_properties",+ "user_quota",+ "workspace-hack"+ ],+ "static_file_service_client": [+ "models_sfs",+ "static_file_service_client",+ "workspace-hack"+ ],+ "stream": [+ "cowlike",+ "model-entity",+ "stream",+ "workspace-hack"+ ],+ "sync_service": [+ "sync_service",+ "workspace-hack"+ ],+ "sync_service_client": [+ "agent",+ "ai_toolset",+ "attachment",+ "cowlike",+ "document_sub_type",+ "filter_ast",+ "frecency",+ "item_filters",+ "macro_user_id",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_pagination",+ "models_permissions",+ "non_empty",+ "sync_service",+ "sync_service_client",+ "workspace-hack"+ ],+ "system_properties": [+ "cowlike",+ "macro_user_id",+ "macro_uuid",+ "models_properties",+ "system_properties",+ "workspace-hack"+ ],+ "task_dedup": [+ "agent",+ "ai_toolset",+ "attachment",+ "authentication_service_client",+ "call",+ "comms",+ "connection",+ "connection_gateway_client",+ "connection_gateway_models",+ "cowlike",+ "crm",+ "decode_jwt",+ "document_sub_type",+ "email",+ "email_utils",+ "embedding",+ "entity_access",+ "entity_access_db_utils",+ "filter_ast",+ "frecency",+ "ip_extractor",+ "item_filters",+ "last_online_tracker",+ "lexical_client",+ "macro_auth",+ "macro_aws_config",+ "macro_db_client",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "macro_middleware",+ "macro_service_urls",+ "macro_user_id",+ "macro_uuid",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_dcs",+ "models_entity_access_management",+ "models_opensearch",+ "models_pagination",+ "models_permissions",+ "models_properties",+ "models_search",+ "models_search_cursor",+ "models_soup",+ "models_team",+ "non_empty",+ "notification",+ "opensearch_client",+ "opensearch_query_builder",+ "rate_limit",+ "readonly_pool",+ "remote_env_var",+ "secretsmanager_client",+ "system_properties",+ "task_dedup",+ "unfurl",+ "user_quota",+ "workspace-hack"+ ],+ "teams": [+ "agent",+ "ai_toolset",+ "attachment",+ "authentication_service_client",+ "cowlike",+ "crm",+ "decode_jwt",+ "document_sub_type",+ "email",+ "email_utils",+ "entity_access",+ "filter_ast",+ "frecency",+ "invite_email",+ "item_filters",+ "last_online_tracker",+ "macro_auth",+ "macro_env",+ "macro_env_var",+ "macro_service_urls",+ "macro_user_id",+ "macro_uuid",+ "mention_utils",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_notifications",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_email",+ "models_pagination",+ "models_permissions",+ "non_empty",+ "notification",+ "rate_limit",+ "remote_env_var",+ "roles_and_permissions",+ "s3_key",+ "sqs_client",+ "teams",+ "unfurl",+ "workspace-hack"+ ],+ "unfurl": [+ "unfurl",+ "workspace-hack"+ ],+ "unfurl_service": [+ "macro_cors",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "unfurl",+ "unfurl_service",+ "workspace-hack"+ ],+ "upload_extractor_lambda_handler": [+ "agent",+ "ai_toolset",+ "attachment",+ "authentication_service_client",+ "connection_gateway_client",+ "connection_gateway_models",+ "cowlike",+ "crm",+ "document_storage_service_client",+ "document_sub_type",+ "dynamodb_client",+ "email",+ "email_utils",+ "entity_access",+ "filter_ast",+ "frecency",+ "item_filters",+ "macro_aws_config",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "macro_service_urls",+ "macro_user_id",+ "macro_uuid",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_email",+ "models_pagination",+ "models_permissions",+ "non_empty",+ "s3_key",+ "sqs_client",+ "unfurl",+ "upload_extractor_lambda_handler",+ "workspace-hack"+ ],+ "upload_extractor_lambda_trigger": [+ "agent",+ "ai_toolset",+ "attachment",+ "authentication_service_client",+ "cowlike",+ "crm",+ "document_sub_type",+ "dynamodb_client",+ "email",+ "email_utils",+ "entity_access",+ "filter_ast",+ "frecency",+ "item_filters",+ "macro_aws_config",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "macro_user_id",+ "macro_uuid",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_email",+ "models_pagination",+ "models_permissions",+ "non_empty",+ "s3_key",+ "sqs_client",+ "unfurl",+ "upload_extractor_lambda_trigger",+ "workspace-hack"+ ],+ "user_link_cleanup_handler": [+ "agent",+ "ai_toolset",+ "attachment",+ "cowlike",+ "document_sub_type",+ "entity_access_db_utils",+ "filter_ast",+ "frecency",+ "item_filters",+ "macro_db_client",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "macro_user_id",+ "macro_uuid",+ "model",+ "model-entity",+ "model-error-response",+ "model_file_type",+ "model_user",+ "models_bulk_upload",+ "models_comms",+ "models_dcs",+ "models_entity_access_management",+ "models_opensearch",+ "models_pagination",+ "models_permissions",+ "models_properties",+ "models_team",+ "non_empty",+ "system_properties",+ "user_link_cleanup_handler",+ "user_quota",+ "workspace-hack"+ ],+ "user_quota": [+ "user_quota",+ "workspace-hack"+ ],+ "worker_trigger": [+ "macro_aws_config",+ "macro_entrypoint",+ "macro_env",+ "macro_env_var",+ "worker_trigger",+ "workspace-hack"+ ],+ "workspace-hack": [+ "workspace-hack"+ ],+ "xtask": [+ "tools/xtask"+ ]+ }+}diff --git a/flake.nix b/flake.nixindex 04b223e400..13d190495f 100644--- a/flake.nix+++ b/flake.nix@@ -55,32 +55,112 @@# Include Cargo sources plus the .sqlx offline query cache.# rs-libreoffice-bindings lives outside the repo; we import it explicitly# so the nix sandbox can resolve the path dep in convert_service.- src =+ sqlxFilter = path: _type: builtins.match ".*\\.sqlx/.*\\.json$" path != null;+ pdfiumFilter = path: _type: builtins.match ".*pdfium-lib/.*\\.(so|dylib)$" path != null;+ assetFilter = path: _type: builtins.match ".*\\.(md|html|txt|json|canvas|sql)$" path != null;+ binFilter = path: _type: builtins.match ".*\\.bin$" path != null;+ srcFilter =+ path: type:+ (sqlxFilter path type)+ || (pdfiumFilter path type)+ || (assetFilter path type)+ || (binFilter path type)+ || (craneLib.filterCargoSources path type);+ cloudStorageSrc = pkgs.lib.cleanSourceWith {+ src = ./rust/cloud-storage;+ filter = srcFilter;+ };+ cSourceFilter = path: _type: builtins.match ".*\\.(c|h)$" path != null;+ libreofficeBindingsSrc = pkgs.lib.cleanSourceWith {+ src = rs-libreoffice-bindings;+ filter = path: type: (cSourceFilter path type) || (craneLib.filterCargoSources path type);+ };+ src = pkgs.runCommand "cloud-storage-src" { } ''+ cp -rT ${cloudStorageSrc} $out+ chmod -R +w $out+ cp -rT ${libreofficeBindingsSrc} $out/rs-libreoffice-bindings+ '';++ # ── Per-artifact pruned deploy sources ────────────────────────+ # .github/workspace-dep-closures.json (generated by `just hakari` via+ # rust/cloud-storage/tools/xtask, drift-checked in CI) maps every workspace+ # crate to its transitive workspace dependency+ # closure. Each deploy leaf builds from a tree where only the crates in+ # its closure keep real sources; every other member is reduced to its+ # manifest plus a crane stub target. A leaf's store hash then only+ # moves when a crate it actually depends on changes — an email-only+ # change leaves the other deploy derivations as pure substitutions+ # (sticky disk / Cachix) instead of full workspace-subgraph rebuilds.+ # Manifest or Cargo.lock changes still invalidate every leaf (the stub+ # layer embeds them all); those are the rare structural commits.+ #+ # Soundness: a stale map fails loud, not silent. A missing closure+ # crate means its stub (empty lib) gets compiled and the dependent+ # crate fails to resolve its items; a deleted dir fails at eval. CI+ # regenerates the map and rejects drift before merge.+ workspaceDepClosures =+ (builtins.fromJSON (builtins.readFile ./.github/workspace-dep-closures.json)).closures;++ # Manifests + Cargo.lock + stub targets for every member, shared by all+ # pruned sources; only changes when a manifest or the lock changes.+ deployDummySrc = craneLib.mkDummySrc { inherit src; };++ # Real sources of one workspace crate dir, same filter as the full tree+ # (keeps per-crate assets: pdfium blobs, .sql migrations, templates).+ crateDirSrc =+ dir:+ pkgs.lib.cleanSourceWith {+ src = ./rust/cloud-storage + "/${dir}";+ filter = srcFilter;+ name = "crate-${builtins.replaceStrings [ "/" ] [ "-" ] dir}";+ };++ # Workspace-root files that crates read across crate boundaries: the+ # .sqlx offline cache (sqlx macros resolve it from the workspace root)+ # and loose root assets like markdown-golden.1.bin (include_bytes!-ed+ # from the documents crate). Included in every pruned source, so a+ # sqlx prepare still invalidates all leaves — coarser than ideal, but+ # the query-to-crate mapping is not recoverable from the file names.+ rootDepsSrc = pkgs.lib.cleanSourceWith {+ src = ./rust/cloud-storage;+ name = "cloud-storage-root-deps";+ filter =+ path: type:+ let+ rel = pkgs.lib.removePrefix ((toString ./rust/cloud-storage) + "/") (toString path);+ in+ (rel == ".sqlx")+ || (pkgs.lib.hasPrefix ".sqlx/" rel)+ || (+ type == "regular"+ && !(pkgs.lib.hasInfix "/" rel)+ && ((assetFilter path type) || (binFilter path type))+ );+ };++ prunedDeploySrc =+ pname: rootPackage:let- sqlxFilter = path: _type: builtins.match ".*\\.sqlx/.*\\.json$" path != null;- pdfiumFilter = path: _type: builtins.match ".*pdfium-lib/.*\\.(so|dylib)$" path != null;- assetFilter = path: _type: builtins.match ".*\\.(md|html|txt|json|canvas|sql)$" path != null;- binFilter = path: _type: builtins.match ".*\\.bin$" path != null;- srcFilter =- path: type:- (sqlxFilter path type)- || (pdfiumFilter path type)- || (assetFilter path type)- || (binFilter path type)- || (craneLib.filterCargoSources path type);- cloudStorageSrc = pkgs.lib.cleanSourceWith {- src = ./rust/cloud-storage;- filter = srcFilter;- };- cSourceFilter = path: _type: builtins.match ".*\\.(c|h)$" path != null;- libreofficeBindingsSrc = pkgs.lib.cleanSourceWith {- src = rs-libreoffice-bindings;- filter = path: type: (cSourceFilter path type) || (craneLib.filterCargoSources path type);- };+ # Generator emits dirs sorted, so parents always precede nested+ # members and overlays land inside already-materialised parents.+ dirs =+ workspaceDepClosures.${rootPackage} or (throw (+ "No '${rootPackage}' entry in .github/workspace-dep-closures.json; "+ + "run `just hakari` from rust/cloud-storage and commit the result."+ ));+ overlays = pkgs.lib.concatMapStrings (dir: ''+ rm -rf "$out/${dir}"+ cp -rT ${crateDirSrc dir} "$out/${dir}"+ chmod -R +w "$out/${dir}"+ '') dirs;in- pkgs.runCommand "cloud-storage-src" { } ''- cp -rT ${cloudStorageSrc} $out+ pkgs.runCommand "cloud-storage-src-${pname}" { } ''+ cp -rT ${deployDummySrc} $outchmod -R +w $out+ cp -rfT ${rootDepsSrc} $out+ chmod -R +w $out+ ${overlays}+ rm -rf $out/rs-libreoffice-bindingscp -rT ${libreofficeBindingsSrc} $out/rs-libreoffice-bindings'';@@ -186,25 +266,121 @@});+ deployServiceBinaryDefinitions = [+ {+ serviceName = "agent-schedule-service";+ packageName = "scheduled_action";+ binaries = [ "service" ];+ }+ {+ serviceName = "authentication-service";+ packageName = "authentication_service";+ binaries = [ "authentication_service" ];+ }+ {+ serviceName = "connection-gateway";+ packageName = "connection_gateway";+ binaries = [ "connection_gateway_service" ];+ }+ {+ serviceName = "contacts-service";+ packageName = "contacts_service";+ binaries = [ "contacts_service" ];+ }+ {+ serviceName = "convert-service";+ packageName = "convert_service";+ binaries = [ "convert_service" ];+ }+ {+ serviceName = "document-cognition-service";+ packageName = "document_cognition_service";+ binaries = [ "document_cognition_service" ];+ }+ {+ serviceName = "document-storage-service";+ packageName = "document_storage_service";+ binaries = [ "document_storage_service" ];+ }+ {+ serviceName = "email-service";+ packageName = "email_service";+ binaries = [+ "email_service"+ "pubsub_workers"+ ];+ }+ {+ serviceName = "image-proxy-service";+ packageName = "image_proxy_service";+ binaries = [ "image_proxy_service" ];+ }+ {+ serviceName = "mcp-server";+ packageName = "mcp_service";+ binaries = [ "mcp_service" ];+ }+ {+ serviceName = "notification-service";+ packageName = "notification_service";+ binaries = [ "notification_service" ];+ }+ {+ serviceName = "search-processing-service";+ packageName = "search_processing_service";+ binaries = [ "search_processing_service" ];+ }+ {+ serviceName = "static-file-service";+ packageName = "static_file_service";+ binaries = [ "static_file_service" ];+ }+ {+ serviceName = "unfurl-service";+ packageName = "unfurl_service";+ binaries = [ "unfurl_service" ];+ }+ ];++ deployBinaryCargoExtraArgs =+ "--locked "+ + pkgs.lib.concatMapStringsSep " " (+ def:+ "--package ${def.packageName} "+ + pkgs.lib.concatMapStringsSep " " (binary: "--bin ${binary}") def.binaries+ ) deployServiceBinaryDefinitions;+deployCargoArtifacts = craneLib.buildDepsOnly (commonArgs// {pname = "cloud-storage-deploy-deps";- cargoExtraArgs = "--locked";+ doCheck = false;+ # buildDepsOnly runs a cargo check in buildPhase by default; keep this+ # warm artifact to release deps only.+ cargoCheckCommand = "true";+ cargoExtraArgs = deployBinaryCargoExtraArgs;CARGO_PROFILE = "release";});deployServiceBinaryPackage =- serviceName: binaries:+ {+ serviceName,+ packageName,+ binaries,+ }:craneLib.buildPackage (commonArgs// {+ # Pruned source: this derivation only rebuilds when a crate in+ # the service's own workspace closure changes.+ src = prunedDeploySrc "service-${serviceName}" packageName;cargoArtifacts = deployCargoArtifacts;pname = "cloud-storage-${serviceName}-binaries";doCheck = false;cargoExtraArgs =- "--locked " + pkgs.lib.concatMapStringsSep " " (binary: "--bin ${binary}") binaries;+ "--locked --package ${packageName} "+ + pkgs.lib.concatMapStringsSep " " (binary: "--bin ${binary}") binaries;CARGO_PROFILE = "release";installPhaseCommand = ''mkdir -p $out/bin@@ -216,50 +392,156 @@});- deployServiceBinaryPackages = {- deploy-service-binaries-agent-schedule-service =- deployServiceBinaryPackage "agent-schedule-service"- [ "service" ];- deploy-service-binaries-authentication-service =- deployServiceBinaryPackage "authentication-service"- [ "authentication_service" ];- deploy-service-binaries-connection-gateway = deployServiceBinaryPackage "connection-gateway" [- "connection_gateway_service"- ];- deploy-service-binaries-contacts-service = deployServiceBinaryPackage "contacts-service" [- "contacts_service"- ];- deploy-service-binaries-convert-service = deployServiceBinaryPackage "convert-service" [- "convert_service"- ];- deploy-service-binaries-document-cognition-service =- deployServiceBinaryPackage "document-cognition-service"- [ "document_cognition_service" ];- deploy-service-binaries-document-storage-service =- deployServiceBinaryPackage "document-storage-service"- [ "document_storage_service" ];- deploy-service-binaries-email-service = deployServiceBinaryPackage "email-service" [- "email_service"- "pubsub_workers"- ];- deploy-service-binaries-image-proxy-service = deployServiceBinaryPackage "image-proxy-service" [- "image_proxy_service"- ];- deploy-service-binaries-mcp-server = deployServiceBinaryPackage "mcp-server" [ "mcp_service" ];- deploy-service-binaries-notification-service = deployServiceBinaryPackage "notification-service" [- "notification_service"- ];- deploy-service-binaries-search-processing-service =- deployServiceBinaryPackage "search-processing-service"- [ "search_processing_service" ];- deploy-service-binaries-static-file-service = deployServiceBinaryPackage "static-file-service" [- "static_file_service"- ];- deploy-service-binaries-unfurl-service = deployServiceBinaryPackage "unfurl-service" [- "unfurl_service"+ deployServiceBinaryPackages = pkgs.lib.listToAttrs (+ map (def: {+ name = "deploy-service-binaries-${def.serviceName}";+ value = deployServiceBinaryPackage def;+ }) deployServiceBinaryDefinitions+ );++ # ── Lambda builds (crane + cargo-zigbuild) ─────────────────────+ # SPIKE: build a Rust Lambda handler reproducibly under nix/crane so+ # lambdas ride the same content-addressed cache as the service binaries+ # (nix store + Cachix + sticky disk) instead of a cargo-in-checkout that+ # recompiles the workspace every run. cargo-zigbuild pins the Lambda+ # glibc via a target *suffix* (no toolchain swap; host triple == lambda+ # triple, so no extra rust-std). The binary is renamed `bootstrap` and+ # zipped for the provided.al2/al2023 custom runtime.+ lambdaTarget = "x86_64-unknown-linux-gnu";+ # glibc 2.26 == Amazon Linux 2; forward-compatible with al2023.+ lambdaZigTarget = "${lambdaTarget}.2.26";++ callRecordingPreviewFfmpegLayer =+ let+ ffmpegVersion = "7.0.2";+ ffmpegArchive = pkgs.fetchurl {+ url = "https://johnvansickle.com/ffmpeg/releases/ffmpeg-${ffmpegVersion}-amd64-static.tar.xz";+ hash = "sha256-q9qNd86DCRQfg6uO3wWWg0CHxSRn9rrfN2pqKkyHz2c=";+ };+ in+ pkgs.runCommand "call-recording-preview-ffmpeg-layer"+ {+ nativeBuildInputs = [+ pkgs.coreutils+ pkgs.gnutar+ pkgs.unzip+ pkgs.xz+ pkgs.zip+ ];+ }+ ''+ set -euo pipefail++ archive_dir="ffmpeg-${ffmpegVersion}-amd64-static"+ mkdir -p extract package/bin "$out/call_recording_preview_handler"+ tar -xJf ${ffmpegArchive} -C extract \+ "$archive_dir/ffmpeg" \+ "$archive_dir/ffprobe"+ install -m 0755 "extract/$archive_dir/ffmpeg" package/bin/ffmpeg+ install -m 0755 "extract/$archive_dir/ffprobe" package/bin/ffprobe+ touch -h -d @315532800 package/bin/ffmpeg package/bin/ffprobe++ (+ cd package+ zip -9 -q -X "$out/call_recording_preview_handler/ffmpeg-layer.zip" bin/ffmpeg bin/ffprobe+ )+ unzip -tqq "$out/call_recording_preview_handler/ffmpeg-layer.zip" >/dev/null+ '';++ lambdaCommonArgs = commonArgs // {+ # zig links the final binary (cargo-zigbuild); drop the host-only mold arg.+ RUSTFLAGS = "";+ CARGO_PROFILE = "release";+ # Lambdas don't need max opt; matches the cargo-lambda CI setting.+ CARGO_PROFILE_RELEASE_OPT_LEVEL = "2";+ # aws-lc-sys (aws-lc-rs / rustls default crypto, pulled via aws-sdk &+ # sqlx) has a cc-builder guard that rejects the zig C compiler. Force+ # its cmake builder instead, which has no such guard and still compiles+ # the C against the zig-pinned glibc. cmake + nasm are its build deps.+ AWS_LC_SYS_CMAKE_BUILDER = "1";+ nativeBuildInputs = (commonArgs.nativeBuildInputs or [ ]) ++ [+ pkgs.cargo-zigbuild+ pkgs.zig+ pkgs.cmake+ pkgs.nasm];+ # zig needs a writable cache inside the sandbox ($HOME is read-only).+ preBuild = ''+ export ZIG_GLOBAL_CACHE_DIR="$TMPDIR/zig-cache"+ export ZIG_LOCAL_CACHE_DIR="$TMPDIR/zig-cache"+ export XDG_CACHE_HOME="$TMPDIR/xdg"+ '';};+ # Every handler deployed as a lambda, read straight from the deploy+ # config so the flake never drifts from services-config.json. For every+ # handler, crate name == dir name == deploy_lambdas entry.+ lambdaNames =+ let+ cfg = builtins.fromJSON (builtins.readFile ./.github/services-config.json);+ in+ pkgs.lib.unique (+ pkgs.lib.concatMap (svc: svc.deploy_lambdas or [ ]) (pkgs.lib.attrValues cfg.services)+ );++ # One shared dep closure for all lambda handlers. Build it with the same+ # cargo-zigbuild target used by the final packages; Cargo fingerprints the+ # `.2.26` target separately from the plain triple, so warming the plain+ # target does not help the deploy builds.+ lambdaDeployCargoArtifacts = craneLib.buildDepsOnly (+ lambdaCommonArgs+ // {+ pname = "cloud-storage-lambda-deps";+ doCheck = false;+ # buildDepsOnly runs a cargo check in buildPhase by default; keep this+ # warm artifact to release deps only.+ cargoCheckCommand = "true";+ cargoBuildCommand = "cargo zigbuild --release";+ cargoExtraArgs =+ "--locked --target ${lambdaZigTarget} "+ + pkgs.lib.concatMapStringsSep " " (n: "--package ${n}") lambdaNames;+ }+ );++ # bin name == crate name == handler dir name (see per-lambda justfiles).+ deployLambdaPackage =+ lambdaName:+ craneLib.buildPackage (+ lambdaCommonArgs+ // {+ # Pruned source: this derivation only rebuilds when a crate in+ # the handler's own workspace closure changes.+ src = prunedDeploySrc "lambda-${lambdaName}" lambdaName;+ cargoArtifacts = lambdaDeployCargoArtifacts;+ pname = "cloud-storage-lambda-${lambdaName}";+ doCheck = false;+ # cargo-zigbuild links the final binary against the pinned Lambda+ # glibc, selected via the `.2.26` target suffix.+ cargoBuildCommand = "cargo zigbuild --release";+ cargoExtraArgs = "--locked --target ${lambdaZigTarget} --bin ${lambdaName}";+ # Emit the Lambda custom-runtime artifact: a zip whose single entry+ # is named `bootstrap`, mirroring cargo-lambda's+ # target/lambda/<name>/bootstrap.zip layout. zigbuild writes to+ # target/<triple>/release (suffix stripped from the dir name).+ installPhaseCommand = ''+ mkdir -p "$out/${lambdaName}"+ cp "target/${lambdaTarget}/release/${lambdaName}" bootstrap+ ${pkgs.binutils}/bin/strip bootstrap || true+ ${pkgs.zip}/bin/zip -j -X "$out/${lambdaName}/bootstrap.zip" bootstrap+ ${pkgs.lib.optionalString (lambdaName == "call_recording_preview_handler") ''+ cp "${callRecordingPreviewFfmpegLayer}/${lambdaName}/ffmpeg-layer.zip" "$out/${lambdaName}/ffmpeg-layer.zip"+ ''}+ '';+ }+ );++ deployLambdaPackages = pkgs.lib.listToAttrs (+ map (n: {+ name = "deploy-lambda-${n}";+ value = deployLambdaPackage n;+ }) lambdaNames+ );+shellTools =with pkgs;[@@ -468,13 +750,17 @@packages = {inheritcargoArtifacts+ callRecordingPreviewFfmpegLayerworkspaceArtifacts+ deployCargoArtifacts+ lambdaDeployCargoArtifactsopenApiBinsnextestArchive;default = cargoArtifacts;}- // deployServiceBinaryPackages;+ // deployServiceBinaryPackages+ // deployLambdaPackages;devShells = {default = pkgs.mkShell (diff --git a/rust/cloud-storage/.config/hakari.toml b/rust/cloud-storage/.config/hakari.tomlnew file mode 100644index 0000000000..c398cec579--- /dev/null+++ b/rust/cloud-storage/.config/hakari.toml@@ -0,0 +1,39 @@+# This file contains settings for `cargo hakari`.+# See https://docs.rs/cargo-hakari/latest/cargo_hakari/config for a full list of options.++hakari-package = "workspace-hack"++# Format version for hakari's output. Version 4 requires cargo-hakari 0.9.22 or above.+dep-format-version = "4"++# Setting workspace.resolver = "2" or higher in the root Cargo.toml is HIGHLY recommended.+# Hakari works much better with the v2 resolver. (The v2 and v3 resolvers are identical from+# hakari's perspective, so you're welcome to set either.)+#+# For more about the new feature resolver, see:+# https://blog.rust-lang.org/2021/03/25/Rust-1.51.0.html#cargos-new-feature-resolver+resolver = "2"++# Add triples corresponding to platforms commonly used by developers here.+# https://doc.rust-lang.org/rustc/platform-support.html+#+# x86_64-unknown-linux-gnu is what CI builds (service binaries and, via+# cargo-zigbuild's plain-triple passthrough, the lambdas); aarch64-apple-darwin+# covers local dev. Unifying on these platforms is what makes the solo+# per-service/per-lambda builds fingerprint-match the union-built crane dep+# layers (deployCargoArtifacts / lambdaDeployCargoArtifacts), so the warm dep+# caches actually hit instead of silently recompiling shared deps.+platforms = [+ "x86_64-unknown-linux-gnu",+ "aarch64-apple-darwin",+]++# Write out exact versions rather than a semver range. (Defaults to false.)+# exact-versions = true++# The xtask is a dev-only automation tool (it *runs* hakari); folding its+# dependencies (guppy, hakari, ...) into workspace-hack would drag them into+# the deploy dependency layers that every service build warms. Excluding it+# also means manage-deps does not add the workspace-hack dep to it.+[traversal-excludes]+workspace-members = ["xtask"]diff --git a/rust/cloud-storage/Cargo.lock b/rust/cloud-storage/Cargo.lockindex af1161192d..98deaa39b0 100644--- a/rust/cloud-storage/Cargo.lock+++ b/rust/cloud-storage/Cargo.lock@@ -66,6 +66,7 @@ dependencies = ["tokio","tracing","utoipa",+ "workspace-hack",][[package]]@@ -162,6 +163,7 @@ dependencies = ["tracing","utoipa","uuid",+ "workspace-hack",][[package]]@@ -179,6 +181,7 @@ dependencies = ["thiserror 2.0.18","tracing","utoipa",+ "workspace-hack",][[package]]@@ -229,6 +232,7 @@ dependencies = ["serde_json","sha2 0.10.9","tracing",+ "workspace-hack",][[package]]@@ -313,6 +317,7 @@ dependencies = ["tokio-stream","tokio-util","tracing",+ "workspace-hack",][[package]]@@ -361,6 +366,12 @@ dependencies = ["syn 2.0.117",]+[[package]]+name = "arrayvec"+version = "0.5.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b"+[[package]]name = "arrayvec"version = "0.7.6"@@ -618,6 +629,17 @@ version = "1.1.2"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0"+[[package]]+name = "atomicwrites"+version = "0.4.4"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "3ef1bb8d1b645fe38d51dfc331d720fb5fc2c94b440c76cc79c80ff265ca33e3"+dependencies = [+ "rustix 0.38.44",+ "tempfile",+ "windows-sys 0.52.0",+]+[[package]]name = "attachment"version = "0.1.0"@@ -633,6 +655,7 @@ dependencies = ["serde","thiserror 2.0.18","webp",+ "workspace-hack",][[package]]@@ -721,6 +744,7 @@ dependencies = ["utoipa","utoipa-swagger-ui","uuid",+ "workspace-hack",][[package]]@@ -733,6 +757,7 @@ dependencies = ["serde","thiserror 2.0.18","tracing",+ "workspace-hack",][[package]]@@ -750,7 +775,7 @@ dependencies = ["aligned","anyhow","arg_enum_proc_macro",- "arrayvec",+ "arrayvec 0.7.6","log","num-rational","num-traits",@@ -768,7 +793,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "8cfddb07216410377231960af4fcab838eaa12e013417781b78bd95ee22077f8"dependencies = ["anyhow",- "arrayvec",+ "arrayvec 0.7.6","log","nom 8.0.0","num-rational",@@ -781,7 +806,7 @@ version = "0.8.9"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "e7178fe5f7d460b13895ebb9dcb28a3a6216d2df2574a0806cb51b555d297f38"dependencies = [- "arrayvec",+ "arrayvec 0.7.6",][[package]]@@ -1543,6 +1568,7 @@ dependencies = ["sqlx","tokio","tracing",+ "workspace-hack",][[package]]@@ -1719,6 +1745,7 @@ dependencies = ["thiserror 2.0.18","utoipa","uuid",+ "workspace-hack",][[package]]@@ -1748,6 +1775,7 @@ dependencies = ["tracing","utoipa","uuid",+ "workspace-hack",][[package]]@@ -1892,6 +1920,7 @@ dependencies = ["thiserror 2.0.18","tracing","utoipa",+ "workspace-hack",][[package]]@@ -1935,6 +1964,7 @@ dependencies = ["tracing","utoipa","uuid",+ "workspace-hack",][[package]]@@ -1953,6 +1983,40 @@ dependencies = ["tracing","urlencoding","uuid",+ "workspace-hack",+]++[[package]]+name = "camino"+version = "1.2.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "e629a66d692cb9ff1a1c664e41771b3dcaf961985a9774c0eb0bd1b51cf60a48"+dependencies = [+ "serde_core",+]++[[package]]+name = "cargo-platform"+version = "0.3.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "dd0061da739915fae12ea00e16397555ed4371a6bb285431aab930f61b0aa4ba"+dependencies = [+ "serde",+ "serde_core",+]++[[package]]+name = "cargo_metadata"+version = "0.23.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "ef987d17b0a113becdd19d3d0022d04d7ef41f9efe4f3fb63ac44ba61df3ade9"+dependencies = [+ "camino",+ "cargo-platform",+ "semver",+ "serde",+ "serde_json",+ "thiserror 2.0.18",][[package]]@@ -1993,6 +2057,16 @@ dependencies = ["uuid",]+[[package]]+name = "cfg-expr"+version = "0.20.8"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "fb693542bcafa528e198be0ebd9d3632ca5b7c93dbe7237460e199910835997c"+dependencies = [+ "smallvec",+ "target-lexicon",+]+[[package]]name = "cfg-if"version = "1.0.4"@@ -2034,6 +2108,7 @@ dependencies = ["tokio","tracing","uuid",+ "workspace-hack",][[package]]@@ -2074,6 +2149,7 @@ dependencies = ["tracing","utoipa","uuid",+ "workspace-hack",][[package]]@@ -2123,6 +2199,7 @@ dependencies = ["unicode-segmentation","utoipa","uuid",+ "workspace-hack",][[package]]@@ -2296,6 +2373,7 @@ dependencies = ["tracing","utoipa","uuid",+ "workspace-hack",][[package]]@@ -2319,6 +2397,7 @@ dependencies = ["tracing","utoipa","uuid",+ "workspace-hack",][[package]]@@ -2362,6 +2441,7 @@ dependencies = ["thiserror 2.0.18","tracing","uuid",+ "workspace-hack",][[package]]@@ -2414,6 +2494,7 @@ dependencies = ["utoipa","utoipa-swagger-ui","uuid",+ "workspace-hack",][[package]]@@ -2427,6 +2508,7 @@ dependencies = ["serde","serde_json","tracing",+ "workspace-hack",][[package]]@@ -2437,6 +2519,7 @@ dependencies = ["serde","serde_json","utoipa",+ "workspace-hack",][[package]]@@ -2502,6 +2585,7 @@ dependencies = ["tower 0.5.3","tracing","utoipa",+ "workspace-hack",][[package]]@@ -2535,6 +2619,7 @@ dependencies = ["tracing","utoipa","utoipa-swagger-ui",+ "workspace-hack",][[package]]@@ -2584,6 +2669,7 @@ dependencies = ["tracing","utoipa","utoipa-swagger-ui",+ "workspace-hack","zip 2.4.2",]@@ -2636,6 +2722,9 @@ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"[[package]]name = "cowlike"version = "0.1.0"+dependencies = [+ "workspace-hack",+][[package]]name = "cpufeatures"@@ -2723,6 +2812,7 @@ dependencies = ["unfurl","utoipa","uuid",+ "workspace-hack",][[package]]@@ -3041,6 +3131,7 @@ dependencies = ["sns_client","tokio","tracing",+ "workspace-hack",][[package]]@@ -3055,6 +3146,12 @@ dependencies = ["regex",]+[[package]]+name = "debug-ignore"+version = "1.0.5"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "ffe7ed1d93f4553003e20b629abe9085e1e81b1429520f897f8f8860bc6dfc21"+[[package]]name = "decode_jwt"version = "0.1.0"@@ -3076,6 +3173,7 @@ dependencies = ["tracing","url","urlencoding",+ "workspace-hack",][[package]]@@ -3096,6 +3194,7 @@ dependencies = ["sqlx","tokio","tracing",+ "workspace-hack",][[package]]@@ -3122,6 +3221,7 @@ dependencies = ["tokio","tracing","urlencoding",+ "workspace-hack",][[package]]@@ -3143,7 +3243,7 @@ version = "0.5.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "eddada51c8576df9d6a8450c351ff63042b092c9458b8ac7d20f89cbd0ffd313"dependencies = [- "arrayvec",+ "arrayvec 0.7.6","proc-macro2","quote","strsim 0.10.0",@@ -3275,6 +3375,24 @@ dependencies = ["windows-sys 0.59.0",]+[[package]]+name = "diffus"+version = "0.10.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "3c0ff24a73b51d9009c40897faf87d31b77345c90ffbf4dc3a1d2957032c5653"+dependencies = [+ "itertools 0.10.5",+]++[[package]]+name = "diffy"+version = "0.4.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "b545b8c50194bdd008283985ab0b31dba153cfd5b3066a92770634fbc0d7d291"+dependencies = [+ "nu-ansi-term",+]+[[package]]name = "digest"version = "0.10.7"@@ -3415,6 +3533,7 @@ dependencies = ["utoipa","utoipa-swagger-ui","uuid",+ "workspace-hack",][[package]]@@ -3529,6 +3648,7 @@ dependencies = ["utoipa","utoipa-swagger-ui","uuid",+ "workspace-hack","zip 2.4.2",]@@ -3545,6 +3665,7 @@ dependencies = ["serde_json","thiserror 2.0.18","tracing",+ "workspace-hack",][[package]]@@ -3557,6 +3678,7 @@ dependencies = ["strum","thiserror 2.0.18","utoipa",+ "workspace-hack",][[package]]@@ -3584,6 +3706,7 @@ dependencies = ["tracing","urlencoding","uuid",+ "workspace-hack",][[package]]@@ -3609,6 +3732,7 @@ dependencies = ["tokio","tracing","urlencoding",+ "workspace-hack",][[package]]@@ -3669,6 +3793,7 @@ dependencies = ["urlencoding","utoipa","uuid",+ "workspace-hack",][[package]]@@ -3703,6 +3828,7 @@ dependencies = ["tokio","tracing","urlencoding",+ "workspace-hack","zip 2.4.2",]@@ -3815,6 +3941,7 @@ dependencies = ["thiserror 2.0.18","tokio","tracing",+ "workspace-hack",][[package]]@@ -3935,6 +4062,7 @@ dependencies = ["tracing-subscriber","utoipa","uuid",+ "workspace-hack",][[package]]@@ -3957,6 +4085,7 @@ dependencies = ["sqlx","tokio","tracing",+ "workspace-hack",][[package]]@@ -3975,6 +4104,7 @@ dependencies = ["serde","sha2 0.10.9","tracing",+ "workspace-hack",][[package]]@@ -3997,6 +4127,7 @@ dependencies = ["tokio","tracing","uuid",+ "workspace-hack",][[package]]@@ -4017,6 +4148,7 @@ dependencies = ["sqs_client","tokio","tracing",+ "workspace-hack",][[package]]@@ -4107,6 +4239,7 @@ dependencies = ["utoipa","utoipa-swagger-ui","uuid",+ "workspace-hack",][[package]]@@ -4122,6 +4255,7 @@ dependencies = ["serde_json","tokio","tracing",+ "workspace-hack",][[package]]@@ -4139,6 +4273,7 @@ dependencies = ["sqs_client","tokio","tracing",+ "workspace-hack",][[package]]@@ -4157,6 +4292,7 @@ dependencies = ["strum","tokio","tracing",+ "workspace-hack",][[package]]@@ -4168,6 +4304,7 @@ dependencies = ["lazy_static","regex","scraper",+ "workspace-hack",][[package]]@@ -4176,6 +4313,7 @@ version = "0.1.0"dependencies = ["lazy_static","regex",+ "workspace-hack",][[package]]@@ -4184,6 +4322,7 @@ version = "0.1.0"dependencies = ["anyhow","async-openai",+ "workspace-hack",][[package]]@@ -4204,6 +4343,7 @@ dependencies = ["thiserror 2.0.18","tokio","tracing",+ "workspace-hack",][[package]]@@ -4230,6 +4370,7 @@ dependencies = ["tracing","utoipa","uuid",+ "workspace-hack",][[package]]@@ -4247,6 +4388,7 @@ dependencies = ["sqlx","tokio","tracing",+ "workspace-hack",][[package]]@@ -4269,6 +4411,7 @@ dependencies = ["tokio","tracing","uuid",+ "workspace-hack",][[package]]@@ -4439,6 +4582,7 @@ version = "0.1.0"dependencies = ["recursion","serde",+ "workspace-hack",][[package]]@@ -4453,6 +4597,12 @@ version = "0.4.2"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80"+[[package]]+name = "fixedbitset"+version = "0.5.7"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "1d674e81391d1e1ab681a28d99df07927c6d4aa5b027d7da16ba32d1d21ecd99"+[[package]]name = "flate2"version = "1.1.9"@@ -4518,6 +4668,7 @@ dependencies = ["tracing","utoipa","uuid",+ "workspace-hack",][[package]]@@ -4564,6 +4715,7 @@ dependencies = ["tokio","tracing","uuid",+ "workspace-hack",][[package]]@@ -4587,6 +4739,7 @@ dependencies = ["tokio","tracing","urlencoding",+ "workspace-hack",][[package]]@@ -4754,7 +4907,7 @@ version = "1.1.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "1bd49230192a3797a9a4d6abe9b3eed6f7fa4c8a8a4947977c6f80025f92cbd8"dependencies = [- "rustix",+ "rustix 1.1.4","windows-link",]@@ -4884,6 +5037,7 @@ dependencies = ["urlencoding","utoipa","uuid",+ "workspace-hack",][[package]]@@ -4910,6 +5064,7 @@ dependencies = ["tokio","tracing","uuid",+ "workspace-hack",][[package]]@@ -4923,6 +5078,57 @@ dependencies = ["subtle",]+[[package]]+name = "guppy"+version = "0.17.26"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "eb611f63088c20f3f7252d896f0beaa176a9628da8c21cdf258fe9ae179bebda"+dependencies = [+ "ahash",+ "camino",+ "cargo_metadata",+ "cfg-if",+ "debug-ignore",+ "fixedbitset 0.5.7",+ "guppy-summaries",+ "guppy-workspace-hack",+ "indexmap 2.14.0",+ "itertools 0.14.0",+ "nested",+ "once_cell",+ "pathdiff",+ "petgraph 0.8.3",+ "rayon",+ "semver",+ "serde",+ "serde_json",+ "smallvec",+ "static_assertions",+ "target-spec",+ "toml",+]++[[package]]+name = "guppy-summaries"+version = "0.7.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "8bd039b8f587513b48754811cfa37c2ba079df537b490b602fa641ce18f6e72a"+dependencies = [+ "camino",+ "cfg-if",+ "diffus",+ "guppy-workspace-hack",+ "semver",+ "serde",+ "toml",+]++[[package]]+name = "guppy-workspace-hack"+version = "0.1.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "92620684d99f750bae383ecb3be3748142d6095760afd5cbcf2261e9a279d780"+[[package]]name = "h2"version = "0.3.27"@@ -4961,6 +5167,35 @@ dependencies = ["tracing",]+[[package]]+name = "hakari"+version = "0.17.9"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "f1b385a9bb3b4d4c6680913a458187c6e29c0dc51ba69d3347a3a112ebf21c1a"+dependencies = [+ "ahash",+ "atomicwrites",+ "camino",+ "cfg-if",+ "debug-ignore",+ "diffy",+ "guppy",+ "guppy-workspace-hack",+ "iddqd",+ "include_dir",+ "indenter",+ "itertools 0.14.0",+ "owo-colors",+ "pathdiff",+ "rayon",+ "serde",+ "tabular",+ "target-spec",+ "toml",+ "toml_edit 0.22.27",+ "twox-hash",+]+[[package]]name = "half"version = "2.7.1"@@ -5566,6 +5801,19 @@ version = "2.3.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "3d3067d79b975e8844ca9eb072e16b31c3c1c36928edf9c6789548c524d0d954"+[[package]]+name = "iddqd"+version = "0.3.18"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "616230c7d641ef971a3a5bfcc654c6b7524ab9c9fb665693c6a397dba9a14aca"+dependencies = [+ "allocator-api2",+ "equivalent",+ "foldhash 0.2.0",+ "hashbrown 0.16.1",+ "rustc-hash 2.1.2",+]+[[package]]name = "ident_case"version = "1.0.1"@@ -5651,6 +5899,7 @@ dependencies = ["serde_urlencoded","tokio","tracing",+ "workspace-hack",][[package]]@@ -5681,6 +5930,7 @@ dependencies = ["url","utoipa","utoipa-swagger-ui",+ "workspace-hack",][[package]]@@ -5695,6 +5945,7 @@ version = "0.7.4"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "923d117408f1e49d914f1a379a309cffe4f18c05cf4e3d12e613a15fc81bd0dd"dependencies = [+ "glob","include_dir_macros",]@@ -5714,6 +5965,12 @@ version = "2.2.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "0cfe9645a18782869361d9c8732246be7b410ad4e919d3609ebabdac00ba12c3"+[[package]]+name = "indenter"+version = "0.3.4"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "964de6e86d545b246d84badc0fef527924ace5134f30641c203ef52ba83f58d5"+[[package]]name = "indexmap"version = "1.9.3"@@ -5822,6 +6079,7 @@ dependencies = ["url","utoipa","uuid",+ "workspace-hack",][[package]]@@ -5831,6 +6089,7 @@ dependencies = ["axum","thiserror 2.0.18","tokio",+ "workspace-hack",][[package]]@@ -5882,6 +6141,7 @@ dependencies = ["thiserror 2.0.18","utoipa","uuid",+ "workspace-hack",][[package]]@@ -6085,6 +6345,7 @@ dependencies = ["serde","serde_json","tracing",+ "workspace-hack",][[package]]@@ -6146,6 +6407,7 @@ dependencies = ["rootcause","tokio","tracing",+ "workspace-hack",][[package]]@@ -6180,6 +6442,7 @@ dependencies = ["serde_json","tokio","tracing",+ "workspace-hack",][[package]]@@ -6252,6 +6515,12 @@ dependencies = ["glob",]+[[package]]+name = "linux-raw-sys"+version = "0.4.15"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab"+[[package]]name = "linux-raw-sys"version = "0.12.1"@@ -6316,6 +6585,7 @@ dependencies = ["tokio","tokio-tungstenite 0.28.0","tungstenite 0.28.0",+ "workspace-hack",][[package]]@@ -6332,6 +6602,7 @@ dependencies = ["tokio","tokio-tungstenite 0.28.0","uuid",+ "workspace-hack",][[package]]@@ -6344,6 +6615,7 @@ dependencies = ["serde","serde_json","url",+ "workspace-hack",][[package]]@@ -6450,6 +6722,7 @@ dependencies = ["thiserror 2.0.18","tokio","tracing",+ "workspace-hack",][[package]]@@ -6463,11 +6736,15 @@ dependencies = ["thiserror 2.0.18","tracing","url",+ "workspace-hack",][[package]]name = "macro_axum_utils"version = "0.1.0"+dependencies = [+ "workspace-hack",+][[package]]name = "macro_cache_client"@@ -6477,6 +6754,7 @@ dependencies = ["email_validator","macro_redis","redis",+ "workspace-hack",][[package]]@@ -6490,6 +6768,7 @@ dependencies = ["serde_json","thiserror 2.0.18","tracing",+ "workspace-hack",][[package]]@@ -6499,6 +6778,7 @@ dependencies = ["proc-macro2","quote","syn 2.0.117",+ "workspace-hack",][[package]]@@ -6507,6 +6787,7 @@ version = "0.1.0"dependencies = ["axum","tower-http",+ "workspace-hack",][[package]]@@ -6544,6 +6825,7 @@ dependencies = ["tracing","user_quota","uuid",+ "workspace-hack",][[package]]@@ -6551,6 +6833,7 @@ name = "macro_db_migrator"version = "0.1.0"dependencies = ["sqlx",+ "workspace-hack",][[package]]@@ -6568,6 +6851,7 @@ dependencies = ["tracing-panic","tracing-subscriber","tracing-tree",+ "workspace-hack",][[package]]@@ -6579,6 +6863,7 @@ dependencies = ["strum","thiserror 2.0.18","tracing",+ "workspace-hack",][[package]]@@ -6590,6 +6875,7 @@ dependencies = ["serde_json","thiserror 2.0.18","tracing",+ "workspace-hack",][[package]]@@ -6626,6 +6912,7 @@ dependencies = ["urlencoding","user_quota","uuid",+ "workspace-hack",][[package]]@@ -6636,6 +6923,7 @@ dependencies = ["sqlx","tokio","tracing",+ "workspace-hack",][[package]]@@ -6645,6 +6933,7 @@ dependencies = ["anyhow","redis","tokio",+ "workspace-hack",][[package]]@@ -6655,6 +6944,7 @@ dependencies = ["paste","thiserror 2.0.18","url",+ "workspace-hack",][[package]]@@ -6666,6 +6956,7 @@ dependencies = ["redis","tokio","tracing",+ "workspace-hack",][[package]]@@ -6677,6 +6968,7 @@ dependencies = ["tower 0.5.3","tower-http","tracing",+ "workspace-hack",][[package]]@@ -6691,6 +6983,7 @@ dependencies = ["thiserror 2.0.18","tracing","utoipa",+ "workspace-hack",][[package]]@@ -6699,6 +6992,7 @@ version = "0.1.0"dependencies = ["anyhow","uuid",+ "workspace-hack",][[package]]@@ -6837,6 +7131,7 @@ dependencies = ["url","urlencoding","uuid",+ "workspace-hack",][[package]]@@ -6866,6 +7161,7 @@ dependencies = ["thiserror 2.0.18","tracing","utoipa",+ "workspace-hack",][[package]]@@ -6917,6 +7213,7 @@ dependencies = ["sync_service_client","tokio","tracing",+ "workspace-hack",][[package]]@@ -6989,6 +7286,7 @@ dependencies = ["tokio","tracing","utoipa",+ "workspace-hack",][[package]]@@ -7001,6 +7299,7 @@ dependencies = ["serde","serde_json","thiserror 2.0.18",+ "workspace-hack",][[package]]@@ -7088,6 +7387,7 @@ dependencies = ["macro_db_migrator","sqlx","tracing",+ "workspace-hack",][[package]]@@ -7146,6 +7446,7 @@ dependencies = ["tracing","utoipa","uuid",+ "workspace-hack",][[package]]@@ -7158,6 +7459,7 @@ dependencies = ["serde_json","strum","utoipa",+ "workspace-hack",][[package]]@@ -7166,6 +7468,7 @@ version = "0.1.0"dependencies = ["serde","utoipa",+ "workspace-hack",][[package]]@@ -7177,6 +7480,7 @@ dependencies = ["strum","thiserror 2.0.18","utoipa",+ "workspace-hack",][[package]]@@ -7202,6 +7506,7 @@ dependencies = ["tracing","utoipa","uuid",+ "workspace-hack",][[package]]@@ -7214,6 +7519,7 @@ dependencies = ["thiserror 2.0.18","utoipa","uuid",+ "workspace-hack",][[package]]@@ -7223,6 +7529,7 @@ dependencies = ["serde","strum","utoipa",+ "workspace-hack",][[package]]@@ -7238,6 +7545,7 @@ dependencies = ["strum","thiserror 2.0.18","uuid",+ "workspace-hack",][[package]]@@ -7247,6 +7555,7 @@ dependencies = ["serde","serde_json","utoipa",+ "workspace-hack",][[package]]@@ -7268,6 +7577,7 @@ dependencies = ["thiserror 2.0.18","utoipa","uuid",+ "workspace-hack",][[package]]@@ -7276,6 +7586,7 @@ version = "0.1.0"dependencies = ["serde","sqlx",+ "workspace-hack",][[package]]@@ -7285,6 +7596,7 @@ dependencies = ["chrono","serde","uuid",+ "workspace-hack",][[package]]@@ -7293,6 +7605,7 @@ version = "0.1.0"dependencies = ["serde","strum",+ "workspace-hack",][[package]]@@ -7309,6 +7622,7 @@ dependencies = ["serde_json","thiserror 2.0.18","tracing",+ "workspace-hack",][[package]]@@ -7322,6 +7636,7 @@ dependencies = ["sqlx","strum","utoipa",+ "workspace-hack",][[package]]@@ -7337,6 +7652,7 @@ dependencies = ["tracing","utoipa","uuid",+ "workspace-hack",][[package]]@@ -7356,6 +7672,7 @@ dependencies = ["strum","utoipa","uuid",+ "workspace-hack",][[package]]@@ -7367,6 +7684,7 @@ dependencies = ["serde","serde_json","uuid",+ "workspace-hack",][[package]]@@ -7376,6 +7694,7 @@ dependencies = ["serde","serde_json","utoipa",+ "workspace-hack",][[package]]@@ -7400,6 +7719,7 @@ dependencies = ["strum","utoipa","uuid",+ "workspace-hack",][[package]]@@ -7413,6 +7733,7 @@ dependencies = ["strum","utoipa","uuid",+ "workspace-hack",][[package]]@@ -7489,6 +7810,7 @@ dependencies = ["tokio","tracing","uuid",+ "workspace-hack",][[package]]@@ -7514,6 +7836,7 @@ dependencies = ["tracing","tracing-subscriber","url",+ "workspace-hack",][[package]]@@ -7535,6 +7858,7 @@ dependencies = ["tower 0.5.3","tracing","url",+ "workspace-hack",][[package]]@@ -7543,6 +7867,12 @@ version = "0.1.1"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "27b02d87554356db9e9a873add8782d4ea6e3e58ea071a9adb9a2e8ddb884a8b"+[[package]]+name = "nested"+version = "0.1.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "ca2b420f638f07fe83056b55ea190bb815f609ec5a35e7017884a10f78839c9e"+[[package]]name = "new_debug_unreachable"version = "1.0.6"@@ -7616,6 +7946,7 @@ version = "0.1.0"dependencies = ["serde","serde_json",+ "workspace-hack",][[package]]@@ -7673,6 +8004,7 @@ dependencies = ["url","utoipa","uuid",+ "workspace-hack",][[package]]@@ -7692,6 +8024,7 @@ dependencies = ["sqlx","tracing","uuid",+ "workspace-hack",][[package]]@@ -7723,6 +8056,7 @@ dependencies = ["tracing","tracing-subscriber","uuid",+ "workspace-hack",][[package]]@@ -7783,6 +8117,7 @@ dependencies = ["utoipa","utoipa-swagger-ui","uuid",+ "workspace-hack",][[package]]@@ -8116,6 +8451,7 @@ dependencies = ["tokio","tracing","uuid",+ "workspace-hack",][[package]]@@ -8124,6 +8460,7 @@ version = "0.1.0"dependencies = ["serde","serde_json",+ "workspace-hack",][[package]]@@ -8229,6 +8566,7 @@ dependencies = ["sqs_client","tokio","tracing",+ "workspace-hack",][[package]]@@ -8246,6 +8584,7 @@ dependencies = ["sqs_client","tokio","tracing",+ "workspace-hack",][[package]]@@ -8270,6 +8609,12 @@ version = "0.5.2"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "1a80800c0488c3a21695ea981a54918fbb37abf04f4d0720c453632255e2ff0e"+[[package]]+name = "owo-colors"+version = "3.5.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "c1b04fb49957986fdce4d6ee7a65027d55d4b6d2265e5848bbb507b58ccfdb6f"+[[package]]name = "p256"version = "0.13.2"@@ -8341,6 +8686,15 @@ version = "0.2.3"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "2ee67f1008b1ba2321834326597b8e186293b049a023cdef258527550b9935b4"+[[package]]+name = "pathdiff"+version = "0.2.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3"+dependencies = [+ "camino",+]+[[package]]name = "pbjson"version = "0.6.0"@@ -8444,7 +8798,18 @@ version = "0.6.5"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db"dependencies = [- "fixedbitset",+ "fixedbitset 0.4.2",+ "indexmap 2.14.0",+]++[[package]]+name = "petgraph"+version = "0.8.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "8701b58ea97060d5e5b155d383a69952a60943f0e6dfe30b04c287beb0b27455"+dependencies = [+ "fixedbitset 0.5.7",+ "hashbrown 0.15.5","indexmap 2.14.0",]@@ -8920,6 +9285,9 @@ dependencies = [[[package]]name = "prompt"version = "0.1.0"+dependencies = [+ "workspace-hack",+][[package]]name = "properties"@@ -8952,6 +9320,7 @@ dependencies = ["tokio","tracing","uuid",+ "workspace-hack",][[package]]@@ -8969,6 +9338,7 @@ dependencies = ["thiserror 2.0.18","tracing","uuid",+ "workspace-hack",][[package]]@@ -9008,6 +9378,7 @@ dependencies = ["tracing","utoipa","uuid",+ "workspace-hack",][[package]]@@ -9042,7 +9413,7 @@ dependencies = ["log","multimap","once_cell",- "petgraph",+ "petgraph 0.6.5","prettyplease","prost 0.12.6","prost-types",@@ -9322,6 +9693,7 @@ dependencies = ["tracing","twox-hash","uuid",+ "workspace-hack",][[package]]@@ -9333,7 +9705,7 @@ dependencies = ["aligned-vec","arbitrary","arg_enum_proc_macro",- "arrayvec",+ "arrayvec 0.7.6","av-scenechange","av1-grain","bitstream-io",@@ -9399,6 +9771,7 @@ name = "readonly_pool"version = "0.1.0"dependencies = ["sqlx",+ "workspace-hack",][[package]]@@ -9509,6 +9882,7 @@ dependencies = ["urlencoding","utoipa","uuid",+ "workspace-hack",][[package]]@@ -9556,6 +9930,7 @@ dependencies = ["serde_json","thiserror 2.0.18","tracing",+ "workspace-hack",][[package]]@@ -9788,6 +10163,7 @@ dependencies = ["thiserror 2.0.18","tokio","tracing",+ "workspace-hack",][[package]]@@ -9897,6 +10273,19 @@ dependencies = ["semver",]+[[package]]+name = "rustix"+version = "0.38.44"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154"+dependencies = [+ "bitflags 2.11.1",+ "errno",+ "libc",+ "linux-raw-sys 0.4.15",+ "windows-sys 0.59.0",+]+[[package]]name = "rustix"version = "1.1.4"@@ -9906,7 +10295,7 @@ dependencies = ["bitflags 2.11.1","errno","libc",- "linux-raw-sys",+ "linux-raw-sys 0.12.1","windows-sys 0.61.2",]@@ -10029,6 +10418,7 @@ dependencies = ["base64 0.22.1","hex","tracing",+ "workspace-hack",][[package]]@@ -10037,6 +10427,7 @@ version = "0.1.0"dependencies = ["anyhow","urlencoding",+ "workspace-hack",][[package]]@@ -10060,6 +10451,7 @@ dependencies = ["tracing","utoipa","uuid",+ "workspace-hack",][[package]]@@ -10122,6 +10514,7 @@ dependencies = ["tracing","utoipa","utoipa-swagger-ui",+ "workspace-hack",][[package]]@@ -10256,6 +10649,7 @@ dependencies = ["utoipa","utoipa-swagger-ui","uuid",+ "workspace-hack",][[package]]@@ -10305,6 +10699,7 @@ dependencies = ["tracing","utoipa","uuid",+ "workspace-hack",][[package]]@@ -10315,6 +10710,7 @@ dependencies = ["models_search","reqwest 0.13.4","tracing",+ "workspace-hack",][[package]]@@ -10333,6 +10729,7 @@ dependencies = ["sqs_client","tokio","tracing",+ "workspace-hack",][[package]]@@ -10369,6 +10766,7 @@ dependencies = ["remote_env_var","thiserror 2.0.18","tracing",+ "workspace-hack",][[package]]@@ -10429,6 +10827,7 @@ dependencies = ["tracing","url","uuid",+ "workspace-hack",][[package]]@@ -10611,6 +11010,7 @@ dependencies = ["serde_urlencoded","url","urlencoding",+ "workspace-hack",][[package]]@@ -10697,6 +11097,7 @@ dependencies = ["aws-sdk-sesv2","mockall","tracing",+ "workspace-hack",][[package]]@@ -10764,6 +11165,7 @@ dependencies = ["sqlx","tokio","tracing",+ "workspace-hack",][[package]]@@ -10785,6 +11187,7 @@ dependencies = ["macro_uuid","models_permissions","sqlx",+ "workspace-hack",][[package]]@@ -10943,6 +11346,7 @@ dependencies = ["serde","serde_json","tracing",+ "workspace-hack",][[package]]@@ -11018,6 +11422,7 @@ dependencies = ["tracing","utoipa","uuid",+ "workspace-hack",][[package]]@@ -11260,6 +11665,7 @@ dependencies = ["strum","tracing","uuid",+ "workspace-hack",][[package]]@@ -11269,6 +11675,7 @@ dependencies = ["anyhow","aws-sdk-sqs","tracing",+ "workspace-hack",][[package]]@@ -11290,6 +11697,12 @@ version = "1.2.1"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596"+[[package]]+name = "static_assertions"+version = "1.1.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"+[[package]]name = "static_file"version = "0.1.0"@@ -11303,6 +11716,7 @@ dependencies = ["non_empty","reqwest 0.13.4","tracing",+ "workspace-hack",][[package]]@@ -11340,6 +11754,7 @@ dependencies = ["utoipa","utoipa-swagger-ui","uuid",+ "workspace-hack",][[package]]@@ -11355,6 +11770,7 @@ dependencies = ["serde_json","tokio","tracing",+ "workspace-hack",][[package]]@@ -11377,6 +11793,7 @@ dependencies = ["tokio-test","tracing","utoipa",+ "workspace-hack",][[package]]@@ -11415,6 +11832,15 @@ dependencies = ["unicode-properties",]+[[package]]+name = "strip-ansi-escapes"+version = "0.1.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "011cbb39cf7c1f62871aea3cc46e5817b0937b49e9447370c93cacbe93a766d8"+dependencies = [+ "vte",+]+[[package]]name = "strsim"version = "0.10.0"@@ -11483,6 +11909,7 @@ dependencies = ["axum","serde","utoipa",+ "workspace-hack",][[package]]@@ -11496,6 +11923,7 @@ dependencies = ["sync_service","tokio","tracing",+ "workspace-hack",][[package]]@@ -11554,6 +11982,17 @@ dependencies = ["thiserror 2.0.18","tracing","uuid",+ "workspace-hack",+]++[[package]]+name = "tabular"+version = "0.2.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "d9a2882c514780a1973df90de9d68adcd8871bacc9a6331c3f28e6d2ff91a3d1"+dependencies = [+ "strip-ansi-escapes",+ "unicode-width 0.1.14",][[package]]@@ -11562,6 +12001,24 @@ version = "0.2.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "7b2093cf4c8eb1e67749a6762251bc9cd836b6fc171623bd0a9d324d37af2417"+[[package]]+name = "target-lexicon"+version = "0.13.5"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"++[[package]]+name = "target-spec"+version = "3.6.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "b00e973676af5497c2a69cc9787e2205c00f3b6f4f70e7d7b0112e28aa84b501"+dependencies = [+ "cfg-expr",+ "guppy-workspace-hack",+ "serde",+ "target-lexicon",+]+[[package]]name = "task_dedup"version = "0.1.0"@@ -11592,6 +12049,7 @@ dependencies = ["tracing","utoipa","uuid",+ "workspace-hack",][[package]]@@ -11628,6 +12086,7 @@ dependencies = ["url","utoipa","uuid",+ "workspace-hack",][[package]]@@ -11639,7 +12098,7 @@ dependencies = ["fastrand 2.4.1","getrandom 0.4.2","once_cell",- "rustix",+ "rustix 1.1.4","windows-sys 0.61.2",]@@ -11925,6 +12384,16 @@ dependencies = ["tokio",]+[[package]]+name = "toml"+version = "0.5.11"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234"+dependencies = [+ "indexmap 1.9.3",+ "serde",+]+[[package]]name = "toml_datetime"version = "0.6.11"@@ -11951,6 +12420,18 @@ dependencies = ["winnow 0.5.40",]+[[package]]+name = "toml_edit"+version = "0.22.27"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "41fe8c660ae4257887cf66394862d21dbca4a6ddd26f04a3560410406a2f819a"+dependencies = [+ "indexmap 2.14.0",+ "toml_datetime 0.6.11",+ "toml_write",+ "winnow 0.7.15",+]+[[package]]name = "toml_edit"version = "0.25.11+spec-1.1.0"@@ -11972,6 +12453,12 @@ dependencies = ["winnow 1.0.3",]+[[package]]+name = "toml_write"+version = "0.1.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "5d99f8c9a7727884afe522e9bd5edbfc91a3312b36a77b5fb8926e4c31a41801"+[[package]]name = "tonic"version = "0.14.6"@@ -12329,6 +12816,7 @@ dependencies = ["tracing","url","utoipa",+ "workspace-hack",][[package]]@@ -12356,6 +12844,7 @@ dependencies = ["url","utoipa","utoipa-swagger-ui",+ "workspace-hack",][[package]]@@ -12472,6 +12961,7 @@ dependencies = ["tokio-util","tracing","walkdir",+ "workspace-hack","zip 2.4.2",]@@ -12493,6 +12983,7 @@ dependencies = ["sqs_client","tokio","tracing",+ "workspace-hack",][[package]]@@ -12529,6 +13020,7 @@ dependencies = ["serde_json","sqlx","tokio",+ "workspace-hack",][[package]]@@ -12538,6 +13030,7 @@ dependencies = ["serde","serde_json","utoipa",+ "workspace-hack",][[package]]@@ -12686,6 +13179,27 @@ version = "0.8.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "5c3082ca00d5a5ef149bb8b555a72ae84c9c59f7250f013ac822ac2e49b19c64"+[[package]]+name = "vte"+version = "0.10.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "6cbce692ab4ca2f1f3047fcf732430249c0e971bfdd2b234cf2c47ad93af5983"+dependencies = [+ "arrayvec 0.5.2",+ "utf8parse",+ "vte_generate_state_changes",+]++[[package]]+name = "vte_generate_state_changes"+version = "0.1.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "2e369bee1b05d510a7b4ed645f5faa90619e05437111783ea5848f28d97d3c2e"+dependencies = [+ "proc-macro2",+ "quote",+]+[[package]]name = "waker-fn"version = "1.2.0"@@ -13480,6 +13994,145 @@ dependencies = ["serde_json","tokio","tracing",+ "workspace-hack",+]++[[package]]+name = "workspace-hack"+version = "0.1.0"+dependencies = [+ "ahash",+ "aho-corasick",+ "aws-credential-types",+ "aws-runtime",+ "aws-sigv4",+ "aws-smithy-async",+ "aws-smithy-http",+ "aws-smithy-http-client",+ "aws-smithy-runtime",+ "aws-smithy-runtime-api",+ "aws-smithy-types",+ "aws_lambda_events",+ "axum",+ "axum-extra",+ "base64 0.22.1",+ "bitflags 2.11.1",+ "byteorder",+ "bytes",+ "bzip2",+ "bzip2-sys",+ "cc",+ "chrono",+ "concurrent-queue",+ "crossbeam-epoch",+ "crossbeam-utils",+ "crypto-bigint",+ "crypto-common 0.1.6",+ "data-encoding",+ "digest 0.10.7",+ "doppleganger",+ "doppleganger-core",+ "either",+ "elliptic-curve",+ "errno",+ "event-listener 5.4.1",+ "fastrand 2.4.1",+ "flate2",+ "foldhash 0.2.0",+ "form_urlencoded",+ "futures",+ "futures-channel",+ "futures-core",+ "futures-executor",+ "futures-io",+ "futures-sink",+ "futures-task",+ "futures-util",+ "generic-array",+ "getrandom 0.2.17",+ "getrandom 0.3.4",+ "getrandom 0.4.2",+ "hashbrown 0.14.5",+ "hashbrown 0.16.1",+ "hashbrown 0.17.1",+ "hmac 0.12.1",+ "hyper 0.14.32",+ "hyper 1.9.0",+ "hyper-rustls 0.24.2",+ "hyper-rustls 0.27.9",+ "hyper-util",+ "indexmap 2.14.0",+ "ipnet",+ "lazy_static",+ "libc",+ "linux-raw-sys 0.12.1",+ "log",+ "memchr",+ "mime_guess",+ "miniz_oxide",+ "num-bigint",+ "num-integer",+ "num-traits",+ "once_cell",+ "percent-encoding",+ "phf_shared 0.10.0",+ "phf_shared 0.13.1",+ "prettyplease",+ "proc-macro2",+ "prost 0.12.6",+ "quote",+ "rand 0.10.1",+ "rand 0.8.6",+ "rand 0.9.4",+ "redis",+ "regex",+ "regex-automata",+ "regex-syntax",+ "reqwest 0.13.4",+ "rmcp",+ "rsa",+ "rustc-hash 2.1.2",+ "rustix 1.1.4",+ "rustls 0.21.12",+ "rustls 0.23.40",+ "rustls-webpki 0.103.13",+ "schemars 1.2.1",+ "scopeguard",+ "security-framework-sys",+ "semver",+ "serde",+ "serde_core",+ "serde_json",+ "serde_with",+ "sha1 0.10.6",+ "sha2 0.10.9",+ "simd-adler32",+ "slab",+ "smallvec",+ "spin 0.9.8",+ "sqlx-core",+ "sqlx-postgres",+ "stable_deref_trait",+ "subtle",+ "syn 1.0.109",+ "syn 2.0.117",+ "sync_wrapper",+ "thiserror 2.0.18",+ "time",+ "tokio",+ "tokio-rustls 0.26.4",+ "tokio-stream",+ "tokio-util",+ "tower 0.5.3",+ "tower-http",+ "tracing",+ "tracing-core",+ "tungstenite 0.28.0",+ "typenum",+ "url",+ "uuid",+ "zerocopy",+ "zeroize",][[package]]@@ -13494,6 +14147,16 @@ version = "0.13.6"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "66fee0b777b0f5ac1c69bb06d361268faafa61cd4682ae064a171c16c433e9e4"+[[package]]+name = "xtask"+version = "0.1.0"+dependencies = [+ "anyhow",+ "guppy",+ "hakari",+ "serde_json",+]+[[package]]name = "xxhash-rust"version = "0.8.15"diff --git a/rust/cloud-storage/Cargo.toml b/rust/cloud-storage/Cargo.tomlindex f2b306c0f9..cc92468f3b 100644--- a/rust/cloud-storage/Cargo.toml+++ b/rust/cloud-storage/Cargo.toml@@ -55,8 +55,11 @@ members = ["upload_extractor_lambda_trigger","user_link_cleanup_handler","worker_trigger",- "macro_config"-, "prompt"]+ "macro_config",+ "prompt",+ "workspace-hack",+ "tools/xtask",+][workspace.dependencies]anyhow = "1.0.100"diff --git a/rust/cloud-storage/Dockerfile b/rust/cloud-storage/Dockerfileindex df177070d7..8fff3e80ea 100644--- a/rust/cloud-storage/Dockerfile+++ b/rust/cloud-storage/Dockerfile@@ -30,8 +30,7 @@ RUN : \&& apt-get clean \&& rm -rf /var/lib/apt/lists/*-COPY --from=builder /app/svc /app/svc-RUN chmod +x svc+COPY --chmod=755 --from=builder /app/svc /app/svcENV PORT=8080EXPOSE ${PORT}diff --git a/rust/cloud-storage/Dockerfile.convert_service b/rust/cloud-storage/Dockerfile.convert_serviceindex 9aed830b0b..56f86f7317 100644--- a/rust/cloud-storage/Dockerfile.convert_service+++ b/rust/cloud-storage/Dockerfile.convert_service@@ -62,10 +62,9 @@ RUN : \# Refresh font cacheRUN fc-cache -f -v-COPY --from=builder /app/svc /app/svc+COPY --chmod=755 --from=builder /app/svc /app/svcCOPY --from=lok /instdir /app/lok/instdirCOPY --from=lok /include /app/lok/include-RUN chmod +x svcENV PORT=8080EXPOSE ${PORT}ENTRYPOINT ["dumb-init", "./svc"]diff --git a/rust/cloud-storage/Dockerfile.convert_service.prebuilt b/rust/cloud-storage/Dockerfile.convert_service.prebuiltindex 4e96d6a95e..3eb36c2ddf 100644--- a/rust/cloud-storage/Dockerfile.convert_service.prebuilt+++ b/rust/cloud-storage/Dockerfile.convert_service.prebuilt@@ -33,8 +33,7 @@ RUN curl --fail --show-error -L -o core-co-25.04-assets.tar.gz https://github.co&& rm core-co-25.04-assets.tar.gzCOPY ./prebuilt/nix-store/ /nix/store/-COPY ./prebuilt/${SERVICE_NAME} /app/svc-RUN chmod +x /app/svc+COPY --chmod=755 ./prebuilt/${SERVICE_NAME} /app/svc# The nix-built binary uses the nix dynamic linker, which doesn't search system# library paths (/usr/lib, /lib). LibreOfficeKit's libmergedlo.so is loaded viadiff --git a/rust/cloud-storage/Dockerfile.prebuilt b/rust/cloud-storage/Dockerfile.prebuiltindex e657df2c4f..1efa3ebd23 100644--- a/rust/cloud-storage/Dockerfile.prebuilt+++ b/rust/cloud-storage/Dockerfile.prebuilt@@ -11,8 +11,7 @@ RUN apt-get update \# Copy the runtime closure and pre-built Linux binary from the GitHub Actions artifact.COPY ./prebuilt/nix-store/ /nix/store/-COPY ./prebuilt/${SERVICE_NAME} /app/svc-RUN chmod +x /app/svc+COPY --chmod=755 ./prebuilt/${SERVICE_NAME} /app/svcENV PORT=8080EXPOSE ${PORT}diff --git a/rust/cloud-storage/Dockerfile.search_processing_service b/rust/cloud-storage/Dockerfile.search_processing_serviceindex dd4d665630..df45aca071 100644--- a/rust/cloud-storage/Dockerfile.search_processing_service+++ b/rust/cloud-storage/Dockerfile.search_processing_service@@ -30,14 +30,11 @@ RUN : \&& apt-get clean \&& rm -rf /var/lib/apt/lists/*-COPY --from=builder /app/svc /app/svc-+COPY --chmod=755 --from=builder /app/svc /app/svcRUN mkdir -p /app/pdfium-lib/linuxCOPY --from=builder /app/search_processing_service/pdfium-lib/linux/libpdfium.so /app/pdfium-lib/linux/libpdfium.so-RUN chmod +x svc-ENV PORT=8080EXPOSE ${PORT}diff --git a/rust/cloud-storage/Dockerfile.search_processing_service.prebuilt b/rust/cloud-storage/Dockerfile.search_processing_service.prebuiltindex 5508af10f8..3bdff46ccb 100644--- a/rust/cloud-storage/Dockerfile.search_processing_service.prebuilt+++ b/rust/cloud-storage/Dockerfile.search_processing_service.prebuilt@@ -11,12 +11,10 @@ RUN : \&& rm -rf /var/lib/apt/lists/*COPY ./prebuilt/nix-store/ /nix/store/-COPY ./prebuilt/${SERVICE_NAME} /app/svc+COPY --chmod=755 ./prebuilt/${SERVICE_NAME} /app/svcRUN mkdir -p /app/pdfium-lib/linuxCOPY ./search_processing_service/pdfium-lib/linux/libpdfium.so /app/pdfium-lib/linux/libpdfium.so-RUN chmod +x /app/svc-ENV PORT=8080EXPOSE ${PORT}ENTRYPOINT ["dumb-init", "./svc"]diff --git a/rust/cloud-storage/agent/Cargo.toml b/rust/cloud-storage/agent/Cargo.tomlindex 515ad2d65f..f30ea943c4 100644--- a/rust/cloud-storage/agent/Cargo.toml+++ b/rust/cloud-storage/agent/Cargo.toml@@ -25,6 +25,7 @@ tracing = { workspace = true }ai_toolset = { path = "../ai_toolset" }attachment = { path = "../attachment" }macro_user_id = { path = "../macro_user_id" }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]model-entity = { path = "../model-entity" }diff --git a/rust/cloud-storage/ai_tools/Cargo.toml b/rust/cloud-storage/ai_tools/Cargo.tomlindex 3690da3591..46847d775d 100644--- a/rust/cloud-storage/ai_tools/Cargo.toml+++ b/rust/cloud-storage/ai_tools/Cargo.toml@@ -78,6 +78,7 @@ secretsmanager_client = { path = "../secretsmanager_client" }aws-sdk-secretsmanager = { workspace = true }macro_service_urls = { path = "../macro_service_urls" }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]cool_asserts = "2"diff --git a/rust/cloud-storage/ai_toolset/Cargo.toml b/rust/cloud-storage/ai_toolset/Cargo.tomlindex 6e48be488b..7815ce4c5f 100644--- a/rust/cloud-storage/ai_toolset/Cargo.toml+++ b/rust/cloud-storage/ai_toolset/Cargo.toml@@ -16,3 +16,4 @@ macro_user_id = { path = "../macro_user_id" }axum = { workspace = true }axum-macros = { workspace = true }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/analytics_client/Cargo.toml b/rust/cloud-storage/analytics_client/Cargo.tomlindex 593fb8173d..74af0802b8 100644--- a/rust/cloud-storage/analytics_client/Cargo.toml+++ b/rust/cloud-storage/analytics_client/Cargo.toml@@ -12,3 +12,4 @@ serde = { workspace = true }serde_json = { workspace = true }sha2 = { workspace = true }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/anthropic/Cargo.toml b/rust/cloud-storage/anthropic/Cargo.tomlindex 9750488ad2..b0c56cb914 100644--- a/rust/cloud-storage/anthropic/Cargo.toml+++ b/rust/cloud-storage/anthropic/Cargo.toml@@ -32,3 +32,4 @@ regex = { workspace = true }ai_toolset = { path = "../ai_toolset", optional = true }async-trait = { workspace = true, optional = true }anyhow = { workspace = true, optional = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/attachment/Cargo.toml b/rust/cloud-storage/attachment/Cargo.tomlindex 2b4c7e030d..39d64f1c0e 100644--- a/rust/cloud-storage/attachment/Cargo.toml+++ b/rust/cloud-storage/attachment/Cargo.toml@@ -19,3 +19,4 @@ image = { workspace = true }model_file_type = { path = "../model_file_type" }model-entity = { path = "../model-entity" }webp = "0.3.1"+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/authentication_service/Cargo.toml b/rust/cloud-storage/authentication_service/Cargo.tomlindex edda33fb6a..3dadc39b4c 100644--- a/rust/cloud-storage/authentication_service/Cargo.toml+++ b/rust/cloud-storage/authentication_service/Cargo.toml@@ -129,6 +129,7 @@ utoipa = { workspace = true }utoipa-swagger-ui = { workspace = true }uuid = { workspace = true }doppler-config = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]cool_asserts = "2"diff --git a/rust/cloud-storage/authentication_service_client/Cargo.toml b/rust/cloud-storage/authentication_service_client/Cargo.tomlindex f11858f30c..bceb52d590 100644--- a/rust/cloud-storage/authentication_service_client/Cargo.toml+++ b/rust/cloud-storage/authentication_service_client/Cargo.toml@@ -11,3 +11,4 @@ reqwest = { workspace = true }serde = { workspace = true }thiserror = { workspace = true }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/backfill_entity_access/Cargo.toml b/rust/cloud-storage/backfill_entity_access/Cargo.tomlindex 4dc53581bf..90bd4ae526 100644--- a/rust/cloud-storage/backfill_entity_access/Cargo.toml+++ b/rust/cloud-storage/backfill_entity_access/Cargo.toml@@ -12,3 +12,4 @@ macro_uuid = { path = "../macro_uuid" }sqlx = { workspace = true }tokio = { workspace = true }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/bot_id/Cargo.toml b/rust/cloud-storage/bot_id/Cargo.tomlindex b4766c0b1e..b5ac1e628e 100644--- a/rust/cloud-storage/bot_id/Cargo.toml+++ b/rust/cloud-storage/bot_id/Cargo.toml@@ -14,3 +14,4 @@ sqlx = { workspace = true, optional = true }thiserror = { workspace = true }utoipa = { workspace = true, optional = true }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/bots/Cargo.toml b/rust/cloud-storage/bots/Cargo.tomlindex 156fa96471..e710ae7ebc 100644--- a/rust/cloud-storage/bots/Cargo.toml+++ b/rust/cloud-storage/bots/Cargo.toml@@ -43,6 +43,7 @@ tokio = { workspace = true, optional = true }tracing = { workspace = true }utoipa = { workspace = true, optional = true }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]entity_access = { path = "../entity_access", default-features = false, features = [diff --git a/rust/cloud-storage/cal/Cargo.toml b/rust/cloud-storage/cal/Cargo.tomlindex f4a2245390..f01f65fa6c 100644--- a/rust/cloud-storage/cal/Cargo.toml+++ b/rust/cloud-storage/cal/Cargo.toml@@ -23,3 +23,4 @@ sha2 = { workspace = true }thiserror = { workspace = true }tracing = { workspace = true }utoipa = { workspace = true, optional = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/call/Cargo.toml b/rust/cloud-storage/call/Cargo.tomlindex b98eb92321..447bf69d43 100644--- a/rust/cloud-storage/call/Cargo.toml+++ b/rust/cloud-storage/call/Cargo.toml@@ -73,6 +73,7 @@ tokio = { workspace = true, features = ["macros"], optional = true }tracing = { workspace = true }utoipa = { workspace = true, optional = true }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]macro_db_migrator = { path = "../macro_db_migrator" }diff --git a/rust/cloud-storage/call_recording_preview_handler/Cargo.toml b/rust/cloud-storage/call_recording_preview_handler/Cargo.tomlindex f450a68a7f..5995800379 100644--- a/rust/cloud-storage/call_recording_preview_handler/Cargo.toml+++ b/rust/cloud-storage/call_recording_preview_handler/Cargo.toml@@ -16,6 +16,7 @@ tokio = { workspace = true, features = ["fs", "process", "time"] }tracing = { workspace = true }urlencoding = { workspace = true }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]macro_db_migrator = { path = "../macro_db_migrator" }diff --git a/rust/cloud-storage/channel_bots/Cargo.toml b/rust/cloud-storage/channel_bots/Cargo.tomlindex 9a3d353525..dd0550d676 100644--- a/rust/cloud-storage/channel_bots/Cargo.toml+++ b/rust/cloud-storage/channel_bots/Cargo.toml@@ -17,6 +17,7 @@ macro_user_id = { path = "../macro_user_id" }tokio = { workspace = true, features = ["rt", "sync"] }tracing = { workspace = true }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]chrono = { workspace = true }diff --git a/rust/cloud-storage/channels/Cargo.toml b/rust/cloud-storage/channels/Cargo.tomlindex 9d3b67182c..6b4313074d 100644--- a/rust/cloud-storage/channels/Cargo.toml+++ b/rust/cloud-storage/channels/Cargo.toml@@ -76,6 +76,7 @@ uuid = { workspace = true }ai_toolset = { path = "../ai_toolset", optional = true }async-trait = { workspace = true, optional = true }schemars = { workspace = true, optional = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]http-body-util = { workspace = true }diff --git a/rust/cloud-storage/chat/Cargo.toml b/rust/cloud-storage/chat/Cargo.tomlindex f89239cddc..aab96af1c0 100644--- a/rust/cloud-storage/chat/Cargo.toml+++ b/rust/cloud-storage/chat/Cargo.toml@@ -64,6 +64,7 @@ utoipa = { workspace = true }sqlx = { workspace = true, optional = true }macro_uuid = { path = "../macro_uuid", optional = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]http-body-util = { workspace = true }diff --git a/rust/cloud-storage/comms/Cargo.toml b/rust/cloud-storage/comms/Cargo.tomlindex ffbef8ce02..31f76356f6 100644--- a/rust/cloud-storage/comms/Cargo.toml+++ b/rust/cloud-storage/comms/Cargo.toml@@ -44,6 +44,7 @@ tokio = { workspace = true }tracing = { workspace = true }utoipa = { workspace = true, optional = true }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]anyhow = { workspace = true }diff --git a/rust/cloud-storage/comms_db_client/Cargo.toml b/rust/cloud-storage/comms_db_client/Cargo.tomlindex 7b277010a8..2bb9469b20 100644--- a/rust/cloud-storage/comms_db_client/Cargo.toml+++ b/rust/cloud-storage/comms_db_client/Cargo.toml@@ -21,6 +21,7 @@ strum = { workspace = true }tracing = { workspace = true }utoipa = { workspace = true, features = ["axum_extras", "chrono", "uuid"] }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]macro_db_migrator = { path = "../macro_db_migrator" }diff --git a/rust/cloud-storage/connection/Cargo.toml b/rust/cloud-storage/connection/Cargo.tomlindex f15902f30c..7ff21cdd39 100644--- a/rust/cloud-storage/connection/Cargo.toml+++ b/rust/cloud-storage/connection/Cargo.toml@@ -24,3 +24,4 @@ uuid = { workspace = true }# Outboundconnection_gateway_client = { path = "../connection_gateway_client", optional = true }model-entity = { path = "../model-entity", optional = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/connection_gateway/Cargo.toml b/rust/cloud-storage/connection_gateway/Cargo.tomlindex 8a597f577f..ef3c2f742f 100644--- a/rust/cloud-storage/connection_gateway/Cargo.toml+++ b/rust/cloud-storage/connection_gateway/Cargo.toml@@ -74,6 +74,7 @@ url = { workspace = true }utoipa = { workspace = true, features = ["axum_extras"] }utoipa-swagger-ui = { workspace = true, features = ["axum"] }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]cool_asserts = "2"diff --git a/rust/cloud-storage/connection_gateway_client/Cargo.toml b/rust/cloud-storage/connection_gateway_client/Cargo.tomlindex aaac4ebb8c..2124e819b2 100644--- a/rust/cloud-storage/connection_gateway_client/Cargo.toml+++ b/rust/cloud-storage/connection_gateway_client/Cargo.toml@@ -12,3 +12,4 @@ reqwest = { workspace = true }serde = { workspace = true }serde_json = { workspace = true }tracing = { workspace = true, features = ["attributes"] }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/connection_gateway_models/Cargo.toml b/rust/cloud-storage/connection_gateway_models/Cargo.tomlindex e3c980c71e..da13111e3c 100644--- a/rust/cloud-storage/connection_gateway_models/Cargo.toml+++ b/rust/cloud-storage/connection_gateway_models/Cargo.toml@@ -9,3 +9,4 @@ model-entity = { path = "../model-entity" }serde = { workspace = true }serde_json = { workspace = true }utoipa = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/contacts/Cargo.toml b/rust/cloud-storage/contacts/Cargo.tomlindex b69b841e56..2cda60f183 100644--- a/rust/cloud-storage/contacts/Cargo.toml+++ b/rust/cloud-storage/contacts/Cargo.toml@@ -41,6 +41,7 @@ sqs_worker = { path = "../sqs_worker", optional = true }tokio = { workspace = true }tracing = { workspace = true }utoipa = { workspace = true, optional = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]macro_db_migrator = { path = "../macro_db_migrator" }diff --git a/rust/cloud-storage/contacts_service/Cargo.toml b/rust/cloud-storage/contacts_service/Cargo.tomlindex be1c3603b2..29892d3f1a 100644--- a/rust/cloud-storage/contacts_service/Cargo.toml+++ b/rust/cloud-storage/contacts_service/Cargo.toml@@ -41,6 +41,7 @@ tracing = { workspace = true }utoipa = { workspace = true }utoipa-swagger-ui = { workspace = true }macro_service_urls = { path = "../macro_service_urls" }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[features]mock = []diff --git a/rust/cloud-storage/convert_service/Cargo.toml b/rust/cloud-storage/convert_service/Cargo.tomlindex 4e77803549..57f107fc6f 100644--- a/rust/cloud-storage/convert_service/Cargo.toml+++ b/rust/cloud-storage/convert_service/Cargo.toml@@ -47,3 +47,4 @@ tracing = { workspace = true }utoipa = { workspace = true }utoipa-swagger-ui = { workspace = true }zip = { workspace = true, features = ["bzip2"] }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/cowlike/Cargo.toml b/rust/cloud-storage/cowlike/Cargo.tomlindex 6dafdce7d2..d5791c4693 100644--- a/rust/cloud-storage/cowlike/Cargo.toml+++ b/rust/cloud-storage/cowlike/Cargo.toml@@ -5,3 +5,4 @@ publish = falseversion = "0.1.0"[dependencies]+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/crm/Cargo.toml b/rust/cloud-storage/crm/Cargo.tomlindex 8b0c150b75..08f827c4fe 100644--- a/rust/cloud-storage/crm/Cargo.toml+++ b/rust/cloud-storage/crm/Cargo.toml@@ -45,6 +45,7 @@ utoipa = { workspace = true, optional = true }reqwest = { workspace = true, optional = true }sqlx = { workspace = true, optional = true }unfurl = { path = "../unfurl", features = ["ports"], optional = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]macro_db_migrator = { path = "../macro_db_migrator" }diff --git a/rust/cloud-storage/dataloss_prevention_handler/Cargo.toml b/rust/cloud-storage/dataloss_prevention_handler/Cargo.tomlindex e801c4248d..877d3042f3 100644--- a/rust/cloud-storage/dataloss_prevention_handler/Cargo.toml+++ b/rust/cloud-storage/dataloss_prevention_handler/Cargo.toml@@ -17,3 +17,4 @@ s3_client = { path = "../s3_client" }sns_client = { path = "../sns_client" }tokio = { workspace = true }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/decode_jwt/Cargo.toml b/rust/cloud-storage/decode_jwt/Cargo.tomlindex cfb31748e9..35f499a820 100644--- a/rust/cloud-storage/decode_jwt/Cargo.toml+++ b/rust/cloud-storage/decode_jwt/Cargo.toml@@ -16,6 +16,7 @@ model-error-response = { path = "../model-error-response" }model_user = { path = "../model_user" }serde = { workspace = true }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]cookie = { workspace = true }diff --git a/rust/cloud-storage/delete_chat_handler/Cargo.toml b/rust/cloud-storage/delete_chat_handler/Cargo.tomlindex 4c2455c491..f28672edbb 100644--- a/rust/cloud-storage/delete_chat_handler/Cargo.toml+++ b/rust/cloud-storage/delete_chat_handler/Cargo.toml@@ -13,4 +13,5 @@ macro_uuid = { path = "../macro_uuid" }sqlx = { workspace = true }tokio = { workspace = true }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/deleted_item_poller/Cargo.toml b/rust/cloud-storage/deleted_item_poller/Cargo.tomlindex d68d5c02df..a69f453485 100644--- a/rust/cloud-storage/deleted_item_poller/Cargo.toml+++ b/rust/cloud-storage/deleted_item_poller/Cargo.toml@@ -29,4 +29,5 @@ sqs_client = { path = "../sqs_client", default-features = false, features = [tokio = { workspace = true }tracing = { workspace = true }urlencoding = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/document_cognition_service/Cargo.toml b/rust/cloud-storage/document_cognition_service/Cargo.tomlindex 85463ed94f..3669f6d7f0 100644--- a/rust/cloud-storage/document_cognition_service/Cargo.toml+++ b/rust/cloud-storage/document_cognition_service/Cargo.toml@@ -130,6 +130,7 @@ utoipa-swagger-ui = { workspace = true, features = ["axum"] }uuid = { workspace = true }macro_service_urls = { path = "../macro_service_urls" }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]ai_tools = { path = "../ai_tools", features = ["test-support"] }diff --git a/rust/cloud-storage/document_cognition_service/load-test/Cargo.toml b/rust/cloud-storage/document_cognition_service/load-test/Cargo.tomlindex 238aaa2e54..6566b808a5 100644--- a/rust/cloud-storage/document_cognition_service/load-test/Cargo.toml+++ b/rust/cloud-storage/document_cognition_service/load-test/Cargo.toml@@ -14,3 +14,4 @@ serde_json = { workspace = true }tokio = { workspace = true }tokio-tungstenite = { workspace = true, default-features = false, features = ["connect", "rustls-tls-webpki-roots"] }tungstenite = { workspace = true }+workspace-hack = { version = "0.1", path = "../../workspace-hack" }diff --git a/rust/cloud-storage/document_storage_service/Cargo.toml b/rust/cloud-storage/document_storage_service/Cargo.tomlindex e54c719a9d..647f334511 100644--- a/rust/cloud-storage/document_storage_service/Cargo.toml+++ b/rust/cloud-storage/document_storage_service/Cargo.toml@@ -148,6 +148,7 @@ utoipa = { workspace = true, features = ["axum_extras"] }utoipa-swagger-ui = { workspace = true, features = ["axum"] }uuid = { workspace = true }zip = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]cool_asserts = "2"diff --git a/rust/cloud-storage/document_storage_service_client/Cargo.toml b/rust/cloud-storage/document_storage_service_client/Cargo.tomlindex 9abe4313fd..46503fd7c3 100644--- a/rust/cloud-storage/document_storage_service_client/Cargo.toml+++ b/rust/cloud-storage/document_storage_service_client/Cargo.toml@@ -14,3 +14,4 @@ serde = { workspace = true }serde_json = { workspace = true }thiserror = { workspace = true }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/document_sub_type/Cargo.toml b/rust/cloud-storage/document_sub_type/Cargo.tomlindex 87161d124b..f8ad8a0431 100644--- a/rust/cloud-storage/document_sub_type/Cargo.toml+++ b/rust/cloud-storage/document_sub_type/Cargo.toml@@ -11,3 +11,4 @@ strum = { workspace = true }thiserror = { workspace = true }utoipa = { workspace = true }schemars = {workspace = true}+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/document_text_extractor/Cargo.toml b/rust/cloud-storage/document_text_extractor/Cargo.tomlindex 03c4c302f7..9cacaaf627 100644--- a/rust/cloud-storage/document_text_extractor/Cargo.toml+++ b/rust/cloud-storage/document_text_extractor/Cargo.toml@@ -35,4 +35,5 @@ tokio = { workspace = true }tracing = { workspace = true }urlencoding = { workspace = true }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/document_upload_finalizer_handler/Cargo.toml b/rust/cloud-storage/document_upload_finalizer_handler/Cargo.tomlindex abc6564b02..060a205cf4 100644--- a/rust/cloud-storage/document_upload_finalizer_handler/Cargo.toml+++ b/rust/cloud-storage/document_upload_finalizer_handler/Cargo.toml@@ -28,6 +28,7 @@ sync_service_client = { path = "../sync_service_client" }tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }tracing = { workspace = true }urlencoding = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[[bin]]name = "document_upload_finalizer_local_worker"diff --git a/rust/cloud-storage/documents/Cargo.toml b/rust/cloud-storage/documents/Cargo.tomlindex 76b1791f41..0e8fa53c74 100644--- a/rust/cloud-storage/documents/Cargo.toml+++ b/rust/cloud-storage/documents/Cargo.toml@@ -139,6 +139,7 @@ sha2 = { workspace = true, optional = true }# Attachmentattachment = { path = "../attachment", optional = true }non_empty = { path = "../non_empty" }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]dotenvy = { workspace = true }diff --git a/rust/cloud-storage/docx_unzip_handler/Cargo.toml b/rust/cloud-storage/docx_unzip_handler/Cargo.tomlindex 09be2c2975..47f5a47042 100644--- a/rust/cloud-storage/docx_unzip_handler/Cargo.toml+++ b/rust/cloud-storage/docx_unzip_handler/Cargo.toml@@ -40,4 +40,5 @@ tokio = { workspace = true }tracing = { workspace = true }urlencoding = { workspace = true }zip = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/dynamodb_client/Cargo.toml b/rust/cloud-storage/dynamodb_client/Cargo.tomlindex 28259e0239..ef380d2d24 100644--- a/rust/cloud-storage/dynamodb_client/Cargo.toml+++ b/rust/cloud-storage/dynamodb_client/Cargo.toml@@ -18,3 +18,4 @@ strum = { workspace = true }thiserror = { workspace = true }tokio = { workspace = true, features = ["time"] }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/email/Cargo.toml b/rust/cloud-storage/email/Cargo.tomlindex a50fbea6f3..fa114a176b 100644--- a/rust/cloud-storage/email/Cargo.toml+++ b/rust/cloud-storage/email/Cargo.toml@@ -77,6 +77,7 @@ tokio = { workspace = true, features = ["macros"], optional = true }tracing = { workspace = true }utoipa = { workspace = true, optional = true }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]crm = { path = "../crm", features = ["outbound"] }diff --git a/rust/cloud-storage/email_db_client/Cargo.toml b/rust/cloud-storage/email_db_client/Cargo.tomlindex b6e1f486a9..9adfdae7db 100644--- a/rust/cloud-storage/email_db_client/Cargo.toml+++ b/rust/cloud-storage/email_db_client/Cargo.toml@@ -20,6 +20,7 @@ serde_json = { workspace = true }sqlx = { workspace = true }tokio = { workspace = true }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]macro_db_migrator = { path = "../macro_db_migrator" }diff --git a/rust/cloud-storage/email_formatting/Cargo.toml b/rust/cloud-storage/email_formatting/Cargo.tomlindex ee6407cb15..c8fc5c2116 100644--- a/rust/cloud-storage/email_formatting/Cargo.toml+++ b/rust/cloud-storage/email_formatting/Cargo.toml@@ -17,3 +17,4 @@ rootcause = { workspace = true }serde = { workspace = true, features = ["derive"] }sha2 = { workspace = true }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/email_refresh_handler/Cargo.toml b/rust/cloud-storage/email_refresh_handler/Cargo.tomlindex a7d7f4fed0..a6135edebd 100644--- a/rust/cloud-storage/email_refresh_handler/Cargo.toml+++ b/rust/cloud-storage/email_refresh_handler/Cargo.toml@@ -20,6 +20,7 @@ sqs_client = { path = "../sqs_client" }tokio = { workspace = true }tracing = { workspace = true }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[package.metadata.cargo-machete]ignored = []diff --git a/rust/cloud-storage/email_scheduled_handler/Cargo.toml b/rust/cloud-storage/email_scheduled_handler/Cargo.tomlindex 64ae3ff4e2..04383cabe1 100644--- a/rust/cloud-storage/email_scheduled_handler/Cargo.toml+++ b/rust/cloud-storage/email_scheduled_handler/Cargo.toml@@ -18,6 +18,7 @@ sqlx = { workspace = true }sqs_client = { path = "../sqs_client" }tokio = { workspace = true }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[package.metadata.cargo-machete]ignored = []diff --git a/rust/cloud-storage/email_service/Cargo.toml b/rust/cloud-storage/email_service/Cargo.tomlindex 1e5bbc9727..9ae66bfe86 100644--- a/rust/cloud-storage/email_service/Cargo.toml+++ b/rust/cloud-storage/email_service/Cargo.toml@@ -162,6 +162,7 @@ utoipa-swagger-ui = { workspace = true }uuid = { workspace = true }macro_service_urls = { path = "../macro_service_urls" }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]macro_auth = { path = "../macro_auth", features = ["testing"] }diff --git a/rust/cloud-storage/email_service_client/Cargo.toml b/rust/cloud-storage/email_service_client/Cargo.tomlindex cdd247eabc..950f149bae 100644--- a/rust/cloud-storage/email_service_client/Cargo.toml+++ b/rust/cloud-storage/email_service_client/Cargo.toml@@ -14,3 +14,4 @@ serde = { workspace = true }serde_json = { workspace = true }tokio = { workspace = true }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/email_sfs_delete_handler/Cargo.toml b/rust/cloud-storage/email_sfs_delete_handler/Cargo.tomlindex 7c3c416a09..21d92c6714 100644--- a/rust/cloud-storage/email_sfs_delete_handler/Cargo.toml+++ b/rust/cloud-storage/email_sfs_delete_handler/Cargo.toml@@ -16,4 +16,5 @@ sqlx = { workspace = true }sqs_client = { path = "../sqs_client", default-features = false, features = ["email", "sfs_delete"] }tokio = { workspace = true }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/email_suppression_handler/Cargo.toml b/rust/cloud-storage/email_suppression_handler/Cargo.tomlindex afb7b3b3f3..7790b4d8de 100644--- a/rust/cloud-storage/email_suppression_handler/Cargo.toml+++ b/rust/cloud-storage/email_suppression_handler/Cargo.toml@@ -17,4 +17,5 @@ sqlx = { workspace = true }strum = { workspace = true }tokio = { workspace = true }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/email_utils/Cargo.toml b/rust/cloud-storage/email_utils/Cargo.tomlindex 060bd66ec0..91fd2628ef 100644--- a/rust/cloud-storage/email_utils/Cargo.toml+++ b/rust/cloud-storage/email_utils/Cargo.toml@@ -9,4 +9,5 @@ ego-tree = { workspace = true }html2text = "0.15.1"lazy_static = { workspace = true }regex = { workspace = true }-scraper = { workspace = true }\ No newline at end of file+scraper = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/email_validator/Cargo.toml b/rust/cloud-storage/email_validator/Cargo.tomlindex b33b6a46b8..96466eede5 100644--- a/rust/cloud-storage/email_validator/Cargo.toml+++ b/rust/cloud-storage/email_validator/Cargo.toml@@ -7,3 +7,4 @@ version = "0.1.0"[dependencies]lazy_static = { workspace = true }regex = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/embedding/Cargo.toml b/rust/cloud-storage/embedding/Cargo.tomlindex fd8ff0be14..7d27e7905f 100644--- a/rust/cloud-storage/embedding/Cargo.toml+++ b/rust/cloud-storage/embedding/Cargo.toml@@ -7,3 +7,4 @@ publish = false[dependencies]anyhow = { workspace = true }async-openai = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/ensure_exists/Cargo.toml b/rust/cloud-storage/ensure_exists/Cargo.tomlindex e2bd031817..c5e5d70010 100644--- a/rust/cloud-storage/ensure_exists/Cargo.toml+++ b/rust/cloud-storage/ensure_exists/Cargo.toml@@ -13,3 +13,4 @@ aws-sdk-dynamodb = { workspace = true, optional = true }thiserror = { workspace = true }tokio = { workspace = true, features = ["time"], optional = true }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/entity_access/Cargo.toml b/rust/cloud-storage/entity_access/Cargo.tomlindex 3b01985910..e6b7e18fdf 100644--- a/rust/cloud-storage/entity_access/Cargo.toml+++ b/rust/cloud-storage/entity_access/Cargo.toml@@ -46,6 +46,7 @@ utoipa = { workspace = true, optional = true }# Databasecached = { workspace = true, optional = true }sqlx = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]cool_asserts = "2"diff --git a/rust/cloud-storage/entity_access_db_utils/Cargo.toml b/rust/cloud-storage/entity_access_db_utils/Cargo.tomlindex edb700faec..1a050c111f 100644--- a/rust/cloud-storage/entity_access_db_utils/Cargo.toml+++ b/rust/cloud-storage/entity_access_db_utils/Cargo.toml@@ -18,6 +18,7 @@ models_entity_access_management = { path = "../models_entity_access_management","db",] }models_permissions = { path = "../models_permissions" }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]macro_db_migrator = { path = "../macro_db_migrator" }diff --git a/rust/cloud-storage/entity_access_management/Cargo.toml b/rust/cloud-storage/entity_access_management/Cargo.tomlindex 83e4758143..bbaf123148 100644--- a/rust/cloud-storage/entity_access_management/Cargo.toml+++ b/rust/cloud-storage/entity_access_management/Cargo.toml@@ -32,6 +32,7 @@ models_permissions = { path = "../models_permissions" }# Databaseentity_access_db_utils = { path = "../entity_access_db_utils", optional = true }sqlx = { workspace = true, optional = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]cool_asserts = "2"diff --git a/rust/cloud-storage/filter_ast/Cargo.toml b/rust/cloud-storage/filter_ast/Cargo.tomlindex f31d5a65d6..6c74e5cb8d 100644--- a/rust/cloud-storage/filter_ast/Cargo.toml+++ b/rust/cloud-storage/filter_ast/Cargo.toml@@ -7,3 +7,4 @@ version = "0.1.0"[dependencies]recursion = { workspace = true }serde = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/foreign_entity/Cargo.toml b/rust/cloud-storage/foreign_entity/Cargo.tomlindex 55fa24d01a..6f1485d4ea 100644--- a/rust/cloud-storage/foreign_entity/Cargo.toml+++ b/rust/cloud-storage/foreign_entity/Cargo.toml@@ -35,6 +35,7 @@ tokio = { workspace = true, optional = true }tracing = { workspace = true }utoipa = { workspace = true, optional = true }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]http-body-util = { workspace = true }diff --git a/rust/cloud-storage/frecency/Cargo.toml b/rust/cloud-storage/frecency/Cargo.tomlindex a2459831b2..6570d54996 100644--- a/rust/cloud-storage/frecency/Cargo.toml+++ b/rust/cloud-storage/frecency/Cargo.toml@@ -31,6 +31,7 @@ strum = { workspace = true, features = ["derive"] }thiserror = { workspace = true }tokio = { workspace = true, optional = true, features = ["sync", "time"] }tracing = { workspace = true, optional = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]cool_asserts = "2"diff --git a/rust/cloud-storage/fusionauth/Cargo.toml b/rust/cloud-storage/fusionauth/Cargo.tomlindex 83f7cd41c7..a1f16fa4d6 100644--- a/rust/cloud-storage/fusionauth/Cargo.toml+++ b/rust/cloud-storage/fusionauth/Cargo.toml@@ -15,6 +15,7 @@ serde_urlencoded = { workspace = true }thiserror = { workspace = true }tracing = { workspace = true }urlencoding = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]tokio = { workspace = true }diff --git a/rust/cloud-storage/github/Cargo.toml b/rust/cloud-storage/github/Cargo.tomlindex c536fe38e8..2166f8c305 100644--- a/rust/cloud-storage/github/Cargo.toml+++ b/rust/cloud-storage/github/Cargo.toml@@ -72,6 +72,7 @@ axum = { workspace = true, optional = true }axum-extra = { workspace = true, optional = true }model-error-response = { path = "../model-error-response", optional = true }utoipa = { workspace = true, optional = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]document_sub_type = { path = "../document_sub_type" }diff --git a/rust/cloud-storage/gmail_client/Cargo.toml b/rust/cloud-storage/gmail_client/Cargo.tomlindex 026828377a..ae348f7bb3 100644--- a/rust/cloud-storage/gmail_client/Cargo.toml+++ b/rust/cloud-storage/gmail_client/Cargo.toml@@ -22,3 +22,4 @@ serde_json = { workspace = true }tokio = { workspace = true }tracing = { workspace = true }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/image_optimizer/Cargo.toml b/rust/cloud-storage/image_optimizer/Cargo.tomlindex a440d0d312..70c41e7dbe 100644--- a/rust/cloud-storage/image_optimizer/Cargo.toml+++ b/rust/cloud-storage/image_optimizer/Cargo.toml@@ -19,3 +19,4 @@ serde_json = { workspace = true }serde_urlencoded = { workspace = true }tokio = { workspace = true }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/image_proxy_service/Cargo.toml b/rust/cloud-storage/image_proxy_service/Cargo.tomlindex 601cad5e43..170fce3e4a 100644--- a/rust/cloud-storage/image_proxy_service/Cargo.toml+++ b/rust/cloud-storage/image_proxy_service/Cargo.toml@@ -40,6 +40,7 @@ tower-http = { workspace = true }tracing = { workspace = true }utoipa = { workspace = true, features = ["axum_extras", "chrono", "uuid"] }utoipa-swagger-ui = { workspace = true, features = ["axum"] }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]http-body-util = { workspace = true }diff --git a/rust/cloud-storage/integration_tests/local_e2e/Cargo.toml b/rust/cloud-storage/integration_tests/local_e2e/Cargo.tomlindex f0ca44076f..416dae26c5 100644--- a/rust/cloud-storage/integration_tests/local_e2e/Cargo.toml+++ b/rust/cloud-storage/integration_tests/local_e2e/Cargo.toml@@ -15,3 +15,6 @@ tokio = { workspace = true, features = ["time"] }tokio-tungstenite = { workspace = true }sqlx = { workspace = true }uuid = { workspace = true }++[dependencies]+workspace-hack = { version = "0.1", path = "../../workspace-hack" }diff --git a/rust/cloud-storage/invite_email/Cargo.toml b/rust/cloud-storage/invite_email/Cargo.tomlindex 368e80144d..01b4667acd 100644--- a/rust/cloud-storage/invite_email/Cargo.toml+++ b/rust/cloud-storage/invite_email/Cargo.toml@@ -16,6 +16,7 @@ serde = { workspace = true }url = { workspace = true, features = ["serde"] }utoipa = { workspace = true }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]serde_json = { workspace = true }diff --git a/rust/cloud-storage/ip_extractor/Cargo.toml b/rust/cloud-storage/ip_extractor/Cargo.tomlindex 666b9cef5c..064489a272 100644--- a/rust/cloud-storage/ip_extractor/Cargo.toml+++ b/rust/cloud-storage/ip_extractor/Cargo.toml@@ -7,6 +7,7 @@ version = "0.1.0"[dependencies]axum = { workspace = true }thiserror = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }diff --git a/rust/cloud-storage/item_filters/Cargo.toml b/rust/cloud-storage/item_filters/Cargo.tomlindex 8354939aeb..b11302eb7c 100644--- a/rust/cloud-storage/item_filters/Cargo.toml+++ b/rust/cloud-storage/item_filters/Cargo.toml@@ -25,6 +25,7 @@ strum = { workspace = true }thiserror = { workspace = true }utoipa = { workspace = true, optional = true }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]cool_asserts = "2.0.3"diff --git a/rust/cloud-storage/justfile b/rust/cloud-storage/justfileindex 73f10654b1..e4148b0e7d 100644--- a/rust/cloud-storage/justfile+++ b/rust/cloud-storage/justfile@@ -16,6 +16,14 @@ prepare_db:format:SQLX_OFFLINE=true cargo fmt+# Regenerate dependency-unification metadata after changing any Cargo.toml:+# the workspace-hack crate (feature unification, see .config/hakari.toml) and+# the per-artifact dep closure map consumed by the flake's deploy builds.+# Runs the lock-pinned generator in tools/xtask/, so local runs always match CI.+# CI fails if either artifact is stale.+hakari:+ cargo run -p xtask -- deps+clean:cargo cleangit restore target/lambdadiff --git a/rust/cloud-storage/lambda_client/Cargo.toml b/rust/cloud-storage/lambda_client/Cargo.tomlindex e662d968c4..938e744603 100644--- a/rust/cloud-storage/lambda_client/Cargo.toml+++ b/rust/cloud-storage/lambda_client/Cargo.toml@@ -11,3 +11,4 @@ aws-smithy-types = { workspace = true }serde = { workspace = true }serde_json = { workspace = true }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/last_online_tracker/Cargo.toml b/rust/cloud-storage/last_online_tracker/Cargo.tomlindex 304576e255..e588f1851b 100644--- a/rust/cloud-storage/last_online_tracker/Cargo.toml+++ b/rust/cloud-storage/last_online_tracker/Cargo.toml@@ -11,3 +11,4 @@ redis = { workspace = true, features = ["aio", "tokio-comp"] }rootcause = { workspace = true }tokio = { workspace = true, features = ["sync"] }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/lexical_client/Cargo.toml b/rust/cloud-storage/lexical_client/Cargo.tomlindex b798118ff3..acd74b263a 100644--- a/rust/cloud-storage/lexical_client/Cargo.toml+++ b/rust/cloud-storage/lexical_client/Cargo.toml@@ -10,6 +10,7 @@ models_search = { path = "../models_search" }reqwest = { workspace = true }serde = { workspace = true }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]serde_json = { workspace = true }diff --git a/rust/cloud-storage/local_e2e_test_support/Cargo.toml b/rust/cloud-storage/local_e2e_test_support/Cargo.tomlindex 2c5c6ac38b..28f132ab3e 100644--- a/rust/cloud-storage/local_e2e_test_support/Cargo.toml+++ b/rust/cloud-storage/local_e2e_test_support/Cargo.toml@@ -11,3 +11,4 @@ macro_auth = { path = "../macro_auth" }serde = { workspace = true }serde_json = { workspace = true }url = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/macro_auth/Cargo.toml b/rust/cloud-storage/macro_auth/Cargo.tomlindex 9ae3da4593..1999edb0bf 100644--- a/rust/cloud-storage/macro_auth/Cargo.toml+++ b/rust/cloud-storage/macro_auth/Cargo.toml@@ -24,3 +24,4 @@ serde_json = { workspace = true }thiserror = { workspace = true }tokio = { workspace = true, features = ["macros"] }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/macro_aws_config/Cargo.toml b/rust/cloud-storage/macro_aws_config/Cargo.tomlindex 743da2c634..f0e9dd3f7b 100644--- a/rust/cloud-storage/macro_aws_config/Cargo.toml+++ b/rust/cloud-storage/macro_aws_config/Cargo.toml@@ -16,3 +16,4 @@ tracing = { workspace = true }url = { workspace = true }aws-sdk-s3 = { workspace = true, optional = true }aws-sdk-sqs = { workspace = true, optional = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/macro_axum_utils/Cargo.toml b/rust/cloud-storage/macro_axum_utils/Cargo.tomlindex 33adf1be6e..cece8af363 100644--- a/rust/cloud-storage/macro_axum_utils/Cargo.toml+++ b/rust/cloud-storage/macro_axum_utils/Cargo.toml@@ -5,3 +5,4 @@ publish = falseversion = "0.1.0"[dependencies]+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/macro_cache_client/Cargo.toml b/rust/cloud-storage/macro_cache_client/Cargo.tomlindex 2dafa5d290..e49157442b 100644--- a/rust/cloud-storage/macro_cache_client/Cargo.toml+++ b/rust/cloud-storage/macro_cache_client/Cargo.toml@@ -26,3 +26,4 @@ anyhow = { workspace = true }email_validator = { path = "../email_validator", optional = true }macro_redis = { path = "../macro_redis" }redis = { workspace = true, features = ["tokio-rustls-comp"] }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/macro_config/Cargo.toml b/rust/cloud-storage/macro_config/Cargo.tomlindex 168cd6e427..43a6f5bede 100644--- a/rust/cloud-storage/macro_config/Cargo.toml+++ b/rust/cloud-storage/macro_config/Cargo.toml@@ -10,6 +10,7 @@ serde = { workspace = true }serde_json = { workspace = true }tracing = { workspace = true }thiserror = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]macro_env_var = { path = "../macro_env_var" }diff --git a/rust/cloud-storage/macro_config_derive/Cargo.toml b/rust/cloud-storage/macro_config_derive/Cargo.tomlindex 7f74155a29..7ab5c1552b 100644--- a/rust/cloud-storage/macro_config_derive/Cargo.toml+++ b/rust/cloud-storage/macro_config_derive/Cargo.toml@@ -11,3 +11,4 @@ proc-macro = trueproc-macro2 = "1"quote = { workspace = true }syn = { version = "2", features = ["full"] }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/macro_cors/Cargo.toml b/rust/cloud-storage/macro_cors/Cargo.tomlindex 02dfba626b..26eb67eb58 100644--- a/rust/cloud-storage/macro_cors/Cargo.toml+++ b/rust/cloud-storage/macro_cors/Cargo.toml@@ -7,3 +7,4 @@ version = "0.1.0"[dependencies]axum = { workspace = true }tower-http = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/macro_db_client/Cargo.toml b/rust/cloud-storage/macro_db_client/Cargo.tomlindex 479c7ef240..d17ad26f2e 100644--- a/rust/cloud-storage/macro_db_client/Cargo.toml+++ b/rust/cloud-storage/macro_db_client/Cargo.toml@@ -43,3 +43,4 @@ tokio = { workspace = true }tracing = { workspace = true }user_quota = { path = "../user_quota" }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/macro_db_migrator/Cargo.toml b/rust/cloud-storage/macro_db_migrator/Cargo.tomlindex 569d45bf8e..15efd1049b 100644--- a/rust/cloud-storage/macro_db_migrator/Cargo.toml+++ b/rust/cloud-storage/macro_db_migrator/Cargo.toml@@ -6,3 +6,4 @@ version = "0.1.0"[dependencies]sqlx = { workspace = true, features = ["migrate"] }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/macro_entrypoint/Cargo.toml b/rust/cloud-storage/macro_entrypoint/Cargo.tomlindex c36647c057..cd895a669d 100644--- a/rust/cloud-storage/macro_entrypoint/Cargo.toml+++ b/rust/cloud-storage/macro_entrypoint/Cargo.toml@@ -16,3 +16,4 @@ tracing-opentelemetry = { workspace = true }tracing-panic = "0.1"tracing-subscriber = { workspace = true }tracing-tree = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/macro_env/Cargo.toml b/rust/cloud-storage/macro_env/Cargo.tomlindex 17326eb1dc..c52dc1eec9 100644--- a/rust/cloud-storage/macro_env/Cargo.toml+++ b/rust/cloud-storage/macro_env/Cargo.toml@@ -13,3 +13,4 @@ serde = { workspace = true }strum = { workspace = true, features = ["derive"], optional = true }thiserror = { workspace = true }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/macro_env_var/Cargo.toml b/rust/cloud-storage/macro_env_var/Cargo.tomlindex 222f3133df..474d3a1195 100644--- a/rust/cloud-storage/macro_env_var/Cargo.toml+++ b/rust/cloud-storage/macro_env_var/Cargo.toml@@ -12,6 +12,7 @@ paste = { workspace = true }serde = { workspace = true }serde_json = { workspace = true }thiserror = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]tracing = { workspace = true }diff --git a/rust/cloud-storage/macro_middleware/Cargo.toml b/rust/cloud-storage/macro_middleware/Cargo.tomlindex 94ab1db43a..6507b1b35e 100644--- a/rust/cloud-storage/macro_middleware/Cargo.toml+++ b/rust/cloud-storage/macro_middleware/Cargo.toml@@ -48,6 +48,7 @@ tracing = { workspace = true }url = { workspace = true, optional = true }user_quota = { path = "../user_quota", optional = true }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]serde_urlencoded = { workspace = true }diff --git a/rust/cloud-storage/macro_project_utils/Cargo.toml b/rust/cloud-storage/macro_project_utils/Cargo.tomlindex 6f1d82966e..6651b26cd9 100644--- a/rust/cloud-storage/macro_project_utils/Cargo.toml+++ b/rust/cloud-storage/macro_project_utils/Cargo.toml@@ -9,3 +9,4 @@ anyhow = { workspace = true }sqlx = { workspace = true }tokio = { workspace = true }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/macro_redis/Cargo.toml b/rust/cloud-storage/macro_redis/Cargo.tomlindex 9029490700..4f6c4d59ef 100644--- a/rust/cloud-storage/macro_redis/Cargo.toml+++ b/rust/cloud-storage/macro_redis/Cargo.toml@@ -8,3 +8,4 @@ version = "0.1.0"anyhow = { workspace = true }redis = { workspace = true, features = ["tokio-rustls-comp"] }tokio = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/macro_service_urls/Cargo.toml b/rust/cloud-storage/macro_service_urls/Cargo.tomlindex f2b9abd3cc..f682cba817 100644--- a/rust/cloud-storage/macro_service_urls/Cargo.toml+++ b/rust/cloud-storage/macro_service_urls/Cargo.toml@@ -9,3 +9,4 @@ macro_env = { path = "../macro_env" }paste = { workspace = true }thiserror = { workspace = true }url = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/macro_sha_count_client/Cargo.toml b/rust/cloud-storage/macro_sha_count_client/Cargo.tomlindex 0c2cd6a44d..85fd7e0e03 100644--- a/rust/cloud-storage/macro_sha_count_client/Cargo.toml+++ b/rust/cloud-storage/macro_sha_count_client/Cargo.toml@@ -16,3 +16,4 @@ redis = { workspace = true, features = [] }tokio = { workspace = true }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/macro_tower_layers/Cargo.toml b/rust/cloud-storage/macro_tower_layers/Cargo.tomlindex 6b9d1e4975..74d5f45541 100644--- a/rust/cloud-storage/macro_tower_layers/Cargo.toml+++ b/rust/cloud-storage/macro_tower_layers/Cargo.toml@@ -10,6 +10,7 @@ tokio = { workspace = true, features = ["rt", "time"] }tower = { workspace = true }tower-http = { workspace = true, features = ["request-id", "util"] }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]tokio = { workspace = true, features = ["macros", "rt", "test-util", "time"] }diff --git a/rust/cloud-storage/macro_user_id/Cargo.toml b/rust/cloud-storage/macro_user_id/Cargo.tomlindex deaac36345..e81cb5a351 100644--- a/rust/cloud-storage/macro_user_id/Cargo.toml+++ b/rust/cloud-storage/macro_user_id/Cargo.toml@@ -17,3 +17,4 @@ thiserror = { workspace = true }tracing = { workspace = true }sqlx = { workspace = true, optional = true }utoipa = { workspace = true, optional = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/macro_uuid/Cargo.toml b/rust/cloud-storage/macro_uuid/Cargo.tomlindex e0eefee777..8bd069e1d8 100644--- a/rust/cloud-storage/macro_uuid/Cargo.toml+++ b/rust/cloud-storage/macro_uuid/Cargo.toml@@ -7,3 +7,4 @@ version = "0.1.0"[dependencies]anyhow = { workspace = true }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/mcp_auth_proxy/Cargo.toml b/rust/cloud-storage/mcp_auth_proxy/Cargo.tomlindex 4e44a56876..ed15f81644 100644--- a/rust/cloud-storage/mcp_auth_proxy/Cargo.toml+++ b/rust/cloud-storage/mcp_auth_proxy/Cargo.toml@@ -34,3 +34,4 @@ tracing = { workspace = true }url = { workspace = true }urlencoding = { workspace = true }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/mcp_client/Cargo.toml b/rust/cloud-storage/mcp_client/Cargo.tomlindex 29641b8073..d461906138 100644--- a/rust/cloud-storage/mcp_client/Cargo.toml+++ b/rust/cloud-storage/mcp_client/Cargo.toml@@ -32,3 +32,4 @@ sqlx.workspace = truethiserror.workspace = truetracing.workspace = trueutoipa.workspace = true+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/mcp_service/Cargo.toml b/rust/cloud-storage/mcp_service/Cargo.tomlindex 5826a2cbbf..e06f1a15a2 100644--- a/rust/cloud-storage/mcp_service/Cargo.toml+++ b/rust/cloud-storage/mcp_service/Cargo.toml@@ -62,3 +62,4 @@ tokio = { workspace = true }tracing = { workspace = true }macro_service_urls = { path = "../macro_service_urls" }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/memory/Cargo.toml b/rust/cloud-storage/memory/Cargo.tomlindex 9ac51792f6..0b3ab3f6e6 100644--- a/rust/cloud-storage/memory/Cargo.toml+++ b/rust/cloud-storage/memory/Cargo.toml@@ -50,6 +50,7 @@ sqs_client = { path = "../sqs_client", default-features = false, features = ["gmail",] }sync_service_client = { path = "../sync_service_client" }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]diff --git a/rust/cloud-storage/mention_utils/Cargo.toml b/rust/cloud-storage/mention_utils/Cargo.tomlindex afe3f232f1..d7afe2b1d3 100644--- a/rust/cloud-storage/mention_utils/Cargo.toml+++ b/rust/cloud-storage/mention_utils/Cargo.toml@@ -10,6 +10,7 @@ nom = { workspace = true }serde = { workspace = true }serde_json = { workspace = true }thiserror = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]cool_asserts = { version = "2" }diff --git a/rust/cloud-storage/mobile_welcome_email_db_client/Cargo.toml b/rust/cloud-storage/mobile_welcome_email_db_client/Cargo.tomlindex 885a02b190..c125e764ed 100644--- a/rust/cloud-storage/mobile_welcome_email_db_client/Cargo.toml+++ b/rust/cloud-storage/mobile_welcome_email_db_client/Cargo.toml@@ -8,6 +8,7 @@ version = "0.1.0"anyhow = { workspace = true }sqlx = { workspace = true }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]macro_db_migrator = { path = "../macro_db_migrator" }diff --git a/rust/cloud-storage/model-entity/Cargo.toml b/rust/cloud-storage/model-entity/Cargo.tomlindex f0fc1d9e45..a772476adb 100644--- a/rust/cloud-storage/model-entity/Cargo.toml+++ b/rust/cloud-storage/model-entity/Cargo.toml@@ -9,6 +9,7 @@ cowlike = { path = "../cowlike" }serde = { workspace = true, features = ["derive"] }strum = { workspace = true, features = ["derive"] }utoipa = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]cool_asserts = "2"diff --git a/rust/cloud-storage/model-error-response/Cargo.toml b/rust/cloud-storage/model-error-response/Cargo.tomlindex 1138d6f5ca..03e2f9d0d8 100644--- a/rust/cloud-storage/model-error-response/Cargo.toml+++ b/rust/cloud-storage/model-error-response/Cargo.toml@@ -7,3 +7,4 @@ version = "0.1.0"[dependencies]serde = { workspace = true }utoipa = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/model/Cargo.toml b/rust/cloud-storage/model/Cargo.tomlindex a6bf33c4dc..17d4e0224a 100644--- a/rust/cloud-storage/model/Cargo.toml+++ b/rust/cloud-storage/model/Cargo.toml@@ -31,3 +31,4 @@ tracing = { workspace = true }utoipa = { workspace = true, features = ["axum_extras", "chrono"] }uuid = { workspace = true }model-entity = { path = "../model-entity"}+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/model_file_type/Cargo.toml b/rust/cloud-storage/model_file_type/Cargo.tomlindex 55bbe32fb9..d5a764ebb0 100644--- a/rust/cloud-storage/model_file_type/Cargo.toml+++ b/rust/cloud-storage/model_file_type/Cargo.toml@@ -17,3 +17,4 @@ serde_json = { workspace = true }strum = { workspace = true }thiserror = { workspace = true }utoipa = { workspace = true, optional = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/model_notifications/Cargo.toml b/rust/cloud-storage/model_notifications/Cargo.tomlindex 2ef7924d2e..20d9ea5bf8 100644--- a/rust/cloud-storage/model_notifications/Cargo.toml+++ b/rust/cloud-storage/model_notifications/Cargo.toml@@ -24,3 +24,4 @@ strum = { workspace = true, features = ["derive"] }tracing = { workspace = true }utoipa = { workspace = true, features = ["chrono"] }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/model_user/Cargo.toml b/rust/cloud-storage/model_user/Cargo.tomlindex ccccc5832c..912e25dde7 100644--- a/rust/cloud-storage/model_user/Cargo.toml+++ b/rust/cloud-storage/model_user/Cargo.toml@@ -14,3 +14,4 @@ serde = { workspace = true }thiserror = { workspace = true, optional = true }utoipa = { workspace = true }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/models_bulk_upload/Cargo.toml b/rust/cloud-storage/models_bulk_upload/Cargo.tomlindex b6e1f93bf1..35344857db 100644--- a/rust/cloud-storage/models_bulk_upload/Cargo.toml+++ b/rust/cloud-storage/models_bulk_upload/Cargo.toml@@ -8,3 +8,4 @@ version = "0.1.0"serde = { workspace = true }strum = { workspace = true }utoipa = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/models_comms/Cargo.toml b/rust/cloud-storage/models_comms/Cargo.tomlindex c43368b354..63bb3d686e 100644--- a/rust/cloud-storage/models_comms/Cargo.toml+++ b/rust/cloud-storage/models_comms/Cargo.toml@@ -14,3 +14,4 @@ serde = { workspace = true }strum = { workspace = true }thiserror = { workspace = true }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/models_dcs/Cargo.toml b/rust/cloud-storage/models_dcs/Cargo.tomlindex 897dc32d82..fef3cd83f6 100644--- a/rust/cloud-storage/models_dcs/Cargo.toml+++ b/rust/cloud-storage/models_dcs/Cargo.toml@@ -8,3 +8,4 @@ version = "0.1.0"serde = { workspace = true }serde_json = { workspace = true }utoipa = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/models_email/Cargo.toml b/rust/cloud-storage/models_email/Cargo.tomlindex 1e141f0fe2..d686a692e3 100644--- a/rust/cloud-storage/models_email/Cargo.toml+++ b/rust/cloud-storage/models_email/Cargo.toml@@ -20,3 +20,4 @@ strum = { workspace = true }thiserror.workspace = trueutoipa = { workspace = true, features = ["axum_extras", "chrono"] }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/models_entity_access_management/Cargo.toml b/rust/cloud-storage/models_entity_access_management/Cargo.tomlindex cdd1ff6245..d33797f863 100644--- a/rust/cloud-storage/models_entity_access_management/Cargo.toml+++ b/rust/cloud-storage/models_entity_access_management/Cargo.toml@@ -11,3 +11,4 @@ default = ["db"][dependencies]serde = { workspace = true }sqlx = { workspace = true, optional = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/models_grouping/Cargo.toml b/rust/cloud-storage/models_grouping/Cargo.tomlindex daf6cfb389..0025a3e23d 100644--- a/rust/cloud-storage/models_grouping/Cargo.toml+++ b/rust/cloud-storage/models_grouping/Cargo.toml@@ -8,3 +8,4 @@ version = "0.1.0"chrono = { workspace = true }serde = { workspace = true }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/models_opensearch/Cargo.toml b/rust/cloud-storage/models_opensearch/Cargo.tomlindex 845f391176..5801540faf 100644--- a/rust/cloud-storage/models_opensearch/Cargo.toml+++ b/rust/cloud-storage/models_opensearch/Cargo.toml@@ -7,3 +7,4 @@ version = "0.1.0"[dependencies]serde = { workspace = true }strum = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/models_pagination/Cargo.toml b/rust/cloud-storage/models_pagination/Cargo.tomlindex c8b41ac46e..cafa424a0d 100644--- a/rust/cloud-storage/models_pagination/Cargo.toml+++ b/rust/cloud-storage/models_pagination/Cargo.toml@@ -20,3 +20,4 @@ serde = { workspace = true }serde_json = { workspace = true }thiserror = { workspace = true }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/models_permissions/Cargo.toml b/rust/cloud-storage/models_permissions/Cargo.tomlindex ee5e3267d5..f0beba3f95 100644--- a/rust/cloud-storage/models_permissions/Cargo.toml+++ b/rust/cloud-storage/models_permissions/Cargo.toml@@ -12,3 +12,4 @@ serde_json = { workspace = true }sqlx = { workspace = true }strum = { workspace = true }utoipa = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/models_properties/Cargo.toml b/rust/cloud-storage/models_properties/Cargo.tomlindex 72639da10c..f34d95fa82 100644--- a/rust/cloud-storage/models_properties/Cargo.toml+++ b/rust/cloud-storage/models_properties/Cargo.toml@@ -14,3 +14,4 @@ thiserror = { workspace = true }tracing = { workspace = true }utoipa = { workspace = true }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/models_search/Cargo.toml b/rust/cloud-storage/models_search/Cargo.tomlindex 2171bc631d..c957e2a04a 100644--- a/rust/cloud-storage/models_search/Cargo.toml+++ b/rust/cloud-storage/models_search/Cargo.toml@@ -18,3 +18,4 @@ utoipa = { workspace = true }document_sub_type = { path = "../document_sub_type" }models_soup = { path = "../models_soup", features = ["schema"] }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/models_search_cursor/Cargo.toml b/rust/cloud-storage/models_search_cursor/Cargo.tomlindex 9ed05b28c8..137f988a2e 100644--- a/rust/cloud-storage/models_search_cursor/Cargo.toml+++ b/rust/cloud-storage/models_search_cursor/Cargo.toml@@ -10,3 +10,4 @@ chrono = { workspace = true }serde = { workspace = true }serde_json = { workspace = true }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/models_sfs/Cargo.toml b/rust/cloud-storage/models_sfs/Cargo.tomlindex 2e4d431352..8cd7992b5e 100644--- a/rust/cloud-storage/models_sfs/Cargo.toml+++ b/rust/cloud-storage/models_sfs/Cargo.toml@@ -8,3 +8,4 @@ version = "0.1.0"serde = { workspace = true }serde_json = { workspace = true }utoipa = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/models_soup/Cargo.toml b/rust/cloud-storage/models_soup/Cargo.tomlindex 6f57a68e3e..50ffe451e9 100644--- a/rust/cloud-storage/models_soup/Cargo.toml+++ b/rust/cloud-storage/models_soup/Cargo.toml@@ -27,3 +27,4 @@ serde_json = { workspace = true }strum = { workspace = true }utoipa = { workspace = true, optional = true }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/models_team/Cargo.toml b/rust/cloud-storage/models_team/Cargo.tomlindex 78568b9227..1f55a877e2 100644--- a/rust/cloud-storage/models_team/Cargo.toml+++ b/rust/cloud-storage/models_team/Cargo.toml@@ -12,3 +12,4 @@ sqlx = { workspace = true }strum = { workspace = true }utoipa = { workspace = true }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/name_search/Cargo.toml b/rust/cloud-storage/name_search/Cargo.tomlindex 13909bedda..9961b62dee 100644--- a/rust/cloud-storage/name_search/Cargo.toml+++ b/rust/cloud-storage/name_search/Cargo.toml@@ -16,6 +16,7 @@ sqlx = { workspace = true }thiserror = { workspace = true }tracing = { workspace = true }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]anyhow = { workspace = true }diff --git a/rust/cloud-storage/native_app_service/Cargo.toml b/rust/cloud-storage/native_app_service/Cargo.tomlindex a3db9f4dab..cccf5dbf40 100644--- a/rust/cloud-storage/native_app_service/Cargo.toml+++ b/rust/cloud-storage/native_app_service/Cargo.toml@@ -17,6 +17,7 @@ thiserror = { workspace = true }tokio = { workspace = true }tracing = { workspace = true }url = { workspace = true, features = ["serde"] }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]cool_asserts = "2"diff --git a/rust/cloud-storage/non_empty/Cargo.toml b/rust/cloud-storage/non_empty/Cargo.tomlindex 20dbf2f257..fa2a3cf3a2 100644--- a/rust/cloud-storage/non_empty/Cargo.toml+++ b/rust/cloud-storage/non_empty/Cargo.toml@@ -6,6 +6,7 @@ publish = false[dependencies]serde = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]serde_json = { workspace = true }diff --git a/rust/cloud-storage/notification/Cargo.toml b/rust/cloud-storage/notification/Cargo.tomlindex 77e13be651..88defdb9be 100644--- a/rust/cloud-storage/notification/Cargo.toml+++ b/rust/cloud-storage/notification/Cargo.toml@@ -65,6 +65,7 @@ tracing = { workspace = true }url = { workspace = true }utoipa = { workspace = true, optional = true }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]http-body-util = { workspace = true }diff --git a/rust/cloud-storage/notification_db_client/Cargo.toml b/rust/cloud-storage/notification_db_client/Cargo.tomlindex f8b33aec67..a11e43a843 100644--- a/rust/cloud-storage/notification_db_client/Cargo.toml+++ b/rust/cloud-storage/notification_db_client/Cargo.toml@@ -16,6 +16,7 @@ serde = { workspace = true }sqlx = { workspace = true }tracing = { workspace = true }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]macro_db_migrator = { path = "../macro_db_migrator" }diff --git a/rust/cloud-storage/notification_sandbox/Cargo.toml b/rust/cloud-storage/notification_sandbox/Cargo.tomlindex 3245fe0545..a5414a7bcc 100644--- a/rust/cloud-storage/notification_sandbox/Cargo.toml+++ b/rust/cloud-storage/notification_sandbox/Cargo.toml@@ -39,3 +39,4 @@ tokio = { workspace = true, features = [tracing = { workspace = true }tracing-subscriber = { workspace = true, features = ["fmt"] }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/notification_service/Cargo.toml b/rust/cloud-storage/notification_service/Cargo.tomlindex 4be390bced..2155504661 100644--- a/rust/cloud-storage/notification_service/Cargo.toml+++ b/rust/cloud-storage/notification_service/Cargo.toml@@ -76,6 +76,7 @@ utoipa-swagger-ui = { workspace = true }uuid = { workspace = true }macro_service_urls = { path = "../macro_service_urls" }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]macro_auth = { path = "../macro_auth", features = ["testing"] }diff --git a/rust/cloud-storage/opensearch_client/Cargo.toml b/rust/cloud-storage/opensearch_client/Cargo.tomlindex 00f4456e5b..596365176a 100644--- a/rust/cloud-storage/opensearch_client/Cargo.toml+++ b/rust/cloud-storage/opensearch_client/Cargo.toml@@ -24,3 +24,4 @@ strum = { workspace = true }thiserror = { workspace = true }tracing = { workspace = true }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/opensearch_query_builder/Cargo.toml b/rust/cloud-storage/opensearch_query_builder/Cargo.tomlindex c3ea4ee6a3..923c5cd6d4 100644--- a/rust/cloud-storage/opensearch_query_builder/Cargo.toml+++ b/rust/cloud-storage/opensearch_query_builder/Cargo.toml@@ -7,3 +7,4 @@ version = "0.1.0"[dependencies]serde = { workspace = true }serde_json = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/organization_retention_handler/Cargo.toml b/rust/cloud-storage/organization_retention_handler/Cargo.tomlindex 1fcc9aaa1f..5cf18be031 100644--- a/rust/cloud-storage/organization_retention_handler/Cargo.toml+++ b/rust/cloud-storage/organization_retention_handler/Cargo.toml@@ -15,4 +15,5 @@ sqlx = { workspace = true }sqs_client = { path = "../sqs_client" }tokio = { workspace = true }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/organization_retention_trigger/Cargo.toml b/rust/cloud-storage/organization_retention_trigger/Cargo.tomlindex 21337a25e7..2c98e407f3 100644--- a/rust/cloud-storage/organization_retention_trigger/Cargo.toml+++ b/rust/cloud-storage/organization_retention_trigger/Cargo.toml@@ -16,4 +16,5 @@ sqlx = { workspace = true }sqs_client = { path = "../sqs_client" }tokio = { workspace = true }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/prompt/Cargo.toml b/rust/cloud-storage/prompt/Cargo.tomlindex 30a21c5cd9..c4e0c3605c 100644--- a/rust/cloud-storage/prompt/Cargo.toml+++ b/rust/cloud-storage/prompt/Cargo.toml@@ -5,3 +5,4 @@ edition = "2024"publish = false[dependencies]+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/properties/Cargo.toml b/rust/cloud-storage/properties/Cargo.tomlindex c769734deb..d7e09dc390 100644--- a/rust/cloud-storage/properties/Cargo.toml+++ b/rust/cloud-storage/properties/Cargo.toml@@ -37,6 +37,7 @@ system_properties = { path = "../system_properties" }thiserror = { workspace = true }tracing = { workspace = true }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]ai_toolset = { path = "../ai_toolset" }diff --git a/rust/cloud-storage/properties_db_client/Cargo.toml b/rust/cloud-storage/properties_db_client/Cargo.tomlindex a9ec427247..806c5d4b16 100644--- a/rust/cloud-storage/properties_db_client/Cargo.toml+++ b/rust/cloud-storage/properties_db_client/Cargo.toml@@ -15,6 +15,7 @@ sqlx = { workspace = true }thiserror = { workspace = true }tracing = { workspace = true }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]macro_db_migrator = { path = "../macro_db_migrator" }diff --git a/rust/cloud-storage/properties_service/Cargo.toml b/rust/cloud-storage/properties_service/Cargo.tomlindex 6874919b7b..0ce6f72444 100644--- a/rust/cloud-storage/properties_service/Cargo.toml+++ b/rust/cloud-storage/properties_service/Cargo.toml@@ -49,3 +49,4 @@ tower-http = { workspace = true }tracing = { workspace = true }utoipa = { workspace = true }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/rate_limit/Cargo.toml b/rust/cloud-storage/rate_limit/Cargo.tomlindex d76342d364..811e672ab1 100644--- a/rust/cloud-storage/rate_limit/Cargo.toml+++ b/rust/cloud-storage/rate_limit/Cargo.toml@@ -23,6 +23,7 @@ thiserror = { workspace = true }tracing = { workspace = true }twox-hash = { version = "2" }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }diff --git a/rust/cloud-storage/readonly_pool/Cargo.toml b/rust/cloud-storage/readonly_pool/Cargo.tomlindex 72d454416f..cd6ba37c14 100644--- a/rust/cloud-storage/readonly_pool/Cargo.toml+++ b/rust/cloud-storage/readonly_pool/Cargo.toml@@ -6,3 +6,4 @@ version = "0.1.0"[dependencies]sqlx = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/referral/Cargo.toml b/rust/cloud-storage/referral/Cargo.tomlindex bf5d106add..ac47e391c5 100644--- a/rust/cloud-storage/referral/Cargo.toml+++ b/rust/cloud-storage/referral/Cargo.toml@@ -56,6 +56,7 @@ async-stripe = { workspace = true, default-features = false, features = [sqlx = { workspace = true, optional = true }url = { workspace = true }urlencoding = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]http-body-util = { workspace = true }diff --git a/rust/cloud-storage/remote_env_var/Cargo.toml b/rust/cloud-storage/remote_env_var/Cargo.tomlindex cf07466bfd..09828762db 100644--- a/rust/cloud-storage/remote_env_var/Cargo.toml+++ b/rust/cloud-storage/remote_env_var/Cargo.toml@@ -9,6 +9,7 @@ macro_env = { path = "../macro_env" }serde = { workspace = true }thiserror = { workspace = true }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]macro_env_var = { path = "../macro_env_var" }diff --git a/rust/cloud-storage/roles_and_permissions/Cargo.toml b/rust/cloud-storage/roles_and_permissions/Cargo.tomlindex 6e52c58c8e..9d54a71fb4 100644--- a/rust/cloud-storage/roles_and_permissions/Cargo.toml+++ b/rust/cloud-storage/roles_and_permissions/Cargo.toml@@ -16,6 +16,7 @@ non_empty = { path = "../non_empty" }sqlx = { workspace = true, optional = true }thiserror = { workspace = true }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]macro_db_migrator = { path = "../macro_db_migrator" }diff --git a/rust/cloud-storage/s3_client/Cargo.toml b/rust/cloud-storage/s3_client/Cargo.tomlindex 2a546e054e..5a3a31931f 100644--- a/rust/cloud-storage/s3_client/Cargo.toml+++ b/rust/cloud-storage/s3_client/Cargo.toml@@ -10,3 +10,4 @@ aws-sdk-s3 = { workspace = true }base64 = { workspace = true }hex = { workspace = true }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/s3_key/Cargo.toml b/rust/cloud-storage/s3_key/Cargo.tomlindex 03d4639c44..3253f45cba 100644--- a/rust/cloud-storage/s3_key/Cargo.toml+++ b/rust/cloud-storage/s3_key/Cargo.toml@@ -7,3 +7,4 @@ publish = false[dependencies]anyhow = { workspace = true }urlencoding = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/saved_views/Cargo.toml b/rust/cloud-storage/saved_views/Cargo.tomlindex 4ba907444a..c274b93be8 100644--- a/rust/cloud-storage/saved_views/Cargo.toml+++ b/rust/cloud-storage/saved_views/Cargo.toml@@ -13,3 +13,4 @@ sqlx = { workspace = true }tracing = { workspace = true }utoipa = { workspace = true, features = ["uuid"] }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/scheduled_action/Cargo.toml b/rust/cloud-storage/scheduled_action/Cargo.tomlindex 28f4e122ce..e9e6f6fdb3 100644--- a/rust/cloud-storage/scheduled_action/Cargo.toml+++ b/rust/cloud-storage/scheduled_action/Cargo.toml@@ -59,3 +59,4 @@ secretsmanager_client = { path = "../secretsmanager_client" }aws-sdk-secretsmanager = { workspace = true }macro_service_urls = { path = "../macro_service_urls" }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/search_processing_service/Cargo.toml b/rust/cloud-storage/search_processing_service/Cargo.tomlindex 445363f446..72e2435df0 100644--- a/rust/cloud-storage/search_processing_service/Cargo.toml+++ b/rust/cloud-storage/search_processing_service/Cargo.toml@@ -72,3 +72,4 @@ utoipa-swagger-ui = { workspace = true }uuid = { workspace = true }macro_service_urls = { path = "../macro_service_urls" }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/search_service/Cargo.toml b/rust/cloud-storage/search_service/Cargo.tomlindex 9265954167..236583016e 100644--- a/rust/cloud-storage/search_service/Cargo.toml+++ b/rust/cloud-storage/search_service/Cargo.toml@@ -60,6 +60,7 @@ tower-http = { workspace = true }tracing = { workspace = true }utoipa = { workspace = true }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]macro_auth = { path = "../macro_auth", features = ["testing"] }diff --git a/rust/cloud-storage/search_service_client/Cargo.toml b/rust/cloud-storage/search_service_client/Cargo.tomlindex d8d5d256bb..d38de2893b 100644--- a/rust/cloud-storage/search_service_client/Cargo.toml+++ b/rust/cloud-storage/search_service_client/Cargo.toml@@ -9,3 +9,4 @@ anyhow = { workspace = true }models_search = { path = "../models_search" }reqwest = { workspace = true }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/search_upload_handler/Cargo.toml b/rust/cloud-storage/search_upload_handler/Cargo.tomlindex 43417eb5d9..829b49a7ef 100644--- a/rust/cloud-storage/search_upload_handler/Cargo.toml+++ b/rust/cloud-storage/search_upload_handler/Cargo.toml@@ -21,3 +21,4 @@ tracing = { workspace = true }macro_service_urls = { path = "../macro_service_urls" }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/secretsmanager_client/Cargo.toml b/rust/cloud-storage/secretsmanager_client/Cargo.tomlindex c95f99fe0d..2efeab9032 100644--- a/rust/cloud-storage/secretsmanager_client/Cargo.toml+++ b/rust/cloud-storage/secretsmanager_client/Cargo.toml@@ -14,3 +14,4 @@ mockall = { workspace = true }remote_env_var = { path = "../remote_env_var" }thiserror = { workspace = true }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/seed_cli/Cargo.toml b/rust/cloud-storage/seed_cli/Cargo.tomlindex e638480aca..040c5fc956 100644--- a/rust/cloud-storage/seed_cli/Cargo.toml+++ b/rust/cloud-storage/seed_cli/Cargo.toml@@ -35,6 +35,7 @@ tokio = { workspace = true }tracing = { workspace = true }url = { workspace = true }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]tempfile = "3"diff --git a/rust/cloud-storage/serde_utils/Cargo.toml b/rust/cloud-storage/serde_utils/Cargo.tomlindex 591c2b795e..5b656930fa 100644--- a/rust/cloud-storage/serde_utils/Cargo.toml+++ b/rust/cloud-storage/serde_utils/Cargo.toml@@ -11,6 +11,7 @@ urlencode = ["dep:urlencoding"]serde = { workspace = true, features = ["derive"] }serde_json = { workspace = true }urlencoding = { version = "2", optional = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]cool_asserts = "2"diff --git a/rust/cloud-storage/ses_client/Cargo.toml b/rust/cloud-storage/ses_client/Cargo.tomlindex e49ec98821..87a3bf0740 100644--- a/rust/cloud-storage/ses_client/Cargo.toml+++ b/rust/cloud-storage/ses_client/Cargo.toml@@ -12,3 +12,4 @@ anyhow = { workspace = true }aws-sdk-sesv2 = { workspace = true }mockall = { workspace = true }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/sha_cleanup_worker/Cargo.toml b/rust/cloud-storage/sha_cleanup_worker/Cargo.tomlindex 63d65c4fc4..bcbe90e38d 100644--- a/rust/cloud-storage/sha_cleanup_worker/Cargo.toml+++ b/rust/cloud-storage/sha_cleanup_worker/Cargo.toml@@ -23,3 +23,4 @@ redis = { workspace = true, features = [sqlx = { workspace = true }tokio = { workspace = true }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/share_permission_db_utils/Cargo.toml b/rust/cloud-storage/share_permission_db_utils/Cargo.tomlindex 6f7ae89110..d59ab99dc1 100644--- a/rust/cloud-storage/share_permission_db_utils/Cargo.toml+++ b/rust/cloud-storage/share_permission_db_utils/Cargo.toml@@ -11,3 +11,4 @@ macro_user_id = { path = "../macro_user_id" }macro_uuid = { path = "../macro_uuid" }models_permissions = { path = "../models_permissions" }sqlx = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/sns_client/Cargo.toml b/rust/cloud-storage/sns_client/Cargo.tomlindex 2105caab91..0622a9bd02 100644--- a/rust/cloud-storage/sns_client/Cargo.toml+++ b/rust/cloud-storage/sns_client/Cargo.toml@@ -10,3 +10,4 @@ aws-sdk-sns = { workspace = true }serde = { workspace = true }serde_json = { workspace = true }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/soup/Cargo.toml b/rust/cloud-storage/soup/Cargo.tomlindex 7475037d72..c8156172f9 100644--- a/rust/cloud-storage/soup/Cargo.toml+++ b/rust/cloud-storage/soup/Cargo.toml@@ -78,6 +78,7 @@ tokio = { workspace = true, features = ["macros"], optional = true }tracing = { workspace = true }utoipa = { workspace = true, optional = true }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]ai_toolset = { path = "../ai_toolset" }diff --git a/rust/cloud-storage/sqs_client/Cargo.toml b/rust/cloud-storage/sqs_client/Cargo.tomlindex 683f77c6f4..23b6c7c167 100644--- a/rust/cloud-storage/sqs_client/Cargo.toml+++ b/rust/cloud-storage/sqs_client/Cargo.toml@@ -44,3 +44,4 @@ strum = { workspace = true, features = ["derive"] }tracing = { workspace = true }uuid = { workspace = true, optional = true }futures = { workspace = true, optional = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/sqs_worker/Cargo.toml b/rust/cloud-storage/sqs_worker/Cargo.tomlindex 3a703baacd..c0fc57fc43 100644--- a/rust/cloud-storage/sqs_worker/Cargo.toml+++ b/rust/cloud-storage/sqs_worker/Cargo.toml@@ -8,3 +8,4 @@ version = "0.1.0"anyhow = { workspace = true }aws-sdk-sqs = { workspace = true }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/static_file/Cargo.toml b/rust/cloud-storage/static_file/Cargo.tomlindex dc6f5fa25e..96c07781cb 100644--- a/rust/cloud-storage/static_file/Cargo.toml+++ b/rust/cloud-storage/static_file/Cargo.toml@@ -25,3 +25,4 @@ non_empty = { path = "../non_empty" }# Outboundreqwest = { workspace = true, optional = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/static_file_service/Cargo.toml b/rust/cloud-storage/static_file_service/Cargo.tomlindex 4f5b7c07d7..df9a7ca367 100644--- a/rust/cloud-storage/static_file_service/Cargo.toml+++ b/rust/cloud-storage/static_file_service/Cargo.toml@@ -52,3 +52,4 @@ utoipa-swagger-ui = { workspace = true, features = ["axum"] }uuid.workspace = truemacro_service_urls = { path = "../macro_service_urls" }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/static_file_service_client/Cargo.toml b/rust/cloud-storage/static_file_service_client/Cargo.tomlindex dfb34cf5f7..4cb8f87d8f 100644--- a/rust/cloud-storage/static_file_service_client/Cargo.toml+++ b/rust/cloud-storage/static_file_service_client/Cargo.toml@@ -12,6 +12,7 @@ reqwest = { workspace = true }serde = { workspace = true }serde_json = { workspace = true }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]macro_service_urls = { path = "../macro_service_urls" }diff --git a/rust/cloud-storage/stream/Cargo.toml b/rust/cloud-storage/stream/Cargo.tomlindex f44321bb1f..bc5ac60b69 100644--- a/rust/cloud-storage/stream/Cargo.toml+++ b/rust/cloud-storage/stream/Cargo.toml@@ -27,6 +27,7 @@ model-entity = { path = "../model-entity" }anyhow = { workspace = true }dashmap = { workspace = true }sqlx = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]tokio = { version = "1", features = ["rt-multi-thread", "macros"] }diff --git a/rust/cloud-storage/sync_service/Cargo.toml b/rust/cloud-storage/sync_service/Cargo.tomlindex ce055fe635..0a090d1eaa 100644--- a/rust/cloud-storage/sync_service/Cargo.toml+++ b/rust/cloud-storage/sync_service/Cargo.toml@@ -12,3 +12,4 @@ inbound = ["dep:axum", "dep:utoipa"]axum = { workspace = true, optional = true }serde = { workspace = true }utoipa = { workspace = true, optional = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/sync_service_client/Cargo.toml b/rust/cloud-storage/sync_service_client/Cargo.tomlindex 4a0de87f15..f40375d14f 100644--- a/rust/cloud-storage/sync_service_client/Cargo.toml+++ b/rust/cloud-storage/sync_service_client/Cargo.toml@@ -12,6 +12,7 @@ serde = { workspace = true }sync_service_hex = { path = "../sync_service", package = "sync_service" }tokio = { workspace = true }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]tokio = { workspace = true }diff --git a/rust/cloud-storage/system_properties/Cargo.toml b/rust/cloud-storage/system_properties/Cargo.tomlindex d7d136adea..46f757660c 100644--- a/rust/cloud-storage/system_properties/Cargo.toml+++ b/rust/cloud-storage/system_properties/Cargo.toml@@ -14,6 +14,7 @@ sqlx = { workspace = true }thiserror = { workspace = true }tracing = { workspace = true }uuid = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]anyhow = { workspace = true }diff --git a/rust/cloud-storage/task_dedup/Cargo.toml b/rust/cloud-storage/task_dedup/Cargo.tomlindex f339556019..d65e51b880 100644--- a/rust/cloud-storage/task_dedup/Cargo.toml+++ b/rust/cloud-storage/task_dedup/Cargo.toml@@ -62,6 +62,7 @@ tokio = { workspace = true, features = [macro_env_var = { path = "../macro_env_var", optional = true }macro_service_urls = { path = "../macro_service_urls" }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]macro_db_migrator = { path = "../macro_db_migrator" }diff --git a/rust/cloud-storage/teams/Cargo.toml b/rust/cloud-storage/teams/Cargo.tomlindex 0ea40e1a96..bbf54d4b23 100644--- a/rust/cloud-storage/teams/Cargo.toml+++ b/rust/cloud-storage/teams/Cargo.toml@@ -83,6 +83,7 @@ sqs_client = { path = "../sqs_client", default-features = false, features = ["email",], optional = true }models_email = { path = "../models_email", optional = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]macro_db_migrator = { path = "../macro_db_migrator" }diff --git a/rust/cloud-storage/tools/native_app_server/Cargo.toml b/rust/cloud-storage/tools/native_app_server/Cargo.tomlindex 3264704c29..e8fe8f17e5 100644--- a/rust/cloud-storage/tools/native_app_server/Cargo.toml+++ b/rust/cloud-storage/tools/native_app_server/Cargo.toml@@ -15,3 +15,4 @@ tower-http = { workspace = true, features = ["fs"] }tracing = { workspace = true }tracing-subscriber = { workspace = true }url = { workspace = true }+workspace-hack = { version = "0.1", path = "../../workspace-hack" }diff --git a/rust/cloud-storage/tools/xtask/Cargo.toml b/rust/cloud-storage/tools/xtask/Cargo.tomlnew file mode 100644index 0000000000..e370101851--- /dev/null+++ b/rust/cloud-storage/tools/xtask/Cargo.toml@@ -0,0 +1,16 @@+[package]+name = "xtask"+version = "0.1.0"+edition = "2021"+publish = false+description = "Repo automation: regenerates workspace-hack and the deploy dep-closure map"++[dependencies]+anyhow = { workspace = true }+serde_json = { workspace = true }+# Pinned engine for the generated dependency artifacts. These versions live in+# Cargo.lock, so dev machines and CI always run the identical generator —+# upgrading it is an explicit, reviewed lock change. guppy is pinned to the+# version this hakari release is built against.+hakari = { version = "0.17.9", features = ["cli-support"] }+guppy = "0.17.24"diff --git a/rust/cloud-storage/tools/xtask/src/closures.rs b/rust/cloud-storage/tools/xtask/src/closures.rsnew file mode 100644index 0000000000..1a793b4bf2--- /dev/null+++ b/rust/cloud-storage/tools/xtask/src/closures.rs@@ -0,0 +1,74 @@+//! Generates .github/workspace-dep-closures.json: for every workspace+//! member, the directories (relative to the workspace root) of the member+//! plus every workspace crate in its transitive dependency closure.+//!+//! flake.nix uses the map to give each deploy artifact a pruned source tree,+//! so a leaf derivation's hash only moves when a crate it actually depends on+//! changes. Closures follow normal and build edges but not dev-only edges:+//! deploy artifacts are built with `cargo build --bin`, which never compiles+//! dev-deps, and including them would only widen closures. A superset closure+//! is sound (at worst a spurious rebuild); a missing crate fails the build+//! loudly inside the nix sandbox.++use std::collections::{BTreeMap, BTreeSet};++use anyhow::{Context, Result};+use guppy::graph::{DependencyDirection, PackageGraph};++const OUTPUT_REL: &str = ".github/workspace-dep-closures.json";++/// Regenerates (or, in check mode, diffs) the closure map.+pub fn run(graph: &PackageGraph, check: bool, drift: &mut Vec<String>) -> Result<()> {+ let workspace = graph.workspace();+ let ws_root = workspace.root();+ let repo_root = ws_root+ .ancestors()+ .nth(2)+ .with_context(|| format!("no repo root two levels above {ws_root}"))?;+ let output_path = repo_root.join(OUTPUT_REL);++ let mut closures: BTreeMap<String, BTreeSet<String>> = BTreeMap::new();+ for member in workspace.iter() {+ // Follow only links that stay inside the workspace (registry deps+ // cannot depend back into it) and are not dev-only.+ let set = graph+ .query_forward([member.id()])+ .context("querying workspace member")?+ .resolve_with_fn(|_, link| link.to().in_workspace() && !link.dev_only());+ let dirs = set+ .packages(DependencyDirection::Forward)+ .filter(|p| p.in_workspace())+ .map(|p| {+ let dir = p+ .manifest_path()+ .parent()+ .with_context(|| format!("manifest {} has no parent", p.manifest_path()))?;+ Ok(dir+ .strip_prefix(ws_root)+ .with_context(|| format!("{dir} is outside the workspace root"))?+ .as_str()+ .to_owned())+ })+ .collect::<Result<BTreeSet<_>>>()?;+ closures.insert(member.name().to_owned(), dirs);+ }++ let doc = serde_json::json!({+ "//": "Generated by `cargo run -p xtask -- deps` (see rust/cloud-storage/tools/xtask); do not edit by hand. Maps every rust/cloud-storage workspace crate to the directories of its transitive workspace dependency closure (normal + build deps, dev-deps excluded). Consumed by flake.nix to build pruned per-artifact deploy sources.",+ "closures": closures,+ });+ let new_contents =+ serde_json::to_string_pretty(&doc).context("serializing closure map")? + "\n";++ let current = std::fs::read_to_string(&output_path).unwrap_or_default();+ if current != new_contents {+ if check {+ drift.push(OUTPUT_REL.to_owned());+ } else {+ std::fs::write(&output_path, &new_contents)+ .with_context(|| format!("writing {output_path}"))?;+ println!("updated {OUTPUT_REL} ({} members)", closures.len());+ }+ }+ Ok(())+}diff --git a/rust/cloud-storage/tools/xtask/src/hakari_ops.rs b/rust/cloud-storage/tools/xtask/src/hakari_ops.rsnew file mode 100644index 0000000000..bfde9eff89--- /dev/null+++ b/rust/cloud-storage/tools/xtask/src/hakari_ops.rs@@ -0,0 +1,77 @@+//! workspace-hack maintenance through the hakari library — the same engine+//! the `cargo hakari` CLI wraps, minus the CLI (and its version skew).++use anyhow::{anyhow, Context, Result};+use guppy::graph::PackageGraph;+use hakari::summaries::{HakariConfig, DEFAULT_CONFIG_PATH};+use hakari::HakariBuilder;++/// Regenerates (or, in check mode, diffs) the workspace-hack crate:+/// the generated section of its Cargo.toml, plus the `workspace-hack`+/// dependency line every member must carry. Also verifies the hack fully+/// unifies third-party features. Returns whether any file was modified.+pub fn run(graph: &PackageGraph, check: bool, drift: &mut Vec<String>) -> Result<bool> {+ let config_path = graph.workspace().root().join(DEFAULT_CONFIG_PATH);+ let contents =+ std::fs::read_to_string(&config_path).with_context(|| format!("reading {config_path}"))?;+ let config: HakariConfig = contents+ .parse()+ .map_err(|e| anyhow!("parsing {config_path}: {e}"))?;+ let make_builder = || -> Result<HakariBuilder<'_>> {+ config+ .builder+ .to_hakari_builder(graph)+ .map_err(|e| anyhow!("resolving {config_path}: {e}"))+ };+ let mut changed = false;++ // Generated section of workspace-hack/Cargo.toml.+ let hakari = make_builder()?.compute();+ let new_toml = hakari+ .to_toml_string(&config.output.to_options())+ .map_err(|e| anyhow!("rendering workspace-hack contents: {e}"))?;+ let existing = hakari+ .read_toml()+ .ok_or_else(|| anyhow!("hakari-package must be set in {config_path}"))?+ .context("reading workspace-hack/Cargo.toml")?;+ if existing.is_changed(&new_toml) {+ if check {+ drift.push("workspace-hack/Cargo.toml".to_owned());+ } else {+ existing+ .write_to_file(&new_toml)+ .context("writing workspace-hack/Cargo.toml")?;+ println!("updated workspace-hack/Cargo.toml");+ changed = true;+ }+ }++ // The workspace-hack dependency line in member manifests.+ let manage_builder = make_builder()?;+ let workspace_set = graph.resolve_workspace();+ let ops = manage_builder+ .manage_dep_ops(&workspace_set)+ .ok_or_else(|| anyhow!("hakari-package must be set in {config_path}"))?;+ if !ops.is_empty() {+ if check {+ drift.push("member Cargo.tomls are missing the workspace-hack dependency".to_owned());+ } else {+ ops.apply()+ .context("adding workspace-hack deps to member manifests")?;+ println!("updated member manifests with the workspace-hack dependency");+ changed = true;+ }+ }++ // Unification must be complete: every third-party crate builds in exactly+ // one feature configuration across the workspace. Graph-based, so valid+ // regardless of the file edits above.+ if let Err(errs) = make_builder()?.verify() {+ return Err(anyhow!(+ "workspace-hack does not fully unify features:\n{}",+ errs.display()+ ));+ }++ Ok(changed)+}diff --git a/rust/cloud-storage/tools/xtask/src/main.rs b/rust/cloud-storage/tools/xtask/src/main.rsnew file mode 100644index 0000000000..9c15a6e04e--- /dev/null+++ b/rust/cloud-storage/tools/xtask/src/main.rs@@ -0,0 +1,81 @@+//! Repo automation tasks (the cargo-xtask pattern).+//!+//! `cargo run -p xtask -- deps [--check]` regenerates (or, with `--check`,+//! verifies) the two generated dependency artifacts:+//!+//! - `workspace-hack/Cargo.toml` (via the hakari engine): pins every+//! third-party dep to its union feature set so a solo `cargo build -p X`+//! resolves the same features as the union-built crane dep layers, keeping+//! the warm dependency caches exact fingerprint matches.+//! - `.github/workspace-dep-closures.json`: every workspace crate's+//! transitive workspace dependency closure, consumed by flake.nix to build+//! pruned per-artifact deploy sources.+//!+//! Both run from the hakari/guppy versions pinned in Cargo.lock, so local+//! runs and CI cannot disagree about generator versions. `just hakari` wraps+//! the regenerate mode; CI runs `--check` and fails on drift.++mod closures;+mod hakari_ops;++use std::path::Path;++use anyhow::{bail, Context, Result};+use guppy::graph::PackageGraph;+use guppy::MetadataCommand;++fn main() -> Result<()> {+ let args: Vec<String> = std::env::args().skip(1).collect();+ let check = match args.iter().map(String::as_str).collect::<Vec<_>>()[..] {+ ["deps"] => false,+ ["deps", "--check"] => true,+ _ => bail!("usage: cargo run -p xtask -- deps [--check]"),+ };++ let graph = build_graph(check)?;++ let mut drift: Vec<String> = Vec::new();+ let hakari_changed = hakari_ops::run(&graph, check, &mut drift)?;++ // The hakari step may have edited manifests (hack contents or member dep+ // lines); recompute the graph so the closure map sees the result. The+ // fresh `cargo metadata` also refreshes Cargo.lock after those edits.+ let graph = if hakari_changed {+ build_graph(false)?+ } else {+ graph+ };+ closures::run(&graph, check, &mut drift)?;++ if !drift.is_empty() {+ bail!(+ "generated dependency artifacts are stale:\n - {}\nrun `just hakari` (or `cargo run -p xtask -- deps`) from rust/cloud-storage and commit the result",+ drift.join("\n - ")+ );+ }+ Ok(())+}++fn build_graph(locked: bool) -> Result<PackageGraph> {+ // Anchor on the manifest dir, not the invocation cwd, so the task works+ // from anywhere in the repo. The crate lives at <workspace>/tools/xtask.+ let workspace_dir = Path::new(env!("CARGO_MANIFEST_DIR"))+ .ancestors()+ .nth(2)+ .context("xtask manifest dir has no workspace root two levels up")?+ .to_owned();+ let mut cmd = MetadataCommand::new();+ cmd.current_dir(&workspace_dir);+ if locked {+ // In check mode a stale lockfile is itself drift; surface it instead+ // of silently rewriting it.+ cmd.other_options(vec!["--locked".to_owned()]);+ }+ cmd.build_graph().with_context(|| {+ if locked {+ "running cargo metadata --locked (a stale Cargo.lock is drift: run `just hakari` and commit)"+ } else {+ "running cargo metadata"+ }+ })+}diff --git a/rust/cloud-storage/unfurl/Cargo.toml b/rust/cloud-storage/unfurl/Cargo.tomlindex ae6e21b642..4d38dc4988 100644--- a/rust/cloud-storage/unfurl/Cargo.toml+++ b/rust/cloud-storage/unfurl/Cargo.toml@@ -24,6 +24,7 @@ tokio = { workspace = true, optional = true }tracing = { workspace = true }url = { workspace = true }utoipa = { workspace = true, optional = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]mockall = { workspace = true }diff --git a/rust/cloud-storage/unfurl_service/Cargo.toml b/rust/cloud-storage/unfurl_service/Cargo.tomlindex dd24b3328e..9f670ecf00 100644--- a/rust/cloud-storage/unfurl_service/Cargo.toml+++ b/rust/cloud-storage/unfurl_service/Cargo.toml@@ -37,3 +37,4 @@ unfurl = { path = "../unfurl", features = ["axum", "outbound"] }url = { workspace = true }utoipa = { workspace = true, features = ["axum_extras", "chrono", "uuid"] }utoipa-swagger-ui = { workspace = true, features = ["axum"] }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/upload_extractor_lambda_handler/Cargo.toml b/rust/cloud-storage/upload_extractor_lambda_handler/Cargo.tomlindex ebffcbde60..ef64b885cf 100644--- a/rust/cloud-storage/upload_extractor_lambda_handler/Cargo.toml+++ b/rust/cloud-storage/upload_extractor_lambda_handler/Cargo.toml@@ -35,6 +35,7 @@ tokio-util = { workspace = true }tracing = { workspace = true }walkdir = "2.3.2"zip = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[package.metadata.cargo-machete]ignored = ["connection_gateway_client"]diff --git a/rust/cloud-storage/upload_extractor_lambda_trigger/Cargo.toml b/rust/cloud-storage/upload_extractor_lambda_trigger/Cargo.tomlindex edfa1091c1..1403cc62df 100644--- a/rust/cloud-storage/upload_extractor_lambda_trigger/Cargo.toml+++ b/rust/cloud-storage/upload_extractor_lambda_trigger/Cargo.toml@@ -19,4 +19,5 @@ serde_json = { workspace = true }sqs_client = { path = "../sqs_client" }tokio = { workspace = true }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/user_link_cleanup_handler/Cargo.toml b/rust/cloud-storage/user_link_cleanup_handler/Cargo.tomlindex e496d58954..3689a36de4 100644--- a/rust/cloud-storage/user_link_cleanup_handler/Cargo.toml+++ b/rust/cloud-storage/user_link_cleanup_handler/Cargo.toml@@ -16,4 +16,5 @@ serde = { workspace = true }serde_json = { workspace = true }sqlx = { workspace = true }tokio = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/user_quota/Cargo.toml b/rust/cloud-storage/user_quota/Cargo.tomlindex ec25bd779e..ce37c0ad36 100644--- a/rust/cloud-storage/user_quota/Cargo.toml+++ b/rust/cloud-storage/user_quota/Cargo.toml@@ -8,4 +8,5 @@ version = "0.1.0"serde = { workspace = true }serde_json = { workspace = true }utoipa = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }diff --git a/rust/cloud-storage/worker_trigger/Cargo.toml b/rust/cloud-storage/worker_trigger/Cargo.tomlindex 46e4e60108..4c39a9daff 100644--- a/rust/cloud-storage/worker_trigger/Cargo.toml+++ b/rust/cloud-storage/worker_trigger/Cargo.toml@@ -15,6 +15,7 @@ macro_env = { path = "../macro_env" }serde_json = { workspace = true }tokio = { workspace = true }tracing = { workspace = true }+workspace-hack = { version = "0.1", path = "../workspace-hack" }[dev-dependencies]mockall = { workspace = true }diff --git a/rust/cloud-storage/workspace-hack/.gitattributes b/rust/cloud-storage/workspace-hack/.gitattributesnew file mode 100644index 0000000000..3e9dba4b64--- /dev/null+++ b/rust/cloud-storage/workspace-hack/.gitattributes@@ -0,0 +1,4 @@+# Avoid putting conflict markers in the generated Cargo.toml file, since their presence breaks+# Cargo.+# Also do not check out the file as CRLF on Windows, as that's what hakari needs.+Cargo.toml merge=binary -crlfdiff --git a/rust/cloud-storage/workspace-hack/Cargo.toml b/rust/cloud-storage/workspace-hack/Cargo.tomlnew file mode 100644index 0000000000..844e646823--- /dev/null+++ b/rust/cloud-storage/workspace-hack/Cargo.toml@@ -0,0 +1,329 @@+# This file is generated by `cargo hakari`.+# To regenerate, run:+# cargo hakari generate++[package]+name = "workspace-hack"+version = "0.1.0"+edition = "2021"+description = "workspace-hack package, managed by hakari"+# You can choose to publish this crate: see https://docs.rs/cargo-hakari/latest/cargo_hakari/publishing.+publish = false++# The parts of the file between the BEGIN HAKARI SECTION and END HAKARI SECTION comments+# are managed by hakari.++### BEGIN HAKARI SECTION+[dependencies]+ahash = { version = "0.8" }+aho-corasick = { version = "1" }+aws-credential-types = { version = "1", default-features = false, features = ["test-util"] }+aws-runtime = { version = "1", default-features = false, features = ["event-stream", "http-02x", "http-1x", "sigv4a"] }+aws-sigv4 = { version = "1", features = ["http0-compat", "sign-eventstream", "sigv4a"] }+aws-smithy-async = { version = "1", default-features = false, features = ["rt-tokio"] }+aws-smithy-http = { version = "0.63", default-features = false, features = ["event-stream"] }+aws-smithy-http-client = { version = "1", default-features = false, features = ["legacy-rustls-ring", "rustls-aws-lc"] }+aws-smithy-runtime = { version = "1", default-features = false, features = ["client", "default-https-client", "rt-tokio", "tls-rustls"] }+aws-smithy-runtime-api = { version = "1", features = ["client", "http-02x", "http-auth", "test-util"] }+aws-smithy-types = { version = "1", default-features = false, features = ["byte-stream-poll-next", "http-body-0-4-x", "http-body-1-x", "rt-tokio", "test-util"] }+aws_lambda_events = { version = "0.16", default-features = false, features = ["eventbridge", "s3", "sns", "sqs"] }+axum = { version = "0.8", features = ["macros", "multipart", "ws"] }+axum-extra = { version = "0.10", features = ["cookie", "typed-header"] }+base64 = { version = "0.22" }+byteorder = { version = "1" }+bytes = { version = "1", features = ["serde"] }+bzip2 = { version = "0.5", features = ["libbz2-rs-sys"] }+bzip2-sys = { version = "0.1", default-features = false, features = ["__disabled"] }+chrono = { version = "0.4", features = ["serde"] }+concurrent-queue = { version = "2" }+crossbeam-utils = { version = "0.8" }+crypto-bigint = { version = "0.5", features = ["generic-array", "zeroize"] }+crypto-common = { version = "0.1", default-features = false, features = ["getrandom", "std"] }+digest = { version = "0.10", features = ["mac", "oid", "std"] }+doppleganger = { version = "0.5", default-features = false, features = ["chrono", "uuid"] }+doppleganger-core = { version = "0.5", default-features = false, features = ["chrono", "uuid"] }+either = { version = "1", features = ["serde", "use_std"] }+elliptic-curve = { version = "0.13", default-features = false, features = ["ecdh", "hazmat", "pem", "std"] }+event-listener = { version = "5" }+fastrand = { version = "2" }+flate2 = { version = "1", features = ["zlib-rs"] }+foldhash = { version = "0.2" }+form_urlencoded = { version = "1" }+futures = { version = "0.3" }+futures-channel = { version = "0.3", features = ["sink"] }+futures-core = { version = "0.3" }+futures-executor = { version = "0.3" }+futures-io = { version = "0.3" }+futures-sink = { version = "0.3" }+futures-task = { version = "0.3" }+futures-util = { version = "0.3", features = ["channel", "io", "sink"] }+generic-array = { version = "0.14", default-features = false, features = ["more_lengths", "zeroize"] }+getrandom-468e82937335b1c9 = { package = "getrandom", version = "0.3", default-features = false, features = ["std", "wasm_js"] }+getrandom-6f8ce4dd05d13bba = { package = "getrandom", version = "0.2", default-features = false, features = ["std"] }+hashbrown-582f2526e08bb6a0 = { package = "hashbrown", version = "0.14", features = ["raw"] }+hashbrown-9067fe90e8c1f593 = { package = "hashbrown", version = "0.17" }+hashbrown-986da7b5efc2b80e = { package = "hashbrown", version = "0.16" }+hmac = { version = "0.12", default-features = false, features = ["reset"] }+hyper-582f2526e08bb6a0 = { package = "hyper", version = "0.14", default-features = false, features = ["client", "http1", "http2", "runtime", "server", "stream"] }+hyper-dff4ba8e3ae991db = { package = "hyper", version = "1", features = ["client", "http1", "http2", "server"] }+hyper-rustls-adf3d7031871b0af = { package = "hyper-rustls", version = "0.24", default-features = false, features = ["acceptor", "http1", "http2", "logging", "tls12", "webpki-tokio"] }+hyper-util = { version = "0.1", features = ["client-legacy", "client-proxy", "http1", "http2", "server", "service"] }+indexmap = { version = "2", features = ["serde"] }+lazy_static = { version = "1", default-features = false, features = ["spin_no_std"] }+libc = { version = "0.2", features = ["extra_traits"] }+log = { version = "0.4", default-features = false, features = ["std"] }+memchr = { version = "2" }+mime_guess = { version = "2" }+miniz_oxide = { version = "0.8", features = ["simd"] }+num-bigint = { version = "0.4" }+num-integer = { version = "0.1", features = ["i128"] }+num-traits = { version = "0.2", features = ["i128", "libm"] }+once_cell = { version = "1" }+percent-encoding = { version = "2" }+phf_shared-594e8ee84c453af0 = { package = "phf_shared", version = "0.13" }+phf_shared-93f6ce9d446188ac = { package = "phf_shared", version = "0.10" }+prost = { version = "0.12", features = ["prost-derive"] }+rand-274715c4dabd11b0 = { package = "rand", version = "0.9" }+rand-c38e5c1d305a1b54 = { package = "rand", version = "0.8", features = ["small_rng"] }+redis = { version = "1", features = ["cluster-async", "tokio-rustls-comp"] }+regex = { version = "1" }+regex-automata = { version = "0.4", default-features = false, features = ["dfa-build", "dfa-onepass", "hybrid", "meta", "nfa-backtrack", "perf-inline", "perf-literal", "std", "unicode"] }+regex-syntax = { version = "0.8" }+reqwest = { version = "0.13", features = ["form", "gzip", "hickory-dns", "json", "multipart", "query", "stream"] }+rmcp = { version = "1", features = ["auth", "client", "transport-streamable-http-client-reqwest", "transport-streamable-http-server"] }+rsa = { version = "0.9", features = ["getrandom", "sha1"] }+rustc-hash = { version = "2" }+rustls-2b5c6dc72f624058 = { package = "rustls", version = "0.23", default-features = false, features = ["prefer-post-quantum", "ring", "std", "tls12"] }+rustls-647d43efb71741da = { package = "rustls", version = "0.21" }+rustls-webpki = { version = "0.103", default-features = false, features = ["aws-lc-rs", "ring", "std"] }+schemars = { version = "1", features = ["chrono04", "uuid1"] }+scopeguard = { version = "1" }+semver = { version = "1", features = ["serde"] }+serde = { version = "1", features = ["alloc", "derive", "rc"] }+serde_core = { version = "1", features = ["alloc", "rc"] }+serde_json = { version = "1", features = ["alloc", "raw_value", "unbounded_depth"] }+serde_with = { version = "3", features = ["base64", "json"] }+sha1 = { version = "0.10", features = ["oid"] }+sha2 = { version = "0.10", features = ["oid"] }+simd-adler32 = { version = "0.3" }+slab = { version = "0.4" }+smallvec = { version = "1", default-features = false, features = ["const_new", "serde"] }+spin = { version = "0.9", default-features = false, features = ["once", "spin_mutex"] }+sqlx-core = { version = "0.8", features = ["_rt-tokio", "_tls-rustls-ring-webpki", "any", "chrono", "json", "migrate", "offline", "uuid"] }+sqlx-postgres = { version = "0.8", default-features = false, features = ["any", "chrono", "json", "migrate", "offline", "uuid"] }+stable_deref_trait = { version = "1" }+subtle = { version = "2" }+sync_wrapper = { version = "1", default-features = false, features = ["futures"] }+time = { version = "0.3", features = ["formatting", "macros", "parsing"] }+tokio = { version = "1", features = ["fs", "io-util", "macros", "net", "parking_lot", "process", "rt-multi-thread", "signal", "test-util"] }+tokio-rustls = { version = "0.26", default-features = false, features = ["tls12"] }+tokio-stream = { version = "0.1", features = ["fs"] }+tokio-util = { version = "0.7", features = ["codec", "io"] }+tower = { version = "0.5", default-features = false, features = ["balance", "buffer", "limit", "load-shed", "log"] }+tower-http = { version = "0.6", features = ["compression-gzip", "cors", "fs", "limit", "request-id", "timeout", "trace", "util"] }+tracing = { version = "0.1", features = ["log"] }+tracing-core = { version = "0.1" }+tungstenite = { version = "0.28", features = ["__rustls-tls", "url"] }+typenum = { version = "1", default-features = false, features = ["const-generics"] }+url = { version = "2", features = ["serde"] }+uuid = { version = "1", features = ["fast-rng", "serde", "v4", "v7"] }+zerocopy = { version = "0.8", default-features = false, features = ["derive", "simd"] }+zeroize = { version = "1", features = ["derive"] }++[build-dependencies]+ahash = { version = "0.8" }+aho-corasick = { version = "1" }+aws-credential-types = { version = "1", default-features = false, features = ["test-util"] }+aws-runtime = { version = "1", default-features = false, features = ["event-stream", "http-02x", "http-1x", "sigv4a"] }+aws-sigv4 = { version = "1", features = ["http0-compat", "sign-eventstream", "sigv4a"] }+aws-smithy-async = { version = "1", default-features = false, features = ["rt-tokio"] }+aws-smithy-http = { version = "0.63", default-features = false, features = ["event-stream"] }+aws-smithy-http-client = { version = "1", default-features = false, features = ["legacy-rustls-ring", "rustls-aws-lc"] }+aws-smithy-runtime = { version = "1", default-features = false, features = ["client", "default-https-client", "rt-tokio", "tls-rustls"] }+aws-smithy-runtime-api = { version = "1", features = ["client", "http-02x", "http-auth", "test-util"] }+aws-smithy-types = { version = "1", default-features = false, features = ["byte-stream-poll-next", "http-body-0-4-x", "http-body-1-x", "rt-tokio", "test-util"] }+aws_lambda_events = { version = "0.16", default-features = false, features = ["eventbridge", "s3", "sns", "sqs"] }+axum = { version = "0.8", features = ["macros", "multipart", "ws"] }+axum-extra = { version = "0.10", features = ["cookie", "typed-header"] }+base64 = { version = "0.22" }+byteorder = { version = "1" }+bytes = { version = "1", features = ["serde"] }+bzip2 = { version = "0.5", features = ["libbz2-rs-sys"] }+bzip2-sys = { version = "0.1", default-features = false, features = ["__disabled"] }+cc = { version = "1", default-features = false, features = ["parallel"] }+chrono = { version = "0.4", features = ["serde"] }+concurrent-queue = { version = "2" }+crossbeam-utils = { version = "0.8" }+crypto-bigint = { version = "0.5", features = ["generic-array", "zeroize"] }+crypto-common = { version = "0.1", default-features = false, features = ["getrandom", "std"] }+digest = { version = "0.10", features = ["mac", "oid", "std"] }+doppleganger = { version = "0.5", default-features = false, features = ["chrono", "uuid"] }+doppleganger-core = { version = "0.5", default-features = false, features = ["chrono", "uuid"] }+either = { version = "1", features = ["serde", "use_std"] }+elliptic-curve = { version = "0.13", default-features = false, features = ["ecdh", "hazmat", "pem", "std"] }+event-listener = { version = "5" }+fastrand = { version = "2" }+flate2 = { version = "1", features = ["zlib-rs"] }+foldhash = { version = "0.2" }+form_urlencoded = { version = "1" }+futures = { version = "0.3" }+futures-channel = { version = "0.3", features = ["sink"] }+futures-core = { version = "0.3" }+futures-executor = { version = "0.3" }+futures-io = { version = "0.3" }+futures-sink = { version = "0.3" }+futures-task = { version = "0.3" }+futures-util = { version = "0.3", features = ["channel", "io", "sink"] }+generic-array = { version = "0.14", default-features = false, features = ["more_lengths", "zeroize"] }+getrandom-468e82937335b1c9 = { package = "getrandom", version = "0.3", default-features = false, features = ["std", "wasm_js"] }+getrandom-6f8ce4dd05d13bba = { package = "getrandom", version = "0.2", default-features = false, features = ["std"] }+hashbrown-582f2526e08bb6a0 = { package = "hashbrown", version = "0.14", features = ["raw"] }+hashbrown-9067fe90e8c1f593 = { package = "hashbrown", version = "0.17" }+hashbrown-986da7b5efc2b80e = { package = "hashbrown", version = "0.16" }+hmac = { version = "0.12", default-features = false, features = ["reset"] }+hyper-582f2526e08bb6a0 = { package = "hyper", version = "0.14", default-features = false, features = ["client", "http1", "http2", "runtime", "server", "stream"] }+hyper-dff4ba8e3ae991db = { package = "hyper", version = "1", features = ["client", "http1", "http2", "server"] }+hyper-rustls-adf3d7031871b0af = { package = "hyper-rustls", version = "0.24", default-features = false, features = ["acceptor", "http1", "http2", "logging", "tls12", "webpki-tokio"] }+hyper-util = { version = "0.1", features = ["client-legacy", "client-proxy", "http1", "http2", "server", "service"] }+indexmap = { version = "2", features = ["serde"] }+lazy_static = { version = "1", default-features = false, features = ["spin_no_std"] }+libc = { version = "0.2", features = ["extra_traits"] }+log = { version = "0.4", default-features = false, features = ["std"] }+memchr = { version = "2" }+mime_guess = { version = "2" }+miniz_oxide = { version = "0.8", features = ["simd"] }+num-bigint = { version = "0.4" }+num-integer = { version = "0.1", features = ["i128"] }+num-traits = { version = "0.2", features = ["i128", "libm"] }+once_cell = { version = "1" }+percent-encoding = { version = "2" }+phf_shared-594e8ee84c453af0 = { package = "phf_shared", version = "0.13" }+phf_shared-93f6ce9d446188ac = { package = "phf_shared", version = "0.10" }+prettyplease = { version = "0.2", default-features = false, features = ["verbatim"] }+proc-macro2 = { version = "1", features = ["span-locations"] }+prost = { version = "0.12", features = ["prost-derive"] }+quote = { version = "1" }+rand-274715c4dabd11b0 = { package = "rand", version = "0.9" }+rand-c38e5c1d305a1b54 = { package = "rand", version = "0.8", features = ["small_rng"] }+redis = { version = "1", features = ["cluster-async", "tokio-rustls-comp"] }+regex = { version = "1" }+regex-automata = { version = "0.4", default-features = false, features = ["dfa-build", "dfa-onepass", "hybrid", "meta", "nfa-backtrack", "perf-inline", "perf-literal", "std", "unicode"] }+regex-syntax = { version = "0.8" }+reqwest = { version = "0.13", features = ["form", "gzip", "hickory-dns", "json", "multipart", "query", "stream"] }+rmcp = { version = "1", features = ["auth", "client", "transport-streamable-http-client-reqwest", "transport-streamable-http-server"] }+rsa = { version = "0.9", features = ["getrandom", "sha1"] }+rustc-hash = { version = "2" }+rustls-2b5c6dc72f624058 = { package = "rustls", version = "0.23", default-features = false, features = ["prefer-post-quantum", "ring", "std", "tls12"] }+rustls-647d43efb71741da = { package = "rustls", version = "0.21" }+rustls-webpki = { version = "0.103", default-features = false, features = ["aws-lc-rs", "ring", "std"] }+schemars = { version = "1", features = ["chrono04", "uuid1"] }+scopeguard = { version = "1" }+semver = { version = "1", features = ["serde"] }+serde = { version = "1", features = ["alloc", "derive", "rc"] }+serde_core = { version = "1", features = ["alloc", "rc"] }+serde_json = { version = "1", features = ["alloc", "raw_value", "unbounded_depth"] }+serde_with = { version = "3", features = ["base64", "json"] }+sha1 = { version = "0.10", features = ["oid"] }+sha2 = { version = "0.10", features = ["oid"] }+simd-adler32 = { version = "0.3" }+slab = { version = "0.4" }+smallvec = { version = "1", default-features = false, features = ["const_new", "serde"] }+spin = { version = "0.9", default-features = false, features = ["once", "spin_mutex"] }+sqlx-core = { version = "0.8", features = ["_rt-tokio", "_tls-rustls-ring-webpki", "any", "chrono", "json", "migrate", "offline", "uuid"] }+sqlx-postgres = { version = "0.8", default-features = false, features = ["any", "chrono", "json", "migrate", "offline", "uuid"] }+stable_deref_trait = { version = "1" }+subtle = { version = "2" }+syn-dff4ba8e3ae991db = { package = "syn", version = "1", features = ["extra-traits", "fold", "full"] }+syn-f595c2ba2a3f28df = { package = "syn", version = "2", features = ["extra-traits", "fold", "full", "visit", "visit-mut"] }+sync_wrapper = { version = "1", default-features = false, features = ["futures"] }+time = { version = "0.3", features = ["formatting", "macros", "parsing"] }+tokio = { version = "1", features = ["fs", "io-util", "macros", "net", "parking_lot", "process", "rt-multi-thread", "signal", "test-util"] }+tokio-rustls = { version = "0.26", default-features = false, features = ["tls12"] }+tokio-stream = { version = "0.1", features = ["fs"] }+tokio-util = { version = "0.7", features = ["codec", "io"] }+tower = { version = "0.5", default-features = false, features = ["balance", "buffer", "limit", "load-shed", "log"] }+tower-http = { version = "0.6", features = ["compression-gzip", "cors", "fs", "limit", "request-id", "timeout", "trace", "util"] }+tracing = { version = "0.1", features = ["log"] }+tracing-core = { version = "0.1" }+tungstenite = { version = "0.28", features = ["__rustls-tls", "url"] }+typenum = { version = "1", default-features = false, features = ["const-generics"] }+url = { version = "2", features = ["serde"] }+uuid = { version = "1", features = ["fast-rng", "serde", "v4", "v7"] }+zerocopy = { version = "0.8", default-features = false, features = ["derive", "simd"] }+zeroize = { version = "1", features = ["derive"] }++[target.x86_64-unknown-linux-gnu.dependencies]+bitflags = { version = "2", default-features = false, features = ["std"] }+crossbeam-epoch = { version = "0.9" }+data-encoding = { version = "2" }+getrandom-9fbad63c4bcf4a8f = { package = "getrandom", version = "0.4", default-features = false, features = ["std", "sys_rng"] }+hyper-rustls-754bda37e0fb3874 = { package = "hyper-rustls", version = "0.27", default-features = false, features = ["aws-lc-rs", "http1", "http2", "native-tokio", "ring", "tls12", "webpki-tokio"] }+hyper-util = { version = "0.1", default-features = false, features = ["client-proxy-system"] }+ipnet = { version = "2", features = ["serde"] }+linux-raw-sys = { version = "0.12", default-features = false, features = ["auxvec", "elf", "errno", "general", "ioctl", "no_std", "system"] }+once_cell = { version = "1", default-features = false, features = ["critical-section"] }+rand-93f6ce9d446188ac = { package = "rand", version = "0.10" }+rustix = { version = "1", features = ["fs", "system"] }+thiserror = { version = "2" }+tokio-rustls = { version = "0.26", default-features = false, features = ["aws-lc-rs", "ring"] }+tokio-util = { version = "0.7", default-features = false, features = ["io-util"] }+tower = { version = "0.5", default-features = false, features = ["retry", "timeout"] }+tower-http = { version = "0.6", default-features = false, features = ["decompression-gzip", "follow-redirect"] }++[target.x86_64-unknown-linux-gnu.build-dependencies]+bitflags = { version = "2", default-features = false, features = ["std"] }+crossbeam-epoch = { version = "0.9" }+data-encoding = { version = "2" }+getrandom-9fbad63c4bcf4a8f = { package = "getrandom", version = "0.4", default-features = false, features = ["std", "sys_rng"] }+hyper-rustls-754bda37e0fb3874 = { package = "hyper-rustls", version = "0.27", default-features = false, features = ["aws-lc-rs", "http1", "http2", "native-tokio", "ring", "tls12", "webpki-tokio"] }+hyper-util = { version = "0.1", default-features = false, features = ["client-proxy-system"] }+ipnet = { version = "2", features = ["serde"] }+linux-raw-sys = { version = "0.12", default-features = false, features = ["auxvec", "elf", "errno", "general", "ioctl", "no_std", "system"] }+once_cell = { version = "1", default-features = false, features = ["critical-section"] }+rand-93f6ce9d446188ac = { package = "rand", version = "0.10" }+rustix = { version = "1", features = ["fs", "system"] }+thiserror = { version = "2" }+tokio-rustls = { version = "0.26", default-features = false, features = ["aws-lc-rs", "ring"] }+tokio-util = { version = "0.7", default-features = false, features = ["io-util"] }+tower = { version = "0.5", default-features = false, features = ["retry", "timeout"] }+tower-http = { version = "0.6", default-features = false, features = ["decompression-gzip", "follow-redirect"] }++[target.aarch64-apple-darwin.dependencies]+bitflags = { version = "2", default-features = false, features = ["std"] }+crossbeam-epoch = { version = "0.9" }+data-encoding = { version = "2" }+errno = { version = "0.3" }+getrandom-9fbad63c4bcf4a8f = { package = "getrandom", version = "0.4", default-features = false, features = ["std", "sys_rng"] }+hyper-rustls-754bda37e0fb3874 = { package = "hyper-rustls", version = "0.27", default-features = false, features = ["aws-lc-rs", "http1", "http2", "native-tokio", "ring", "tls12", "webpki-tokio"] }+hyper-util = { version = "0.1", default-features = false, features = ["client-proxy-system"] }+ipnet = { version = "2", features = ["serde"] }+once_cell = { version = "1", default-features = false, features = ["critical-section"] }+rand-93f6ce9d446188ac = { package = "rand", version = "0.10" }+rustix = { version = "1", features = ["fs", "system"] }+security-framework-sys = { version = "2" }+thiserror = { version = "2" }+tokio-rustls = { version = "0.26", default-features = false, features = ["aws-lc-rs", "ring"] }+tokio-util = { version = "0.7", default-features = false, features = ["io-util"] }+tower = { version = "0.5", default-features = false, features = ["retry", "timeout"] }+tower-http = { version = "0.6", default-features = false, features = ["decompression-gzip", "follow-redirect"] }++[target.aarch64-apple-darwin.build-dependencies]+bitflags = { version = "2", default-features = false, features = ["std"] }+crossbeam-epoch = { version = "0.9" }+data-encoding = { version = "2" }+errno = { version = "0.3" }+getrandom-9fbad63c4bcf4a8f = { package = "getrandom", version = "0.4", default-features = false, features = ["std", "sys_rng"] }+hyper-rustls-754bda37e0fb3874 = { package = "hyper-rustls", version = "0.27", default-features = false, features = ["aws-lc-rs", "http1", "http2", "native-tokio", "ring", "tls12", "webpki-tokio"] }+hyper-util = { version = "0.1", default-features = false, features = ["client-proxy-system"] }+ipnet = { version = "2", features = ["serde"] }+once_cell = { version = "1", default-features = false, features = ["critical-section"] }+rand-93f6ce9d446188ac = { package = "rand", version = "0.10" }+rustix = { version = "1", features = ["fs", "system"] }+security-framework-sys = { version = "2" }+thiserror = { version = "2" }+tokio-rustls = { version = "0.26", default-features = false, features = ["aws-lc-rs", "ring"] }+tokio-util = { version = "0.7", default-features = false, features = ["io-util"] }+tower = { version = "0.5", default-features = false, features = ["retry", "timeout"] }+tower-http = { version = "0.6", default-features = false, features = ["decompression-gzip", "follow-redirect"] }++### END HAKARI SECTIONdiff --git a/rust/cloud-storage/workspace-hack/build.rs b/rust/cloud-storage/workspace-hack/build.rsnew file mode 100644index 0000000000..92518ef04c--- /dev/null+++ b/rust/cloud-storage/workspace-hack/build.rs@@ -0,0 +1,2 @@+// A build script is required for cargo to consider build dependencies.+fn main() {}diff --git a/rust/cloud-storage/workspace-hack/src/lib.rs b/rust/cloud-storage/workspace-hack/src/lib.rsnew file mode 100644index 0000000000..22489f632b--- /dev/null+++ b/rust/cloud-storage/workspace-hack/src/lib.rs@@ -0,0 +1 @@+// This is a stub lib.rs.