Fix workstation setup script execution order

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • 9.1.0-rc0
    • Affects Version/s: None
    • Component/s: Bazel
    • None
    • Fully Compatible
    • ALL
    • Build OnDeck
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The `check_workstation_setup_script` task on `stm-daily-cron` was failing because `setup_clang_config` (which runs `bazel build compiledb`) was executed before creating the Python venv. The bazel wrapper requires Python dependencies like `yaml`, and when the venv doesn't exist, it falls back to system `python3` which lacks `ensurepip` on Ubuntu 22.04 ARM64, creating a broken venv.

      *Fix:* Move `setup_clang_config` to run after `setup_mongo_venv` in `etc/set_up_workstation.sh`.

      *Caused by:* a044a661b926 (SERVER-126500: Replace poetry with uv)

            Assignee:
            Patrice Arruda
            Reporter:
            Patrice Arruda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: