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

tarantool / go-config / 21398445574

27 Jan 2026 01:09PM UTC coverage: 90.981% (-0.6%) from 91.567%
21398445574

Pull #7

github

bigbes
config: implement config merging algorithm

- Add internal/merger package with MergeCollector function that handles
  replacement and key order preservation based on collector's KeepOrder flag.
- Update builder.go to use merger.MergeCollector instead of inline logic.
- Extend tree.Node with orderSet flag and ReorderChildren method to
  support ordered collectors.
- Update collectors/map.go to sort keys when KeepOrder is true for
  deterministic ordering.
- Add testify dependency as a first step of replacing shoenig lib.
- Add Merger and MergerContext interfaces for custom merging logic.
- Implement DefaultMerger with standard last-write-wins semantics.
- Add MergeCollectorWithMerger function for using custom mergers.
- Update Builder to support WithMerger method.
- Move internal/omap and internal/tree to root-level packages for public use
  in custom mergers.
- Add comprehensive example tests for custom mergers.
- Update imports and references throughout codebase.

Closes TNTP-5718
Pull Request #7: config: implement config merging algorithm

215 of 248 new or added lines in 6 files covered. (86.69%)

1261 of 1386 relevant lines covered (90.98%)

27.91 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

99.29
/tree/node.go


Source Not Available

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