Skip to content

docs(python): a work-budget stop is a RuntimeWarning in the errors table, not a ValueError (#1855) - #1880

Merged
DrunkOnJava merged 1 commit into
mainfrom
docs/python-budget-errors-row
Nov 13, 2026
Merged

DrunkOnJava merged 1 commit into
mainfrom
docs/python-budget-errors-row

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

Summary

docs/python.md's errors table still listed "a reader stopped at its work budget" among the causes of ValueError. Since #1855 (0.20.0), a work-budget stop is a RuntimeWarning and the export is still written. The same page's write_ifc section (line 136) and python/rvt/__init__.pyi already say so. This PR removes the clause from the ValueError row and adds a RuntimeWarning row.

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 to warn_runtime and the ValueError covers 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.

@DrunkOnJava
DrunkOnJava merged commit b76ee16 into main Nov 13, 2026
27 checks passed
@DrunkOnJava
DrunkOnJava deleted the docs/python-budget-errors-row branch November 13, 2026 06:55
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`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant