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

orion-ecs / keen-eye / 30322295363
64%

Build:
DEFAULT BRANCH: main
Ran 28 Jul 2026 02:14AM UTC
Jobs 1
Files 1051
Run time 2min
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

28 Jul 2026 02:09AM UTC coverage: 63.952% (+0.01%) from 63.941%
30322295363

push

github

tyevco
fix(ai): Move all execution state out of shared behavior definitions into per-entity memory

Behavior definitions (BT nodes, AI actions, utility actions and
considerations) are shared between every entity that runs them, but
they stored per-execution state in instance fields: composite child
cursors, RandomSelector shuffles, node LastState (which also drives
interrupt propagation), Cooldown timestamps, Repeater counts, WaitNode
elapsed time, all four navigation actions' path state, and utility
scoring debug values. Two entities sharing one definition corrupted
each other's runs - entity B resumed from entity A's position.

Execution state now lives in per-entity memory objects stored on the
entity's Blackboard, keyed by definition-node reference
(Blackboard.GetMemory<TMemory>). Node/action Execute signatures are
unchanged; Reset and last-state access now take the blackboard
(Reset(Blackboard), GetLastState(Blackboard), GetLastScore(Blackboard))
so one entity's reset cannot rewind another's progress. Definitions are
immutable while running and safe to share.

Eight regression tests in SharedDefinitionTests run one shared
definition against two blackboards and assert isolation, including an
end-to-end BehaviorTreeSystem test where a later-spawned entity does
not inherit the first entity's wait progress.

Fixes #1281

8987 of 13264 branches covered (67.75%)

Branch coverage included in aggregate %.

133 of 226 new or added lines in 30 files covered. (58.85%)

10 existing lines in 8 files now uncovered.

53177 of 83940 relevant lines covered (63.35%)

1.0 hits per line

Uncovered Changes

Lines Coverage ∆ File
22
0.0
0.0% src/KeenEyes.AI/BehaviorTree/Composites/RandomSelector.cs
20
31.03
0.33% src/KeenEyes.AI/Actions/PatrolAction.cs
15
71.9
-0.37% src/KeenEyes.AI/Actions/FleeAction.cs
5
0.0
0.0% editor/KeenEyes.Editor/AI/AIDebugPanel.cs
5
71.64
-0.67% src/KeenEyes.AI/Actions/ChaseAction.cs
5
79.31
1.53% src/KeenEyes.AI/BehaviorTree/Decorators/Repeater.cs
4
0.0
0.0% src/KeenEyes.AI/BehaviorTree/Composites/Parallel.cs
3
75.0
2.78% src/KeenEyes.AI/BehaviorTree/Decorators/Cooldown.cs
2
77.78
0.0% src/KeenEyes.AI/BehaviorTree/Decorators/UntilFail.cs
2
88.0
1.64% src/KeenEyes.AI/BehaviorTree/Leaves/WaitNode.cs
2
94.12
-5.88% src/KeenEyes.AI/Core/Blackboard.cs
1
22.22
0.0% src/KeenEyes.AI/AIContext.cs
1
76.47
0.96% src/KeenEyes.AI/Actions/MoveToAction.cs
1
95.83
12.5% src/KeenEyes.AI/BehaviorTree/Core/BehaviorTree.cs
1
56.25
6.25% src/KeenEyes.AI/BehaviorTree/Core/CompositeNode.cs
1
44.44
0.0% src/KeenEyes.AI/BehaviorTree/Core/DecoratorNode.cs
1
87.5
0.0% src/KeenEyes.AI/BehaviorTree/Decorators/Succeeder.cs
1
0.0
0.0% src/KeenEyes.AI/Core/IAIAction.cs
1
93.33
0.0% src/KeenEyes.AI/FSM/State.cs

Coverage Regressions

Lines Coverage ∆ File
2
88.62
-1.8% src/KeenEyes.Parallelism/JobScheduler.cs
2
69.68
0.53% src/KeenEyes.TestBridge/Process/ManagedProcess.cs
1
71.64
-0.67% src/KeenEyes.AI/Actions/ChaseAction.cs
1
71.9
-0.37% src/KeenEyes.AI/Actions/FleeAction.cs
1
31.03
0.33% src/KeenEyes.AI/Actions/PatrolAction.cs
1
0.0
0.0% src/KeenEyes.AI/BehaviorTree/Composites/RandomSelector.cs
1
79.31
1.53% src/KeenEyes.AI/BehaviorTree/Decorators/Repeater.cs
1
98.81
-1.19% src/KeenEyes.Core/Queries/QueryManager.cs
Jobs
ID Job ID Ran Files Coverage
1 30322295363.1 28 Jul 2026 02:14AM UTC 1051
63.95
GitHub Action Run
Source Files on build 30322295363
  • Tree
  • List 1051
  • Changed 35
  • Source Changed 30
  • Coverage Changed 22
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #30322295363
  • 29dd3ee1 on github
  • Prev Build on main (#30292890254)
  • Next Build on main (#30360962500)
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