Commit 34ab961
test(cli)+docs(tph): #208 verify --db @Unmanaged gate + TPH lane-coverage note
Two small coverage/documentation gaps:
- cli verify-db-drift: add a test that `verify --db` treats an @Unmanaged DB object
(Flyway / a hand-migration owns its DDL) as EXTERNAL — an out-of-band
legacy_accounts table present in the DB is excluded from the drift comparison
(computeDrift threads it out via collectUnmanagedNames) → exit 0 + the
"external (declared @Unmanaged …)" annotation. Without the exclusion it would
surface as a spurious drop-table drift. The behavior existed (#208) but was
untested at the verify --db surface.
- api-contract tph/README: document that TPH runs BOTH lanes on TS + C#
(full-stack) but the GENERATED lane only on the seam ports (Java/Kotlin/Python)
as ACCEPTED design — a hand-rolled reference TPH server for a controller-only
seam port would merely re-implement the generated routing, adding no independent
contract signal. Prevents it being mistaken for a coverage gap.
Test/docs-only; no library behavior change.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NGQ7oSuNcjhsMHWwZzhBwr1 parent e005d27 commit 34ab961
2 files changed
Lines changed: 71 additions & 0 deletions
File tree
- fixtures/api-contract-conformance/tph
- server/typescript/packages/cli/test/integration
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
Lines changed: 48 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 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 | + | |
| 178 | + | |
| 179 | + | |
132 | 180 | | |
0 commit comments