Cabinet ministers were already waiting in No 10 on Monday morning when it became clear the sign-off for the prime ministerâ€™s much-anticipated end to Covid regulations was not going to be as perfunctory as they had imagined.
Few cabinet colleagues had much sympathy with Javidâ€™s demands for extra cash to continue some Covid testing programmes beyond next month. â€œWe are pushing through a hugely unpopular tax rise for his budget,â€ one cabinet minister said of the impending Â£12bn healthcare levy, funded by a national rise. â€œHeâ€™s got a budget that is triple the defence budget. No one can say he is being squeezed.â€
But privately some were horrified by the scramble to agree a deal between the Treasury and Department of Health and Social Care (DHSC) just hours before the prime ministerâ€™s announcement. One Tory MP called it a â€œshamblesâ€ and said it returned doubts about the No 10 operation to the forefront of colleaguesâ€™ minds.
â€œWe thought this had been signed off days ago,â€ one grumbled. â€œWhy is the prime minister calling a cabinet meeting when the details arenâ€™t finished?â€
As word leaked out that ministers were being turned away from the delayed meeting, No 10 began by suggesting Boris Johnsonâ€™s briefing on Ukraine had overrun. But it soon became apparent that there was ongoing wrangling between Javid and Sunak over the future of testing for NHS staff in particular, and Covid surveillance programmes.
It was an awkward few hours before the final agreement was done. The cabinet was hastily reconvened on Microsoft Teams, with ministers given less than 10 minutesâ€™ notice of the 1.30pm meeting.
Although his department has consistently denied requesting more cash, multiple sources said Javid was fighting to keep billions of pounds extra in funding to continue some free testing, including free lateral flow tests for symptomatic over-50s, but this was rejected by the Treasury.
Over the previous week, sources said Javid had reduced his demands for additional funds but argued consistently for maintaining testing programmes designed to monitor new variants and surges. In the end, both sides claimed victory, with health sources saying Sunak had wanted to scrap the surveillance system completely.
But one cabinet minister called the result a â€œtotal victoryâ€ for Sunak, saying the Treasury stuck to its original plans to cut Covid budgets by almost 90% and that Javid had to find the funds from his existing healthcare settlement. Johnson gave his backing to the chancellorâ€™s refusal to agree further funds.
Javid now faces the unenviable task of finding funding within his budget to continue surveillance programmes like the Office for National Statistics survey without hitting funds designated to clear the NHS backlog.
A health source said Javid had always been arguing to be able to â€œreprioritiseâ€ within his budget, saying the health secretary understood the â€œfiscal caseâ€ to end most free testing.
Yet as Johnson appeared before MPs to loud criticism from Labour and the SNP for the decision to end free Covid tests, several ministers remarked at how isolated Javid had been at cabinet for his push to retain some free testing. â€œCabinet is pretty united on this direction,â€ one source said.
Those Tory MPs who have doubts about whether the strategy is shortsighted have largely remained quiet. Greg Clark, the former cabinet minister, asked tentatively in the Commons how long it would take to restart mass testing should it be needed, but did not make the case to retain more of the programme.
For the most part, as he announced the end of a testing regime which Johnson had once heralded as the envy of the world, Tory MPs cheered him on â€“ arguably the most united the government benches had been in months.