Add audit plan for Ref property fixes and enhance CI test execution

- Introduced a new audit plan detailing fixes for four issues identified in the second audit of two-way sync Ref properties, including stale comments, slugified name mismatches, immediate ID assignments, and performance optimizations.
- Updated CI scripts to run Rust tests with increased parallelism by specifying `--test-threads=16`, improving test execution efficiency.
- Enhanced error handling in `update_ref_paths_in_file` to provide clearer context on failures during file reading and JSON parsing.

These changes improve the documentation for Ref property audits and optimize the CI testing process.
This commit is contained in:
Joe 2026-02-14 13:52:59 -06:00
parent faa12dc573
commit 075cca4c96
4 changed files with 321 additions and 14 deletions

View file

@ -68,7 +68,7 @@ $build = $LASTEXITCODE
Record-Result "Build" $build
Write-Step 8 "Run ALL Rust Tests"
$testOutput = cargo test --locked --all-targets --all-features 2>&1
$testOutput = cargo test --locked --all-targets --all-features -- --test-threads=16 2>&1
$rustTests = $LASTEXITCODE
$testOutput | Write-Host
Record-Result "Rust Tests" $rustTests
@ -125,9 +125,9 @@ if ($RbxDom) {
Write-Step 15 "Run ALL rbx-dom Rust Tests"
Push-Location rbx-dom
cargo test --verbose
cargo test --verbose -- --test-threads=16
$testsRbxDom = $LASTEXITCODE
cargo test --all-features --verbose
cargo test --all-features --verbose -- --test-threads=16
$testsRbxDomAll = $LASTEXITCODE
Pop-Location
Record-Result "Tests (rbx-dom)" $testsRbxDom

View file

@ -67,7 +67,7 @@ build_exit=$?
record "Build" $build_exit
step 8 "Run ALL Rust Tests"
cargo test --locked --all-targets --all-features 2>&1
cargo test --locked --all-targets --all-features -- --test-threads=16 2>&1
rust_tests=$?
record "Rust Tests" $rust_tests
@ -116,9 +116,9 @@ if [ "$RBX_DOM" = true ]; then
record "Build (rbx-dom all-features)" $build_rbxdom_all
step 15 "Run ALL rbx-dom Rust Tests"
(cd rbx-dom && cargo test --verbose)
(cd rbx-dom && cargo test --verbose -- --test-threads=16)
tests_rbxdom=$?
(cd rbx-dom && cargo test --all-features --verbose)
(cd rbx-dom && cargo test --all-features --verbose -- --test-threads=16)
tests_rbxdom_all=$?
record "Tests (rbx-dom)" $tests_rbxdom
record "Tests (rbx-dom all-features)" $tests_rbxdom_all