Commit b30c433
committed
fix(release): Phase 3.1 F-C2 — purge lookups/ test artifacts from .spl payload
Pre-public audit follow-up. User raised during public-flip readiness
review: "lookups/ has many test csv files — are they going public?"
Targeted recheck found significant pollution that the initial
Phase 3.1 sweep missed.
Why this matters more than ordinary repo cruft: files under `lookups/`
are packaged into the .spl and installed onto every customer's Splunk
instance. Names like `DR_BROWSER_TEST.csv`, `DR_E2E_ADMIN.csv`,
`DR_STRESS_2000x100.csv` would have shown up as live whitelist
dropdown options in the customer's UI. That's not "weird artifacts in
source"; that's user-facing product pollution.
Changes:
Deleted (11 tracked test CSVs at lookups/ root):
DR_TEST_2.csv, DR_TEST_3.csv, DR_E2E_ADMIN.csv,
DR_BROWSER_TEST.csv, DR_VERSION_TEST.csv, DR_TRASH_TEST.csv,
DR_APPROVAL_TEST_1_v2.csv, DR_LONG_NOTIFICATION_TEST_2.csv,
DR_STRESS_2000x100.csv, AL_test_1775974555656.csv,
AL_super_1775974555731.csv
Deleted (lookups/_trash/ entire subtree, 18 files):
Runtime soft-delete state captured during past test sessions.
The trash directory is the running app's recycle-bin storage,
not source-of-truth.
Trimmed (lookups/rule_csv_map.csv, 33 rows → 19 rows):
Removed 10 mappings that pointed at the now-deleted test CSVs.
Also removed 4 pre-existing "ghost map" entries that pointed at
CSVs which never existed in the tree:
DR_TEST_4.csv, test_gated_csv.csv, AL13_test_limits.csv,
AL15_super_exempt.csv
The map was internally inconsistent before this change; trimming
is a net improvement regardless of public-release context.
Updated (.gitignore):
Added `lookups/_trash/` alongside existing entries for
`lookups/_versions/`, `lookups/_detection_rules.json`, and the
runtime `lookups/_*.json` state files. Existing
`lookups/DR777_*.csv` / `DR778_*.csv` / `DR998_*.csv` patterns
already covered the working-tree-only cruft cleaned during this
pass.
Updated (docs/PRE_PUBLIC_AUDIT.md):
New section "CRITICAL — fixed in-turn (added post-audit)"
documenting F-C2. Revision-log entry added. Methodology lesson
recorded: future pre-public sweeps must explicitly ask "does
every file in each .spl-payload directory belong in the product."
Test-impact verification before deletion: every test referencing the
deleted CSV names creates the CSV at runtime via the REST API as
part of test setup. None depend on the tracked file pre-existing.
Confirmed across tests/test_e2e_api.py, tests/e2e/test_admin_limits.cjs,
tests/test_e2e_advanced.py, tests/unit/test_approval_queue_state_machine.py,
tests/integration/test_chaos_save_csv_chain.py,
tests/test_e2e_manual_browser.py.
Doc-drift: passes (31 docs / build 660).
Actions-budget impact: zero. GitHub Actions is at 100% for the
month; this lands as a docs/data commit so no path-filtered
workflows would run anyway. Public-flip vs wait-for-June-1 decision
deferred per user.1 parent d5faf1c commit b30c433
32 files changed
Lines changed: 79 additions & 2707 deletions
File tree
- docs
- lookups
- _trash
- DR999_stress_test.csv__csv_20260405_013042
- DR_TEST_3.csv__csv_20260329_000450
- DR_TEST_5.csv__csv_20260403_151046
- DR_TEST_RULE_6__rule_20260403_150426
- DR_TEST_RULE_7__rule_20260403_144535
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
104 | 178 | | |
105 | 179 | | |
106 | 180 | | |
| |||
289 | 363 | | |
290 | 364 | | |
291 | 365 | | |
| 366 | + | |
| 367 | + | |
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments