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

Ch4s3 / bandera / 776d230ba6fa643ea2fe62b895e0127887492e9f-PR-17
91%
main: 92%

Build:
Build:
LAST BUILD BRANCH: feature/multi-instance
DEFAULT BRANCH: main
Ran 29 Sep 2026 12:02AM UTC
Jobs 1
Files 46
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

25 Sep 2026 03:23AM UTC coverage: 90.858% (-0.8%) from 91.615%
776d230ba6fa643ea2fe62b895e0127887492e9f-PR-17

Pull #17

github

bglusman
feat: let `use Bandera` ship lowest-precedence default settings

An application embedded in other applications (a dependency whose
LiveViews a host mounts) could only get its instance's storage and
notification settings from application env, which a host never loads
from a dependency — so every host had to mirror them, and a drifted or
missing mirror silently fell back to in-memory storage.

`use Bandera, otp_app: :my_lib, defaults: [...]` now sets the instance's
lowest-precedence layer: defaults < application env < explicit child
options, merged one level deep. A host overrides only what it must (e.g.
its test store). `__bandera_defaults__/0` exposes the shipped defaults.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Pull Request #17: Feature/multi instance

586 of 654 new or added lines in 30 files covered. (89.6%)

5 existing lines in 4 files now uncovered.

1620 of 1783 relevant lines covered (90.86%)

219.66 hits per line

Uncovered Changes

Lines Coverage ∆ File
15
48.28
test/support/legacy_fixtures.ex
7
87.1
-10.4% lib/bandera/store/persistent/ecto.ex
7
69.81
-4.47% lib/bandera/store/persistent/redis.ex
6
72.73
lib/bandera/instance.ex
5
72.73
-21.02% lib/bandera/dashboard/stale.ex
4
89.66
-10.34% lib/bandera/config.ex
4
87.11
1.0% lib/bandera/dashboard/flags_live.ex
4
73.33
-26.67% lib/bandera/store/persistent.ex
4
87.36
5.27% lib/bandera/usage.ex
3
76.92
-23.08% lib/bandera/store.ex
2
50.0
0.0% test/support/test_repo_migration.ex
1
92.31
-7.69% lib/bandera/notifications.ex
1
89.47
-2.19% lib/bandera/notifications/phoenix_pubsub.ex
1
85.29
0.68% lib/bandera/notifications/redis.ex
1
93.75
-6.25% lib/bandera/store/cache.ex
1
95.45
-4.55% lib/bandera/store/persistent/memory.ex
1
93.33
-1.4% lib/bandera/usage/ecto.ex
1
87.5
37.5% lib/mix/tasks/bandera.flags.ex

Coverage Regressions

Lines Coverage ∆ File
2
89.66
-10.34% lib/bandera/config.ex
1
99.51
0.01% lib/bandera/dashboard/components.ex
1
87.1
-10.4% lib/bandera/store/persistent/ecto.ex
1
69.81
-4.47% lib/bandera/store/persistent/redis.ex
Jobs
ID Job ID Ran Files Coverage
1 776d230ba6fa643ea2fe62b895e0127887492e9f-PR-17.1 29 Sep 2026 12:02AM UTC 46
90.86
GitHub Action Run
Source Files on build 776d230ba6fa643ea2fe62b895e0127887492e9f-PR-17
  • Tree
  • List 46
  • Changed 27
  • Source Changed 0
  • Coverage Changed 27
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #17
  • PR Base - main (#C95BBC76...)
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