Skip to content

feat: Added gzip content handling for features requests#329

Merged
chriswk merged 3 commits into
mainfrom
fix/addSupportForGzip
Oct 9, 2025
Merged

feat: Added gzip content handling for features requests#329
chriswk merged 3 commits into
mainfrom
fix/addSupportForGzip

Conversation

@chriswk
Copy link
Copy Markdown
Member

@chriswk chriswk commented Oct 8, 2025

fixes #328

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds gzip content handling support for feature requests in the Unleash client, along with dependency updates and test configuration improvements.

  • Added gzip decompression capability for HTTP responses in feature fetching
  • Updated test dependencies (assertj-core, mockito-core, wiremock-jre8) and build plugins
  • Enhanced Maven configuration with dependency properties execution and Mockito agent setup

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
src/main/java/io/getunleash/repository/HttpFeatureFetcher.java Added gzip content encoding support with proper decompression handling
src/test/java/io/getunleash/HotReloadSchedulerReuseTest.java Minor code formatting improvements and import reorganization
pom.xml Updated test dependencies, added Maven dependency plugin execution, and configured Mockito agent

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread src/main/java/io/getunleash/repository/HttpFeatureFetcher.java Outdated
Comment thread src/main/java/io/getunleash/repository/HttpFeatureFetcher.java Outdated
Comment thread src/main/java/io/getunleash/repository/HttpFeatureFetcher.java Outdated
chriswk and others added 2 commits October 8, 2025 14:28
@coveralls
Copy link
Copy Markdown
Collaborator

coveralls commented Oct 8, 2025

Pull Request Test Coverage Report for Build 18344708577

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 15 of 15 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.2%) to 79.443%

Totals Coverage Status
Change from base Build 17576408822: 0.2%
Covered Lines: 2491
Relevant Lines: 3059

💛 - Coveralls

Copy link
Copy Markdown
Member

@sighphyre sighphyre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-project-automation github-project-automation Bot moved this from New to Approved PRs in Issues and PRs Oct 8, 2025
@chriswk chriswk merged commit 8ec27d5 into main Oct 9, 2025
9 checks passed
@chriswk chriswk deleted the fix/addSupportForGzip branch October 9, 2025 07:36
@github-project-automation github-project-automation Bot moved this from Approved PRs to Done in Issues and PRs Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Request gzipped content from /api/client/features

5 participants