Repository navigation
docs(python): a work-budget stop is a RuntimeWarning in the errors table, not a ValueError (#1855) - #1880
Merged
Conversation
…ble, not a ValueError (#1855)
DrunkOnJava
added a commit
that referenced
this pull request
Nov 13, 2026
## Summary Release metadata for v0.21.0 (RELEASE.md, steps 4 to 7), cut from `main` at `9b7dee8c` and merged with `main` up to `b76ee16e`: - every version file moves to 0.21.0 (`tools/release/bump_version.py`), and `CITATION.cff` is dated 2026-11-13; - the five fragments under `changelog.d/` (#1843, #1838, #1840, #1854, #1871) are assembled into a `[0.21.0]` section, with its introduction, what is not measured, the comparison with 0.20.0 and "Upgrading from 0.20"; - the README's release lines name v0.21.0; - Core Interior's two witness observations and verdicts, and the two synthetic IFC fixtures, are taken from CI's artifacts for `10b0a299` (run 43382001273): only `witness_version`, the verdict hashes and the version strings of the IFC header and `IFCAPPLICATION` differ. **Why now.** The GlobalId pair (#1850 and #1859) is in `main`: the GlobalIds an export writes hold from one save of a project to the next, which 0.20.0 was cut without so that they ship together. `rvt-diff --elements` (#1843) and the `--redact` fix for Linux home folders (#1871) are in the same release, and #1874 corrects a warning that called deleted elements an incomplete IFC. Measured and rehearsed: - the comparison with 0.20.0 is in the section, from Measure runs [43381774360](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43381774360) (unfiltered, `main` at `9b7dee8c` against `v0.20.0`'s `9bb58fe1`: 146 of 146 exports move and `diagnostics.json` is equal on all 121 models that publish one; the MEP samples' `bodies_across_saves` goes from FAIL to PASS on 6 saves, and no other scorer output differs; that the exports move only in their GlobalIds is what #1850's and #1859's own line-by-line comparisons found, the run compares hashes) and [43381779893](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43381779893) (timing: 75 files at 0.94 to 1.06 times the time, median 1.00, and 0.99 to 1.01 times the peak memory). The release adds only notes, witness files, version strings and fixtures to `9b7dee8c`, apart from the probes and the one docs line (#1876, #1877, #1878, #1880) that landed after it and move no export; - `publish.yml` rehearsal on this branch: [43383528785](https://github.com/DrunkOnJava/rvt-rs/actions/runs/43383528785), on `bfa6859c`; only the changelog has changed since. ## Testing - `python3 tools/release/changelog.py check` passes: no fragment is left. - `bump_version.py` checks the version files with the preflight's own `check_versions`. - The PII guard runs `release_preflight.py` on this PR. ## Related issues Release 0.21.0. Milestone `0.21.0`.
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.
Summary
docs/python.md's errors table still listed "a reader stopped at its work budget" among the causes ofValueError. Since #1855 (0.20.0), a work-budget stop is aRuntimeWarningand the export is still written. The same page'swrite_ifcsection (line 136) andpython/rvt/__init__.pyialready say so. This PR removes the clause from theValueErrorrow and adds aRuntimeWarningrow.Found by batch 5's Python audit, finding 1 (confirmed by its verifier and by me against
rvt-py/src/lib.rs, where a stop goes towarn_runtimeand theValueErrorcovers unread streams only).Testing
Docs only; no code or output changes, so no Measure.
rg -U 'work\s+budget'over docs, python, rvt-py, rvt-mcp and src/bin finds no other place that says a stop refuses or raises.