Repository navigation
chore: sync release v1.54.6 to main branch - #6138
Merged
achettyiitr merged 15 commits intoJul 18, 2025
Merged
Conversation
… conversion supported format (#6082) # Description ## PR: Enhance Bing Ads Offline Conversions Timestamp Handling and Test Coverage ### Summary This PR improves the handling of the `conversionTime` field for Bing Ads offline conversions and ensures robust test coverage for the new logic. The changes address issues with overly strict timestamp validation and align the system with Bing Ads' accepted formats, while also ensuring that the new logic is well-tested. --- ### Changes in `bulk_uploader.go` - **Flexible Timestamp Parsing:** The `conversionTime` field is now parsed using two formats: 1. **ISO 8601/RFC3339** (e.g., `2025-07-02T18:50:54Z`) 2. **Bing Ads UI format** (`mm/dd/yyyy hh:mm:ss AM/PM`, e.g., `7/2/2025 6:50:54 PM`) - **Consistent Output:** Regardless of the input format, the timestamp is always converted and output in Bing Ads' required format: `mm/dd/yyyy hh:mm:ss AM/PM` (Go layout: `"2/1/2006 3:04:05 PM"`). - **Clear Error Messaging:** If the input does not match either accepted format, a clear error message is returned, specifying the valid formats. - **Backward Compatibility:** Existing integrations that send ISO 8601 timestamps will continue to work without modification. - **No Dropped Valid Events:** Valid events using either format are now accepted and processed, preventing unnecessary data loss. --- ### Changes in `bingads_test.go` - **Test Coverage for Upload Logic:** The test suite covers various upload scenarios, including: - Partial successes and failures in bulk uploads. - Handling of errors when obtaining upload URLs or uploading files. - Ensuring correct job ID tracking for successes and failures. - **Test Coverage for Polling Logic:** Tests verify correct handling of all Bing Ads bulk upload status responses, including: - Success, failure, partial failure, and in-progress states. - Correct aggregation of results when multiple request IDs are polled. - **Test Coverage for Upload Stats:** Tests ensure that upload statistics are correctly parsed and reported, including: - Aborted and succeeded job IDs. - Handling of error files and edge cases. - **Test Environment Robustness:** The test suite uses temporary directories and files to ensure isolation and repeatability, and cleans up resources after each test. --- ### Why - **User Impact:** Previously, only strict RFC3339 timestamps were accepted, causing valid Bing Ads events to be dropped if they used the more common Bing Ads UI format. This change ensures compatibility with Bing Ads documentation and user expectations. - **Reliability:** Improved test coverage ensures that the new logic is robust and that future changes will not break expected behavior. --- ### Success Criteria - Both ISO 8601 and Bing Ads date-time formats are accepted as input for `conversionTime`. - All outgoing events use the Bing Ads format for `conversionTime`. - Invalid formats are rejected with a clear error message. - No valid events are dropped due to timestamp formatting. - All relevant upload and polling scenarios are covered by automated tests. --- ### Reference - [Linear Issue INT-3891: Incorrect error message for Bing Ads offline conversions format](https://linear.app/rudderstack/issue/INT-3891/incorrect-error-message-for-bing-ads-offline-conversions-format) - [Bing Ads Bulk Service Documentation](https://learn.microsoft.com/en-us/advertising/bulk-service/offline-conversion) ## Security - [ ] 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]>
🤖 I have created a release *beep* *boop* --- ## [1.54.1](v1.54.0...v1.54.1) (2025-07-04) ### Bug Fixes * update validation and conversion of timestamp to bingads offline conversion supported format ([#6082](#6082)) ([07445ed](07445ed)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
# Description * Disable column index for parquet writer. * More details for the fix in parquet-go [PR](rudderlabs/parquet-go#4) ## Linear Ticket resolves https://linear.app/rudderstack/issue/WAR-877/parquet-go-corrupted-column-index-bug-fix ## Security - [ ] 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]>
🤖 I have created a release *beep* *boop* --- ## [1.54.2](v1.54.1...v1.54.2) (2025-07-07) ### Bug Fixes * disable column index for parquet writer ([#6088](#6088)) ([2b7583e](2b7583e)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
# Description update sync to 0.16.0 as it is bug free ## 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.
# Description Remove region from provider config for backups ## Linear Ticket <> ## Security - [ ] The code changed/added as part of this pull request won't create any security issues with how the software is being used.
🤖 I have created a release *beep* *boop* --- ## [1.54.4](v1.54.3...v1.54.4) (2025-07-15) ### Bug Fixes * remove region from provider config for backups ([#6109](#6109)) ([958b586](958b586)) ### Miscellaneous * update golang.org/x/sync to v0.16.0 ([#6111](#6111)) ([d869729](d869729)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
…ror handling (#6124) # Description enhance rsources stats collector with component tagging and error handling ## 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.
🤖 I have created a release *beep* *boop* --- ## [1.54.5](v1.54.4...v1.54.5) (2025-07-17) ### Miscellaneous * enhance rsources stats collector with component tagging and error handling ([#6124](#6124)) ([3f01505](3f01505)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
# Description - Avoid cleaning up load files for Datalake destination ## Linear Ticket - Resolves RUD-2448 ## 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.
🤖 I have created a release *beep* *boop* --- ## [1.54.6](v1.54.5...v1.54.6) (2025-07-18) ### Bug Fixes * avoid cleanup object storage for datalakes ([#6133](#6133)) ([faaab0e](faaab0e)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
achettyiitr
approved these changes
Jul 18, 2025
cisse21
approved these changes
Jul 18, 2025
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6138 +/- ##
==========================================
+ Coverage 76.59% 76.66% +0.06%
==========================================
Files 522 522
Lines 69998 70020 +22
==========================================
+ Hits 53616 53680 +64
+ Misses 13479 13447 -32
+ Partials 2903 2893 -10 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
achettyiitr
deleted the
sync-release-73fa460d73004bf7b737908d3fba806ef84f4079
branch
July 18, 2025 09:54
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
Syncing patch release v1.54.6 to main branch
↓↓ Please review and edit commit overrides before merging ↓↓
BEGIN_COMMIT_OVERRIDE
fix: avoid cleanup object storage for datalakes (#6133)
END_COMMIT_OVERRIDE