Skip to content

chore: sync release v1.54.5 to main branch - #6127

Merged
mihir20 merged 14 commits into
masterfrom
sync-release-aaedf43e01ec08d94e1f719dc9888f6c96060fa7
Jul 17, 2025
Merged

mihir20 merged 14 commits into
masterfrom
sync-release-aaedf43e01ec08d94e1f719dc9888f6c96060fa7

Conversation

@devops-github-rudderstack

@devops-github-rudderstack devops-github-rudderstack commented Jul 17, 2025 •

Copy link
Copy Markdown
Collaborator

Description

Syncing patch release v1.54.5 to main branch

↓↓ Please review and edit commit overrides before merging ↓↓

BEGIN_COMMIT_OVERRIDE
fix: update validation and conversion of timestamp to bingads offline conversion supported format (#6082)
fix: disable column index for parquet writer (#6088)
chore: upgrade go kit (#6103)
chore: update golang.org/x/sync to v0.16.0 (#6111)
fix: remove region from provider config for backups (#6109)
chore: enhance rsources stats collector with component tagging and error handling (#6124)
END_COMMIT_OVERRIDE

devops-github-rudderstack and others added 12 commits July 3, 2025 10:45
… 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).
…3e01ec08d94e1f719dc9888f6c96060fa7

# Conflicts:
#	CHANGELOG.md
#	go.mod
@mihir20
mihir20 enabled auto-merge (squash) July 17, 2025 07:17
@codecov

codecov Bot commented Jul 17, 2025 •

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 70.83333% with 14 lines in your changes missing coverage. Please review.

Project coverage is 76.62%. Comparing base (81dbec0) to head (58c909b).
Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
services/rsources/handler.go 36.36% 5 Missing and 2 partials ⚠️
gateway/handle.go 40.00% 5 Missing and 1 partial ⚠️
services/rsources/stats_collector.go 88.88% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6127      +/-   ##
==========================================
+ Coverage   76.57%   76.62%   +0.05%     
==========================================
  Files         519      522       +3     
  Lines       69823    69957     +134     
==========================================
+ Hits        53468    53607     +139     
+ Misses      13455    13453       -2     
+ Partials     2900     2897       -3     

☔ 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.

@mihir20
mihir20 merged commit 29f93ce into master Jul 17, 2025
@mihir20
mihir20 deleted the sync-release-aaedf43e01ec08d94e1f719dc9888f6c96060fa7 branch July 17, 2025 09:19
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.

6 participants