Repository navigation
Conversation
# Description - Added Warehouse integrations tests with events sent to the Gateway instead of creating a staging file. ## Linear Ticket - Resolves WAR-773. ## Security - [x] The code changed/added as part of this pull request won't create any security issues with how the software is being used.
# Description Syncing release v1.52.0 to main branch **WARNING: Do NOT rewrite git history and ALWAYS use a "Merge Commit" for merging!** **↓↓ Please review and edit commit overrides before merging ↓↓** BEGIN_COMMIT_OVERRIDE feat: add support for Snowflake Iceberg tables (#5922) chore: gateway warehouse integration test (#5996) fix: add golang.org/x/net/html vulnerability (#5988) END_COMMIT_OVERRIDE Co-authored-by: Mihir Khambhati <[email protected]>
…th accounts (#5985) # Description # Account Association Enhancement: Skip Disabled Destinations ## Changes - Added a check to skip account association for disabled destinations in the `enrichDestinationWithAccounts` function - Added a test case to verify that disabled destinations are properly skipped during account association ## Why Previously, the account association process would attempt to associate accounts with all destinations, regardless of their enabled status. This could lead to unnecessary processing and potential issues when trying to associate accounts with disabled destinations. ## Testing - Added a new test case `disabled destination should be skipped` that verifies: - Disabled destinations are properly skipped during account association - No accounts are associated with disabled destinations - The destination's `DeliveryAccount` and `DeleteAccount` fields remain nil ## Impact This change improves the efficiency of the account association process by skipping disabled destinations and prevents potential issues that could arise from attempting to associate accounts with disabled destinations. ## Linear Ticket https://linear.app/rudderstack/issue/INT-3805/add-validation-for-deleted-destinations-before-associating-with ## Security - [x] The code changed/added as part of this pull request won't create any security issues with how the software is being used. --------- Co-authored-by: Sudip Paul <[email protected]>
# Description test "does not call the callback if context is canceled by us" was flaky as 1. When cancel() is called in the test, it calls both cancel() and signalCancel() 2. The goroutine's select statement might choose either <-signalCtx.Done() or <-ctx.Done() 3. If it happens to select <-signalCtx.Done(), it will incorrectly call the callback function --- solution: cancel `signalCtx` when ctx is done ## Linear Ticket - ## Security - [x] The code changed/added as part of this pull request won't create any security issues with how the software is being used.
…#5999) # Description - For every enterprise image/tag that is built and pushed, also build and push a new image with the environment variable RACE_ENABLED=TRUE. - The new image should have the same tag as the original, but with -race appended (e.g., if the tag is 1.2.3, the new tag should be 1.2.3-race).
# Description Syncing patch release v1.52.1 to main branch **↓↓ Please review and edit commit overrides before merging ↓↓** BEGIN_COMMIT_OVERRIDE chore: downgrade golang.org/x/sync to v0.13.0 (#6006) chore(processor): use pipeline-specific destination locks during store (#5992) END_COMMIT_OVERRIDE --------- Co-authored-by: Mihir Gandhi <[email protected]> Co-authored-by: Aris Tzoumas <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6018 +/- ##
==========================================
+ Coverage 76.57% 76.58% +0.01%
==========================================
Files 517 517
Lines 69387 69444 +57
==========================================
+ Hits 53130 53183 +53
- Misses 13361 13365 +4
Partials 2896 2896 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…into feature/obs-853-add-event-blocking-logic-in-gateway-and-block-events-in
|
@coderabbitai full review |
✅ Actions performedFull review triggered. |
WalkthroughA workspace-configurable event blocking feature was introduced across the backend and gateway. New structs and fields were added to support event blocking configuration, with logic in the gateway to determine if events should be blocked and prevent their live recording. Tests and processor logic were updated to handle and respect blocked events. Changes
✨ Finishing Touches
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (3)
backend-config/types.go (2)
179-179: Add documentation for the new EventBlocking field.The new
EventBlockingfield lacks documentation. Consider adding a comment to explain its purpose and usage.type Settings struct { DataRetention DataRetention `json:"dataRetention"` EventAuditEnabled bool `json:"eventAuditEnabled"` + // EventBlocking contains workspace-level configuration for blocking specific events EventBlocking EventBlocking `json:"eventBlocking"` }
268-270: Add documentation for the EventBlocking struct.The new
EventBlockingstruct lacks documentation. Consider adding comments to explain the struct's purpose and the format of theEventsfield.+// EventBlocking defines configuration for blocking specific events based on type and name type EventBlocking struct { + // Events maps event types to lists of event names that should be blocked Events map[string][]string `json:"events"` }gateway/handle.go (1)
588-599: Consider cache management for memory efficiency.The memoization logic is functionally correct, but the cache grows indefinitely and never invalidates when workspace settings change.
Consider implementing cache expiration or invalidation:
func (gw *Handle) memoizedIsEventBlocked() func(workspaceID, sourceID, eventType, eventName string) bool { - cache := map[string]bool{} + cache := make(map[string]bool) + // TODO: Consider implementing cache expiration or size limits + // to prevent unbounded memory growth in long-running processes return func(workspaceID, sourceID, eventType, eventName string) bool { key := workspaceID + ":" + sourceID + ":" + eventType + ":" + eventName if val, ok := cache[key]; ok { return val } val := gw.isEventBlocked(workspaceID, sourceID, eventType, eventName) cache[key] = val return val } }
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (7)
backend-config/types.go(2 hunks)gateway/gateway.go(1 hunks)gateway/handle.go(9 hunks)gateway/handle_lifecycle.go(4 hunks)gateway/handle_test.go(1 hunks)processor/processor.go(1 hunks)processor/types/types.go(1 hunks)
🔇 Additional comments (19)
gateway/gateway.go (1)
19-19: LGTM!The constant addition follows existing naming patterns and is appropriately placed with other source category constants.
processor/types/types.go (1)
251-251: LGTM!The new field follows established patterns, uses appropriate type and JSON tags, and is well-positioned within the struct.
processor/processor.go (1)
1896-1900: LGTM! Well-designed event blocking implementation.The event blocking logic is strategically placed and efficiently implemented:
- Optimal placement: Positioned after deduplication but before expensive transformations, ensuring accurate metrics while minimizing processing overhead
- Clean implementation: Simple boolean check with early exit is both readable and performant
- Proper logging: Debug-level logging provides operational visibility without noise
- Architecture alignment: Correctly implements the processor's role in the event blocking pipeline where gateway determines blocking and processor performs the dropping
This aligns perfectly with the PR objectives of separating blocking logic between gateway and processor components.
gateway/handle_lifecycle.go (4)
10-10: LGTM: Import addition is correct.The
stringspackage import is properly added and used for case-insensitive source category comparison.
122-123: LGTM: Event blocking configuration flag properly implemented.The
enableEventBlockingflag follows the established configuration pattern with a safe default value offalse.
254-258: LGTM: Variable declarations are well-structured.The new map declarations for workspace settings and non-event stream sources are properly typed and initialized.
261-282: LGTM: Backend config processing logic is well implemented.The workspace settings extraction and non-event stream source filtering logic is correct. The case-insensitive comparison using
strings.EqualFoldis appropriate.Please verify that the
webhookSourceCategoryconstant is properly defined:#!/bin/bash # Description: Verify webhookSourceCategory constant is defined # Expected: Find the constant definition rg -n "webhookSourceCategory\s*=" --type gogateway/handle.go (9)
110-114: LGTM: Handle struct fields properly added.The new fields
workspaceIDSettingsMapandnonEventStreamSourcesare well-named and appropriately typed for storing event blocking configuration data.
133-133: LGTM: Event blocking configuration field added correctly.The
enableEventBlockingboolean field is properly placed in the configuration struct.
601-632: LGTM: Event blocking logic is correctly implemented.The core event blocking logic properly:
- Returns false when event blocking is disabled
- Only applies to track events with non-empty names
- Excludes non-event stream sources
- Correctly checks workspace settings for blocked events
The implementation aligns with the PR objectives for MVP event blocking functionality.
755-757: LGTM: Live event recording correctly skipped for blocked events.The conditional logic properly prevents blocked events from being recorded live while maintaining the existing behavior for non-blocked events.
797-801: LGTM: jobWithStat struct appropriately extended.The
skipLiveEventRecordingboolean field is well-named and serves the purpose of controlling live event recording behavior.
820-820: LGTM: Parameters struct properly extended for event blocking.The
IsEventBlockedfield with appropriate JSON tag follows the established pattern for job parameters.
833-833: LGTM: Memoized function properly instantiated.The memoized event blocking function is correctly created for use within the batch processing logic.
1010-1013: LGTM: Event blocking check correctly integrated.The event name extraction using
gjsonand subsequent blocking check are properly implemented. TheIsEventBlockedparameter is correctly set based on the blocking decision.
1046-1047: LGTM: Job flags correctly set based on blocking status.The
skipLiveEventRecordingflag is properly set from theIsEventBlockedparameter, creating the correct linkage between blocking decisions and live event recording behavior.gateway/handle_test.go (3)
21-87: LGTM: Test helper function is well-structured.The
createTestGatewayfunction provides excellent test isolation with configurable workspace settings and source mappings. The minimal Handle instance includes all necessary fields for testing event blocking functionality.
89-306: LGTM: Comprehensive test coverage for event blocking logic.The test cases excellently cover all important scenarios:
- Feature toggle behavior
- Event type and name validation
- Workspace and source filtering
- Case sensitivity
- Edge cases (nil maps, missing workspaces)
- Non-event stream source exclusion
The test structure is clear and each test case includes descriptive assertions.
308-512: LGTM: Excellent integration test coverage.The integration tests thoroughly validate the event blocking workflow:
- Proper job parameter setting (
is_event_blocked)- Correct live event recording flag behavior
- Mixed batch handling with blocked, non-blocked, and non-event stream events
- Realistic JSON payload processing
The tests provide confidence that the event blocking feature works correctly across the entire processing pipeline.
# Description - Added support for running tests with race. We just need to pass `RACE_ENABLED=true` while invoking it. - Race condition was happening around `Rollback` because `stmt.Close` was not getting closed properly. - With 1.22 and above, `tc := tc` is not required. https://go.dev/blog/loopvar-preview - For docker-based setups like (`minio.Setup` or `postgres.Setup`), there is a race condition with `func (d *Pool) Retry(op func() error) error {`. Removing concurrency here. - warehouse/slave/worker.go (`activeJobId` is being accessed concurrently), making it `atomic.Int64`. ## Linear Ticket - Resolves WAR-771 ## Security - [x] The code changed/added as part of this pull request won't create any security issues with how the software is being used. Co-authored-by: Ranjeet <[email protected]>
…into feature/obs-853-add-event-blocking-logic-in-gateway-and-block-events-in
…into feature/obs-853-add-event-blocking-logic-in-gateway-and-block-events-in
…n-gateway-and-block-events-in
# Description Syncing release v1.53.0 to main branch **WARNING: Do NOT rewrite git history and ALWAYS use a "Merge Commit" for merging!** **↓↓ Please review and edit commit overrides before merging ↓↓** BEGIN_COMMIT_OVERRIDE feat: propagate snowpipe iceberg config to snowpipe service (#6013) feat: implement configurable event blocking (#6018) END_COMMIT_OVERRIDE
🤖 I have created a release *beep* *boop* --- ## [1.54.0-rc.1](v1.53.0...v1.54.0-rc.1) (2025-07-02) ### Features * implement configurable event blocking ([#6018](#6018)) ([0901e5f](0901e5f)) * implement leaky uploader for invalid payloads ([#6072](#6072)) ([d17efc1](d17efc1)) * propagate snowpipe iceberg config to snowpipe service ([#6013](#6013)) ([0901e5f](0901e5f)) ### Bug Fixes * bigquery load errors population ([#6065](#6065)) ([75085f2](75085f2)) * custom type in payload during enrichment ([#6064](#6064)) ([75085f2](75085f2)) * ensure hasDynamicConfig field always present in DestinationT JSON ([#6057](#6057)) ([7a1c1d6](7a1c1d6)) * personalise aws v2 implementation fails with unmarshal error ([#6050](#6050)) ([7a1c1d6](7a1c1d6)) * statsExcludedTags causes server to shutdown immediately ([#6060](#6060)) ([7a1c1d6](7a1c1d6)) ### Miscellaneous * add logging for HasDynamicConfig flag in destination config ([#6054](#6054)) ([7a1c1d6](7a1c1d6)) * add logging to trace double-encoded HLL value issue ([#6044](#6044)) ([4bddb5d](4bddb5d)) * drop bot events in processor after capturing metrics ([#6052](#6052)) ([5e2efc5](5e2efc5)) * inject stats in source transformer ([#6047](#6047)) ([4998beb](4998beb)) * keydb deduplication mirroring ([#6058](#6058)) ([7a1c1d6](7a1c1d6)) * oauth platform error logs ([#6053](#6053)) ([7a1c1d6](7a1c1d6)) * postgres docker load test ([#6061](#6061)) ([a7b4ceb](a7b4ceb)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
🤖 I have created a release *beep* *boop* --- ## [1.55.0-rc.1](v1.53.0...v1.55.0-rc.1) (2025-07-21) ### Features * add support for snowpipe destination in rudder-cli ([#6055](#6055)) ([417b2f5](417b2f5)) * implement configurable event blocking ([#6018](#6018)) ([0901e5f](0901e5f)) * implement leaky uploader for invalid payloads ([#6072](#6072)) ([d17efc1](d17efc1)) * propagate snowpipe iceberg config to snowpipe service ([#6013](#6013)) ([0901e5f](0901e5f)) * **router:** support TRANSFORMER_PROXY_URL for dedicated transformer proxy ([#6110](#6110)) ([eff32e6](eff32e6)) * staging files schema snapshot cached repository with different strategies ([#6099](#6099)) ([943d112](943d112)) * **warehouse:** add schema snapshots table and link to staging files (WAR-866) ([#6095](#6095)) ([d6a5ea7](d6a5ea7)) ### Bug Fixes * avoid cleanup object storage for datalakes ([#6133](#6133)) ([3143f04](3143f04)) * bigquery load errors population ([#6065](#6065)) ([75085f2](75085f2)) * custom type in payload during enrichment ([#6064](#6064)) ([75085f2](75085f2)) * disable column index for parquet writer ([#6088](#6088)) ([29f93ce](29f93ce)) * disable column index for parquet writer ([#6088](#6088)) ([0b5b169](0b5b169)) * disable column index for parquet writer ([#6088](#6088)) ([a8f5adb](a8f5adb)) * disable column index for parquet writer ([#6088](#6088)) ([71eee56](71eee56)) * duplicate load files for datalakes ([#6037](#6037)) ([c19d8d9](c19d8d9)) * ensure hasDynamicConfig field always present in DestinationT JSON ([#6057](#6057)) ([7a1c1d6](7a1c1d6)) * personalise aws v2 implementation fails with unmarshal error ([#6050](#6050)) ([7a1c1d6](7a1c1d6)) * remove region from provider config for backups ([#6109](#6109)) ([29f93ce](29f93ce)) * remove region from provider config for backups ([#6109](#6109)) ([0b5b169](0b5b169)) * set payloadStage based on reportJobsdbPayload flag ([#6107](#6107)) ([f642bed](f642bed)) * statsExcludedTags causes server to shutdown immediately ([#6060](#6060)) ([7a1c1d6](7a1c1d6)) * update validation and conversion of timestamp to bingads offline conversion supported format ([#6082](#6082)) ([29f93ce](29f93ce)) * update validation and conversion of timestamp to bingads offline conversion supported format ([#6082](#6082)) ([0b5b169](0b5b169)) * update validation and conversion of timestamp to bingads offline conversion supported format ([#6082](#6082)) ([a8f5adb](a8f5adb)) * update validation and conversion of timestamp to bingads offline conversion supported format ([#6082](#6082)) ([abdb9fc](abdb9fc)) ### Miscellaneous * add cursor rules for warehouse ([#6086](#6086)) ([b8b46fa](b8b46fa)) * add logging for HasDynamicConfig flag in destination config ([#6054](#6054)) ([7a1c1d6](7a1c1d6)) * add logging to trace double-encoded HLL value issue ([#6044](#6044)) ([4bddb5d](4bddb5d)) * add server instance id in warehouse staging file metadata ([#6076](#6076)) ([6fff7e1](6fff7e1)) * add tests for bot and blocked events dropped in processor ([#6079](#6079)) ([d85d53d](d85d53d)) * change refresh time log to info ([#6073](#6073)) ([b29b472](b29b472)) * clean up savePayloadOnError config ([#6104](#6104)) ([7264c0b](7264c0b)) * drop bot events in processor after capturing metrics ([#6052](#6052)) ([5e2efc5](5e2efc5)) * emit reporting metrics for event dropped due to event blocking ([#6087](#6087)) ([40c1930](40c1930)) * enhance rsources stats collector with component tagging and error handling ([#6124](#6124)) ([29f93ce](29f93ce)) * generate temp creds in v2 for databricks ([#6136](#6136)) ([0d09c37](0d09c37)) * inject stats in source transformer ([#6047](#6047)) ([4998beb](4998beb)) * keydb deduplication mirroring ([#6058](#6058)) ([7a1c1d6](7a1c1d6)) * oauth platform error logs ([#6053](#6053)) ([7a1c1d6](7a1c1d6)) * postgres docker load test ([#6061](#6061)) ([a7b4ceb](a7b4ceb)) * reset timer to optimise router batching ([#6114](#6114)) ([f9db3c5](f9db3c5)) * **router:** rename TRANSFORMER_PROXY_URL to DELIVERY_TRANSFORMER_URL for transformer proxy ([#6120](#6120)) ([81dbec0](81dbec0)) * sync release v1.54.0 to main branch ([#6078](#6078)) ([9fdb24e](9fdb24e)) * update config key for dedup window in KeyDB ([#6135](#6135)) ([867dc8b](867dc8b)) * update golang.org/x/sync to v0.16.0 ([#6111](#6111)) ([29f93ce](29f93ce)) * update golang.org/x/sync to v0.16.0 ([#6111](#6111)) ([0b5b169](0b5b169)) * upgrade go kit ([#6103](#6103)) ([29f93ce](29f93ce)) * upgrade go kit ([#6103](#6103)) ([0b5b169](0b5b169)) * upgrade go kit ([#6103](#6103)) ([a8f5adb](a8f5adb)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
🤖 I have created a release *beep* *boop* --- ## [1.55.0](v1.53.0...v1.55.0) (2025-07-22) ### Features * add support for snowpipe destination in rudder-cli ([#6055](#6055)) ([417b2f5](417b2f5)) * handling schema consolidation ([#6101](#6101)) ([59437e6](59437e6)) * implement configurable event blocking ([#6018](#6018)) ([0901e5f](0901e5f)) * implement leaky uploader for invalid payloads ([#6072](#6072)) ([d17efc1](d17efc1)) * propagate snowpipe iceberg config to snowpipe service ([#6013](#6013)) ([0901e5f](0901e5f)) * **router:** support TRANSFORMER_PROXY_URL for dedicated transformer proxy ([#6110](#6110)) ([eff32e6](eff32e6)) * segmented storage ([#6117](#6117)) ([45269f4](45269f4)) * staging files schema snapshot cached repository with different strategies ([#6099](#6099)) ([943d112](943d112)) * start populating snapshot id and schema patch ([#6100](#6100)) ([3873cb5](3873cb5)) * **warehouse:** add schema snapshots table and link to staging files (WAR-866) ([#6095](#6095)) ([d6a5ea7](d6a5ea7)) ### Bug Fixes * avoid cleanup object storage for datalakes ([#6133](#6133)) ([3143f04](3143f04)) * bigquery load errors population ([#6065](#6065)) ([75085f2](75085f2)) * custom type in payload during enrichment ([#6064](#6064)) ([75085f2](75085f2)) * disable column index for parquet writer ([#6088](#6088)) ([29f93ce](29f93ce)) * disable column index for parquet writer ([#6088](#6088)) ([0b5b169](0b5b169)) * disable column index for parquet writer ([#6088](#6088)) ([a8f5adb](a8f5adb)) * disable column index for parquet writer ([#6088](#6088)) ([71eee56](71eee56)) * duplicate load files for datalakes ([#6037](#6037)) ([c19d8d9](c19d8d9)) * empty bucket with use rudder storage ([#6145](#6145)) ([e2b8563](e2b8563)) * ensure hasDynamicConfig field always present in DestinationT JSON ([#6057](#6057)) ([7a1c1d6](7a1c1d6)) * personalise aws v2 implementation fails with unmarshal error ([#6050](#6050)) ([7a1c1d6](7a1c1d6)) * remove region from provider config for backups ([#6109](#6109)) ([29f93ce](29f93ce)) * remove region from provider config for backups ([#6109](#6109)) ([0b5b169](0b5b169)) * set payloadStage based on reportJobsdbPayload flag ([#6107](#6107)) ([f642bed](f642bed)) * statsExcludedTags causes server to shutdown immediately ([#6060](#6060)) ([7a1c1d6](7a1c1d6)) * update validation and conversion of timestamp to bingads offline conversion supported format ([#6082](#6082)) ([29f93ce](29f93ce)) * update validation and conversion of timestamp to bingads offline conversion supported format ([#6082](#6082)) ([0b5b169](0b5b169)) * update validation and conversion of timestamp to bingads offline conversion supported format ([#6082](#6082)) ([a8f5adb](a8f5adb)) * update validation and conversion of timestamp to bingads offline conversion supported format ([#6082](#6082)) ([abdb9fc](abdb9fc)) ### Miscellaneous * add cursor rules for warehouse ([#6086](#6086)) ([b8b46fa](b8b46fa)) * add logging for HasDynamicConfig flag in destination config ([#6054](#6054)) ([7a1c1d6](7a1c1d6)) * add logging to trace double-encoded HLL value issue ([#6044](#6044)) ([4bddb5d](4bddb5d)) * add server instance id in warehouse staging file metadata ([#6076](#6076)) ([6fff7e1](6fff7e1)) * add tests for bot and blocked events dropped in processor ([#6079](#6079)) ([d85d53d](d85d53d)) * bump the go-deps group across 1 directory with 19 updates ([#6140](#6140)) ([dfb37d4](dfb37d4)) * change refresh time log to info ([#6073](#6073)) ([b29b472](b29b472)) * change release to 1.55.0 ([#6152](#6152)) ([4ab9c3b](4ab9c3b)) * clean up savePayloadOnError config ([#6104](#6104)) ([7264c0b](7264c0b)) * drop bot events in processor after capturing metrics ([#6052](#6052)) ([5e2efc5](5e2efc5)) * emit reporting metrics for event dropped due to event blocking ([#6087](#6087)) ([40c1930](40c1930)) * enhance rsources stats collector with component tagging and error handling ([#6124](#6124)) ([29f93ce](29f93ce)) * generate temp creds in v2 for databricks ([#6136](#6136)) ([0d09c37](0d09c37)) * inject stats in source transformer ([#6047](#6047)) ([4998beb](4998beb)) * keydb deduplication mirroring ([#6058](#6058)) ([7a1c1d6](7a1c1d6)) * oauth platform error logs ([#6053](#6053)) ([7a1c1d6](7a1c1d6)) * postgres docker load test ([#6061](#6061)) ([a7b4ceb](a7b4ceb)) * reset timer to optimise router batching ([#6114](#6114)) ([f9db3c5](f9db3c5)) * **router:** rename TRANSFORMER_PROXY_URL to DELIVERY_TRANSFORMER_URL for transformer proxy ([#6120](#6120)) ([81dbec0](81dbec0)) * sync release v1.54.0 to main branch ([#6078](#6078)) ([9fdb24e](9fdb24e)) * update config key for dedup window in KeyDB ([#6135](#6135)) ([867dc8b](867dc8b)) * update golang.org/x/sync to v0.16.0 ([#6111](#6111)) ([29f93ce](29f93ce)) * update golang.org/x/sync to v0.16.0 ([#6111](#6111)) ([0b5b169](0b5b169)) * upgrade go kit ([#6103](#6103)) ([29f93ce](29f93ce)) * upgrade go kit ([#6103](#6103)) ([0b5b169](0b5b169)) * upgrade go kit ([#6103](#6103)) ([a8f5adb](a8f5adb)) * use errgroup.Group instead of kitsync.ErrGroup ([#6146](#6146)) ([90bf121](90bf121)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Description
This PR adds event blocking functionality with a strategic split between gateway and processor components to optimize metrics collection and avoid unnecessary live event recording.
Architecture & Design:
Why not have the logic in a single place (in the gateway or the processor)?
Core Features:
Key Components:
isEventBlocked()method in gateway to determine blocking eligibilityextractJobsFromInternalBatchPayload()to mark blocked eventsProcessing Flow
Linear Ticket
OBS-853
Security