Skip to content

Commit 99c4e1c

Browse files
committed
add to changelog
1 parent 2764aea commit 99c4e1c

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

packages/remote-feature-flag-controller/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Fixed
11+
12+
- Fix exponential backoff strategy in `ClientConfigApiService` to use proper Cockatiel `ExponentialBackoff` implementation
13+
- Replace custom `ExponentialMinuteBackoff` class with `createMinuteBasedExponentialBackoff()` function that configures Cockatiel's `ExponentialBackoff` with minute-based intervals
14+
- Ensures retry mechanism correctly implements the specified timing progression: 1st retry after 1 minute, 2nd retry after 2 minutes, 3rd retry after 4 minutes
15+
- Resolves TypeScript compatibility issues with the service policy interface
16+
1017
## [1.9.0]
1118

1219
### Added

packages/remote-feature-flag-controller/src/client-config-api-service/client-config-api-service.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ describe('ClientConfigApiService', () => {
191191
// Check that fetch was retried the correct number of times
192192
expect(mockFetch).toHaveBeenCalledTimes(maxRetries + 1); // Initial + retries
193193
});
194-
194+
195195
it('should call the onBreak callback when the circuit opens', async () => {
196196
const onBreak = jest.fn();
197197
const mockFetch = createMockFetch({ error: networkError });

0 commit comments

Comments
 (0)