Repository navigation
deps(deps): bump actions/setup-python from 5 to 6 - #4
Merged
DrunkOnJava merged 1 commit intoAug 29, 2026
Merged
Conversation
Contributor
Author
LabelsThe following labels could not be found: Please fix the above issues or remove invalid values from |
dependabot
Bot
force-pushed
the
dependabot/github_actions/actions/setup-python-6
branch
from
April 20, 2026 15:15
87ece63 to
9a7bff2
Compare
dependabot
Bot
force-pushed
the
dependabot/github_actions/actions/setup-python-6
branch
18 times, most recently
from
April 25, 2026 12:14
8cf2594 to
3f2a388
Compare
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v5...v6) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
dependabot
Bot
force-pushed
the
dependabot/github_actions/actions/setup-python-6
branch
from
April 25, 2026 12:36
3f2a388 to
861bff1
Compare
DrunkOnJava
deleted the
dependabot/github_actions/actions/setup-python-6
branch
August 29, 2026 08:43
2 of 3 tasks
DrunkOnJava
added a commit
that referenced
this pull request
Aug 29, 2026
## Summary Lane Eleven Dependabot triage: - Document merge/close/leave-open decisions for all 15 open Dependabot PRs in `docs/dependabot-triage-2026-08-29.md`. - Raise viewer `vite` package.json range to `^8.2.2` to match the secure lockfile already on `main` (8.2.2). Dependabot #111 (8.1.5) conflicted and is closed as superseded — 8.2.2 is newer than that target. ### Already merged via Dependabot (this session) - #104 playwright, #69 setup-node, #6 upload-artifact, #4 setup-python, #3 rust-cache, #2 download-artifact ### Closed as obsolete/superseded - #102 / #76 pyo3 (main already on 0.29), #72 quick-xml (main on 0.41), #111 vite (superseded; main lock already 8.2.2) ### Left open for dedicated migrations - #109 TypeScript 7, #108 three.js 0.185, #74 thiserror 2, #71 criterion 0.7, #70 cfb 0.14 ## Test plan - [x] `cd viewer && npm run typecheck` - [x] `cd viewer && npm audit --audit-level=high` → 0 vulnerabilities - [ ] CI on this PR --------- Co-authored-by: Cursor Agent <[email protected]> Co-authored-by: DrunkOnJava <[email protected]>
DrunkOnJava
added a commit
that referenced
this pull request
Aug 31, 2026
## Summary Lane Eleven Dependabot triage: - Document merge/close/leave-open decisions for all 15 open Dependabot PRs in `docs/dependabot-triage-2026-08-29.md`. - Raise viewer `vite` package.json range to `^8.2.2` to match the secure lockfile already on `main` (8.2.2). Dependabot #111 (8.1.5) conflicted and is closed as superseded — 8.2.2 is newer than that target. ### Already merged via Dependabot (this session) - #104 playwright, #69 setup-node, #6 upload-artifact, #4 setup-python, #3 rust-cache, #2 download-artifact ### Closed as obsolete/superseded - #102 / #76 pyo3 (main already on 0.29), #72 quick-xml (main on 0.41), #111 vite (superseded; main lock already 8.2.2) ### Left open for dedicated migrations - #109 TypeScript 7, #108 three.js 0.185, #74 thiserror 2, #71 criterion 0.7, #70 cfb 0.14 ## Test plan - [x] `cd viewer && npm run typecheck` - [x] `cd viewer && npm audit --audit-level=high` → 0 vulnerabilities - [ ] CI on this PR --------- Co-authored-by: Cursor Agent <[email protected]> Co-authored-by: DrunkOnJava <[email protected]>
DrunkOnJava
added a commit
that referenced
this pull request
Sep 19, 2026
… dozen times (#266) ## Summary The weekly Performance Budgets workflow fails the `medium` category on `2024_Core_Interior.rvt`. The cost is not the geometry the August element-record work added — it is that work re-inflating the same partition bytes more than twenty times per export. This memoises the inflate on the `RevitFile` handle and fixes the two per-byte scans that dominated what was left. IFC output is byte-identical. Measured against `main` at `8425a3f` (i.e. **after** #267, #268 and #269), `ifc_export` goes **17.88 s to 1.45 s** and peak RSS **2642.0 MiB to 516.2 MiB**, and every `medium` budget passes. ## Motivation Every partition consumer opened the CFB stream, inflated all its gzip members and concatenated them for itself: - `partition_element_records::scan_category_records_multi` — once per `BuiltInCategory`: columns (RE-26), walls (#211), doors and windows (RE-23), and floors / building pads / sketch lines (RE-22, RE-25) - `partition_arc_walls::scan_partition_arc_walls_with_limits` - `partition_schema_mvp::floors_from_partition_plan_loops` and `rect_openings_from_partitions` - `partition_level_records::scan_partition_levels` (RE-24) and `scan_partition_level_ids` (RE-27, #267) - `partition_ifc_export_overrides::scan_ifc_export_overrides` - `partition_scanner::scan_partitions_with_control` - `object_graph::string_records_from_partitions`, asked for separately by unit recovery, storey names and the partition MVP `RvtDocExporter::export_with_diagnostics` then walks the document a second time to build diagnostics, doubling all of it. On this file the eight `Partitions/*` streams inflate to 178.9 MiB, so that is well over 3 GiB of redundant inflate per export — plus a byte-at-a-time `chunks.into_iter().flatten().collect()` per pass, which profiled higher than the inflate itself. Hotspot shares from a `samply` profile of `rvt-ifc --mode geometry` on the pre-change tree (inclusive, 14,467 samples): | region | share | what it was | | --- | --- | --- | | inflate + per-pass concat | 33 % + 24 % | `inflate_all_chunks_for_stream` and the `flatten().collect()` join, repeated per consumer | | `object_graph::extract_string_records` | 34 % (26 % in encoding_rs) | UTF-16 decode of the whole `Partitions/NN`, run once per consumer | | `find_category_records` | 3.6 % before, 21 % once inflate was cached | hand-rolled substring search, once per category over every partition byte | ## Changes - `src/compression.rs` — new `InflatedStream`: all gzip members of one stream inflated and concatenated once, with each member's end offset. That is exactly the two shapes the callers were rebuilding (plain concatenation; concatenation plus `chunk_ends` for the scanner), and it reserves the exact total instead of growing through `Flatten`. - `src/reader.rs` — `RevitFile::inflated_partition` memoises it per stream path, `RevitFile::partition_stream_names` replaces six copies of the same filter, and `RevitFile::partition_string_records` memoises the `Partitions/NN` string extraction. `RevitFile` never writes a stream, so one inflate is valid for the life of the handle. - `src/partition_element_records.rs`, `src/partition_arc_walls.rs`, `src/partition_level_records.rs`, `src/partition_ifc_export_overrides.rs`, `src/partition_scanner.rs`, `src/partition_schema_mvp.rs` — read through the cache instead of re-inflating. - `src/object_graph.rs` — `extract_string_records` screens candidates on the raw code units before decoding. The strict test it applies (every char graphic, space, tab or newline) is decidable on the bytes: only ASCII encodes as `[byte, 0x00]` in UTF-16LE, and every other sequence — non-ASCII, an astral pair, a lone surrogate that decodes to U+FFFD — yields a char outside that set. Previously it decoded and heap-allocated at every offset whose length field happened to land in `1..=400`, which binary data does at a large fraction of offsets, then threw nearly all of them away. - `src/partition_element_records.rs` — `find_subslice` now calls `memchr::memmem::find`, the vectorised form of the first-byte-then-compare loop it spelled out by hand. The category sweep runs it over ~180 MiB per category. - `src/ifc/mod.rs` — `recover_project_units` and `collect_partition_building_storey_names` take the shared string records. - `Cargo.toml` — adds `memchr = "2"`. **This adds no crate to the build graph**: `cargo tree -p rvt -e normal -i memchr` shows memchr 2.8.0 is already a normal (non-dev) transitive dependency through both quick-xml and serde_json. `cargo deny check` passes (advisories ok, bans ok, licenses ok, sources ok). ### Second commit: the RE-27 sweep #267 landed while this was in review and added `scan_partition_level_ids`, a new sweep over every `Partitions/*` stream — the ~2 s its author measured on Core Interior. The follow-up commit here routes it through `RevitFile::inflated_partition` like every other partition consumer, so it costs a scan rather than a decompress. With that, no partition sweep in `src/` re-inflates: ``` $ grep -rn "inflate_all_chunks_for_stream\|read_stream(&stream)\|read_stream(&partition)" src/ | grep -v "^src/compression.rs" (no matches) ``` No behaviour flags, no new public semantics, no geometry changes. ## Testing All numbers below were re-taken against `main` at `8425a3f`, after merging it into this branch. - [x] `cargo test --all` passes locally — `tools/check-local.sh` (fmt, clippy `-D warnings`, rustdoc `-D warnings`, `cargo test --workspace --all-targets --all-features`) exits 0. With `RVT_PROJECT_CORPUS_DIR` set to the magnetar Revit tree: **1252 passed, 0 failed**, including #267's new `core_interior_2024_storey_containment_is_evidence_backed` corpus gate. - [x] `cargo clippy --all-targets --all-features -- -D warnings` passes - [x] `cargo fmt --check` passes - [x] New / changed code has unit tests — no new behaviour to test; the change is covered by the existing suite plus the byte-identity evidence below. `tests/project_count_fixtures.rs` and `tests/witness_registry.rs` pass against the real reference exports (`IFC Exports/2024_Core_Interior_slim.ifc` sha256 `bfdf36ff…` and `Revit/2024_Core_Interior.ifc` sha256 `d07c7462…`, both matching the manifests), so every scored count — 15 storeys, 360 walls, 80 slabs, 132 doors, 6 windows, 256 columns, 20 shading devices, 138 `IFCRELFILLSELEMENT` pairs — is reproduced. - [x] IFC exporter byte-identity — see below. - [ ] `tools/bench.sh` — **not run**: it needs the phi-ag `rac*.rfa` sample family, which is not in this checkout. `tools/perf_budget.py` was used instead, which is the harness the failing workflow actually runs. ### Byte-identical output `rvt-ifc --mode geometry`, a binary built from `main` at `8425a3f` versus this branch, same input: | file | main `8425a3f` | this branch | | | --- | --- | --- | --- | | `2024_Core_Interior.rvt` | 1,633,625 bytes | 1,633,625 bytes | identical | | `Revit_IFC5_Einhoven.rvt` | 44,701 bytes | 44,701 bytes | identical | `diff` of the two STEP files with the `FILE_NAME` timestamp line stripped reports exactly one remaining line, the other wall-clock field the writer stamps: ``` 12c12 < #5=IFCOWNERHISTORY(#3,#4,$,.ADDED.,$,#3,#4,1789844650); --- > #5=IFCOWNERHISTORY(#3,#4,$,.ADDED.,$,#3,#4,1789844652); ``` Normalising both clock fields (drop `FILE_NAME(`, replace the `IFCOWNERHISTORY` epoch), the two sides hash the same: ``` 2024_Core_Interior main/branch sha256 4d1382e93b012761c7b1d7810760b0a0f4b9dabdbed0a9b336e407e0b738d489 Revit_IFC5_Einhoven main/branch sha256 f6c32f237338b1236757b2849148d421e7672ee5b569fc4f15545c80af640382 ``` Note these hashes differ from the pre-#267 ones — that is #267's intended storey-binding change, which this branch reproduces exactly. There is no deterministic-timestamp switch (no `SOURCE_DATE_EPOCH` support in `ifc::step_writer`), so the two clock fields cannot be pinned without a behaviour change; adding one is out of scope here. ### Performance `tools/perf_budget.py --require-category medium`, release profile, `RVT_PROJECT_CORPUS_DIR` on the magnetar Revit tree. Both columns measured on the same machine (Apple Silicon, macOS) minutes apart, baseline from a clean `main` tree at `8425a3f`: | operation | main `8425a3f` | this branch | budget | | --- | --- | --- | --- | | `open` | 14.86 ms / 34.6 MiB | 13.13 ms / 34.6 MiB | 1500 ms / 512 MiB | | `summarize` | 18.12 ms / 36.0 MiB | 18.64 ms / 36.0 MiB | 5000 ms / 768 MiB | | `schema_parse` | 14.61 ms / 35.8 MiB | 13.75 ms / 35.7 MiB | 1500 ms / 768 MiB | | `element_decode` | **6116 ms / 1858.0 MiB** | 919 ms / 478.5 MiB | 12000 ms / 1024 MiB | | `ifc_export` | **17880 ms / 2642.0 MiB** | 1454 ms / 516.2 MiB | 15000 ms / 1024 MiB | | `viewer_parse_render` | **18014 ms / 2642.6 MiB** | 1469 ms / 498.8 MiB | 18000 ms / 1024 MiB | On this machine `main` fails all three heavy rows — `ifc_export` and `viewer_parse_render` on time, all three on peak RSS. After, every row passes with an order of magnitude of headroom. `rvt-ifc --mode geometry` on `2024_Core_Interior.rvt` under `/usr/bin/time -l`, best of three: | | wall | peak RSS | | --- | --- | --- | | main `8425a3f` | 26.07 s | 2641.4 MiB | | this branch | **1.69 s** | **490.1 MiB** | `Revit_IFC5_Einhoven.rvt` control: 0.44 s / 25.1 MiB on main, 0.12 s / 20.7 MiB on this branch. For reference, the same comparison taken before #267 landed (main at `730699c`): `ifc_export` 17352 ms to 1366 ms, `element_decode` 5682 ms to 866 ms. #267 added roughly 0.5-0.9 s of `ifc_export` on the unoptimised side and none on this one, because its new sweep now reads an already-inflated buffer. **No budget change is proposed and none is needed.** Extrapolating to the GitHub runner from the ratio the workflow reported on the pre-#267 tree — CI `element_decode` 8.5 s against 5.62 s here, CI `ifc_export` 24.5 s against 17.25 s here, so roughly 1.4–1.5× — these numbers project to about 1.3 s for `element_decode`, 2.1 s for `ifc_export` and 2.1 s for `viewer_parse_render`, against budgets of 12 s, 15 s and 18 s. Worth noting that on this machine #267 pushed `viewer_parse_render` past its 18 s budget too (18014 ms against 18000 ms), so the `medium` category was getting worse, not stable. One honest caveat on the memory column: the workflow reported ~480–510 MB peak RSS for the failing baseline, where this macOS machine measures ~2640 MiB for the same baseline binary. That is an allocator difference, not a measurement error — glibc returns freed pages to the OS where macOS libmalloc retains them, and the baseline's repeated 180 MiB transient allocations are exactly the pattern that exposes it. The direction of the change is the same on both platforms: one retained copy of the inflated partitions replaces many transient ones, and peak RSS should fall on Linux too. ## Audit-honesty checklist - [x] README / docs reflect the current state after this PR — no doc claims change; this is a pure performance change with identical output - [x] If a limitation was resolved, the relevant docs are updated — N/A, no limitation resolved - [x] If a new limitation was introduced, it is documented — one tradeoff, documented in-code on `RevitFile::inflated` and `InflatedStream`: the inflated `Partitions/*` bytes (178.9 MiB on this file) now stay resident for the life of the handle rather than being rebuilt per consumer. Measured peak RSS falls sharply anyway, because the transient copies it replaces cost more than the one it keeps. - [x] Commit messages describe WHAT changed and WHY - [x] No emojis in code, docs, or commit messages - [x] No private paths, personal email addresses, or internal jargon in committed files - [x] If this is a reverse-engineering finding: N/A, no new finding — no decoder, offset or record shape changes ## Legal and contribution hygiene - [x] I agree this work is licensable under Apache-2.0 - [x] No Autodesk proprietary source, decompiled internals, or NDA'd SDK content - [x] No new test fixtures ## Breaking changes None. Three additions to `RevitFile`'s public surface (`inflated_partition`, `partition_stream_names`, `partition_string_records`) and one new public type (`compression::InflatedStream`); `object_graph::string_records_from_partitions` keeps its signature and now returns a clone of the shared result. ## Screenshots or output samples IFC output is byte-identical to `main` at `8425a3f` — see the diff and hashes above. ## Related issues Refs the `Performance Budgets` workflow `medium` category failure. Builds on #267 (RE-27), whose new partition sweep the second commit routes through the same cache. No issue number was given for the budget failure.
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.
Bumps actions/setup-python from 5 to 6.
Release notes
Sourced from actions/setup-python's releases.
... (truncated)
Commits
a309ff8Bump urllib3 from 2.6.0 to 2.6.3 in /tests/data (#1264)bfe8cc5Upgrade@actionsdependencies to Node 24 compatible versions (#1259)4f41a90Bump urllib3 from 2.5.0 to 2.6.0 in /tests/data (#1253)83679a8Bump@types/nodefrom 24.1.0 to 24.9.1 and update macos-13 to macos-15-intel ...bfc4944Bump prettier from 3.5.3 to 3.6.2 (#1234)97aeb3eBump requests from 2.32.2 to 2.32.4 in /tests/data (#1130)443da59Bump actions/publish-action from 0.3.0 to 0.4.0 & Documentation update for pi...cfd55cagraalpy: add graalpy early-access and windows builds (#880)bba65e5Bump typescript from 5.4.2 to 5.9.3 and update docs/advanced-usage.md (#1094)18566f8Improve wording and "fix example" (remove 3.13) on testing against pre-releas...