openapi: 5 repo maintainer-report routes missing from spec (maintainer-noise, ams-miner-cohort, gate-precision, outcome-calibration, activation-preview) - #9429
Conversation
…r-noise, ams-miner-cohort, gate-precision, outcome-calibration, activation-preview) Fixes JSONbored#9302
|
Important 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏳ LoopOver is waiting…LoopOver has seen this pull request and is waiting on CI checks to finish before reviewing it. This comment will update once the review runs. 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed · 🟨 Waiting |
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9429 +/- ##
==========================================
+ Coverage 75.51% 76.10% +0.59%
==========================================
Files 275 278 +3
Lines 58032 59636 +1604
Branches 6209 6456 +247
==========================================
+ Hits 43820 45388 +1568
- Misses 13942 13955 +13
- Partials 270 293 +23
Flags with carried forward coverage won't be shown. Click here to find out more.
|
|
This repository reviews pull requests one-shot: the PR must be correct as originally opened. Pushing an additional commit closes it automatically instead of restarting review — open a fresh pull request with every fix included. |
Summary
Re-opened after #9422 and #9427 were closed for base-branch conflicts (rebased onto
mainafter #9421 and #9426 merged).Five
GET /v1/repos/:owner/:repo/*maintainer-report routes are live and MCP-mirrored but were missing from the OpenAPI spec. This PR adds:registerPathentries for all five routes insrc/openapi/spec.tssrc/openapi/schemas.ts(gate-precision,outcome-calibration,activation-preview)MaintainerNoiseReport/AmsMinerCohortComparisoncomponents to their pathsapps/loopover-ui/public/openapi.jsonvianpm run ui:openapitest/unit/openapi.test.ts(tool-parity for all five routes; scoring-route and pending-actions tests from merged PRs retained)Scope
Validation
npm run ui:openapi+npm run ui:openapi:checknpx vitest run test/unit/openapi.test.ts(7 tests)UI Evidence
N/A — schema/doc-only change; no visible UI change. Regenerated
openapi.jsonis the OpenAPI artifact, not a UI screenshot.Fixes #9302
Made with Cursor