Skip to content

Comments

CHEF-28703 - Remove faraday-middleware for Faraday 2.0 compactability#732

Open
balasubramanian-s wants to merge 2 commits intomainfrom
bs/update-faraday-version
Open

CHEF-28703 - Remove faraday-middleware for Faraday 2.0 compactability#732
balasubramanian-s wants to merge 2 commits intomainfrom
bs/update-faraday-version

Conversation

@balasubramanian-s
Copy link
Contributor

Description

This pull request updates our Faraday dependencies to ensure compatibility with Faraday 2.x. The changes remove the now-unnecessary faraday_middleware gem and add the faraday-retry gem, which is required for retry functionality in Faraday 2.x. Additionally, the required statements in the Azure backend are updated to reflect these dependency changes.

Dependency updates for Faraday 2.x compatibility:

  • Removed the faraday_middleware gem and added the faraday-retry gem in the Gemfile to support built-in JSON parsing and retry middleware in Faraday 2.x.
  • Updated require statements in libraries/backend/azure_require.rb to replace faraday_middleware with faraday/retry.CONTRIBUTING.MD) document before submitting.

Check List

Signed-off-by: balasubramanian-s <balasubramanian.s@progress.com>
@balasubramanian-s balasubramanian-s requested a review from a team as a code owner December 16, 2025 11:12
@balasubramanian-s balasubramanian-s self-assigned this Dec 16, 2025
@netlify
Copy link

netlify bot commented Dec 16, 2025

👷 Deploy Preview for inspec-azure processing.

Name Link
🔨 Latest commit 4ee8fb6
🔍 Latest deploy log https://app.netlify.com/projects/inspec-azure/deploys/69413ea2ad54640007d27c37

@netlify
Copy link

netlify bot commented Dec 16, 2025

Deploy Preview for inspec-azure canceled.

Name Link
🔨 Latest commit c801fcb
🔍 Latest deploy log https://app.netlify.com/projects/inspec-azure/deploys/6943b6913579f70008c85b90

@balasubramanian-s balasubramanian-s changed the title remove faraday-middleware for Faraday 2.0 compactability CHEF-28703 - Remove faraday-middleware for Faraday 2.0 compactability Dec 16, 2025
Copy link

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 pull request updates Faraday dependencies to ensure compatibility with Faraday 2.x by removing the deprecated faraday_middleware gem and adding faraday-retry for retry functionality support.

  • Replaced faraday_middleware gem with faraday-retry in the Gemfile
  • Updated require statement in Azure backend to use faraday/retry instead of faraday_middleware

Reviewed changes

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

File Description
Gemfile Replaced faraday_middleware with faraday-retry and added comments explaining Faraday 2.x compatibility changes
libraries/backend/azure_require.rb Updated require statement from faraday_middleware to faraday/retry

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

1 participant