Repository navigation
ci(viewer): install the locked wasm-bindgen as a prebuilt binary, so a crates.io outage cannot fail a WASM build - #1413
Merged
Merged
Conversation
…a crates.io outage cannot fail a WASM build
DrunkOnJava
marked this pull request as ready for review
November 5, 2026 02:46
3 tasks done
DrunkOnJava
added a commit
that referenced
this pull request
Nov 5, 2026
## Summary Release 0.15.0: - Where each decoded element was read from, down to the byte, on request: `rvt-ifc --element-provenance` (#1325), with the copy each body, profile and outline reader took its value from (#1360, #1368). - Why an element, body, opening or outline was left out, one entry per element, on request: `rvt-ifc --export-decisions` (#1326), and the MCP server's `explain_element`. - Where a Revit 2008 to 2023 project's element records stop, in every export's diagnostics (#1389, for #421). - Rooms take off the round columns their stored solid holds (#1354, RE-334). - Areas whose boundary lines name each other are drawn to their joins (#1261, RE-330). - Shape-edited floors drawn along their sloped top, and the walls on them cut at it (#1384, RE-336). - `rvt-ifc --family-extrusions`, opt-in, draws a family instance from its family's own extrusions, arcs as true arcs (#156, RE-327, #1366). - Partition streams in number order (#1356); the viewer's browser tests in `CI passed` (#1394). - Value sources for Areas and shaped floors (#1403), the shaped floors' slab quantities and the GLB layer colour kept (#1405), floor voids tagged as Revit tags them (#1402), Measure's scorer for the MCP server's answers (#1404), and the MCP server's element names and type objects taken from the IFC writer (#1406). ## Changes - Version 0.14.0 -> 0.15.0 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; - viewer/package.json; - CITATION.cff (version and date); - Cargo.lock and fuzz/Cargo.lock. - `python3 tools/release/changelog.py assemble`: 23 fragments go into `[0.15.0]`, with an introduction, a "Not measured" list, credits and "Upgrading from 0.14". The 21 from the first assembly come in first, then #1403's and #1405's after `main` was merged. #1405's fix is folded into #1384's entry, since the slab quantities it restores never left a release. - README: the latest release and the "Upgrading from" pointer. ## Testing - **Measure 41944962415.** It ran `main` at 77d71cb against v0.14.0 with timing, on the reference models, the samples, the held-out models and Revit 2025, with no families. - It found two losses from #1388 on the offices: 16 slab quantities went from equal to missing on each file, and 14 (16) walls lost their GLB layers. - #1405 restores both. Measure 41949652150 shows them back to v0.14.0's values, with 32 other models byte-identical. - The intro's timing figures come from this run. - **Final Measure 41965523134.** It ran this branch at 1e56972 (with #1402 to #1406, #1413 and #1414) against v0.14.0, with the reference models, Revit 2025, the samples, the held-out models and the families. - Every figure in the introduction comes from it. - Apart from the MCP scorer #1404 adds, every scorer output on every model is identical to run 41963115180 (5b1a371): the held-out counts only gain `mcp answers:` lines. #1406's writer refactor therefore moves no export, on the samples and held-out models too. - Since 1e56972 the branch adds only changelog text. - **Witness and fixtures.** The Core Interior witness observations and verdicts (both artifacts) and the two synthetic fixtures are taken from this PR's CI run 41954452074 on ce0b2d8. Only `witness_version`, the verdict hashes and the version strings changed. - **Release review.** A second read found these, all fixed on the branch: - a false "and the families" for the first run; - #1405's missing entry; - an offsets claim that overreached for the decisions log; - stale sentences in three entries; - missing caveats, credits and upgrade notes; - an MCP output schema that listed four optional fields as required. #1414 fixes that and lands first. ## Audit-honesty checklist - [x] The introduction keeps each entry's caveats, and adds a "Not measured" list: - the offsets unmeasured on Revit 2008 to 2022, and the decisions log's before 2024; - the values with no recorded source; - the in-sample Area join rule (#1261); - the refusal markers on Snowdon and `rac_advanced` with no IFC4 export to score them; - the family-extrusions release range. - [x] No emojis, private paths or internal jargon. ## Legal and contribution hygiene - [x] Apache-2.0; no Autodesk proprietary source, decompiled internals or NDA'd SDK content. ## Breaking changes None in the stable API: `ExportOptions`, `ExportNote`, `ExportDiagnostics`, `DecodedExportDiagnostics` and `ExportedModelDiagnostics` gain fields and variants, and all are `#[non_exhaustive]`; the provenance, decisions and stage types are new. `--family-extrusions` is new in this release (the `arcs` field #1366 removed never shipped). Behaviour changes are listed under "Upgrading from 0.14". The `rvt-rs-mcp` tool output changes, as #1406 states and "Upgrading from 0.14" lists: - an element's `name` can be absent, where it would be a room's `<class>-<ElementId>` placeholder; - `element_type` is absent where the IFC export writes no type object; - `element_type`'s `element_id` is the type object's `Tag`. The output schemas in `docs/mcp-tools.json` say so. ## Related issues Refs #1325, #1326, #1360, #1368, #1389, #421, #1354, #1261, #1384, #156, #1366, #1356, #1394, #1374, #1402, #1403, #1404, #1405, #1406, #1413, #1414.
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
Main went red on 07caf05 (#1405's merge): CI run 41954251714, "viewer tests / browser tests 3/3", and Deploy viewer run 41954251781. Nothing in the code failed. At build time
wasm-pack buildfetches the wasm-bindgen CLI that Cargo.lock pins (0.2.118), first from GitHub and then withcargo install wasm-bindgen-cli. The runner could not resolve hostnames for about 40 s, so both failed ("Could not resolve host: index.crates.io", job 127008193132). The failed jobs were rerun.This removes that dependency in the three workflows that run
wasm-pack:viewer-test.yml,deploy-viewer.ymlandpublish.yml.wasm-bindgenversion from Cargo.lock, so the version cannot drift from the lockfile when Dependabot bumps it. The step fails if the version cannot be read.taiki-e/install-action, the same pinned action that installs wasm-pack, also installswasm-bindgen@<that version>as a prebuilt binary on PATH. wasm-pack uses a wasm-bindgen it finds on PATH when the version matches, so it no longer runscargo install.Testing
$/self-repository syntax. Each step's indentation and keys follow its neighbours.installing [email protected]andwasm-bindgen installed at /home/runner/.cargo/bin/wasm-bindgen. The WASM build step has noInstalling wasm-bindgenline, which wasm-pack 0.14.0 prints only after its PATH lookup and version check fail. So wasm-pack used the prebuilt binary and fetched nothing.retry()in itsmain.sh: 11 attempts, sleeping 1 to 10 s between them, about a minute in all). That outlasts the 40 s DNS outage that broke main. Deploy viewer and publish use the same steps.N.N.N, or the step fails with an error that names what it read.Audit-honesty checklist
Legal and contribution hygiene
Breaking changes
None.
Related issues
Refs #1394.