Created
March 5, 2018 12:04
-
-
Save garethrees/8f2aa3de7f72ea65cff74b7354ed2ed8 to your computer and use it in GitHub Desktop.
Phase Counts Regression
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
bundle > /dev/null 2>&1 | |
RAILS_ENV=test bundle exec rake db:drop && RAILS_ENV=test bundle exec rake db:create && RAILS_ENV=test bundle exec rake db:migrate > /dev/null 2>&1 | |
bundle exec rspec ./spec/models/user_spec.rb > /dev/null 2>&1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git bisect start | |
# 0.30.0.0 | |
$ git bisect good 14d45c5 | |
# 0.31.0.0 | |
$ git bisect bad 318764240 | |
$ git bisect run ./tmp/bisect-user-phase-counts | |
running ./tmp/bisect-user-phase-counts | |
Bisecting: 123 revisions left to test after this (roughly 7 steps) | |
[edb1a86728be1cc9a997447957f5a076e7866f3b] Move example groups to contexts | |
running ./tmp/bisect-user-phase-counts | |
Bisecting: 63 revisions left to test after this (roughly 6 steps) | |
[efa734ebd7c048ca5da875fd1820a0830151e9b9] Merge remote-tracking branch 'origin/pro236-show-authority-notes' into develop | |
running ./tmp/bisect-user-phase-counts | |
Bisecting: 31 revisions left to test after this (roughly 5 steps) | |
[681205078d384817548dd81d23d276d92edeacc6] Allow a pro user to update their payment card from the account page | |
running ./tmp/bisect-user-phase-counts | |
Bisecting: 15 revisions left to test after this (roughly 4 steps) | |
[b3f9d01bd4915e5ac9742ab17e0adfd3b8f71459] Add MVP of SubscriptionsController#create | |
running ./tmp/bisect-user-phase-counts | |
Bisecting: 7 revisions left to test after this (roughly 3 steps) | |
[5833954ab0541786c56d147ee81f2ddc9043926c] Merge branch 'disable-style-encoding-cop' into develop | |
running ./tmp/bisect-user-phase-counts | |
Bisecting: 3 revisions left to test after this (roughly 2 steps) | |
[bd6645582e8c720b98db17c0eb505f3177347b26] Use PhaseCounts to count categorised requests in the ToDoList | |
running ./tmp/bisect-user-phase-counts | |
Bisecting: 1 revision left to test after this (roughly 1 step) | |
[41d3dd51fb47da693804e4ac9b24e76de9554785] Use PhaseCounts in the dashboard/projects partial | |
running ./tmp/bisect-user-phase-counts | |
Bisecting: 0 revisions left to test after this (roughly 0 steps) | |
[85819d3200d855ba8870640224b7090ceda57fab] Add PhaseCounts to calculate phase totals | |
running ./tmp/bisect-user-phase-counts | |
85819d3200d855ba8870640224b7090ceda57fab is the first bad commit | |
commit 85819d3200d855ba8870640224b7090ceda57fab | |
Author: lizconlan <[email protected]> | |
Date: Mon Sep 25 11:06:51 2017 +0100 | |
Add PhaseCounts to calculate phase totals | |
Add a model concern to handle calculating request phase counts | |
This is currently only being used by the User model but it should be | |
compatible with anything which responds to `request_summaries` so it | |
might be useful for showing statuses within InfoRequestBatches | |
:040000 040000 8bd311ccbbd5dc6f25cc7d6422f6f9fab50e916c 859321b9b67004d755765d047ec082f6fbe137cd M app | |
:040000 040000 0942af08e2963ef248c90f59e02cc2cd049db388 ea355842732554bd267bc3fb9c35b16a423f4ffa M spec | |
bisect run success |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment