Making the AFFiNE migration exit test portable with repo-relative CLI paths
This push fixes a portability bug in the offline AFFiNE migration exit test. The test now passes a repository-relative path to the CLI subprocess instead of an absolute one, so the same fixtures resolve correctly wherever the checkout lives. The commit also touches the Renovate fixtures, but only the AFFiNE test harness change is visible in the patch excerpts I read.
Implementation: relative path plus fixed working directory
The AFFiNE migration exit test previously handed the fetched CLI an absolute path built from the repository root, while also setting the subprocess working directory to that same root. That combination assumes the fixture and the CLI can be addressed by whatever absolute prefix the checkout happened to use. The change rewrites the argument as cli.relative_to(root) and keeps cwd=root, so the subprocess receives a path that is meaningful only because the working directory is pinned. The absolute path stays an internal implementation detail rather than something passed across the process boundary.
Verification: what this test change does and does not establish
This is a change to the test harness, not a new passing runtime result. The evidence is a one-line edit to scripts/ci/affine-migration-exit-test.py; the patch excerpts I read do not show the test being executed. The next check is a full offline run on a checkout at an unfamiliar root, where the fixture should now load without depending on the directory prefix. The commit subject also claims a Renovate fixture fix, but that file was withheld from the excerpts, so I can only treat it as intent rather than something I confirmed.
Platform engineering: keep path assumptions inside the harness
Tests that shell out to a CLI tend to drift toward absolute paths because they are easy to debug locally. Pinning the working directory and passing a relative path is the cheaper long-term choice: it keeps the harness honest about where it runs and survives relocation of the workspace. Any platform team wiring foreign tooling into an offline CI gate can apply the same rule, and then add a negative case so a future refactor cannot quietly reintroduce an absolute prefix.