• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

optimizely / swift-sdk / 21293166650
94%

Build:
DEFAULT BRANCH: master
Ran 23 Jan 2026 04:37PM UTC
Jobs 1
Files 77
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Jan 2026 04:24PM UTC coverage: 93.734% (-1.5%) from 95.245%
21293166650

push

github

web-flow
[FSSDK-12240] fix flaky tests with proper synchronization (#622)

* docs: add comprehensive project documentation in CLAUDE.md

Added CLAUDE.md file to provide context and guidelines for development:

- Project overview and structure
- Getting started guide with platform support and installation
- Coding standards and common patterns (protocol-oriented design, thread safety)
- Complete development workflow from branch creation to PR
- Testing guide with xcodebuild commands and best practices
- Key API usage examples
- Helpful commands for file searching, testing, and git operations

The documentation is organized logically from introduction to reference material
for better developer onboarding and contribution experience.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* docs: remove redundant instructions from CLAUDE.md

Consolidated duplicate sections to improve readability:
- Moved all testing commands to dedicated 'Testing' section
- Kept linting info only in 'Coding Standards'
- Consolidated git commands in 'Helpful Commands'
- Added cross-references in 'Making Changes' workflow
- Removed repeated commands from multiple locations

This reduces redundancy and makes the guide easier to maintain.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* fix: resolve flaky tests and improve test reliability

Fixed multiple test failures and flaky tests across the test suite:

1. **CMAB Test Fixes** (OptimizelyUserContextTests_Decide_CMAB.swift):
   - Fixed testDecideAsync_cmabCacheOptions failing with "Expected 3 calls"
   - Root cause: CMAB cache persisting between tests causing cache hits
   - Solution: Reset cache in setUp/tearDown, use unique userId
   - Added thread-safe state tracking in MockCmabService
   - Added clarifying comments for variation IDs
   - Removed commented-out code

2. **Event Dispatcher Retry Tests** (EventDispatcherRetryTests.swift):
   - Fixed testRetry_AllAttemptsExhausted timing issues
   - Fixed testRetry... (continued)

1 of 1 new or added line in 1 file covered. (100.0%)

56 existing lines in 21 files now uncovered.

1122 of 1197 relevant lines covered (93.73%)

8852.13 hits per line

Jobs
ID Job ID Ran Files Coverage
1 21293166650.1 23 Jan 2026 04:37PM UTC 77
93.73
GitHub Action Run
Source Files on build 21293166650
  • Tree
  • List 77
  • Changed 56
  • Source Changed 0
  • Coverage Changed 56
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • ceea27e6 on github
  • Prev Build on master (#4419905259)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc