Skip to content

Integration Tests - Lit Protocol tests failing with fetch error #1695

@MantisClone

Description

@MantisClone

Problem

The Lit Protocol integration tests are consistently failing in CI with a network connectivity error:

FAIL test/lit-protocol.test.ts
✕ should handle encryption errors gracefully
✕ should handle decryption errors gracefully

Failed to initialize Lit client: fetch failed

CircleCI: build #165196, job test-integration-with-request-node

Investigation

  • Test file: packages/integration-test/test/lit-protocol.test.ts
  • 4 tests failing, all related to Lit Protocol client initialization
  • Error indicates network request to Lit Protocol's external service is failing

Questions to Answer

  1. What external Lit Protocol endpoints are the tests trying to reach?
  2. Is the Lit Protocol network/service experiencing issues?
  3. Should these tests be mocked to avoid external dependencies in CI?
  4. Has something changed in the Lit Protocol SDK or their network infrastructure?

Considerations

  • These tests depend on external Lit Protocol infrastructure
  • External service dependencies can cause flaky/failing CI
  • May need to mock Lit Protocol calls or skip in CI if service is unreliable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions