Commit e39ff2c
test+script: address cr round 5 — actionable diagnostics
cr round 5 (Approved, non-blocking) findings I acted on:
- Completeness test: replace vitest's default set-diff with a
custom remediation message. On drift, it names the offending
method AND tells the contributor what to do: "add to
SDK_PUBLIC_METHODS + add a case" OR "add to INTERNAL_HELPERS
if not user-facing." Saves a future-dev the five minutes of
figuring out where to update on first encounter.
- Regen script: verify origin remote is qurl-service. Prevents
the silent-foot-gun where someone with an unrelated repo at
../qurl-service that happens to contain api/openapi.yaml
(or a fork) snapshots from the wrong source. The header SHA
would otherwise be from the fork, not upstream.
Skipped per cr's explicit guidance:
- #2 (throw-vs-expect) — cr: "probably the right tradeoff"
- #3 (second-page cursor) — cr: "no coverage gap … consistent
with the CONTRIBUTING.md scope note"
- #5 (mockOk in test-helpers) — cr: "not worth churning for"
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>1 parent 9e8bc68 commit e39ff2c
2 files changed
Lines changed: 33 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
25 | 37 | | |
26 | 38 | | |
27 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
187 | 207 | | |
188 | 208 | | |
189 | 209 | | |
| |||
0 commit comments