Add typed Mission Control SDK#2054
Conversation
Add a reproducible OpenAPI generation pipeline that boots PostgREST, enriches schemas with model documentation and RBAC metadata, and validates drift in CI. Publish a typed TypeScript client with generated API types, authentication helpers, and package metadata for downstream Mission Control consumers.
|
Warning Review limit reached
Next review available in: 52 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (20)
✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Benchstat (RLS)Base: 📊 1 minor regression(s) (all within 5% threshold)
✅ 3 improvement(s)
Full benchstat output |
Benchstat (Other)Base:
|
| Benchmark | Base | Head | Change | p-value |
|---|---|---|---|---|
ResourceSelectorConfigs/tags-4 |
29.67m | 31.16m | +5.05% 🔴 | 0.041 |
✅ 1 improvement(s)
| Benchmark | Base | Head | Change | p-value |
|---|---|---|---|---|
ResourceSelectorQueryBuild/tags-4 |
17.63µ | 17.49µ | -0.82% | 0.041 |
Failed: 1 benchmark(s) regressed by more than 5%:
ResourceSelectorConfigs/tags-4: 29.67m -> 31.16m (+5.05%)
Full benchstat output
goos: linux
goarch: amd64
pkg: github.com/flanksource/duty/bench
cpu: AMD EPYC 7763 64-Core Processor
│ bench-base.txt │ bench-head.txt │
│ sec/op │ sec/op vs base │
InsertionForRowsWithAliases/external_users.aliases-4 596.6µ ± 5% 602.6µ ± 6% ~ (p=0.589 n=6)
InsertionForRowsWithAliases/config_items.external_id-4 1.108m ± 11% 1.115m ± 10% ~ (p=0.937 n=6)
InsertionOfConfigsWithProperties-4 3.728m ± 1% 3.745m ± 1% ~ (p=0.394 n=6)
UpdateOfConfigsWithProperties-4 7.447m ± 2% 7.422m ± 1% ~ (p=0.485 n=6)
ResourceSelectorConfigs/name-4 222.4µ ± 2% 220.8µ ± 2% ~ (p=0.310 n=6)
ResourceSelectorConfigs/name_and_type-4 237.6µ ± 8% 241.9µ ± 6% ~ (p=0.310 n=6)
ResourceSelectorConfigs/tags-4 29.67m ± 4% 31.16m ± 6% +5.05% (p=0.041 n=6)
ResourceSelectorQueryBuild/name-4 43.16µ ± 1% 43.42µ ± 2% ~ (p=0.065 n=6)
ResourceSelectorQueryBuild/name_and_type-4 63.60µ ± 0% 63.68µ ± 1% ~ (p=0.937 n=6)
ResourceSelectorQueryBuild/tags-4 17.63µ ± 1% 17.49µ ± 1% -0.82% (p=0.041 n=6)
geomean 518.1µ 522.1µ +0.77%
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Gavel resultsGavel exited with code . |
Add a reproducible OpenAPI generation pipeline that boots PostgREST, enriches schemas with model documentation and RBAC metadata, and validates drift in CI.