Thursday 05th November, 2015
This was our second week of working 3 days on Smart Answers and 2 days on GFR. We’re doing this as a way of gradually phasing out of GDS, although if it turns out that we’re not getting as much done as we’d like then we’ll potentially go back to 4 days on Smart Answers.
I merged a change that avoids us rescuing
ArgumentError exceptions in the next_node blocks. I believe the intention of this rescue statement was to handle bad user input but it had the side effect of masking real errors in our code. This is all part of our move to ensuring things fail fast during development of Smart Answers.
I opened a pull request to convert pay-leave-for-parents from Smartdown to Ruby. James M was good enough to review this large PR on Tuesday which gave me time to address the feedback before getting it merged and deployed on Wednesday. This was the final Smartdown flow so its conversion should allow us to start removing fairly large chunks of code.
I made a start on removing some unused code in the form of the
FlowAudit rake task and class.
I spent the majority of Tuesday investigating the Jenkins merge commits appearing in our release branch and tags. We first noticed these back in week 349 so it was great to finally get to the bottom of it. It turns out that an accidental force push to our GitHub master branch on 8 September had resulted in Jenkins using a recursive (rather than the default fast-forward) merge when fetching changes from origin/master. The effect was that all future fetches also resulted in recursive merge commits appearing. Having understood the cause we were able to reset our release branch to point to origin/master which in turn means that new release tags no longer contain these merge commits. We’ve now made master a protected branch on GitHub to prevent this from happening again in future.
James and I had a short catch-up with the Erik, and new Content Delivery Manager, Paul. They’ve both been with the content team for a couple of weeks so we figured there might be some things we can bring them up to speed on.
We also had another catch-up with David and Jenny in which they helped focus us on our priorities before we leave. We also got confirmation that switching the shared parental leave Smart Answer from multiple to single questions per page hadn’t adversely affected completion rates.
I’ve started to remove Smartdown from the app.
I’ve started working on changing the code so that it fails fast if an ERB template (either the cover page or an outcome) doesn’t exist. We implemented it the way it is in order to mirror the old i18n behaviour but we’re now trying to fail fast as much as possible.
James spent most of the week continuing to work on the Statutory sick pay calculator. It’s turned into a bit of a nightmare as he continues to discover other things that aren’t quite right with it!
Erik’s hit the ground running. He’s already made changes to both the maternity-paternity-calculator and student-finance-forms Smart Answers, as well as opening a pull request to fix a longstanding bug we’ve had in the project.
Erik’s also reordered the Gemfile to make it more readable (the branch name, “update-gemfile-ocd-sorting”, made me smile) and added the ability to read the flow name from within a flow. The second of those two is in preparation for programmatically changing node options depending on the flow, which is something we’ve talked about but never quite got round to doing.
We published links for week 354.
We both continued to investigate our pensions to understand whether we’ve met our auto-enrolment obligations.
We both spent some time getting our blogs working locally. I’d like to blog more but one of the things putting me off is the overhead of my current set-up. We both them working locally and I continued to make some progress in converting mine from Webby to GitHub Pages/Jekyll. I even blogged about it (copy/pasting a terminal session definitely counts as blogging).
James and I made a little more progress toward getting rid of some of our items currently in storage.
Chris L joined us for lunch at the Electricity Showrooms on Friday before coming back and working from our office for the afternoon.
Until next time.