Skip to content

chore(deps): bump Svix SDK to v2.6.1 - #5248

Merged
chrisgacsal merged 4 commits into
mainfrom
feat/notification-next
Oct 5, 2026
Merged

chrisgacsal merged 4 commits into
mainfrom
feat/notification-next

Conversation

@chrisgacsal

@chrisgacsal chrisgacsal commented Oct 5, 2026 •

Copy link
Copy Markdown
Collaborator

Overview

Bump Svix Go SDK to v2.6.1 for Notifications.

Summary by CodeRabbit

  • Improvements
    • Updated webhook application, event type, endpoint, and message operations to work with the current Svix service interface, including endpoint rate limits and event types.
  • Chores
    • Updated the Svix service version used in the development environment.

RetriggerConfidence Score: 5/5

The PR appears safe to merge based on the reviewed changes.

Summary

The PR updates the Svix SDK and development server and adapts notification webhook operations to the SDK’s current interface. Since the previous review, endpoint updates have changed from Upsert to Patch.

Reviews (2) · Last reviewed commit: "fix: endpoint update"

@chrisgacsal chrisgacsal self-assigned this Oct 5, 2026
@chrisgacsal chrisgacsal added the release-note/dependency-update Release note: Dependency Updates label Oct 5, 2026
@chrisgacsal
chrisgacsal requested a review from a team as a code owner October 5, 2026 12:13
@coderabbitai

coderabbitai Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

🧰 Additional context used
📚 Code guidelines (1)
AGENTS.md — auto-discovered

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: openmeterio/openmeter/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 67ea673e-26f6-4368-b452-df1126d05552
📥 Commits

Reviewing files that changed from the base of the PR and between c3fd633 and 7c99f21.

📒 Files selected for processing (1)
  • openmeter/notification/webhook/svix/webhook.go

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.


📝 Walkthrough

Walkthrough

The Svix image changes to v1.101. The webhook integration uses updated client accessors and request models. The notification test environment helper no longer accepts a context argument.

Changes

Svix integration updates

Layer / File(s) Summary
Svix resource operations
docker-compose.base.yaml, openmeter/notification/webhook/svix/application.go, openmeter/notification/webhook/svix/event.go, openmeter/notification/webhook/svix/message.go
The Svix image changes to v1.101. Application and message calls use resource accessors. Event type registration uses EventTypeUpsertIn and Upsert.
Webhook endpoint operations
openmeter/notification/webhook/svix/webhook.go
Endpoint calls use the Endpoint() accessor. Creation requests use ThrottleRate and EventTypes. Updates use EndpointPatch and Patch. Listing and webhook conversion use the updated response fields.

Notification test helper

Layer / File(s) Summary
Test environment helper signature
test/notification/testenv.go, test/notification/notification_test.go
NewTestEnv no longer accepts a context. The notification test calls it with only the namespace.

Priority: ➖ Normal

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

Change: Other

Suggested reviewers: borosr, gergely-kurucz-konghq

Merge Risk: ⚪ Minimal · up to 7c99f

This dependency bump updates Svix client calls and request models with no confirmed defects. Run the notification integration tests against the new Svix server image before merging.

Security Architecture Review

Security architecture risk: 🔵 Low · up to 7c99f

The inspected update path retains namespace-scoped endpoint selection, deleted-channel checks, and filtering controls. No introduced security issue was established. However, the new provider’s missing-endpoint and nullable-field behavior could not be verified, so lifecycle and compatibility risk remain unresolved.

Retained concerns
No architecture-level concerns identified.

Security review details

Security Blast Radius

  • inferred — The inspected endpoint-update operation targets one channel endpoint within its namespace-derived Svix application. No expansion to another namespace or new provider authority was established in this path; broader API authorization and production credential scope remain outside the inspected evidence.

Trust Boundaries and Controls

  • observed — The service retrieves the channel by namespace and ID, rejects an already-deleted channel, and passes its stored configuration to the adapter. The adapter validates required identifiers and signing-secret input, then selects the provider application from the namespace.

Resilience and Maintainability Implications

  • observed — Provider deletion treats not-found as success, supporting repeated cleanup after an earlier successful provider deletion. The initial deleted-channel check does not itself fence an update already in progress; whether the new Patch operation can recreate a missing endpoint remains unverified.

Hardening Proposals

  • proposed — Verify the exact pinned client and deployed provider contract for missing endpoints, nullable filter serialization, and mixed-version rollout before treating the migration as behaviorally equivalent.
🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the Svix SDK dependency update to v2.6.1, which matches the pull request’s primary objective.
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
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@gergely-kurucz-konghq gergely-kurucz-konghq left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor nit, otherwise LGTM! Also, is the AI agent review comment valid?

@chrisgacsal
chrisgacsal merged commit 07285b5 into main Oct 5, 2026
@chrisgacsal
chrisgacsal deleted the feat/notification-next branch October 5, 2026 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-note/dependency-update Release note: Dependency Updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants