-
Notifications
You must be signed in to change notification settings - Fork 92
Description
Problem
CircleCI test jobs (test-unit, test-integration-with-request-node, test-integration-with-smart-contracts) were experiencing intermittent failures due to:
- Insufficient compute resources — Tests failing with timeouts/OOM on
largeand defaultmediumresource classes - Lit Protocol network unavailability — Integration tests hard-failing when the Lit
datil-devnetwork is unreachable (an external dependency outside our control, and one that is being sunset on 2/25) - Tight Jest timeouts — Some async tests had timeouts too close to their actual execution time, causing sporadic failures under load
Impact
Flaky CI blocks the entire PR merge pipeline and wastes developer time re-running builds.
Proposed Solution
Fixed in #1698:
- Upgraded
resource_classfromlarge/mediumtoxlargefor all three test jobs - Added graceful skip logic for Lit Protocol tests when the
datil-devnetwork is unreachable - Increased Jest timeouts to 180s for affected tests
Considerations
- The xlarge resource class increases CircleCI credit consumption. Request Finance pays for the account — significant increases could prompt them to ask us to set up our own.
- Jest timeouts were increased uniformly to 180s (from 15-60s). This is generous and could mask performance regressions. May warrant revisiting with more targeted values.
- The Lit Protocol skip logic is a temporary measure — see SDK - Migrate Lit Protocol from Datil to Naga network before 2/25 shutdown #1702 for the migration to Naga.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
✅ Done