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

optimizely / go-sdk / 20182503213
92%
master: 92%

Build:
Build:
LAST BUILD BRANCH: mpirnovar-fix-activate-endpoint-holdouts
DEFAULT BRANCH: master
Ran 12 Dec 2025 11:13PM UTC
Jobs 1
Files 84
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

12 Dec 2025 11:11PM UTC coverage: 91.905% (-0.05%) from 91.95%
20182503213

Pull #431

github

Mat001
Remove Holdouts field from OptimizelyConfig

The Holdouts field was not part of the original TDD requirements and is not
present in JavaScript or C# SDKs. This field was causing FSC test failures.

Agent doesn't need holdouts exposed in OptimizelyConfig because:
- Decision logic (GetHoldoutsForFlag, GetHoldoutList) works internally
- Agent's /v1/decide endpoint uses go-sdk's decision service which already
  handles holdouts from v2.3.0
- OptimizelyConfig is metadata, not for decision-making

Changes:
- Removed Holdouts field from OptimizelyConfig struct
- Removed OptimizelyHoldout type
- Removed getHoldouts() and getHoldoutAudiences() helper functions
- Removed holdout-specific tests (TestOptlyConfigIncludesHoldouts,
  TestOptlyConfigWithHoldouts)
- Updated TestStaticGetOptimizelyConfig to not expect Holdouts field

The ProjectConfig interface methods (GetHoldoutList, GetHoldoutsForFlag)
remain as they are required by TDD for internal decision logic.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Pull Request #431: [FSSDK-11559] Mpirnovar fix activate endpoint holdouts

0 of 3 new or added lines in 1 file covered. (0.0%)

5631 of 6127 relevant lines covered (91.9%)

7956.33 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
97.31
-1.33% pkg/config/datafileprojectconfig/config.go
Jobs
ID Job ID Ran Files Coverage
1 20182503213.1 12 Dec 2025 11:13PM UTC 84
91.9
GitHub Action Run
Source Files on build 20182503213
  • Tree
  • List 84
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #431
  • PR Base - master (#20181075619)
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