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

microsoft / botbuilder-dotnet / 183725
78%

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

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

Jobs
ID Job ID Ran Files Coverage
2 183725.2 10 Nov 2020 09:52PM UTC 0
78.46
Source Files on build 183725
Detailed source file information is not available for this build.
  • Back to Repo
  • 804380f5 on github
  • Prev Build on main (#183640)
  • Next Build on main (#183906)
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