Compat bounds for stdlibs that are test dependencies?

Currently, one needs to add compat bounds for stdlibs that are direct dependencies. Should one also add compat bounds for stdlibs that are only test dependencies, to avoid fetching breaking versions in the CI runs?

I seem to remember Julia ignores compat bounds on any package which isn’t a direct dependency (perhaps weakdep too), if that’s correct (evidence) then any extra compat bound would be useless.

Julia/Pkg respects compat entries on test deps.

Then can you explain the linked evidence above? Or that was has been fixed in recent versione?

I wonder if there’s a bug if you mark a test dep as a weak dep also.

But it definitely works in the “regular” case (where nothing is a weak dep), because I use it in the Pkg test suite itself. E.g.