There is a certain awkwardness for US allies, including Australia, about Donald Trump's decision to sit down with Xi Jinping and Vladimir Putin today for an unprecedented trilateral summit on the sidelines of the APEC summit in Shenzhen.
After spending years trying to isolate the Russian president, few want to see him given such a platform of legitimacy.
There is an even less thinly disguised frustration amongst those same allies over the US president's inability to find an endgame to a deeply unpopular and inflation-fuelling war in Iran.
And yet, for all the chaos and cost Trump brings, this week has demonstrated that Australia is still moving ever closer to the US on multiple fronts.
On artificial intelligence, Australia is locking into the US orbit more tightly.
By signing the "San Francisco Declaration" to protect sensitive technology and reduce reliance on China as part of a 10-nation pact, the Albanese government is confirming the side it is on.
On the security front, a meeting of Quad leaders in Manila, the first in two years, also saw a potentially significant move to tighten cooperation.
The leaders of the US, India, Japan and Australia agreed on a new "Indo-Pacific Maritime Surveillance Collaboration", which they said would involve more information sharing and the first Quad "maritime exercise"