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

source-academy / frontend / 30558935769
44%

Build:
DEFAULT BRANCH: master
Ran 30 Jul 2026 03:56PM UTC
Jobs 1
Files 475
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

30 Jul 2026 03:53PM UTC coverage: 43.98% (+0.1%) from 43.883%
30558935769

push

github

web-flow
Allow deployments to pin the Conductor feature flags (#4205)

* Allow deployments to pin the Conductor feature flags

The Conductor and directory feature flags could only be set per-browser,
via /features, so a deployment had no way to configure them for every
user.

Feature flags can now carry a lockedValue supplied by build-time
configuration, which takes precedence over both the persisted user
override and the flag's default. Locked flags are read-only on /features
and cannot be written back into persisted state.

REACT_APP_CONDUCTOR_ENABLE (TRUE/FALSE/unset) pins conductor.enable;
while it is TRUE, REACT_APP_LANGUAGE_DIRECTORY_URL,
REACT_APP_PLUGIN_DIRECTORY_URL and REACT_APP_MODULES_DIRECTORY_URL pin
the corresponding directory URLs. Leaving them unset preserves today's
behaviour exactly.

The SICP JS override in selectConductorEnable still wins over a pinned
flag, since Source is not in the Language Directory yet and a forced-on
Conductor would break the textbook's runnable snippets.

Also replaces LanguageDirectorySaga's duplicate copy of the default
directory URL with the flag's own defaultValue, so pinning the URL to
that same public value keeps using the bundled npm copy instead of
silently starting a network fetch.

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

* Fix formatting

* Update README to be more accurate

* Guard resetFlag on locked feature flags

A deployment-pinned flag could still have its persisted override deleted
via resetFlag, even though setFlag was already blocked. Guard both
reducer actions so a locked flag never modifies persisted user state.

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

---------

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: Richard Dominick <34370238+RichDom2185@users.noreply.github.com>

2951 of 7734 branches covered (38.16%)

Branch coverage included in aggregate %.

16 of 16 new or added lines in 9 files covered. (100.0%)

6813 of 14467 relevant lines covered (47.09%)

29.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30558935769.1 30 Jul 2026 03:56PM UTC 475
43.98
GitHub Action Run
Source Files on build 30558935769
  • Tree
  • List 475
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 783ee4f2 on github
  • Prev Build on master (#30558385052)
  • Next Build on master (#30562606868)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc