You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
--redact leaves the user name in /home/<name>/ paths: redact_path_str scrubs only \Users\ and /Users/ #1871
rvt::redact::redact_path_str (src/redact.rs, which every --redact goes through) scrubs the user name from \Users\<name>\ and /Users/<name>/ and nothing else:
for n in["\\Users\\","/Users/"]{
A Linux home folder, /home/<name>/..., passes through unchanged. A file a Linux user opens, the folder a Revit file was last saved from on a Linux share, or an error that names either one therefore keeps the user name in the output of a CLI run with --redact. CI's PII guard (.github/workflows/ci.yml) already treats /home/<name>/ as a home path in committed files, so the two lists disagree.
Found while reading #1852: rvt-diff --elements --redact runs its text through this function.
Done when
/home/<name>/ is scrubbed the way /Users/<name>/ is, in the doc example and in the function.
The callers' committed redacted output is checked for a change (a path under /home/ in it would now differ).
/home/ with no user segment after it (a bare /home/ or /home/x with nothing following) is left as it is, as /Users/ is today.
Rows for PR #1873's Measure run, registered before it is dispatched. The change touches text that only a --redact run writes and nothing an export writes, so the run should show nothing moved:
Every ifc.sha256 the run records equals main's (9bb58fe1).
Every diagnostics.json equals main's.
Every scorer output the run compares is equal (compare-scorer-diff lists no change).
same-project gates passes on the head commit.
A row that does not hold stops the PR until the cause is read.
The four rows, read: all hold. Run 43368277871 (unfiltered: the samples of every year, the BIM4LCA models, puzzbobb's Revit 2025 models, rac_advanced's pairs, BIMcollab's model, the families and the held-out models) on 9a7ce531, against main at 9bb58fe1, the release commit.
Exports: holds.ifc.sha256 is identical on 146 of 146.
Diagnostics: holds.diagnostics.json is identical on 121 of 121.
Scorers: holds. Nothing differs beyond what only the head writes (the probe's output and the across-saves areas).
Gates: hold.same-project gates pass on 9a7ce531. The run's semantic check passes too (42 models, 57,056 elements, advisory).
So the change reaches no export: it is the text a --redact run scrubs, which the run does not exercise, and the failure-first tests of the helper in CI do. PR #1873 carries it.
Rows for the run at 7e825868, registered before it is dispatched. The head now also scrubs a name no separator follows (rvtDevelop's review of #1873), and that logic is src/, so the gates need a verdict on it. No export reads the helper (git grep finds redact_sensitive and redact_path_str only in the CLIs' --redact paths and in MetadataSummary::redact), so the run, with no base side, is read against the one before it:
Gates: hold.same-project gates pass on 7e825868.
Exports and diagnostics: hold. Every ifc.sha256 and diagnostics.json of the models this run exports equals the file of the same model in run 43368277871, which equalled main's on all 146 and 121.
A row that does not hold stops the PR until its cause is read.
The gates run at 7e825868 failed for a reason that is not this change, so it stands as a fail until a newer pass replaces it. Run 43374029664 scored a head cut before #1850 with main's bodies_across_saves.py as it is since #1850, which holds each further piece of a Tag to its own GlobalId; the six rme saves of 2025 to 2027 each show 25 differences, all IfcSlab pieces' GlobalIds, the very pieces #1850 fixes and this head lacked. main is merged into the branch now (72c1d95d, no conflict; its diff against main is src/redact.rs, src/research/partition_column_nodes.rs and the changelog fragment).
Row for the new run, registered before it is dispatched: same-project gates pass on 72c1d95d. The exports are not re-read: run 43368277871 held 146 of 146 and 121 of 121 diagnostics equal to main's with redact.rs as it then was, and nothing in src/ifc calls the helper.
Activity
DrunkOnJava commentedon Nov 13, 2026
Rows for PR #1873's Measure run, registered before it is dispatched. The change touches text that only a
--redactrun writes and nothing an export writes, so the run should show nothing moved:ifc.sha256the run records equalsmain's (9bb58fe1).diagnostics.jsonequalsmain's.compare-scorer-difflists no change).same-project gatespasses on the head commit.A row that does not hold stops the PR until the cause is read.
DrunkOnJava commentedon Nov 13, 2026
The four rows, read: all hold. Run 43368277871 (unfiltered: the samples of every year, the BIM4LCA models, puzzbobb's Revit 2025 models,
rac_advanced's pairs, BIMcollab's model, the families and the held-out models) on9a7ce531, againstmainat9bb58fe1, the release commit.ifc.sha256is identical on 146 of 146.diagnostics.jsonis identical on 121 of 121.same-project gatespass on9a7ce531. The run's semantic check passes too (42 models, 57,056 elements, advisory).So the change reaches no export: it is the text a
--redactrun scrubs, which the run does not exercise, and the failure-first tests of the helper in CI do. PR #1873 carries it.fix(redact): a user name no path separator follows is scrubbed too, u…
DrunkOnJava commentedon Nov 13, 2026
Rows for the run at
7e825868, registered before it is dispatched. The head now also scrubs a name no separator follows (rvtDevelop's review of #1873), and that logic issrc/, so the gates need a verdict on it. No export reads the helper (git grepfindsredact_sensitiveandredact_path_stronly in the CLIs'--redactpaths and inMetadataSummary::redact), so the run, with no base side, is read against the one before it:same-project gatespass on7e825868.ifc.sha256anddiagnostics.jsonof the models this run exports equals the file of the same model in run 43368277871, which equalledmain's on all 146 and 121.A row that does not hold stops the PR until its cause is read.
merge: main at the landing of #1875 into the branch of #1871
DrunkOnJava commentedon Nov 13, 2026
The gates run at
7e825868failed for a reason that is not this change, so it stands as a fail until a newer pass replaces it. Run 43374029664 scored a head cut before #1850 withmain'sbodies_across_saves.pyas it is since #1850, which holds each further piece of a Tag to its own GlobalId; the sixrmesaves of 2025 to 2027 each show 25 differences, allIfcSlabpieces' GlobalIds, the very pieces #1850 fixes and this head lacked.mainis merged into the branch now (72c1d95d, no conflict; its diff againstmainissrc/redact.rs,src/research/partition_column_nodes.rsand the changelog fragment).Row for the new run, registered before it is dispatched:
same-project gatespass on72c1d95d. The exports are not re-read: run 43368277871 held 146 of 146 and 121 of 121 diagnostics equal tomain's withredact.rsas it then was, and nothing insrc/ifccalls the helper.chore(release): prepare v0.21.0 (#1888)
fix(redact): redact_path_str scrubs the user name of /home/<name>/ an…