Skip to content

Conflict between microsoft_kiota_faraday (Kiota SDK) and Sidekiq 8.1 in Rails 8 app #49

@Destruidoss

Description

@Destruidoss

Environment:

Ruby 3.4
Rails 8.1
Sidekiq 8.1
Trying to use Kiota SDK (microsoft_kiota_abstractions + microsoft_kiota_faraday + microsoft_kiota_authentication_oauth) for Microsoft Graph

Problem:
When adding the Kiota gems, Bundler fails with dependency conflicts (mainly in faraday, concurrent-ruby, or adapters), preventing the server or Sidekiq from booting.

Examples of typical errors observed:

Gem::ConflictError: unable to activate X (required by Kiota) because Y (required by Sidekiq 8.1) conflicts
Runtime errors related to thread-safety or multi-handle in Faraday

Attempts made:

bundle update
Downgrade Sidekiq to ~7.3 (works, but not ideal)
Lazy require of Kiota gems within the service (partially mitigates, but does not resolve global boot)

Impact:
Prevents the use of the official Kiota SDK in Rails 8 + Sidekiq 8.1 apps without downgrades or heavy workarounds.

Suggestion:

Check compatibility of Kiota gems with Sidekiq 8.x

Consider adding a Faraday version constraint or adapter to coexist with Sidekiq

Reproducible environment:
Rails 8.1 + Sidekiq 8.1 + gem 'microsoft_kiota_faraday'

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions