Skip to content

chore: sync release v1.53.1 to main branch - #6062

Merged
atzoum merged 7 commits into
masterfrom
sync-release-9454eff34f1bdf871cc13167a9e674e5db36a72d
Jun 26, 2025
Merged

atzoum merged 7 commits into
masterfrom
sync-release-9454eff34f1bdf871cc13167a9e674e5db36a72d

Conversation

@devops-github-rudderstack

Copy link
Copy Markdown
Collaborator

Description

Syncing patch release v1.53.1 to main branch

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

BEGIN_COMMIT_OVERRIDE
chore: oauth platform error logs (#6053)
chore: add logging for HasDynamicConfig flag in destination config (#6054)
fix: ensure hasDynamicConfig field always present in DestinationT JSON (#6057)
chore: keydb deduplication mirroring (#6058)
fix: personalise aws v2 implementation fails with unmarshal error (#6050)
fix: statsExcludedTags causes server to shutdown immediately (#6060)
END_COMMIT_OVERRIDE

koladilip and others added 7 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.
@atzoum
atzoum merged commit 7a1c1d6 into master Jun 26, 2025
@atzoum
atzoum deleted the sync-release-9454eff34f1bdf871cc13167a9e674e5db36a72d branch June 26, 2025 15:47
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.

5 participants