Skip to content

CI: compare rvt-rs's stream list with olefile's over every corpus file (#1933 follow-up) #1938

Closed

Description

@DrunkOnJava

The container reader is the one step every other reader stands on, and the only reader that checks it is rvt-rs's own (the cfb crate through reader::RevitFile). #1933 lowered cfb-container-open from verified to partial for that reason (#1937). A second CFB reader that lists the same streams over every file of the corpora would be a check of the container layer that CI does not have today.

What to add:

  • A script under tools/ci/ that lists each file's streams and storages with olefile (pure Python) and compares the names and the stored sizes with what rvt-info or rvt-dump reports for the same file, over the family corpus, the project corpus and the committed tests/fixtures/families/empty.rfa.
  • A step in the job that already holds those corpora (Corpus health), failing on any difference, and printing the counts it compared (files, streams) so that a run that compared nothing is not a pass.
  • docs/support-matrix.json: name the check in the evidence of cfb-container-open. The status stays partial: docs/verification-protocol.md asks two independent witnesses across a recorded edge for verified, and a stream-list agreement is a check on the container, not yet a witness of that kind. Whether it could count as one is a call for the protocol's text, which this issue does not change.

Not in scope: encrypted files (none is measured; docs/compatibility.md says the outer container opens and the inner streams read as nonsense), and .rte and .rft (no file of either is in any corpus).

Found by the batch 8 promise audit, item 1 of #1933.

Activity

  1. added
    area:ci
    priority:P3
    type:ci
    on Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:cipriority:P3type:ci

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions