Weird. Copilot knows what tests are and only "fixes" them after we've refactored the relevant code.
I really wonder if Claude Code and other agents keep track of these dependencies at all (I know that VS Code exposes its internal testing tools to agents, and use Anthropic and OpenAI tools with them).