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

orneryd / NornicDB / 25011980369 / 1
84%
main: 87%

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

27 Apr 2026 06:17PM UTC coverage: 84.172% (-0.4%) from 84.549%
25011980369.1

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

117586 of 139698 relevant lines covered (84.17%)

0.98 hits per line

Source Files on job 25011980369.1
  • Tree
  • List 395
  • Changed 44
  • Source Changed 0
  • Coverage Changed 44
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25011980369
  • 97390f85 on github
  • Prev Job for on substrate-layer (#25009413595.1)
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