Walkouts hit output but the chancellor says the economic outlook is “brighter than expected”.