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

optimizely / javascript-sdk / 28954433134
78%

Build:
DEFAULT BRANCH: master
Ran 08 Jul 2026 03:26PM UTC
Jobs 4
Files 126
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

08 Jul 2026 03:24PM UTC coverage: 77.724% (+0.02%) from 77.701%
28954433134

push

github

web-flow
[FSSDK-12880] Refactor project config creation (#1164)

* [FSSDK-12880] Refactor project config creation

- Simplify createProjectConfig to accept a datafile string directly
  instead of string | object, inlining datafile validation
- Remove the separate config_validator module and its tests
- Break monolithic config builder into focused parse functions:
  parseAudienceConfig, parseAttributeConfig, parseGroupConfig,
  parseRolloutConfig, parseIntegrationConfig, parseExperimentConfig,
  parseFeatureFlagConfig
- Eliminate mutation-safe datafile copy in favor of direct construction
- Refactor redundant iterations over experiments and feature flags
- Remove lodash dev dependency

Benchmarks show ~10% faster config parsing for 3-4 MB datafiles.
Removing createMutationSafeDatafileCopy also fixes a memory issue
where it allocated ~4x the datafile size in shallow copies per call,
causing OOM under repeated parsing of large datafiles.

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

1547 of 3017 branches covered (51.28%)

Branch coverage included in aggregate %.

138 of 140 new or added lines in 7 files covered. (98.57%)

2 existing lines in 2 files now uncovered.

8990 of 10540 relevant lines covered (85.29%)

261.79 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
86.15
2.01% lib/project_config/project_config.ts
1
7.05
0.0% lib/project_config/project_config_manager.ts

Coverage Regressions

Lines Coverage ∆ File
1
97.67
-2.33% lib/tests/test_data.ts
1
77.61
-1.49% lib/utils/fns/index.ts
Jobs
ID Job ID Ran Files Coverage
1 run-18 - 28954433134.1 08 Jul 2026 03:26PM UTC 126
77.72
GitHub Action Run
2 run-22 - 28954433134.2 08 Jul 2026 03:26PM UTC 126
77.72
GitHub Action Run
3 run-20 - 28954433134.3 08 Jul 2026 03:26PM UTC 126
77.72
GitHub Action Run
4 run-24 - 28954433134.4 08 Jul 2026 03:26PM UTC 126
77.72
GitHub Action Run
Source Files on build 28954433134
  • Tree
  • List 126
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • ccaf38ba on github
  • Prev Build on master (#28879433001)
  • Next Build on master (#28955211139)
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