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

optimizely / swift-sdk
94%

Build:
DEFAULT BRANCH: master
Repo Added 24 May 2019 09:32PM UTC
Files 77
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

LAST BUILD ON BRANCH master
branch: master
CHANGE BRANCH
x
Reset
  • master
  • ai/farhananjum-opti/FSSDK-12337-feature-rollouts
  • ai/farhananjum-opti/FSSDK-12418-remove-type-validation
  • ai/jaeopt/FSSDK-12546
  • ai/mat001/FSSDK-12368-mpirnovar-ai-flow-sdk-fssdk-12368
  • ai/muzahidul-opti/FSSDK-12265
  • fix-flaky-tests
  • jae/coverage
  • mpirnovar-swift-local-holdouts-fssdk-12394
  • muzahidul/feature-gate-local-holdouts
  • optibot/prepareRelease5.2.1
  • prepare-release-5.2.1

06 Apr 2026 03:59PM UTC coverage: 93.766% (+0.03%) from 93.734%
24039129239

push

github

web-flow
[AI-FSSDK] [FSSDK-12337] Add Feature Rollout support (#626)

* [FSSDK-12337] Add Feature Rollout support

Add Feature Rollout support to the Swift SDK. Feature Rollouts are a new
experiment rule type that combines Targeted Delivery simplicity with A/B
test measurement capabilities.

- Add optional `type` field (ExperimentType enum) to the Experiment model
  with valid values: ab, mab, cmab, td, fr
- Add config parsing logic to inject the "everyone else" rollout variation
  into feature rollout experiments (type == .featureRollout)
- Add traffic allocation entry (endOfRange=10000) for the injected variation
- Add `getEveryoneElseVariation` helper to extract the last rollout rule's
  first variation
- Rebuild experiment lookup maps after injection so decisions use updated data
- Add 10 unit tests covering injection, edge cases, and backward compatibility

* Remove redaundant rebuild lookup table

* fix rollout id map lookup logic

* chore: trigger CI

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* [FSSDK-12337] Handle unknown experiment types gracefully in datafile parsing

Unknown experiment type values (e.g., "new_unknown_type") no longer crash
datafile parsing. They are silently dropped to nil, aligning with other SDKs
for forward compatibility.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: muzahidul-opti <muzahidul.islam@Optimizely.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

1128 of 1203 relevant lines covered (93.77%)

8814.88 hits per line

Relevant lines Covered
Build:
Build:
1203 RELEVANT LINES 1128 COVERED LINES
8814.88 HITS PER LINE
Source Files on master
  • Tree
  • List 77
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
24039129239 master [AI-FSSDK] [FSSDK-12337] Add Feature Rollout support (#626) * [FSSDK-12337] Add Feature Rollout support Add Feature Rollout support to the Swift SDK. Feature Rollouts are a new experiment rule type that combines Targeted Delivery simplicity with... push 06 Apr 2026 04:11PM UTC web-flow github
93.77
21293166650 master [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 sta... push 23 Jan 2026 04:37PM UTC web-flow github
93.73
4419905259 master [FSSDK-8951] chore: prepare for v3.10.2 release (#481) push 14 Mar 2023 09:06PM UTC GitHub github pending completion  
4387241724 master [FSSDK-8951]: Updates readme replacing Full Stack with Feature Experimentation. (#479) push 10 Mar 2023 06:34PM UTC GitHub github pending completion  
4127541358 master Adding support for odp fsc testing. (#476) push 08 Feb 2023 07:24PM UTC GitHub github pending completion  
4086067861 master remove odpConfig from init params (#477) push 03 Feb 2023 04:54PM UTC GitHub github pending completion  
4017901314 master update README for SPM name conflict (#475) push 26 Jan 2023 06:25PM UTC GitHub github pending completion  
3998862308 master feat(ats): remove auto ODP identify events from legacy APIs (#473) push 24 Jan 2023 06:02PM UTC GitHub github pending completion  
3717392211 master restore workflow dependency to master version (#472) push 17 Dec 2022 12:18AM UTC GitHub github pending completion  
3338995053 master clean up build warnings (#468) push 27 Oct 2022 04:21PM UTC GitHub github pending completion  
See All Builds (1030)
  • Repo on GitHub
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