Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
53 changes: 10 additions & 43 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,8 @@ updates:
# rather than landing inside an aggregated `chore(deps)` PR.
- "turso_core"
- "turso_*"
# monty is pre-1.0 and breaks its embedding API on most 0.0.x bumps
# (0.0.19 dropped `max_allocations` and added a print-collect cap).
# Keep it standalone so the builtin rewrite each bump needs is
# reviewed on its own, not buried in an aggregated `chore(deps)` PR.
# Monty deps (pulled in by the bashkit-monty forks) change the
# embedding API often; keep them out of aggregated PRs.
- "monty"
- "monty-*"
# Surface turso bumps individually with a label that flags them for
Expand All @@ -29,7 +27,7 @@ updates:
# standalone delivery.
ignore:
# num-bigint is hard-pinned to 0.4.x in crates/bashkit-python: monty
# (0.0.19) depends on num-bigint 0.4, and py_to_monty hands a
# (1.4) depends on num-bigint 0.4, and py_to_monty hands a
# `num_bigint::BigInt` to `MontyObject::BigInt`. A 0.5 bump makes the two
# BigInt types mismatch and fails to compile. Block major/minor jumps
# (0.4 -> 0.5) while still allowing 0.4.x patch updates, until monty
Expand All @@ -38,24 +36,14 @@ updates:
update-types:
- "version-update:semver-major"
- "version-update:semver-minor"
# monty/monty-types are held at 0.0.19 for a security reason, not just an
# API-churn one. 0.0.21 replaced host-side memory accounting with a probe
# of globals that only the `monty-alloc` global allocator writes, so an
# embedder that cannot install a process-wide allocator — which bashkit,
# as a library and a CPython extension module, cannot — silently loses the
# Python sandbox's `max_memory` ceiling. Four threat-model regression
# tests fail on the bump. Without these entries dependabot reopens the
# same broken PR every week (#2296, #2297).
# Drop the ignores once monty exposes an embedder-usable memory bound;
# see knowledge/runtimes/python-builtin.md § Upgrade blocker.
# monty/monty-types are not used from crates.io: bashkit embeds patched
# forks (crates/bashkit-monty, crates/bashkit-monty-types) that add a
# per-VM memory probe and a checkpoint hook. A registry bump would not
# touch them; upgrade by re-copying upstream source and re-applying the
# patch. See knowledge/runtimes/python-builtin.md.
- dependency-name: "monty"
- dependency-name: "monty-types"
# The python `re` gate parses user code with the same ruff parser Monty
# 0.0.19 bundles. A standalone bump would let the gate's grammar drift
# from the executor's, and code the gate fails to parse is passed
# through. Move these only together with monty.
- dependency-name: "ruff_python_parser"
- dependency-name: "ruff_python_ast"
- dependency-name: "monty-macros"

# wasmtime is pinned exactly (=48.0.6): the `cpython` feature embeds a
# module precompiled by build.rs, and a precompiled module loads only
Expand All @@ -69,30 +57,9 @@ updates:
# `idna`'s Unicode back end, and 1.0.x is the "no back end" stream that
# keeps the 21-crate ICU4X stack out of the tree. Dependabot would read
# the pin as staleness and bump it straight back to 1.2.x. See the
# rationale comment above [patch.crates-io] in the root Cargo.toml.
# rationale comment at the end of the root Cargo.toml.
- dependency-name: "idna_adapter"

# get-size2 is not a dependency bashkit uses — no bashkit source
# references it. It is declared under the `python` feature purely to
# hold the *whole graph* at 0.10.1, which is the last version that
# implements `GetSize` for compact_str 0.9. monty 0.0.19's
# ruff_python_ast derives `get_size2::GetSize` on nodes holding a
# `CompactString` from compact_str 0.9, so any get-size2 >= 0.10.2
# (which moved those impls to compact_str 0.10) leaves the derive with
# no impl:
#
# error[E0277]: the trait bound `CompactString: GetSize` is not
# satisfied --> ruff_python_ast-0.0.3/src/nodes.rs:411:41
# note: there are multiple different versions of crate `compact_str`
#
# Bumping bashkit's declared version does not just fail to help, it
# removes the constraint that keeps ruff's copy pinned, letting it
# float to 0.10.3 and break (#2381, all 22 build jobs red). Ignore
# outright rather than by update-type: the breaking move was a patch
# release. Drop this once monty's ruff moves to compact_str 0.10; the
# pin comment sits next to the dep in crates/bashkit/Cargo.toml.
- dependency-name: "get-size2"

