Skip to content

ci(publish): the viewer smoke builds rvt-elements and puts it on PATH, and a release dry-runs publish.yml before its tag (v0.16.0) - #1569

Merged
DrunkOnJava merged 3 commits into
mainfrom
ci/publish-viewer-smoke-rvt-elements
Nov 9, 2026
Merged

DrunkOnJava merged 3 commits into
mainfrom
ci/publish-viewer-smoke-rvt-elements

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Nov 9, 2026 •

Copy link
Copy Markdown
Owner

Summary

publish.yml's viewer load smoke now builds rvt-elements beside gen-fixture and puts it on PATH, as viewer-test.yml does. RELEASE.md adds a dry run of publish.yml on the release pull request's branch before the tag.

Motivation

The v0.16.0 tag run, 42559733687, passed its preflight, the seven wheels and their installs, cargo install with the CLI sample and the docs.rs preview. Its viewer load smoke then failed one test, tests/parameters-row.spec.ts:984 (Core Interior's saved parameters are what rvt-elements prints), with spawnSync rvt-elements ENOENT. That test came with #1468, after 0.15.0, and runs rvt-elements from PATH. viewer-test.yml builds it, and publish.yml never did.

Every publish job waits for that smoke, so nothing reached crates.io, PyPI, the release page or ghcr.io. A re-run uses the workflow as it was tagged. The release-tags ruleset lets no one move or delete a tag, apart from the admin bypass, which a release never uses. So v0.16.0 stays tagged and unpublished, and 0.16.1 replaces it, from a commit that holds this fix.

The release-binaries rehearsal in RELEASE.md covers only the release page. A dispatched publish.yml run builds and checks what the tag run does before it publishes (it passes the tag, signature, branch and CI checks by design), and publishes nothing, so it would have caught this.

Changes

  • .github/workflows/publish.yml:
    • The viewer smoke builds --bin gen-fixture --bin rvt-elements in one invocation.
    • It adds target/release to GITHUB_PATH and checks that rvt-elements --help runs.
  • RELEASE.md step 7: run gh workflow run publish.yml --ref <branch> on the release pull request's branch before merging, with the reason. A defect in the workflow, unlike a flaky job, is what re-running a tag run cannot fix.

Testing

  • python3 tools/ci/check-workflows.py: 0 errors, 0 warnings. yaml.safe_load parses the workflow.
  • A dispatched publish.yml run on this branch at 667841e, 42562321468, passed. publish.yml is byte for byte the same on the head; the later commits change only RELEASE.md.
    • Every check job passed: the preflight, the seven wheels and their installs, cargo install with the CLI sample, the docs.rs preview and the viewer load smoke.
    • crates.io, TestPyPI, PyPI and Release binaries were skipped, as they are for a dispatch.
    • The viewer smoke had 54 passed, 13 skipped and 0 failed, against the tag run's 40 passed, 1 failed and 26 skipped. parameters-row.spec.ts:984, the test that failed, passed. The 13 Einhoven tests in that file which skip without rvt-elements on PATH ran for the first time.
    • The release build of both binaries, with the --help check, took 3 minutes, and the job took 12 min 50 s.

Unit tests: N/A (a workflow change).

Audit-honesty checklist

  • Docs reflect the state after this PR (RELEASE.md).
  • No changelog fragment: the change is to the release workflow, not to what users get. The 0.16.1 section will say why 0.16.0 was not published.
  • No emojis, private paths or PII.

Legal and contribution hygiene

  • Apache-2.0. No Autodesk source, internals or NDA material.

Breaking changes

None.

…, and a release dry-runs publish.yml before its tag (v0.16.0)
…g checks, and 0.16.1 replaces the unpublished v0.16.0 (v0.16.0)
…s re-run cannot fix; publish.yml as dry-run (v0.16.0)
@DrunkOnJava
DrunkOnJava marked this pull request as ready for review November 9, 2026 04:47
@DrunkOnJava
DrunkOnJava merged commit 1509078 into main Nov 9, 2026
66 checks passed
@DrunkOnJava
DrunkOnJava deleted the ci/publish-viewer-smoke-rvt-elements branch November 9, 2026 04:59
@DrunkOnJava DrunkOnJava mentioned this pull request Nov 9, 2026
4 tasks done
DrunkOnJava added a commit that referenced this pull request Nov 9, 2026
## Summary

Release 0.16.1, the first published release of 0.16. The `v0.16.0` tag
(on 2bb0f3b) was never published. Its publish run,
[42559733687](https://github.com/DrunkOnJava/rvt-rs/actions/runs/42559733687),
stopped at the viewer load smoke test, which needed `rvt-elements` on
its PATH, before crates.io, PyPI, the release page or ghcr.io. A tag
cannot be moved, so #1569 fixed the workflow and 0.16.1 replaces 0.16.0.
Everything under `[0.16.0]` ships in 0.16.1, with:

- a door type's value block ending at the next native record, so the two
`rac_basic` 2027 doors write their Width and Height (#1568, #1489,
RE-373);
- a roof drawn as its record box cutting no wall's top (#1476, #1471,
RE-351);
- the sealed registry for the 1.0 check's fresh held-out pairs (#1566,
#1565);
- RE-364's addendum on Revit 2015 to 2020 angled walls (#1567, #1535);
- the publish workflow's fix and its dry run before a tag (#1569).

## Changes

- Version 0.16.0 -> 0.16.1 in:
  - Cargo.toml;
  - rvt-py/Cargo.toml and its `=` pin;
  - rvt-mcp/Cargo.toml and its `=` pin;
  - rvt-wasm/Cargo.toml;
  - tools/stream_evidence/Cargo.toml's pin;
  - viewer/package.json;
  - CITATION.cff (version and date);
  - Cargo.lock and fuzz/Cargo.lock.
- `python3 tools/release/changelog.py assemble`: 4 fragments go into
`[0.16.1]`, with an introduction saying why 0.16.0 was not published.
`[0.16.0]` gains one line saying the same. The introduction links
0.16.0's notes and "Upgrading from 0.15" at the `v0.16.1` tag, since the
release page carries this section alone. It says to read 0.16.1 where
those notes say 0.16.0: the IFC header, and the attestation's
`--source-ref refs/tags/v0.16.1`. It also says this section's entries
hold over the 0.16.0 notes on the 2027 doors and on what the release
adds to the measured commit.
- README: the latest release and the "after 0.16.1" fragments sentence.
- `publish.yml`: the viewer smoke's comment gives its longest run, 15.8
minutes (v0.16.0's tag run), in place of 14.7.
- 2daaa17 refreshes the Core Interior witness observations and
verdicts, and the synthetic fixtures, from CI run
[42565027784](https://github.com/DrunkOnJava/rvt-rs/actions/runs/42565027784)'s
artifacts at 772267d. Only `witness_version` (0.16.0 -> 0.16.1), the
two verdict hashes and the fixtures' version strings (in `FILE_NAME` and
`IFCAPPLICATION`) change. Replaying `tools/ci/witness-verdict.py` with
CI's arguments passes for both artifacts, and every witness's replay
matches.

## Testing

- `python3 tools/ci/release_preflight.py check --event workflow_dispatch
--ref-type branch --ref-name checkout --sha HEAD`: ok, version 0.16.1.
- `python3 tools/release/changelog.py check`: ok.
- The dry run RELEASE.md step 7 asks for, `publish.yml` dispatched on
this branch at 772267d:
[42564989175](https://github.com/DrunkOnJava/rvt-rs/actions/runs/42564989175),
success. The viewer artifact load smoke passed 54 tests and skipped 13,
with none failed. The wheels, sdist, docs.rs preview, CLI smoke and all
seven install-and-open jobs passed, and the four publish jobs skipped,
as a dispatch does. The later commits change only the notes, witness
files and fixtures. Of those, the workflow reads only CHANGELOG.md's `##
[0.16.1]` heading, which they leave as it was, and the preflight run at
2daaa17 is ok, version 0.16.1.

Unit tests: N/A.

## Audit-honesty checklist

- [x] The changelog says 0.16.0 was never published and why, and that
0.16.1 carries everything in it.
- [x] Each entry keeps its caveats.
- [x] No emojis, private paths or PII.

## Legal and contribution hygiene

- [x] Apache-2.0. No Autodesk source, internals or NDA material.

## Breaking changes

None beyond 0.16.0's ("Upgrading from 0.15", read with 0.16.1 for
0.16.0).
DrunkOnJava added a commit that referenced this pull request Nov 9, 2026
… was published, and the open work moves to 0.17.0 (#1582)

## Summary

v0.16.1 is the published release, and the docs say so. 0.16.0 was tagged
on 2026-11-08 and never published, because its publish run stopped at
the viewer smoke test (#1569); 0.16.1 is the first release of 0.16, with
its publish run
[42567794820](https://github.com/DrunkOnJava/rvt-rs/actions/runs/42567794820)
(attempt 2: attempt 1 stopped at the preflight on a 504 from GitHub's
release host, #1572). The pages that name the latest release and what
was checked from its published artifacts now name 0.16.1, and the open
work moves to the 0.17.0 milestone.

## Motivation

RELEASE.md's last steps: the post-release docs, the milestone and the
channel checks recorded from what was published, not from the release
PR. The pages that said the release page's wheels, sdist and checksums
were covered "from v0.16.0" also needed a correction, since no v0.16.0
page exists.

## Changes

- `docs/install.md`: the publication table and each channel's check for
0.16.1, dated 2026-11-09, with the run and the commit crates.io records;
the release page row (15 files, 13 in `SHA256SUMS`, attestations); the
viewer smoke counts; "From v0.16.1" where it said v0.16.0.
- `docs/status.md`: a v0.16.1 entry with the caveats of 0.16.0's notes
(what is held to a 2024 or 2025 save and not to a Revit export,
`area_plan_topology_unchecked`, the door and window origin) and what
changed since them (#1471, #1489, #1565); v0.15.0's entry no longer says
it is the latest.
- `ROADMAP.md`: the 0.16.1 entry, and the open work under 0.17.0.
- `docs/contribution-map.md`: the tables follow the milestones: 0.17.0
now lists its 42 open issues (19 rows added for the ones that were not
there, 3 rows taken out whose issues are closed), 1.0.0 gains #1444,
#1555 and #1565 and loses #1496 and #1507, which is under 0.17.0; the
existing descriptions are kept.
- `docs/release-1.0-criteria.md`: W1 names 0.16.1 and its date; the
0.17.0 milestone where it said 0.16.0.
- `docs/python.md`, `docs/supported-profile.md`,
`docs/release-checklist.md`: the latest release is 0.16.1.
- On GitHub, not in this diff: milestone 0.16.0 closed, its 42 open
issues moved to 0.17.0 (description fixed), the 1.0.0 milestone's
description names 0.17.0.

## Testing

Docs only. Every channel was checked on 2026-11-09 from what was
published, with `.claude/scripts/verify-release/verify.sh 0.16.1`
against Measure's export of the tag (run
[42571962248](https://github.com/DrunkOnJava/rvt-rs/actions/runs/42571962248),
`-f ref=v0.16.1`):

- crates.io: `rvt` 0.16.1 and `rvt-rs-mcp` 0.16.1 both record run
42567794820 and commit `cdb503be` (Trusted Publishing); the `rvt` README
names v0.16.1.
- docs.rs: `rvt` 0.16.1 built; `rvt-rs-mcp` (a binary crate) has no
documentation there, as at 0.15.0.
- The macOS arm64 archive matched `SHA256SUMS`, its attestation names
`release-binaries.yml@refs/tags/v0.16.1`, and it converted Core
Interior, Einhoven and RE1 Architecture into the same IFC as Measure's
export with diagnostics byte-identical; `rvt-rs-mcp` answers
`server/discover`.
- The PyPI wheel, installed in a clean environment, converted the same
three models into the same IFC with diagnostics equal as JSON.
- The container image (digest `sha256:c849673d...`, attestation
verified) ran on `linux/amd64` and `linux/arm64` and converted RE1
Architecture into the same IFC as the archive, checked line for line by
hand without `FILE_NAME` and `IFCOWNERHISTORY`.
- The release page: 15 files, `SHA256SUMS` agrees with GitHub's digest
of each of the 13 it lists and with PyPI's sha256, and `gh attestation
verify --source-ref refs/tags/v0.16.1` passed on `SHA256SUMS`, a wheel,
the sdist, an archive and the image.
- The deployed viewer reports `rvt-rs 0.16.1`.

Unit tests: N/A (docs only). CI's PII guard job runs the docs checks
(`tools/ci/measured_numbers.py` among them).

## Audit-honesty checklist

- [x] The pages say what was checked and what was not: `cargo install`
from crates.io itself was not run; `rvt-rs-mcp` has no docs.rs
documentation.
- [x] The status entry keeps the caveats of 0.16.0's notes and says what
is not scored against a Revit export.
- [x] No emojis, private paths or PII.

## Legal and contribution hygiene

- [x] Apache-2.0. No Autodesk source, internals or NDA material.

## Breaking changes

None.
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