Repository navigation
chore: upgrade rustledger to v0.20.1 - #236
Closed
rustledger-bot[bot] wants to merge 1 commit into
Closed
rustledger-bot[bot] wants to merge 1 commit into
rustledger-bot[bot] wants to merge 1 commit into
Conversation
Member
|
Superseded by the full integration PR (WIT 3.3 host-side changes, gap-list shrink, snapshot updates) — the version-string bump alone would have left the cost-number surface and test expectations broken, which is exactly why the gate held this as draft. |
robcohen
added a commit
that referenced
this pull request
Jul 3, 2026
…s fixed (#237) Supersedes the bot's gated draft (#236; the WIT gate correctly held both 0.20 bumps for human review). Engine v0.19.1 -> v0.20.1: - RUSTLEDGER_VERSION -> v0.20.1, _WIT_VERSION -> 3.3.0, vendored component refreshed (sha256-verified). No new host imports (verified against the artifact — decrypt remains the only one). - cost-number JSON surface: v0.20 tags by `type` with a `value` payload (per-unit-from-total as a two-string list) like every other variant; v0.19 tagged by `kind` with spread fields. The writer emits the new shape; both readers (component_engine, types.cost_number_values) tolerate all three historical forms. WIT 3.3 adds a `compound` input case, so cost-number detection is now a superset check. - smoke suite gap list SHRUNK per its guard: only() NULL propagation is fixed upstream (rustledger#1702 <- our beancount#1699), so the Holdings by_currency query is back under assertion on every corpus ledger. abs() on NULL still errors in v0.20.1 — the one remaining gap entry, status updated on rustledger#1699. - {a # b} compound cost now weighs N*a + b (rustledger#1704 <- our beancount#1700): the marshalling round-trip asserts the CORRECT booking arithmetic. - bare {CUR} costs are now inferred from the residual (rustledger#1709): the R3 render test asserts the proper at-cost value (crash-free invariant unchanged). - query snapshots: cost `kind`->`type`; payee column dtype object->str with real nulls instead of 'None' strings (rustledger#1703 <- our beancount#1701). - types.py: pre-existing lint debt cleared (file now passes the pinned hooks it gates). 629 passed, 100.00% coverage under the tightened gate.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated update of rustledger to v0.20.1 — held for human review (draft, no auto-merge) because:
What the bot already did
RUSTLEDGER_VERSIONand refreshed the vendored component (sha256-verified)_WIT_VERSIONto3.3.0(if it changed)What a human must check
wasm-tools component witthe vendored file; see thehostinterface handling incomponent_engine.py)just test-py)See rustledger v0.20.1 release notes. Context: #218 / #219 / #220.