Skip to content

feat(api): remove unstable extensions from events, features and meters operations - #4760

Merged
tothandras merged 1 commit into
mainfrom
feat/api-extensions
Jul 21, 2026
Merged

tothandras merged 1 commit into
mainfrom
feat/api-extensions

Conversation

@tothandras

@tothandras tothandras commented Jul 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • API Improvements
    • Several events, feature, and meter endpoints are no longer labeled as unstable.
    • Updated API specifications provide refreshed, consistent endpoint documentation and metadata.
    • Existing routes, request formats, response formats, and operation behavior remain unchanged.

Greptile Summary

This PR marks selected event, feature, and meter operations as stable. The main changes are:

  • Removes unstable metadata from event listing and feature CRUD operations.
  • Removes unstable metadata from meter update and query operations.
  • Regenerates the OpenAPI document and embedded Go specification.

Confidence Score: 5/5

This looks safe to merge.

  • No blocking issues found in the changed code.
  • The source and generated API metadata remain consistent.
  • Shared-route query variants correctly produce one OpenAPI operation.

Important Files Changed

Filename Overview
api/spec/packages/aip/src/events/operations.tsp Removes the unstable extension from the metering-event list operation.
api/spec/packages/aip/src/features/operations.tsp Removes the unstable extension from feature list and CRUD operations.
api/spec/packages/aip/src/meters/operations.tsp Removes the unstable extension from meter update and shared-route query operations.
api/v3/openapi.yaml Updates generated OpenAPI metadata for the operations promoted to stable.
api/v3/api.gen.go Regenerates the embedded Swagger specification from the updated OpenAPI document.

Reviews (1): Last reviewed commit: "feat(api): remove unstable extensions fr..." | Re-trigger Greptile

Context used (3)

  • Context used - CLAUDE.md (source)
  • Context used - AGENTS.md (source)
  • Context used - api/spec/AGENTS.md (source)

@tothandras
tothandras requested a review from a team as a code owner July 21, 2026 10:08
@tothandras tothandras added the release-note/feature Release note: Exciting New Features label Jul 21, 2026
@coderabbitai

coderabbitai Bot commented Jul 21, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: a192e0f2-e025-4e13-8bc6-d0569cee610f

📥 Commits

Reviewing files that changed from the base of the PR and between f16570f and 7a4fc6b.

⛔ Files ignored due to path filters (1)
  • api/v3/openapi.yaml is excluded by !**/openapi.yaml
📒 Files selected for processing (4)
  • api/spec/packages/aip/src/events/operations.tsp
  • api/spec/packages/aip/src/features/operations.tsp
  • api/spec/packages/aip/src/meters/operations.tsp
  • api/v3/api.gen.go
💤 Files with no reviewable changes (3)
  • api/spec/packages/aip/src/events/operations.tsp
  • api/spec/packages/aip/src/meters/operations.tsp
  • api/spec/packages/aip/src/features/operations.tsp

📝 Walkthrough

Walkthrough

Selected TypeSpec operations no longer include the unstable extension annotation. The embedded v3 Swagger specification was regenerated to reflect those declaration changes.

Changes

API visibility metadata

Layer / File(s) Summary
Remove unstable operation annotations
api/spec/packages/aip/src/{events,features,meters}/operations.tsp
Removed Shared.UnstableExtension from the selected event list, feature CRUD, and meter update/query operations without changing their signatures or routes.
Regenerate embedded Swagger specification
api/v3/api.gen.go
Updated the encoded Swagger payload used by GetSwagger() and decodeSpec().

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

Suggested reviewers: chrisgacsal, turip

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: removing unstable extensions from events, features, and meters operations.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/api-extensions

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@tothandras
tothandras enabled auto-merge (squash) July 21, 2026 10:08
@tothandras
tothandras merged commit 1c6fe7d into main Jul 21, 2026
29 of 32 checks passed
@tothandras
tothandras deleted the feat/api-extensions branch July 21, 2026 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-note/feature Release note: Exciting New Features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants