Skip to content

Do not switch into context with unavailable edges#224

Merged
KristianKarl merged 1 commit intoGraphWalker:masterfrom
KristianKarl:krikar/doNotSwitchContextWhenOutEdgesUnavailable
Feb 20, 2020
Merged

Do not switch into context with unavailable edges#224
KristianKarl merged 1 commit intoGraphWalker:masterfrom
KristianKarl:krikar/doNotSwitchContextWhenOutEdgesUnavailable

Conversation

@KristianKarl
Copy link
Copy Markdown
Contributor

The PR resolves the issue raised in GraphWalker fails to generate a path for models with shared state error and guards

The problem occurred when trying to switch into another model by a shared state, and that shared state had only out edges that were not accessible because of guards evaluating to false.

The solution is to not try to switch into such model, until an edge is accessible.

Also:
Fixed data logging
Added debug logging

Fixed data logging
Added debug loging
@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #224 into master will increase coverage by 0.06%.
The diff coverage is 71.42%.

@@             Coverage Diff              @@
##             master     #224      +/-   ##
============================================
+ Coverage     76.01%   76.07%   +0.06%     
- Complexity     1196     1205       +9     
============================================
  Files           129      129              
  Lines          4402     4418      +16     
  Branches        661      667       +6     
============================================
+ Hits           3346     3361      +15     
  Misses          821      821              
- Partials        235      236       +1

@KristianKarl KristianKarl merged commit a189878 into GraphWalker:master Feb 20, 2020
@KristianKarl KristianKarl changed the title Do not switch into context with available edges Do not switch into context with unavailable edges Feb 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants