@devries-cameron20 / composio Mirror · read-only / commits / c2833730b
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 21, 03:37 UTC

fix(toolchain): lock mise tools for windows-x64 (#5475)

This PR: - closes https://github.com/ComposioHQ/composio/issues/5446 - adds the `@oven/bun-windows-x64` 1.4.4 tarball to `[tools.bun.platforms]`; its checksum matches the npm registry's `dist.integrity` - declares `lockfile_platforms` in `mise.toml` (linux-x64, linux-arm64, macos-arm64, macos-x64, windows-x64), so `mise lock` no longer depends on each contributor's global setting - regenerates `mise.lock`: adds `windows-x64` entries for bun, node, python, and uv only; existing entries are unchanged, and Python stays on the `20260807` build - changes the ts.audit freshness check to plain `mise lock`, so CI uses the same platform list as a local refresh ## Context The issue's root cause was more than the missing Bun URL. `mise.lock` covered whatever platforms `ts.audit.yml` passed in `--platform linux-x64,linux-arm64,macos-arm64,macos-x64`, so adding Windows entries by hand would have been undone by the next refresh. With the list in `mise.toml`, the freshness check fails if a regeneration drops Windows. Verification: - `mise lock` with mise 2026.8.15, the version CI pins, in an isolated config produces this exact lock, both from the old lock (it adds the Windows entries) and from the new one (no diff). `lockfile_platforms` has existed since mise 2026.4.8. - Every `windows-x64` URL in the lock returns HTTP 200. - `pnpm run test:toolchain` passes: `mise-bun-pin: ok (1.4.4+38afee6c8)`. - No CI job installs the toolchain on Windows. The issue reporter verified `mise install` and `test:toolchain` on Windows 11 with the same Bun entry.

Alberto Schiabel committed Nov 19, 2026 at 23:40 UTC c2833730b52a49231b69c27b989caacab9ac652b
3 files changed +32 -4
.github/workflows/ts.audit.yml
+1 -1
@@ -50,7 +50,7 @@ jobs:
50
51 - name: Verify mise.lock is fresh
52 run: |
53 - mise lock --platform linux-x64,linux-arm64,macos-arm64,macos-x64
53 + mise lock
54 git diff --exit-code mise.lock
55
56 - name: Run pnpm audit (production dependencies only)
mise.lock
+19
@@ -20,6 +20,10 @@ url = "https://registry.npmjs.org/@oven/bun-darwin-aarch64/-/bun-darwin-aarch64-
20 checksum = "sha512:a0a19cc4bb2f878a078c0a36f273e6f1cff1374a3f3a61b28f520761cf78be9ae45ac5b684d83691e119b797f8d1c2391efbb88c395245347450da6fd54200c7"
21 url = "https://registry.npmjs.org/@oven/bun-darwin-x64/-/bun-darwin-x64-1.4.4.tgz"
22
23 +[tools.bun."platforms.windows-x64"]
24 +checksum = "sha512:6b72cd72d0553bc3e378fb0565fc0395e17625761fd817d0d6efcf2d19c10cb9c2d918a697ee3e2e02692a3e31446841f762b0786c902393d769390ff6aca931"
25 +url = "https://registry.npmjs.org/@oven/bun-windows-x64/-/bun-windows-x64-1.4.4.tgz"
26 +
27 [[tools.node]]
28 version = "24.22.3"
29 backend = "core:node"
@@ -40,6 +44,10 @@ url = "https://nodejs.org/dist/v24.22.3/node-v24.22.3-darwin-arm64.tar.gz"
44 checksum = "sha256:977614af0504c81045e7fd85596dbca0e5f951b96681516dadafedcca8c447f7"
45 url = "https://nodejs.org/dist/v24.22.3/node-v24.22.3-darwin-x64.tar.gz"
46
47 +[tools.node."platforms.windows-x64"]
48 +checksum = "sha256:e612af99f626ab415ea225af6bce5c971feb448cb5cae250bb1c3fa50c5f7d9f"
49 +url = "https://nodejs.org/dist/v24.22.3/node-v24.22.3-win-x64.zip"
50 +
51 [[tools."npm:pnpm"]]
52 version = "11.8.0"
53 backend = "npm:pnpm"
@@ -68,6 +76,11 @@ checksum = "sha256:127053f1736f721e391ddb46f07585d05756e15bb8d757d3bbc0519738998
76 url = "https://github.com/astral-sh/python-build-standalone/releases/download/20260807/cpython-3.12.13+20260807-x86_64-apple-darwin-install_only_stripped.tar.gz"
77 provenance = "github-attestations"
78
79 +[tools.python."platforms.windows-x64"]
80 +checksum = "sha256:18bcc65b17921806b72cdc88bcf000bf67a2c99a8fc381fe1629f2b9ba56858d"
81 +url = "https://github.com/astral-sh/python-build-standalone/releases/download/20260807/cpython-3.12.13+20260807-x86_64-pc-windows-msvc-install_only_stripped.tar.gz"
82 +provenance = "github-attestations"
83 +
84 [[tools.uv]]
85 version = "0.13.5"
86 backend = "aqua:astral-sh/uv"
@@ -95,3 +108,9 @@ checksum = "sha256:b0f52b0e3945b4107d89024ea38e625683011fbfc05a0d98f9fa2d6dcee28
108 url = "https://github.com/astral-sh/uv/releases/download/0.13.5/uv-x86_64-apple-darwin.tar.gz"
109 url_api = "https://api.github.com/repos/astral-sh/uv/releases/assets/664335993"
110 provenance = "github-attestations"
111 +
112 +[tools.uv."platforms.windows-x64"]
113 +checksum = "sha256:a38b8d1902b7cfbc76b423ba1bb456f623f42064cdc72628b6075b89afd1019a"
114 +url = "https://github.com/astral-sh/uv/releases/download/0.13.5/uv-x86_64-pc-windows-msvc.zip"
115 +url_api = "https://api.github.com/repos/astral-sh/uv/releases/assets/664336006"
116 +provenance = "github-attestations"
mise.toml
+12 -3
@@ -23,9 +23,10 @@ uv = "0.13.5"
23 # mise extracts the matching one directly, with no npm lifecycle involved.
24 #
25 # `version` is the full value reported by `bun --revision`, while the tarballs
26 -# use Bun's package version. When bumping Bun, change the URLs and `version`
27 -# together, then run `mise install`. `pnpm run test:toolchain` verifies the
28 -# declared revision against the installed binary.
26 +# use Bun's package version. When bumping Bun, change every platform URL and
27 +# checksum together with `version`, then run `mise install` and `mise lock`.
28 +# `pnpm run test:toolchain` verifies the declared revision against the
29 +# installed binary.
30 [tools.bun]
31 version = "1.4.4+38afee6c8"
32 bin_path = "package/bin"
@@ -46,9 +47,17 @@ checksum = "sha512:65356da5ff7398748154f5f5b01c1ee5a8066ffacddf8c8f1a0fc76f2f1ed
47 url = "https://registry.npmjs.org/@oven/bun-linux-x64/-/bun-linux-x64-1.4.4.tgz"
48 checksum = "sha512:0876db9261d5336f13d4616afba18be00a38ba3c306308f50b1145c041732da9cf7cdb0877d0216c83f4438ade5ae5819068a6524a10ca0acaed1823b63defa2"
49
50 +[tools.bun.platforms.windows-x64]
51 +url = "https://registry.npmjs.org/@oven/bun-windows-x64/-/bun-windows-x64-1.4.4.tgz"
52 +checksum = "sha512:6b72cd72d0553bc3e378fb0565fc0395e17625761fd817d0d6efcf2d19c10cb9c2d918a697ee3e2e02692a3e31446841f762b0786c902393d769390ff6aca931"
53 +
54 [env]
55 _.path = ["{{config_root}}/node_modules/.bin"]
56
57 [settings]
58 lockfile = true
59 locked = true
60 +# Every platform contributors and CI install on. Declaring the set here keeps
61 +# `mise lock` from falling back to each contributor's global setting, and lets
62 +# the ts.audit freshness check run the same command as a local refresh.
63 +lockfile_platforms = ["linux-x64", "linux-arm64", "macos-arm64", "macos-x64", "windows-x64"]