test: remove dormant panel self-tests
This commit is contained in:
parent
c5f0fbaaa4
commit
c31a9ac411
4 changed files with 36 additions and 423 deletions
|
|
@ -133,18 +133,18 @@ identifiable in the lane report.
|
|||
| T-002 physics tautology | high-confidence cleanup batch A | Compare old-model and new-model reflection decisions, as the surrounding contract states. |
|
||||
| T-003 duplicate theory row | high-confidence cleanup batch A | Remove literal `0x41000012`, which is identical to `MotionCommand.Crouch`; remove the temporary analyzer suppression. |
|
||||
| T-004 warning mismatches | resolved in R2 | Clean rebuild is zero-warning with repository-wide warnings-as-errors. |
|
||||
| T-005 dormant panel stack | production reachability and architecture intent reconciled in batch P; user taxonomy decision remains | No shipping code implements `IPanelRenderer`/`IPanelHost` or constructs `ChatPanel`, `DebugPanel`, or `VitalsPanel`, but the architecture explicitly preserves this first-party developer-panel contract for issue #258. Do not call its behavioral tests useless or delete the contract as dead code. Decide separately whether 26 fake-renderer self-tests belong in the release count. |
|
||||
| T-005 dormant panel stack | resolved in batches P and V | No shipping code implements `IPanelRenderer`/`IPanelHost` or constructs `ChatPanel`, `DebugPanel`, or `VitalsPanel`, but the architecture explicitly preserves this first-party developer-panel contract for issue #258. Batch V removes exactly 26 fake-renderer self-tests and two compiler-generated `PanelContext` record tests while retaining `FakePanelRenderer` and all 23 executable panel behavior contracts. |
|
||||
| T-006 misleading installed-DAT reason | resolved in batch B | Shared opt-in is now `ACDREAM_RUN_INSTALLED_DAT_TESTS=1` (legacy switch retained), the reason names the lane, and all nine owners carry `Lane=InstalledDat`. |
|
||||
| T-007 271 silent passing gates | resolved in batch G | All 280 directly found gates plus three later-reconciled sites now fail explicitly when their selected lane lacks its prerequisite. The only three syntax candidates left are reviewed cross-platform branch false positives. |
|
||||
| T-008 incapable-of-failing diagnostics | resolved in batches A, C, and L | The literal wiring smoke test was deleted, the GPU contract tautology was repaired, and the six remaining constant-truth diagnostic assertions were removed after their output was preserved under `Purpose=Diagnostic`. |
|
||||
| T-009 wall-clock double-click tests | resolved in batch E | Four sleeps were replaced by a deterministic test clock behind an internal factory overload. The production factory still reads `Environment.TickCount64` exactly as before. |
|
||||
| T-010 two useless cases | high-confidence cleanup batch A | Delete `SmokeTest.TestProject_IsWired` and `ChaseCameraTests.ImplementsICamera`; compilation already proves both claims. |
|
||||
| T-011 diagnostic-only methods | resolved in batches C, L, and R | The reviewed current set is 82 methods / 103 cases. All carry `Purpose=Diagnostic`, preserving the apparatus while removing it from release pass totals. Batch R catches investigations whose only assertion validates fixture/DAT availability, which the original mechanical output-only scan could not distinguish from an oracle. |
|
||||
| T-012 source-text freezes | direct-read map completed in batch I and helper-mediated gap corrected in batch U; 85 implementation/test-model facts remain staged | Seventeen whole-tree architecture rules and five cross-artifact contracts stay. The other 85 are literal implementation or test-model freezes; retire each only beside its semantic/behavioral replacement, with user approval for owner/lifecycle assertions that have no equivalent yet. |
|
||||
| T-012 source-text freezes | direct-read map completed in batch I, helper-mediated gap corrected in batch U, and staged replacement approved | Seventeen whole-tree architecture rules and five cross-artifact contracts stay. The other 85 are literal implementation or test-model freezes; approval authorizes retiring each only beside its semantic/behavioral replacement. |
|
||||
| T-013 controller self-comparison | high-confidence cleanup batch A | Capture the first controller next to the first body and compare every retry with that reference. |
|
||||
| T-014 seven load-sensitive tests | six mechanisms repaired in batch F; one product defect classified | Virtual/wall-clock mixing, tiered-JIT allocation noise, a live controller clock, and a ThreadPool-start timing oracle were removed without weakening behavioral contracts. `DatSoundCache` #321 is a real in-flight-entry race and now runs as `Status=KnownFailure` pending a product fix. |
|
||||
| T-015 four non-prerequisite skips | resolved in batches A/B | PVS scaffold deleted with rationale preserved; redundant chat/radar generators deleted in favor of the comprehensive Manual lane; tower oracle is `Status=KnownFailure`. |
|
||||
| T-016 historical test taxonomy | descriptive identities repaired in batches J and R; issue-prefix decision remains | Opaque AP/R/J/K/Slice and `SCRATCH` labels have been removed from maintained regression identities while provenance stays in comments and ledgers. The 47 `Issue###` files remain an explicit user-decision set because their IDs still connect tests to retail evidence. |
|
||||
| T-016 historical test taxonomy | resolved in batches J, Q, R, and T | Opaque AP/R/J/K/Slice and `SCRATCH` labels have been removed from maintained regression identities while provenance stays in comments and ledgers. The user approved retaining the 47 descriptive `Issue###` files because their IDs connect executable contracts to retail evidence. |
|
||||
| T-017 Avalonia ownership | batch D's window cleanup was necessary but incomplete; runner lifetime fixed in batch S | Batch R's clean gate reproduced a compositor thread-affinity cleanup failure. The sole combined Avalonia fact still used the package's default per-test application isolation. Batch S explicitly owns one application/dispatcher for the assembly's one UI fact; 25 focused processes, 25 complete Launcher assemblies, and the complete gate pass. |
|
||||
| T-018 stderr observer race | resolved in R2 | Live reader shares writes/deletes; 25 focused repetitions plus the complete gate. |
|
||||
| T-019 remaining explicit waits | resolved in batches M–O | All nine fixed-delay negative oracles now use observed monitor/thread/lease/process state. The remaining 24 elapsed-time methods are the reviewed cancellation, real-time protocol, cooperative-yield, bounded-polling, and positive-timeout categories from Batch H. |
|
||||
|
|
@ -578,8 +578,8 @@ The dormant presentation-only subset currently contains 51 attributed methods
|
|||
|
||||
| Subset | Methods | Disposition |
|
||||
|---|---:|---|
|
||||
| `IPanelRendererWidgetTests` and `IPanelRendererMainMenuBarTests` | 26 | They exercise only `FakePanelRenderer`, not a production backend. Treat as test-harness/contract self-tests; user decision whether to retain outside the release total, consolidate, or remove. |
|
||||
| `PanelContextTests` | 2 | Small public-contract value, but only compiler-generated record round-trip/equality. Same taxonomy decision as the renderer self-tests. |
|
||||
| `IPanelRendererWidgetTests` and `IPanelRendererMainMenuBarTests` | 26 | They exercise only `FakePanelRenderer`, not a production backend. Approved for removal in Batch V. |
|
||||
| `PanelContextTests` | 2 | Only compiler-generated record round-trip/equality. Approved for removal in Batch V. |
|
||||
| `ChatPanel` layout, input, focus, and colored-render behavior | 23 | Meaningful executable behavior for the explicitly preserved future developer-panel contract. Retain unless that architecture promise is intentionally retired. |
|
||||
|
||||
The earlier audit's recommendation to remove the whole stack was therefore too
|
||||
|
|
@ -849,8 +849,8 @@ prefixes. Continue correcting individual method names whose oracle overclaims,
|
|||
and keep diagnostic methods outside the release count, but do not re-home 109
|
||||
useful regressions merely to erase their provenance. If the issue archive is
|
||||
later split into component-owned records, a class-level `Issue` trait can
|
||||
preserve filtering before any component-based file rename. This recommendation
|
||||
remains a user approval item because it closes T-016 without code churn.
|
||||
preserve filtering before any component-based file rename. The user approved
|
||||
this recommendation before Batch V, closing T-016 without code churn.
|
||||
|
||||
## Batch R fixture-sanity-only diagnostics
|
||||
|
||||
|
|
@ -998,3 +998,32 @@ Verification:
|
|||
and
|
||||
- the no-retry complete hermetic Release gate passes 14,379/14,379 with zero
|
||||
skips or failures across all 12 test assemblies.
|
||||
|
||||
## Batch V dormant panel self-test removal
|
||||
|
||||
The user approved Batch P's narrow recommendation. Batch V deletes exactly the
|
||||
three self-test files in the approved boundary:
|
||||
|
||||
- `IPanelRendererWidgetTests.cs`: 17 tests whose oracle is the behavior of the
|
||||
test-only `FakePanelRenderer` recorder;
|
||||
- `IPanelRendererMainMenuBarTests.cs`: nine more tests of that recorder; and
|
||||
- `PanelContextTests.cs`: two tests of compiler-generated positional-record
|
||||
assignment and equality.
|
||||
|
||||
The useful boundary remains intact. `IPanel`, `IPanelRenderer`, `IPanelHost`,
|
||||
and `PanelContext` remain public production contracts for issue #258;
|
||||
`FakePanelRenderer.cs` remains as the observation seam for 22 `ChatPanel*`
|
||||
methods plus the `ChatVMCombatTests` render-path method; and all 23 layout,
|
||||
input, focus, color, and command behavior tests remain executable. No panel,
|
||||
ViewModel, parser, command contract, product source, or historical rationale is
|
||||
removed.
|
||||
|
||||
Verification:
|
||||
|
||||
- the retained 23 attributed panel behavior methods pass all 29 expanded cases;
|
||||
- the complete UI-abstractions assembly passes 898/898, exactly 28 below its
|
||||
previous 926-case total;
|
||||
- the complete 44-project Release build reports zero warnings and zero errors;
|
||||
and
|
||||
- the no-retry complete hermetic Release gate passes 14,351/14,351 with zero
|
||||
skips or failures across all 12 test assemblies, exactly 28 below Batch U.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue