Repository navigation
chore: add conversionTime iso 8601 validation for bingads oc - #5858
Merged
Merged
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #5858 +/- ##
==========================================
+ Coverage 76.80% 76.92% +0.11%
==========================================
Files 495 495
Lines 68490 68497 +7
==========================================
+ Hits 52603 52688 +85
+ Misses 13011 12939 -72
+ Partials 2876 2870 -6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
koladilip
reviewed
May 21, 2025
koladilip
approved these changes
Jun 11, 2025
ItsSudip
reviewed
Jun 11, 2025
ItsSudip
approved these changes
Jun 11, 2025
This was referenced Jun 16, 2025
Merged
itsmihir
pushed a commit
that referenced
this pull request
Jun 16, 2025
🤖 I have created a release *beep* *boop* --- ## [1.52.0-rc.1](v1.51.0...v1.52.0-rc.1) (2025-06-16) ### Features * capture bot metrics post deduplication ([#5956](#5956)) ([94f40c8](94f40c8)) * detect and handle memory-fenced responses in rudder-server ([#5935](#5935)) ([af45808](af45808)) * migrate cloud destinations to v2 sdk ([#5916](#5916)) ([93d64f5](93d64f5)) * shutdown server on non-reloadable config change ([#5941](#5941)) ([985d3f9](985d3f9)) ### Bug Fixes * duplicates in snowpipe streaming due to stale channel cache ([#5957](#5957)) ([4badd49](4badd49)) * gcs file deletion timing out ([#5951](#5951)) ([e4abe53](e4abe53)) * update and extend async event delivery time metrics tests for JobParameters logic ([#5975](#5975)) ([01483d5](01483d5)) * warehouse transformations deep copying arguments ([#5979](#5979)) ([28d15ac](28d15ac)) ### Miscellaneous * add conversionTime iso 8601 validation for bingads oc ([#5858](#5858)) ([3e0dc6f](3e0dc6f)) * create new backoff on every reporting request ([#5993](#5993)) ([7e3715a](7e3715a)) * **deps:** bump the go-deps group across 1 directory with 21 updates ([#5983](#5983)) ([aa3ee66](aa3ee66)) * remove golang.org/x/crypto v0.32.0 ([#5986](#5986)) ([6fbb5a3](6fbb5a3)) * sync release v1.51.0 to main branch ([#5971](#5971)) ([b9b1a21](b9b1a21)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
itsmihir
pushed a commit
that referenced
this pull request
Jun 17, 2025
🤖 I have created a release *beep* *boop* --- ## [1.52.0](v1.51.0...v1.52.0) (2025-06-16) ### Features * capture bot metrics post deduplication ([#5956](#5956)) ([94f40c8](94f40c8)) * detect and handle memory-fenced responses in rudder-server ([#5935](#5935)) ([af45808](af45808)) * migrate cloud destinations to v2 sdk ([#5916](#5916)) ([93d64f5](93d64f5)) * shutdown server on non-reloadable config change ([#5941](#5941)) ([985d3f9](985d3f9)) ### Bug Fixes * duplicates in snowpipe streaming due to stale channel cache ([#5957](#5957)) ([4badd49](4badd49)) * gcs file deletion timing out ([#5951](#5951)) ([e4abe53](e4abe53)) * update and extend async event delivery time metrics tests for JobParameters logic ([#5975](#5975)) ([01483d5](01483d5)) * warehouse transformations deep copying arguments ([#5979](#5979)) ([28d15ac](28d15ac)) ### Miscellaneous * add conversionTime iso 8601 validation for bingads oc ([#5858](#5858)) ([3e0dc6f](3e0dc6f)) * create new backoff on every reporting request ([#5993](#5993)) ([7e3715a](7e3715a)) * **deps:** bump the go-deps group across 1 directory with 21 updates ([#5983](#5983)) ([aa3ee66](aa3ee66)) * remove golang.org/x/crypto v0.32.0 ([#5986](#5986)) ([6fbb5a3](6fbb5a3)) * sync release v1.51.0 to main branch ([#5971](#5971)) ([b9b1a21](b9b1a21)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
This was referenced Jun 23, 2025
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request introduces validation for the
conversionTimefield in Bing Ads offline conversions and adds a corresponding test case to ensure the validation logic works as expected.Validation for
conversionTimefield:router/batchrouter/asyncdestinationmanager/bing-ads/offline-conversions/bulk_uploader.go: Added a check to validate that theconversionTimefield is in ISO 8601 (RFC3339) format. If the format is invalid, an error is returned.Test case for invalid
conversionTime:router/batchrouter/asyncdestinationmanager/bing-ads/offline-conversions/bingads_test.go: Added a new test case,TestBingAdsTransformWithInvalidTimestamp, to verify that theTransformmethod correctly handles an invalidconversionTimeformat by returning an appropriate error message.BREAKING CHANGE
Earlier events with invalid time format, had would marked valid and sent to Bing ads (and would eventually fail there) will now be caught in this newly introduced validation layer. Some spike in error post this release is obvious.
Linear Ticket
Resolves INT-3643
Security