Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created February 16, 2017 03:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/c56451864b792d91a5a6aa0ed967e6a3 to your computer and use it in GitHub Desktop.
Save Whateverable/c56451864b792d91a5a6aa0ed967e6a3 to your computer and use it in GitHub Desktop.
bisectable6
my $p = Promise.new; my $b = 0; my $w = start { await($p); CATCH { default { $b = 1; .resume } } }; $p.break; await($w); $b.say
Bisecting: 1703 revisions left to test after this (roughly 11 steps)
[50c24a8a61d0a89caa0dee1f14d2fdc29cc3f2e7] Streamline various Set/SetHash methods
»»»»» Testing 50c24a8a61d0a89caa0dee1f14d2fdc29cc3f2e7
»»»»» Script output:
1
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 61a18c064695cfa16f31187abed62d1fe4e2cb5e
»»»»» Script output:
===SORRY!===
This exception is not resumable
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 6977b8741386aeb789907d77c0df111d46ded612
»»»»» Script output:
1
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 28e11c47ddc634db64c7090667c2265ea75c6568
»»»»» Script output:
===SORRY!===
This exception is not resumable
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing e47242070252533ac0d116b73d8e43822ff2b74c
»»»»» Script output:
1
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 91a7140aa24f327e5e2cfe13ebb8d36ce3a43ff4
»»»»» Script output:
1
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing d53a90594ce8010d0c7e98bef77014116e84f2d8
»»»»» Script output:
1
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing ddfcaa7a3b6829058ac9901bc10c398f282a1436
»»»»» Script output:
1
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 5ba75f445dc74560f9dabceeb4b4dc13f78c786f
»»»»» Script output:
1
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing abf6caf06eb7e48674d4e22a4ad6b580e5efecbf
»»»»» Script output:
===SORRY!===
This exception is not resumable
»»»»» Script exit code: 1
»»»»» Bisecting by exit code
»»»»» Current exit code is 1, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 8c3e57d77e90fab1d504830bf69580f52e71a272
»»»»» Script output:
1
»»»»» Script exit code: 0
»»»»» Bisecting by exit code
»»»»» Current exit code is 0, exit code on “old” revision is 0
»»»»» If exit code is not the same as on “old” revision, this revision will be marked as “new”
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
abf6caf06eb7e48674d4e22a4ad6b580e5efecbf is the first new commit
commit abf6caf06eb7e48674d4e22a4ad6b580e5efecbf
Author: Jonathan Worthington <jnthn@jnthn.net>
Date: Wed Nov 2 16:55:37 2016 +0100
Improve error reporting around broken promises.
Previously, we had the message of the original exception, together
with the backtrace of the await or .result call. Now, we:
* Clearly indicate that the exception was raised by obtaining the
result of a broken Promise
* Provide the location that this happened
* Provide the original exception's message
* Provide the backtrace of the original exception
:040000 040000 65844dd8a7d3ee05d39889e1081dd8361acc8631 fcdc0fe75b22d3f352e8a9ce8b960be8c3ef2f5c M src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment