Skip to content

refactor: gate webhook secretKey to the main schema - #6928

Draft
lkostrowski wants to merge 1 commit into
mainfrom
lkostrowski/gate-webhook-secret-key
Draft

refactor: gate webhook secretKey to the main schema#6928
lkostrowski wants to merge 1 commit into
mainfrom
lkostrowski/gate-webhook-secret-key

Conversation

@lkostrowski

Copy link
Copy Markdown
Member

secretKey is removed from Webhook, WebhookCreateInput and WebhookUpdateInput in 3.24, so staging builds must stop reading and sending it. Uses the existing @lockSchema mechanism to keep one document serving both schemas, and gates the form field and mutation input behind isMainSchema().

Scope of the change

  • I confirm I added ripples for changes (see src/ripples) or my feature doesn't contain any user-facing changes
  • I used analytics "trackEvent" for important events

secretKey is removed from Webhook, WebhookCreateInput and WebhookUpdateInput
in 3.24, so staging builds must stop reading and sending it. Uses the existing
@lockSchema mechanism to keep one document serving both schemas, and gates the
form field and mutation input behind isMainSchema().

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@codecov

codecov Bot commented Sep 3, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 57.14286% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 58.17%. Comparing base (04a037e) to head (cd6a11e).

Files with missing lines Patch % Lines
...DetailsPage/components/WebhookInfo/WebhookInfo.tsx 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##             main    #6928     +/-   ##
=========================================
  Coverage   58.16%   58.17%             
=========================================
  Files        3394     3394             
  Lines       73710    73715      +5     
  Branches    19357    19305     -52     
=========================================
+ Hits        42876    42885      +9     
- Misses      28966    30671   +1705     
+ Partials     1868      159   -1709     
Flag Coverage Δ
storybook 54.48% <ø> (+0.06%) ⬆️
units 51.57% <57.14%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant