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

tarantool / go-config / 25739491415
86%
master: 85%

Build:
Build:
LAST BUILD BRANCH: bigbes/gh-no-layered-effective-resolution
DEFAULT BRANCH: master
Ran 12 May 2026 02:02PM UTC
Jobs 1
Files 41
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 May 2026 02:01PM UTC coverage: 86.112% (+0.7%) from 85.423%
25739491415

Pull #64

github

bigbes
config: resolve Effective by folding per-loader layer trees

Effective() resolved against the single merged tree, so a value set at a
broad inheritance scope by a high-priority loader could lose to a value set
at a narrow scope by a low-priority loader. Build now keeps each top-level
collector's contribution as its own layer tree and Effective folds those
layers in ascending-priority order: within a layer the deepest scope wins,
across layers the higher-priority loader wins, and non-conflicting sub-keys
from different loaders coexist. MergeAppend/MergeDeep keys compose across
layers. A MultiCollector is folded into a single layer.

MutableConfig mutations are mirrored into the layered view: Set/Merge/Update
record values in a runtime overlay that outranks every loader, and Delete
records a tombstone (and prunes the overlay) so the deleted contribution is
suppressed from each layer's scope chain; re-setting a deleted path clears
its tombstone. Snapshot deep-clones the layers, overlay, and tombstones.

Configs not produced by a Builder (slices, Walk snapshots, effective
sub-configs) keep the original single-tree resolution.
Pull Request #64: config: resolve Effective by folding per-loader layer trees

263 of 283 new or added lines in 4 files covered. (92.93%)

2 existing lines in 2 files now uncovered.

3559 of 4133 relevant lines covered (86.11%)

80.56 hits per line

Uncovered Changes

Lines Coverage ∆ File
9
91.34
1.25% builder.go
6
97.01
-0.97% inheritance.go
5
93.68
2.22% config.go

Coverage Regressions

Lines Coverage ∆ File
1
91.34
1.25% builder.go
1
93.68
2.22% config.go
Jobs
ID Job ID Ran Files Coverage
1 25739491415.1 12 May 2026 02:02PM UTC 41
86.11
GitHub Action Run
Source Files on build 25739491415
  • Tree
  • List 41
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #64
  • PR Base - master (#25487906678)
  • Delete
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