fix: address PR review findings
- Revert undici to v7.27.1 (v8 blocked by #5467 qBittorrent regression) - Broaden cache invalidation to utils.integration.invalidate() (covers all integration queries, not just integration.all) - Add invalidation to onboarding integration create path - Harden renovate test to assert allowBuilds key exists - Remove deprecated Vitest 4 poolOptions config - Fix CSS typo in docs menu transition (0.s → 0.5s) - Update renovate.json5 comment to reference allowBuilds
This commit is contained in:
9 files changed
+181
-88
No files matched your search
@@ -8,7 +8,10 @@ describe("Renovate configuration tests", () => {
|
||||
test("automerge should be disabled for allowBuilds dependencies", async () => {
|
||||
const workspaceYaml = await fs.readFile(join(__dirname, "../pnpm-workspace.yaml"), "utf-8").then(parse);
|
||||
const renovateConfig = await fs.readFile(join(__dirname, "../.github/renovate.json5"), "utf-8").then(json5.parse);
|
||||
const allowedBuilds = Object.entries(workspaceYaml.allowBuilds ?? {})
|
||||
if (!workspaceYaml.allowBuilds || typeof workspaceYaml.allowBuilds !== "object") {
|
||||
throw new Error("pnpm-workspace.yaml must define allowBuilds as an object");
|
||||
}
|
||||
const allowedBuilds = Object.entries(workspaceYaml.allowBuilds)
|
||||
.filter(([, allowed]) => allowed === true)
|
||||
.map(([name]) => name);
|
||||
const automergeDisabledDeps = renovateConfig.packageRules
|
||||
|
||||
Reference in new issue
Block a user