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

optimizely / agent
87%

Build:
DEFAULT BRANCH: master
Repo Added 15 Jul 2020 04:55PM UTC
Files 55
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
  • Mat001-patch-1
  • Mat001-patch-1-temp
  • Mat001-patch-2
  • Mat001-patch-3
  • dependabot/go_modules/github.com/golang-jwt/jwt/v4-4.5.2
  • dependabot/go_modules/golang.org/x/crypto-0.31.0
  • junaed/fssdk-11071-dependabot-full-sdk-review
  • mpirnovar-add-holdouts-support
  • mpirnovar-agent-dependabot-fssdk-11471
  • mpirnovar-agent-ho-release-prep
  • mpirnovar-agent-release-4.2.0
  • mpirnovar-cmab-accept-tests-fssdk-11725
  • mpirnovar-cmab-agent-changelog
  • mpirnovar-cmab-config-fssdk-11587
  • mpirnovar-cmab-redis-cache-fssdk-11990
  • mpirnovar-crypto-prisma-fix-fssdk-11339
  • mpirnovar-experid-variationid-fssdk-11452
  • mpirnovar-fix-client-cmabconfig-fssdk-11980
  • mpirnovar-fssdk-11338
  • mpirnovar-prismafix-fssdk-12108
  • mpirnovar-redisstreams-to-cmab-fssdk-12072
  • redis-streams-notifications
  • refs/tags/v3.0.0
  • refs/tags/v3.0.1
  • refs/tags/v4.0.0
  • refs/tags/v4.0.0-beta
  • refs/tags/v4.1.0
  • refs/tags/v4.2.0
  • refs/tags/v4.2.2
  • refs/tags/v4.3.0
  • refs/tags/v4.3.0-beta.1
  • release/v4.2.1
  • v2.0.0
  • v2.0.0-beta
  • v2.0.0-beta1
  • v2.0.0-beta2
  • v2.0.0-beta3
  • v2.0.1
  • v2.1.0
  • v2.2.0
  • v2.3.0
  • v2.3.1
  • v2.4.0
  • v2.5.0
  • v2.6.0
  • v2.7.0
  • v2.7.1

18 Dec 2025 06:29PM UTC coverage: 86.642% (+0.004%) from 86.638%
20347157237

push

github

web-flow
[FSSDK-11558] Mpirnovar add holdouts support (#452)

* Add holdouts support to Agent

This change adds holdout support to Agent by:

1. Updating to use local go-sdk with holdouts implementation
2. Adding GetHoldoutList and GetHoldoutsForFlag methods to TestProjectConfig mock
3. Migrating CMAB prediction endpoint config from global variable to CmabConfig struct

Changes:
- Added go.mod replace directive to use local go-sdk for development
- Implemented GetHoldoutList() and GetHoldoutsForFlag() in TestProjectConfig
- Updated CMAB endpoint configuration to use CmabConfig.PredictionEndpointTemplate
- Removed unused cmab package import

Once go-sdk is released with holdouts, the go.mod replace can be removed
and the version bumped to the new release.

* Fix CMAB endpoint tests after API migration

Updated tests to reflect that CMAB prediction endpoint is now configured
through CmabConfig.PredictionEndpointTemplate instead of a global variable.

Removed assertions that checked cmab.CMABPredictionEndpoint since the
endpoint is now encapsulated within the CMAB client configuration and
cannot be easily verified from outside.

The tests still verify that clients are created successfully with the
configured endpoints.

* add uit and acceptance tests

* Remove Holdouts field from OptimizelyConfig API

Updated Agent to use go-sdk branch that removed the Holdouts field from
OptimizelyConfig. This aligns with JavaScript and C# SDKs and fixes FSC test failures.

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

Changes:
- Updated go.mod to use go-sdk@mpirnovar-fix-activate-endpoint-holdouts
- Removed TestConfigIncludesHoldouts test
- Removed test_config_with_holdouts and validate_holdout_... (continued)

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

3483 of 4020 relevant lines covered (86.64%)

2747.26 hits per line

Relevant lines Covered
Build:
Build:
4020 RELEVANT LINES 3483 COVERED LINES
2747.26 HITS PER LINE
Source Files on master
  • Tree
  • List 55
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
20347157237 master [FSSDK-11558] Mpirnovar add holdouts support (#452) * Add holdouts support to Agent This change adds holdout support to Agent by: 1. Updating to use local go-sdk with holdouts implementation 2. Adding GetHoldoutList and GetHoldoutsForFlag metho... push 18 Dec 2025 06:32PM UTC web-flow github
86.64
19937349327 master address prisma issue (#450) push 04 Dec 2025 05:09PM UTC web-flow github
86.64
19554511935 master Update CHANGELOG for v4.3.0 release (#449) - Add Contextual Multi-Armed Bandit (CMAB) Support as headline feature - Include Redis Streams auto-detection and notification improvements - Add flexible Redis authentication across all services - Relea... push 20 Nov 2025 11:25PM UTC web-flow github
86.64
19549408620 master [FSSDK-12072] Integrate Redis Streams into agent (#448) * Integrate Redis Streams and enhance CMAB with flexible authentication This commit integrates Redis Streams for persistent notification delivery from v4.3.0-beta.1 with the existing CMAB R... push 20 Nov 2025 07:50PM UTC web-flow github
86.64
19177705593 master [FSSDK-11990] Add Redis cache support for CMAB following ODP cache pattern (#447) * Add Redis cache support for CMAB following ODP cache pattern Implement Redis caching for CMAB (Contextual Multi-Armed Bandit) decisions using the same plugin-bas... push 07 Nov 2025 06:35PM UTC web-flow github
86.32
18598184760 master [FSSDK-11980] Update Agent to use go-sdk v2.1.1 client.CmabConfig API (#446) * Add CMAB testing setup - Update go-sdk to v2.1.1 (latest master) for CMAB UUID support - Configure datafileURLTemplate for staging environment - Add CMAB testing docu... push 17 Oct 2025 04:05PM UTC web-flow github
86.21
18319043662 master chore: add v4.2.2 release to CHANGELOG Re-release of v4.2.1 with properly synchronized Go module dependencies to fix Docker build issues that prevented v4.2.1 from being published. push 07 Oct 2025 04:16PM UTC Mat001 github
86.18
17843218393 master [FSSDK-11339] fix crypto lib prisma security issue (#442) * fix crypto lib prisma security issue * upgrade go version to 1.24 like in agent itself push 18 Sep 2025 10:44PM UTC web-flow github
86.18
17447143437 master chore: update v4.2.1 release date in CHANGELOG to September 3, 2025 push 03 Sep 2025 10:01PM UTC Mat001 github
86.18
17447035226 master [FSSDK-11793] Release/v4.2.1 (#441) * fix: parse secure token from SDK key in notification handler Handle SDK keys with secure tokens in format 'sdkKey:apiKey' by extracting only the SDK key portion for notification processing. * docs: improve ... push 03 Sep 2025 09:54PM UTC web-flow github
86.18
See All Builds (1607)
  • 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

© 2025 Coveralls, Inc