Skip to content

Conversation

@limemloh
Copy link
Member

@limemloh limemloh commented Sep 4, 2019

This should PR changes how push works with Behaviors.
Push now triggers a pull, which ensures that all the dependencies are calculated first, eliminating glitches in Behaviors.

I have added two simple tests showing exposing glitches.

@codecov
Copy link

codecov bot commented Sep 4, 2019

Codecov Report

Merging #67 into master will decrease coverage by 0.21%.
The diff coverage is 96.96%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #67      +/-   ##
==========================================
- Coverage    95.7%   95.49%   -0.22%     
==========================================
  Files          13       13              
  Lines        1467     1465       -2     
  Branches      129      128       -1     
==========================================
- Hits         1404     1399       -5     
- Misses         63       66       +3
Impacted Files Coverage Δ
src/common.ts 97.53% <100%> (ø) ⬆️
src/placeholder.ts 91.13% <92.85%> (-3.53%) ⬇️
src/behavior.ts 98.17% <98%> (-0.03%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3b4a5ed...f22b3af. Read the comment docs.

@limemloh limemloh force-pushed the pushing-triggers-pull branch from 939b7d1 to 3a3cfd0 Compare September 4, 2019 09:47
@limemloh limemloh requested a review from paldepind September 4, 2019 09:52
Copy link
Member

@paldepind paldepind left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. Pretty sweet that glitched could be eliminated in this fairly elegant way 😃

@paldepind paldepind merged commit 0345a86 into master Sep 4, 2019
@paldepind paldepind deleted the pushing-triggers-pull branch September 4, 2019 17:18
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