Skip to content

test(writer): the stream-patch tests run on the committed empty.rfa in every checkout (#1933) - #1936

Merged
DrunkOnJava merged 1 commit into
mainfrom
fix/1933-empty-rfa-patch-tests
Nov 13, 2026
Merged

DrunkOnJava merged 1 commit into
mainfrom
fix/1933-empty-rfa-patch-tests

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

Summary

The five stream-patch tests of tests/cfb_roundtrip_delta.rs (an identity patch, a growing, a shrinking and a two-stream patch, and a patch of a stream that is not there) now run on the MIT empty.rfa committed under tests/fixtures/families/ in every checkout, and on each release of the family corpus where it is present. Before, they skipped without the corpus, so no test patched the "always-on empty.rfa patch corpus" that docs/support-matrix.json and the fixtures' README name.

Motivation

Item 4 of #1933 (the batch 8 promise audit): tests/fixtures/families/empty.rfa was opened only by tests/element_record_stages.rs as a diagnostics read, and write_with_patches appears in tests only here, behind the corpus gate.

Changes

  • tests/cfb_roundtrip_delta.rs: fixture_empty_rfa() and patch_sources(); the missing-stream test takes the fixture; the four loops take patch_sources(). The baseline delta test and the project patch-mode test still need their corpora and are unchanged.

Testing

Unit tests are banned in this repository; these are existing end-to-end tests of the real writer on a real file, run on one more file. No new target, so tools/ci/test-targets.txt and tests/integration/main.rs do not change.

  • tools/check-local.sh: not run here (no local builds); CI runs it. rustfmt --check passes.
  • The five tests pass on empty.rfa in CI (cfb_roundtrip_delta::*). The 25% ceiling of the identity patch was chosen for the 12 corpus releases and has not been measured on this 389 KB file: if it fails there, the ceiling for this file is the thing to read, not to loosen blindly.

Audit-honesty checklist

  • The support matrix's stream-level-writer evidence and the fixtures' README say "always-on ... patch corpus"; this change makes that true. No claim is added.
  • No fragment: no user-visible change.
  • No emojis, no private paths.

Legal and contribution hygiene

  • Apache-2.0; empty.rfa is MIT (DynamoDS/RevitTestFramework, its licence beside it); no new fixture.

Breaking changes

None.

Refs #1933.

…n every checkout, so the always-on patch corpus the support matrix names patches a file (#1933)
@DrunkOnJava
DrunkOnJava merged commit 4d85588 into main Nov 13, 2026
63 checks passed
@DrunkOnJava
DrunkOnJava deleted the fix/1933-empty-rfa-patch-tests branch November 13, 2026 21:02
DrunkOnJava added a commit that referenced this pull request Nov 13, 2026
…n-storey-bind partial, and says which revolutions checks run only locally (#1933) (#1937)

## Summary

`docs/support-matrix.json` rates `cfb-container-open` and
`record-elevation-storey-bind` `partial`, not `verified`, for the proof
each names, and the evidence of `standalone-family-revolutions-2020`
says its export and refusal checks run only locally. No export changes.

## Motivation

Items 1 to 3 of #1933 (the batch 8 promise audit; decisions on the
issue, comment 6864574473). Statuses are ceilings, and
`docs/verification-protocol.md` asks two independent witnesses agreeing
across a recorded edge, gated in CI, for `verified`.

## Changes

- `docs/support-matrix.json`: `cfb-container-open` (name narrowed to
`.rvt` and `.rfa`, `.rte` and `.rft` stated as the same code and
unmeasured, the encrypted-file sentence as `docs/compatibility.md` has
it, one reader named), `record-elevation-storey-bind` (partial, with the
one old measurement and the missing CI comparison stated),
`standalone-family-revolutions-2020` (evidence: local only).
- `changelog.d/changed/1933-support-matrix-statuses.md`.

## Testing

- [x] The JSON parses and exactly two statuses change
(`cfb-container-open` and `record-elevation-storey-bind`, `verified` to
`partial`), checked by script; `tests/support_matrix.rs` runs in CI.
- [x] No code path changes; N/A for end-to-end. No other page counts the
verified capabilities (searched).

## Audit-honesty checklist

- [x] The statuses go down to what the proof shows; no claim is added.
- [x] A fragment: `changelog.d/changed/1933-support-matrix-statuses.md`.
- [x] No emojis, no private paths.

## Legal and contribution hygiene

- [x] Apache-2.0; no Autodesk proprietary content.

## Breaking changes

None.

Refs #1933; item 4 is #1936.
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