Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Playlab] Skip the command queue for score-changing blocks #14769

Merged
merged 3 commits into from May 3, 2017

Conversation

balderdash
Copy link
Contributor

In order for the getScore block to work properly with other score-changing blocks, the score needs to be updated immediately like other variable blocks, not when the command queue executes as these score blocks currently do it.

This was briefly discussed in https://github.com/code-dot-org/code-dot-org/pull/9756/files/eb5d1d504577494252e8935fdddea095a42c12bf#r73028339, but I didn't update the behavior of the existing score blocks in that PR.

@balderdash balderdash requested a review from joshlory May 1, 2017 21:30
@joshlory
Copy link
Contributor

joshlory commented May 1, 2017

Do we have any test coverage for the various score blocks? I'm a little terrified about how this will change existing programs, but the new approach seems to be clearly better.

@joshlory
Copy link
Contributor

joshlory commented May 2, 2017

CircleCI failure related?

Copy link
Contributor

@joshlory joshlory left a comment

Choose a reason for hiding this comment

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

I really like the new approach!

@balderdash balderdash merged commit 82fe509 into staging May 3, 2017
@balderdash balderdash deleted the variablify-score branch May 3, 2017 18:10
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.

None yet

2 participants