Skip to content

chore: sync release v1.53.2 to main branch - #6068

Merged
achettyiitr merged 11 commits into
masterfrom
sync-release-14bbb521905db7e0dc0d526888601dbfa44c2427
Jun 30, 2025
Merged

achettyiitr merged 11 commits into
masterfrom
sync-release-14bbb521905db7e0dc0d526888601dbfa44c2427

Conversation

@devops-github-rudderstack

@devops-github-rudderstack devops-github-rudderstack commented Jun 30, 2025 •

Copy link
Copy Markdown
Collaborator

Description

Syncing patch release v1.53.2 to main branch

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

BEGIN_COMMIT_OVERRIDE
fix: bigquery load errors population (#6065)
fix: custom type in payload during enrichment (#6064)
END_COMMIT_OVERRIDE

koladilip and others added 10 commits June 25, 2025 19:13
# Description

- Combine destination existence and nil checks into single condition
- Improve log message clarity with [RoundTrip] prefix
- Add comprehensive test coverage for missing and nil destination info
scenarios
- Enhance error handling consistency in OAuth transport layer

test(oauth): add coverage for transport round trip error logging

- Add comprehensive test for transport round trip error path
- Ensure error logging with destination details is covered
- Test error propagation in OAuth transport layer

## Linear Ticket
Resolves
https://linear.app/rudderstack/issue/INT-3637/runbook-and-troubleshooting-guide-to-triage-oauth-failures

## 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.
…6054)

# Description

This PR adds informational logging when the HasDynamicConfig flag is
enabled for destinations in the backend config. The logging includes
destination ID and workspace ID to help with debugging and tracking
which destinations have dynamic configuration patterns.

## Changes Made

- Added logging in the `UpdateHasDynamicConfig` method in
`backend-config/types.go`
- The log is emitted only when `HasDynamicConfig` is true to avoid noise
- Includes relevant context (destination ID and workspace ID) for better
debugging

## Linear Ticket

Resolves
https://linear.app/rudderstack/issue/INT-3613/propagate-hasdynamicconfig-in-destination-in-rudder-server
## 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.
#6057)

# Description

This PR ensures that the field is always present in the JSON
representation of struct, even when its value is .

## Changes Made

1. **Updated JSON tag**: Removed  from  field in  struct
   - Before: `json:"hasDynamicConfig,omitempty"`
   - After: `json:"hasDynamicConfig"`

**Added comprehensive test**: Created
`TestDestinationT_MarshalJSON_HasDynamicConfigAlwaysPresent` to verify:
   - Field is present when `HasDynamicConfig` is `false`
   - Field is present when `HasDynamicConfig` is `true`
   - Field is present for zero-value `DestinationT` structs

## Why This Change?

Previously, when was (the zero value for booleans), the tag would cause
the field to be omitted from the JSON output. This change ensures
consistent JSON structure regardless of the boolean value.

## Testing

- All existing tests continue to pass
- New test specifically validates the field is always present in
marshaled JSON

## Linear Ticket

N/A - Small bug fix for JSON serialization consistency

## 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

Testing
[keydb](https://github.com/rudderlabs/keydb/blob/alpha1/README.md)
capabilities via mirroring.

## Linear Ticket

< [Linear
Link](https://linear.app/rudderstack/issue/PIPE-2131/spike-on-deduplication)
>

## 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

Ignoring `statsExcludedTags` config change during non-reloadable config
restarts, since under some conditions it can be set after server starts,
which will cause an unwanted immediate shutdown of the server.

## 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

- Passing more information while bigquery load error as the current one
does not have sufficient information (J`SON table encountered too many
errors, giving up. Rows: 1; errors: 1. Please look into the errors[]
collection for more details.`)

## Linear Ticket

- Resolves WAR-824

## 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

- We rely on being `SingularEvent` only to contain `map[string]any`, but
some context properties are being directly added to the SingularEvent as
the struct type like these:
- [Bot
Details](https://github.com/rudderlabs/rudder-server/blob/master/internal/enricher/bot.go#L49-L54).
- [Geo
enrichment](https://github.com/rudderlabs/rudder-server/blob/master/internal/enricher/geolocation.go#L134-L135)
- [Tracking
plan.](https://github.com/rudderlabs/rudder-server/blob/master/processor/trackingplan.go#L32-L50)
- In case of Bot Details, we don't have access to the struct, so we
can't infer the type and handle it. Adding support for any custom struct
which checks for `reflect.Struct`, `reflect.Ptr`, `reflect.Slice`,
`reflect.Array` using reflection.

## Linear Ticket

- Resolves WAR-821

## 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.53.2](v1.53.1...v1.53.2)
(2025-06-30)


### Bug Fixes

* bigquery load errors population
([#6065](#6065))
([0e3e4ab](0e3e4ab))
* custom type in payload during enrichment
([#6064](#6064))
([fdcd09f](fdcd09f))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
@codecov

codecov Bot commented Jun 30, 2025 •

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 82.75862% with 20 lines in your changes missing coverage. Please review.

Please upload report for BASE (master@4bddb5d). Learn more about missing BASE report.
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
...sformer/embedded/warehouse/internal/utils/utils.go 67.85% 7 Missing and 2 partials ⚠️
warehouse/integrations/bigquery/bigquery.go 44.44% 4 Missing and 1 partial ⚠️
.../destination_transformer/embedded/warehouse/set.go 57.14% 2 Missing and 1 partial ⚠️
...nsformer/embedded/warehouse/testhelper/validate.go 96.92% 1 Missing and 1 partial ⚠️
...tion_transformer/embedded/warehouse/transformer.go 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##             master    #6068   +/-   ##
=========================================
  Coverage          ?   76.53%           
=========================================
  Files             ?      519           
  Lines             ?    69629           
  Branches          ?        0           
=========================================
  Hits              ?    53292           
  Misses            ?    13442           
  Partials          ?     2895           

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

@achettyiitr
achettyiitr merged commit 75085f2 into master Jun 30, 2025
@achettyiitr
achettyiitr deleted the sync-release-14bbb521905db7e0dc0d526888601dbfa44c2427 branch June 30, 2025 09:43
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.

8 participants