`tx.format_commit_summary()` can be expensive because it needs to build an IdPrefixContext now, so it's best to avoid formatting instruction messages unless they are actually required.