chore(deps): bump monty from 0.0.19 to 0.0.21 - #2297
Conversation
Bumps [monty](https://github.com/pydantic/monty) from 0.0.19 to 0.0.21. - [Release notes](https://github.com/pydantic/monty/releases) - [Commits](pydantic/monty@v0.0.19...v0.0.21) --- updated-dependencies: - dependency-name: monty dependency-version: 0.0.21 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
bashkit | 206870a | Commit Preview URL Branch Preview URL |
Aug 13 2026, 09:36 AM |
|
Investigated this together with #2297. Two separate findings. 1. This PR cannot pass on its own. That single cause is behind all ~22 failing checks here. 2. The combined bump is blocked by an upstream regression. I did the combined upgrade (#2298) and it compiles, but Monty 0.0.21 silently turns
Leaving this open rather than closing it so the upgrade isn't forgotten — but it should not be merged until the memory-enforcement question is resolved upstream, or an explicit decision is taken to narrow the guarantee. Generated by Claude Code |
…ry (#2300) Monty 0.0.21 moves `max_memory` enforcement from host-side accounting in `LimitedTracker::on_grow` to a probe of the `LIVE_MEMORY`/`BASELINE_MEMORY` statics. Only the separate `monty-alloc` crate writes those, and only when installed as the process-wide global allocator; neither `monty` nor `monty-types` depends on it. Bashkit cannot supply that allocator — it is an embeddable library, and bashkit-python is a CPython extension module. With the statics at their initial values `probe_memory()` is `0.saturating_sub(usize::MAX)` == 0, so `check_allocation` never trips and the Python sandbox's memory ceiling is silently unenforced. Four threat-model regression tests fail on the bump (nested_list_bomb, successive_allocations_accumulate, tight_memory_blocks_many_small_objects, threat_python_pow_exhaustion) while the duration, recursion and print-cap tests still pass, localising the regression to allocator-backed memory. Adds dependabot ignores so the broken bump is not regenerated weekly, and documents the blocker — along with the `ResourceTracker`/`ResourceLimits` API migration and the `jiter` git-patch removal that become possible once the memory fix lands — in the Python builtin knowledge doc. Supersedes #2296 and #2297.
|
Looks like monty is no longer being updated by Dependabot, so this is no longer needed. |
|
Closing — superseded by #2300, which holds Two problems here. The smaller one is that this PR and #2296 each bump one half of a version-locked pair, so both fail every check ( Monty 0.0.21 silently disables the Python sandbox's memory ceiling. It moves Bashkit cannot supply that allocator: it is an embeddable library, so the global allocator belongs to the downstream binary, and Verified by applying the full bump (both crates together, plus the Duration, recursion and print-cap tests pass in the same run, which localises the regression to allocator-backed memory. #2300 adds dependabot Generated by Claude Code |
Bumps monty from 0.0.19 to 0.0.21.
Release notes
Sourced from monty's releases.
... (truncated)
Commits
70fe3f5Bump version to v0.0.21 (#696)3634245Protocol version utils (#697)dd6139aBump version to v0.0.20 (#695)738be95Version the wire protocol independently of the package (#693)5b5ffbaCi splittest-rust(#694)4512689Send a WebSocket Close frame on worker teardown (#691)44b3419Collapse the two dump versions into one session dump format (#692)f38c847rename files tomod.rs, stop annoyingusize_fieldwarnings (#690)6babf25Bound nested itertools adaptors by the recursion limit (#685)2cc39ddMove monty version to types (#689)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)