|
| 1 | +# Baseline Verification — React Migration |
| 2 | + |
| 3 | +**Date/time:** 2026-05-19 |
| 4 | +**Branch:** main |
| 5 | +**HEAD commit:** `53ee06f` — fix(logging): write errors to logs/errors.log in app directory |
| 6 | +**Version:** v3.7.17 |
| 7 | + |
| 8 | +--- |
| 9 | + |
| 10 | +## Working Tree Status |
| 11 | + |
| 12 | +Clean. Only untracked files present (no modified tracked files): |
| 13 | + |
| 14 | +``` |
| 15 | +Untracked files: |
| 16 | + REACT_MIGRATION_ANALYSIS.md ← migration docs, not part of app |
| 17 | + REACT_MIGRATION_PLAN.md ← migration docs, not part of app |
| 18 | + "e unexpected files are present." ← pre-existing untracked artifact |
| 19 | +``` |
| 20 | + |
| 21 | +No staged changes. No modified source files. Safe to begin migration work. |
| 22 | + |
| 23 | +--- |
| 24 | + |
| 25 | +## Commands Run |
| 26 | + |
| 27 | +### 1. `dotnet restore LSPDFRManager.sln` |
| 28 | + |
| 29 | +**Result: PASS** |
| 30 | + |
| 31 | +``` |
| 32 | +All projects are up-to-date for restore. |
| 33 | +``` |
| 34 | + |
| 35 | +Warnings (pre-existing, non-blocking): |
| 36 | +- `NU1902: Package 'SharpCompress' 0.38.0 has a known moderate severity vulnerability` |
| 37 | + This advisory was present before this session began and is documented in project memory as a known non-blocker. |
| 38 | + |
| 39 | +--- |
| 40 | + |
| 41 | +### 2. `dotnet build LSPDFRManager.sln --configuration Release --no-restore` |
| 42 | + |
| 43 | +**Result: PASS — 0 errors** |
| 44 | + |
| 45 | +``` |
| 46 | +Build succeeded. |
| 47 | + 6 Warning(s) |
| 48 | + 0 Error(s) |
| 49 | +Time Elapsed 00:00:04.36 |
| 50 | +``` |
| 51 | + |
| 52 | +Outputs: |
| 53 | +- `LSPDFRManager.Api` → `bin\Release\net8.0\LSPDFRManager.Api.dll` |
| 54 | +- `LSPDFRManager` → `bin\Release\net8.0-windows\LSPDFRManager.dll` |
| 55 | +- `LSPDFRManager.Tests` → `LSPDFRManager.Tests\bin\Release\net8.0-windows\LSPDFRManager.Tests.dll` |
| 56 | + |
| 57 | +Warnings (all pre-existing): |
| 58 | + |
| 59 | +| Warning | File | Notes | |
| 60 | +|---------|------|-------| |
| 61 | +| `NU1902` SharpCompress vulnerability | Both projects | Known advisory; non-blocker | |
| 62 | +| `CS0219` variable assigned but never used (`failureRaised`) | `InstallIntegrationTests.cs:221` | Pre-existing test warning | |
| 63 | +| `CS8602` dereference of possibly null | `StreamingBufferTests.cs:47` | Pre-existing test warning | |
| 64 | +| `CS8605` unboxing possibly null | `StreamingBufferTests.cs:47` | Pre-existing test warning | |
| 65 | +| `xUnit2029` use DoesNotContain instead of Empty | `EupBackupEditorTests.cs:439` | Pre-existing xUnit analyzer suggestion | |
| 66 | + |
| 67 | +--- |
| 68 | + |
| 69 | +### 3. `dotnet test LSPDFRManager.Tests\LSPDFRManager.Tests.csproj --configuration Release --no-build` |
| 70 | + |
| 71 | +**Result: PASS — 914/914 tests passed** |
| 72 | + |
| 73 | +``` |
| 74 | +Total tests: 914 |
| 75 | + Passed: 914 |
| 76 | + Failed: 0 |
| 77 | + Skipped: 0 |
| 78 | +Total time: 10.7260 Seconds |
| 79 | + 0 Error(s) |
| 80 | +``` |
| 81 | + |
| 82 | +> Note: Previous recorded baseline was 878 tests (v3.7.16 / v3.7.17). The count is now 914 — additional tests were added in commits since the last recorded snapshot. All 914 pass. |
| 83 | +
|
| 84 | +--- |
| 85 | + |
| 86 | +## Summary of Warnings / Failures |
| 87 | + |
| 88 | +| Item | Type | Severity | Action | |
| 89 | +|------|------|----------|--------| |
| 90 | +| `NU1902` SharpCompress advisory | Dependency warning | Pre-existing, non-blocking | No action needed | |
| 91 | +| `CS0219` unused variable | Code warning | Pre-existing | No action needed | |
| 92 | +| `CS8602` / `CS8605` null warnings | Code warning | Pre-existing | No action needed | |
| 93 | +| `xUnit2029` | Analyzer suggestion | Pre-existing | No action needed | |
| 94 | + |
| 95 | +No new warnings introduced. No errors. No failing tests. |
| 96 | + |
| 97 | +--- |
| 98 | + |
| 99 | +## Safe to Proceed to Milestone 1? |
| 100 | + |
| 101 | +**Yes.** The repository is in a fully clean, passing state. |
| 102 | + |
| 103 | +- 0 build errors |
| 104 | +- 914/914 tests passing |
| 105 | +- No modified tracked source files |
| 106 | +- Pre-existing warnings are known and non-blocking |
| 107 | + |
| 108 | +--- |
| 109 | + |
| 110 | +## Recommended Next Step |
| 111 | + |
| 112 | +Begin **Milestone 1**: Scaffold `LSPDFRManager.LocalApi` — a new ASP.NET Core Minimal API project that will serve as the local management API for the React frontend. |
| 113 | + |
| 114 | +Per `REACT_MIGRATION_PLAN.md` Milestone 1: |
| 115 | +1. Create `LSPDFRManager.LocalApi/` as a new `Microsoft.NET.Sdk.Web` project targeting `net8.0`. |
| 116 | +2. Add minimal `Program.cs` with a `/health` endpoint. |
| 117 | +3. Add `LocalhostOnlyMiddleware` (reject non-`127.0.0.1` Host headers). |
| 118 | +4. Add to `LSPDFRManager.sln`. |
| 119 | +5. Verify `dotnet build` — 0 errors. |
| 120 | +6. Verify `dotnet test` — all 914 tests still pass. |
| 121 | + |
| 122 | +> **Important prerequisite for Milestone 2 (shared library extraction):** `Domain/`, `Services/`, and `Core/` currently live inside `LSPDFRManager.csproj` which targets `net8.0-windows`. For `LSPDFRManager.LocalApi` (targeting `net8.0`) to reference these, they must be extracted to a new `LSPDFRManager.Core` class library project. This is the highest-risk structural change and should be planned carefully before execution. |
0 commit comments