Skip to content

Conversation

@itsarijitray
Copy link
Contributor

Reverts #3397

Reverting this PR because of SEV.

@github-actions
Copy link
Contributor

New required fields detected

Warning

Your PR adds new required fields to an existing destination. Adding new required settings/mappings for a destination already in production requires updating existing customer destination configuration. Ignore this warning if this PR is for a new destination with no active customers in production.

The following required fields were added in this PR:

  • Destination: Aws Kinesis, Settings:iamRoleArn,iamExternalId
  • Destination: Aws Kinesis, Action:send, Fields:payload,partitionKey,streamName,awsRegion

Add these new fields as optional instead and assume default values in perform or performBatch block.

@codecov
Copy link

codecov bot commented Nov 13, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.26%. Comparing base (977041a) to head (83507f2).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3408      +/-   ##
==========================================
+ Coverage   79.85%   80.26%   +0.40%     
==========================================
  Files        1246     1502     +256     
  Lines       23758    29023    +5265     
  Branches     4808     6153    +1345     
==========================================
+ Hits        18973    23294    +4321     
- Misses       3952     4880     +928     
- Partials      833      849      +16     

☔ View full report in Codecov by Sentry.
📢 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.

description: 'The name of the Kinesis stream to send records to',
type: 'string',
required: true,
disabledInputMethods: ['variable', 'function', 'freeform', 'enrichment']
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are you removing this?

Comment on lines -25 to -29
batch_keys?: string[]
/**
* The maximum number of payloads to include in a batch.
*/
max_batch_size: number
Copy link
Contributor

Choose a reason for hiding this comment

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

These are needed

Comment on lines -39 to -56
disabledInputMethods: ['variable', 'function', 'freeform', 'enrichment']
},
batch_keys: {
label: 'Batch Keys',
description: 'The keys to use for batching the events.',
type: 'string',
unsafe_hidden: true,
default: ['awsRegion', 'streamName', 'partitionKey'],
multiple: true
},
max_batch_size: {
label: 'Max Batch Size',
description: 'The maximum number of payloads to include in a batch.',
type: 'number',
required: true,
minimum: 1,
maximum: 500,
default: 500
Copy link
Contributor

Choose a reason for hiding this comment

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

All of this stuff is needed.

@joe-ayoub-segment
Copy link
Contributor

AFAIK - the only thing we should be changing in this PR is to move the code from action-shared to lib. Please check with Mohammed.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants