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

microsoft / botbuilder-dotnet / 183725 / 2
78%
main: 78%

Build:
DEFAULT BRANCH: main
Ran 10 Nov 2020 09:52PM UTC
Files 689
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

10 Nov 2020 09:52PM UTC coverage: 78.465% (+0.03%) from 78.435%
183725.2

push

CI-PR build

GitHub
OnCondition is not correctly caching expressions causing constant expression.Parse calls (#4935)

* GetExpression() was only caching the root expresion parsing, all child conditions which overrode GetExpression() were callin Expression.Parse() on EVERY call, causing us to parse and allocate Expression obejcts every time someone asked for the expression.  This creates a  huge overhead for evaluating triggers.  This was an architectural regression introduced in refactoring in 2019 via commit fe543724, and fixes the problem by having GetExpression() clearly documented as returning a CACHED expression, and moving all creation logic to protected virtual method CreateExpression().  This should be backward compatible with classes which do override this method but there shouldn't be because custom triggers is not something our community has been active in.

* add unit test

* double registerSourceLocation causes exception in OnContinueConversation

* Fix unit test

17212 of 21936 relevant lines covered (78.46%)

0.78 hits per line

Source Files on job 183725.2
  • Tree
  • List 0
  • Changed 14
  • Source Changed 9
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 183725
  • 804380f5 on github
  • Prev Job for on main (#183640.2)
  • Next Job for on main (#183906.2)
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