merge: PR #34을 합친 검사 브랜치에 넣는다

This commit is contained in:
DongHyeonka
2026-11-13 07:16:02 +09:00
2 changed files with 26 additions and 0 deletions
+7
View File
@@ -995,6 +995,12 @@
"schemaId": "markdown",
"production": "source-controlled"
},
{
"id": "artifact-docs-accessibility-route-reviews-EXAMPLES-PLATFORM-md",
"path": "docs/accessibility/route-reviews/EXAMPLES_PLATFORM.md",
"schemaId": "markdown",
"production": "source-controlled"
},
{
"id": "artifact-docs-accessibility-route-reviews-NOT-FOUND-md",
"path": "docs/accessibility/route-reviews/NOT_FOUND.md",
@@ -1990,6 +1996,7 @@
"logArtifactId": "artifact-artifacts-quality-gates-FE-GATE-028-txt",
"evidenceArtifactIds": [
"artifact-docs-accessibility-route-reviews-APP-HOME-md",
"artifact-docs-accessibility-route-reviews-EXAMPLES-PLATFORM-md",
"artifact-docs-accessibility-route-reviews-NOT-FOUND-md",
"artifact-artifacts-tests-a11y-manual-report-json"
],
+19
View File
@@ -29,6 +29,7 @@ import {
validatePackageScriptGraph,
} from "../../scripts/lib/package-script-graph.ts";
import { VISUAL_TEST_FONT_PACKAGES } from "../../scripts/lib/visual-test-fonts.ts";
import { PLATFORM_ROUTE_REGISTRY } from "../../src/contracts/routes.ts";
import { childProcessTimeout } from "../helpers/child-process-timeout.ts";
const temporaryRoots: string[] = [];
@@ -240,6 +241,24 @@ describe("CI gate contract", () => {
expect(stageOf("FE-GATE-028")).toBe("release");
});
it("keeps every platform route's signed review record as FE-GATE-028 evidence (1112/05-18)", async () => {
// The evidence list is written by hand. EXAMPLES_PLATFORM's record was
// missing from it while the review covers every registered route. A
// feature's routes come from create:feature, which does not edit this
// contract, so the check holds the platform routes.
const contract = await loadCiGateContract(process.cwd());
const index = indexCiGateContract(contract);
const recorded = (index.gates.get("FE-GATE-028")?.evidenceArtifactIds ?? [])
.map((id) => index.artifacts.get(id)?.path ?? "")
.filter((evidencePath) => evidencePath.startsWith("docs/accessibility/route-reviews/"))
.sort();
expect(recorded).toEqual(
Object.keys(PLATFORM_ROUTE_REGISTRY)
.map((routeId) => `docs/accessibility/route-reviews/${routeId}.md`)
.sort(),
);
});
it("runs the CPU-independent scale PR tier in a merge gate (11-03)", async () => {
const contract = await loadCiGateContract(process.cwd());
const index = indexCiGateContract(contract);