feat: duplicate workflow drafts (#2539)

This commit is contained in:
Carlos Florêncio
2026-08-12 11:12:56 +01:00
committed by GitHub
parent a757b546bf
commit a63cbf3d85
31 changed files with 1608 additions and 145 deletions
+18
View File
@@ -846,6 +846,24 @@ test("accepts source-backed coverage for every settings route and MCP tool", asy
await assert.doesNotReject(validateCoverageInventory(fixture));
});
test("accepts a route-path export between the settings table and renderer", async () => {
const fixture = await createCoverageRepo();
const routePath = path.join(
fixture.repoRoot,
"apps/web/src/settings-routes.tsx",
);
const source = await fs.readFile(routePath, "utf8");
await fs.writeFile(
routePath,
source.replace(
"};\n\nexport function SettingsRoutes",
"};\n\nexport const SETTINGS_ROUTE_PATHS = new Set(Object.keys(SETTINGS_ROUTES));\n\nexport function SettingsRoutes",
),
);
await assert.doesNotReject(validateCoverageInventory(fixture));
});
test("rejects a shipped settings route with no documentation owner", async () => {
const fixture = await createCoverageRepo({
settingsRoutes: [