Enhance redaction handling and update snapshot references

- Added support for redacting tagged values in the `RedactionMap` implementation, ensuring that nested tagged values are processed correctly.
- Updated multiple snapshot files to replace specific reference IDs with deterministic `id-N` values, improving consistency across tests and snapshots.
- Refactored internment logic in `internable.rs` to include variant references, ensuring proper redaction of property values in snapshots.
This commit is contained in:
Joe 2026-02-06 19:20:16 -06:00
parent 2978dee70d
commit 5442c02f67
11 changed files with 53 additions and 33 deletions

View file

@ -38,7 +38,7 @@ instances:
Attributes:
"!Attributes": {}
Value:
"!Ref": 9893f640faccb9150197026b0ca91712
"!Ref": id-5
id-5:
Children: []
ClassName: MeshPart

View file

@ -15,7 +15,7 @@ instances:
Attributes:
"!Attributes": {}
Value:
"!Ref": a014b12bf90014847f564374c73a5f38
"!Ref": id-9
id-11:
Children: []
ClassName: Model
@ -30,7 +30,7 @@ instances:
NeedsPivotMigration:
"!Bool": false
PrimaryPart:
"!Ref": a014b12bf90014847f564374c73a5f38
"!Ref": id-9
id-2:
Children:
- id-3
@ -68,7 +68,7 @@ instances:
Attributes:
"!Attributes": {}
Value:
"!Ref": 4d3455270f6618409e7d40dbcad9e25b
"!Ref": id-5
id-5:
Children:
- id-6
@ -91,7 +91,7 @@ instances:
Attributes:
"!Attributes": {}
Value:
"!Ref": 4d3455270f6618409e7d40dbcad9e25b
"!Ref": id-5
id-7:
Children:
- id-8
@ -119,7 +119,7 @@ instances:
NeedsPivotMigration:
"!Bool": false
PrimaryPart:
"!Ref": 4536e7ddde75409951458987be6ccfb5
"!Ref": id-7
id-9:
Children:
- id-10

View file

@ -15,7 +15,7 @@ instances:
Attributes:
"!Attributes": {}
Value:
"!Ref": a014b12bf90014847f564374c73a5f38
"!Ref": id-9
id-2:
Children:
- id-3
@ -53,7 +53,7 @@ instances:
Attributes:
"!Attributes": {}
Value:
"!Ref": 4d3455270f6618409e7d40dbcad9e25b
"!Ref": id-5
id-5:
Children:
- id-6
@ -76,7 +76,7 @@ instances:
Attributes:
"!Attributes": {}
Value:
"!Ref": 4d3455270f6618409e7d40dbcad9e25b
"!Ref": id-5
id-7:
Children:
- id-8
@ -101,7 +101,7 @@ instances:
NeedsPivotMigration:
"!Bool": false
PrimaryPart:
"!Ref": 4536e7ddde75409951458987be6ccfb5
"!Ref": id-7
id-9:
Children:
- id-10

View file

@ -15,7 +15,7 @@ instances:
Attributes:
"!Attributes": {}
Value:
"!Ref": a2c2197b7d6e19e64b8991926744f3a6
"!Ref": id-9
id-2:
Children:
- id-3
@ -53,7 +53,7 @@ instances:
Attributes:
"!Attributes": {}
Value:
"!Ref": 75d2ce9353a6c62f29130f18c35c89ce
"!Ref": id-5
id-5:
Children:
- id-6
@ -76,7 +76,7 @@ instances:
Attributes:
"!Attributes": {}
Value:
"!Ref": 75d2ce9353a6c62f29130f18c35c89ce
"!Ref": id-5
id-7:
Children:
- id-8
@ -101,7 +101,7 @@ instances:
NeedsPivotMigration:
"!Bool": false
PrimaryPart:
"!Ref": 103b2053eb8c4ea0a65500d5c20bd84f
"!Ref": id-7
Scale:
"!Float32": 1
id-9:

View file

@ -15,7 +15,7 @@ instances:
Attributes:
"!Attributes": {}
Value:
"!Ref": a2c2197b7d6e19e64b8991926744f3a6
"!Ref": id-9
id-2:
Children:
- id-3
@ -53,7 +53,7 @@ instances:
Attributes:
"!Attributes": {}
Value:
"!Ref": 75d2ce9353a6c62f29130f18c35c89ce
"!Ref": id-5
id-5:
Children:
- id-6
@ -76,7 +76,7 @@ instances:
Attributes:
"!Attributes": {}
Value:
"!Ref": 75d2ce9353a6c62f29130f18c35c89ce
"!Ref": id-5
id-7:
Children:
- id-8
@ -101,7 +101,7 @@ instances:
NeedsPivotMigration:
"!Bool": false
PrimaryPart:
"!Ref": 103b2053eb8c4ea0a65500d5c20bd84f
"!Ref": id-7
id-9:
Children:
- id-10

View file

@ -25,6 +25,6 @@ instances:
Attributes:
"!Attributes": {}
Value:
"!Ref": ca113df936e8659c00936176b40b02ae
"!Ref": id-4
messageCursor: 1
sessionId: id-1

View file

@ -26,7 +26,7 @@ instances:
Attributes:
"!Attributes": {}
Value:
"!Ref": ca113df936e8659c00936176b40b02ae
"!Ref": id-4
id-4:
Children: []
ClassName: ObjectValue

View file

@ -20,7 +20,7 @@ body:
NeedsPivotMigration:
"!Bool": false
PrimaryPart:
"!Ref": a014b12bf90014847f564374c73a5f38
"!Ref": id-9
removed: []
updated:
- changedClassName: ~