Change 32756

tom_tyler (C. Thomas Tyler)
C. Thomas Tyler committed this change into //guest/tom_tyler/sw/main/tem
Request Review
Download .zip
Add test/ directory: setup and run scripts for trim_excess_metadata testing

Captures the full Lab 0 -> trim-ready setup procedure as runnable scripts,
making it easy for a future agent or human to reproduce the test environment
from scratch.

Files added:
- test/README.md   — full documentation: Battle School dependency, lab topology,
                     what the test simulates (filtered-replication divestiture),
                     lazy-copy leakage explanation, expected outcomes, gotchas
- test/setup_lab.sh  — orchestration script (runs on bos-01); adds gf site tag,
                       runs mkrep.sh, adds RevisionDataFilter/ArchiveDataFilter,
                       fixes service user password, rotates journal, creates
                       filtered seed checkpoint, initialises nyc-03 as FFR
                       replica, pulls archives via p4verify, promotes to
                       standalone commit server, creates .p4config.gf /
                       keep_users / keep_groups files
- test/run_trim_test.sh — runs trim in 3 passes (dry, live, snap); prints
                          journal patch apply commands and cleanup instructions

Also updated:
- ai/session_log_2026-06-16.md — added p4 snap / deep-rename context section

Co-authored-by: Copilot <[email protected]>
  • Files 4
  • Comments 0
1 edited 3 added 0 deleted
ai/session_log_2026-06-16.md#4
Loading...
test/README.md#1
Loading...
test/run_trim_test.sh#1
Loading...
test/setup_lab.sh#1
Loading...
Tip: Use n and p to cycle through the changes.