# branches is not a dependency bashkit uses — no bashkit source
# references it. It is declared under the `sqlite` feature purely to turn
# ON `branches/std` for the whole graph: `turso_core` depends on
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/apidocs-drift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
persist-credentials: false

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@e081816240890017053eacbb1bdf337761dc5582 # 1.95.0
uses: dtolnay/rust-toolchain@d86e0fa8f147d6539442c26a61ebba8becc19489 # 1.96.0

- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bash-oracle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
persist-credentials: false

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@e081816240890017053eacbb1bdf337761dc5582 # 1.95.0
uses: dtolnay/rust-toolchain@d86e0fa8f147d6539442c26a61ebba8becc19489 # 1.96.0

- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/builtins-drift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
persist-credentials: false

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@e081816240890017053eacbb1bdf337761dc5582 # 1.95.0
uses: dtolnay/rust-toolchain@d86e0fa8f147d6539442c26a61ebba8becc19489 # 1.96.0

- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/c-api-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:
persist-credentials: false

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@e081816240890017053eacbb1bdf337761dc5582 # 1.95.0
uses: dtolnay/rust-toolchain@d86e0fa8f147d6539442c26a61ebba8becc19489 # 1.96.0
with:
targets: ${{ matrix.target }}

Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
persist-credentials: false

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@e081816240890017053eacbb1bdf337761dc5582 # 1.95.0
uses: dtolnay/rust-toolchain@d86e0fa8f147d6539442c26a61ebba8becc19489 # 1.96.0
with:
components: rustfmt, clippy

Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
persist-credentials: false

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@e081816240890017053eacbb1bdf337761dc5582 # 1.95.0
uses: dtolnay/rust-toolchain@d86e0fa8f147d6539442c26a61ebba8becc19489 # 1.96.0
with:
targets: wasm32-unknown-unknown, wasm32-wasip2

Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
persist-credentials: false

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@e081816240890017053eacbb1bdf337761dc5582 # 1.95.0
uses: dtolnay/rust-toolchain@d86e0fa8f147d6539442c26a61ebba8becc19489 # 1.96.0
with:
targets: wasm32-unknown-unknown

Expand Down Expand Up @@ -153,7 +153,7 @@ jobs:
persist-credentials: false

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@e081816240890017053eacbb1bdf337761dc5582 # 1.95.0
uses: dtolnay/rust-toolchain@d86e0fa8f147d6539442c26a61ebba8becc19489 # 1.96.0
with:
targets: wasm32-unknown-unknown

Expand Down Expand Up @@ -205,7 +205,7 @@ jobs:
persist-credentials: false

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@e081816240890017053eacbb1bdf337761dc5582 # 1.95.0
uses: dtolnay/rust-toolchain@d86e0fa8f147d6539442c26a61ebba8becc19489 # 1.96.0

# Install the prebuilt cargo-audit binary rather than letting
# rustsec/audit-check compile it from source. The source build resolves
Expand Down Expand Up @@ -272,7 +272,7 @@ jobs:
persist-credentials: false

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@e081816240890017053eacbb1bdf337761dc5582 # 1.95.0
uses: dtolnay/rust-toolchain@d86e0fa8f147d6539442c26a61ebba8becc19489 # 1.96.0

- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2

Expand Down Expand Up @@ -405,9 +405,9 @@ jobs:
matrix:
include:
- os: ubuntu-latest
rust: "1.95.0"
rust: "1.96.0"
- os: macos-latest
rust: "1.95.0"
rust: "1.96.0"
- os: windows-2025
rust: "1.96.0"
steps:
Expand All @@ -416,7 +416,7 @@ jobs:
persist-credentials: false

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@e081816240890017053eacbb1bdf337761dc5582 # 1.95.0
uses: dtolnay/rust-toolchain@d86e0fa8f147d6539442c26a61ebba8becc19489 # 1.96.0
with:
toolchain: ${{ matrix.rust }}

Expand All @@ -442,7 +442,7 @@ jobs:
persist-credentials: false

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@e081816240890017053eacbb1bdf337761dc5582 # 1.95.0
uses: dtolnay/rust-toolchain@d86e0fa8f147d6539442c26a61ebba8becc19489 # 1.96.0

- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2
with:
Expand Down Expand Up @@ -477,7 +477,7 @@ jobs:
persist-credentials: false

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@e081816240890017053eacbb1bdf337761dc5582 # 1.95.0
uses: dtolnay/rust-toolchain@d86e0fa8f147d6539442c26a61ebba8becc19489 # 1.96.0

- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2
with:
Expand Down Expand Up @@ -507,7 +507,7 @@ jobs:
persist-credentials: false

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@e081816240890017053eacbb1bdf337761dc5582 # 1.95.0
uses: dtolnay/rust-toolchain@d86e0fa8f147d6539442c26a61ebba8becc19489 # 1.96.0

- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cli-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
persist-credentials: false

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@e081816240890017053eacbb1bdf337761dc5582 # 1.95.0
uses: dtolnay/rust-toolchain@d86e0fa8f147d6539442c26a61ebba8becc19489 # 1.96.0
with:
targets: ${{ matrix.target }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coreutils-args-drift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
fetch-depth: 0

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@e081816240890017053eacbb1bdf337761dc5582 # 1.95.0
uses: dtolnay/rust-toolchain@d86e0fa8f147d6539442c26a61ebba8becc19489 # 1.96.0
with:
components: rustfmt

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
persist-credentials: false

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@e081816240890017053eacbb1bdf337761dc5582 # 1.95.0
uses: dtolnay/rust-toolchain@d86e0fa8f147d6539442c26a61ebba8becc19489 # 1.96.0
with:
components: llvm-tools-preview

Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
persist-credentials: false

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@e081816240890017053eacbb1bdf337761dc5582 # 1.95.0
uses: dtolnay/rust-toolchain@d86e0fa8f147d6539442c26a61ebba8becc19489 # 1.96.0
with:
components: llvm-tools-preview

Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
persist-credentials: false

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@e081816240890017053eacbb1bdf337761dc5582 # 1.95.0
uses: dtolnay/rust-toolchain@d86e0fa8f147d6539442c26a61ebba8becc19489 # 1.96.0
with:
components: llvm-tools-preview

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/debian-oracle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
persist-credentials: false

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@e081816240890017053eacbb1bdf337761dc5582 # 1.95.0
uses: dtolnay/rust-toolchain@d86e0fa8f147d6539442c26a61ebba8becc19489 # 1.96.0

- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
persist-credentials: false

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@e081816240890017053eacbb1bdf337761dc5582 # 1.95.0
uses: dtolnay/rust-toolchain@d86e0fa8f147d6539442c26a61ebba8becc19489 # 1.96.0

- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2

Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
persist-credentials: false

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@e081816240890017053eacbb1bdf337761dc5582 # 1.95.0
uses: dtolnay/rust-toolchain@d86e0fa8f147d6539442c26a61ebba8becc19489 # 1.96.0

- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2

Expand Down Expand Up @@ -266,7 +266,7 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: dtolnay/rust-toolchain@e081816240890017053eacbb1bdf337761dc5582 # 1.95.0
- uses: dtolnay/rust-toolchain@d86e0fa8f147d6539442c26a61ebba8becc19489 # 1.96.0
with:
targets: ${{ matrix.target }}
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
persist-credentials: false

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@e081816240890017053eacbb1bdf337761dc5582 # 1.95.0
uses: dtolnay/rust-toolchain@d86e0fa8f147d6539442c26a61ebba8becc19489 # 1.96.0

# Prebuilt binary rather than a source build: cargo-audit's own
# dependencies resolve unlocked, and an MSRV bump in one of them past our
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
persist-credentials: false

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@e081816240890017053eacbb1bdf337761dc5582 # 1.95.0
uses: dtolnay/rust-toolchain@d86e0fa8f147d6539442c26a61ebba8becc19489 # 1.96.0

- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
cache-dependency-path: crates/bashkit-js/pnpm-lock.yaml

- name: Install Rust
uses: dtolnay/rust-toolchain@e081816240890017053eacbb1bdf337761dc5582 # 1.95.0
uses: dtolnay/rust-toolchain@d86e0fa8f147d6539442c26a61ebba8becc19489 # 1.96.0
with:
targets: ${{ matrix.settings.target }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:
with:
python-version: "3.13"

# nightly satisfies our deps' MSRV (monty needs 1.95) + edition 2024;
# nightly satisfies our deps' MSRV (monty needs 1.96) + edition 2024;
# its LLVM matches Emscripten 4.0.9's binaryen. pyodide-build manages its
# own matching emsdk via the cross-build env (no setup-emsdk needed).
- name: Install nightly Rust with the Emscripten target
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
persist-credentials: false

- name: Install Rust
uses: dtolnay/rust-toolchain@e081816240890017053eacbb1bdf337761dc5582 # 1.95.0
uses: dtolnay/rust-toolchain@d86e0fa8f147d6539442c26a61ebba8becc19489 # 1.96.0
with:
targets: wasm32-unknown-unknown

Expand Down
Loading
Loading