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

orneryd / NornicDB / 25011612623
84%
main: 87%

Build:
Build:
LAST BUILD BRANCH: bolt-over-ws
DEFAULT BRANCH: main
Ran 27 Apr 2026 06:23PM UTC
Jobs 1
Files 395
Run time 18s
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

pending completion
25011612623

Pull #117

github

orneryd
fix(storage): prevent schema lock leaks and bootstrap knowledge-policy defaults

Fix schema lock leak in schema_knowledgepolicy.go: replace deferred unlock with finishKnowledgePolicyMutationLocked(), ensure early-return paths unlock, persist after unlock, and invoke knowledgePolicyChanged hook.
Add SetKnowledgePolicyChangedHook to schema.go and wire it in badger_schema.go to trigger decay reconciliation when schema changes.
Implement namespace-wide decay reconciliation:
badger_decay_reconcile.go: ReconcileDecaySuppression and ReconcileDecaySuppressionWithChanges.
Hook into BadgerEngine to enqueue de-indexing / produce suppression-change tokens.
Move scoring and promotion logic forward:
binding_builder.go / compiled_binding.go: compile promotion WHEN clauses into CompiledPromotionRule and attach to CompiledBinding.
scorer.go: add ScoreNodeWithProperties / ScoreEdgeWithProperties, pass entityProps into scoring, and implement selectPromotionProfile() to run compiled WHEN predicates.
binding_builder.go: add effectiveBundle* helpers and stricter handling of bundles with DecayEnabled.
Fix ON ACCESS expression runtime:
on_access_runtime.go: include entityProps in eval context, make missing numeric comparisons evaluate false for ordered ops, and update property lookup to consult both access meta and entity props.
Make decay semantics explicit in DDL and tests:
knowledgepolicy_ddl.go: parse decay bundles with DecayEnabled: true by default when appropriate.
Update many tests to set DecayEnabled explicitly (badger_mvcc_decay_test.go, pkg/cypher/*_test.go, pkg/knowledgepolicy/*_test.go, integration_test.go).
Add bootstrapping & wiring for default knowledge-policy:
knowledgepolicy_bootstrap.go: bootstrap DDL when opening a decay-enabled DB with an empty namespace.
Wire bootstrap and knowledge-policy changed behavior into db.go.
Add E2E tests for bootstrap and ALTER-driven unsuppression (knowledgepolicy_bootstrap_e2e_test.go, badger_knowledgepolicy_alter_e2e_test.g... (continued)
Pull Request #117: Knowledge-Layer Scoring and Visibility

117588 of 139698 relevant lines covered (84.17%)

0.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25011612623.1 27 Apr 2026 06:23PM UTC 395
84.17
GitHub Action Run
Source Files on build 25011612623
  • Tree
  • List 395
  • Changed 45
  • Source Changed 0
  • Coverage Changed 45
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #117
  • PR Base - main (#25009413595)
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