docs: mark stale gb32960 designs superseded

This commit is contained in:
lingniu
2026-07-01 09:28:59 +08:00
parent d491f543b5
commit bdc035185e
3 changed files with 28 additions and 0 deletions

View File

@@ -181,6 +181,21 @@ class MavenModuleProfileTest {
.doesNotContain("Spring Boot 3.4.x");
}
@Test
void supersededDesignDocsPointToCurrentArchitecture() throws Exception {
for (String path : List.of(
"docs/superpowers/specs/2026-06-23-gb32960-production-readiness-design.md",
"docs/superpowers/specs/2026-06-23-gb32960-service-split-design.md")) {
String doc = Files.readString(repositoryRoot().resolve(path));
assertThat(doc)
.as(path)
.startsWith("> **Superseded:**")
.contains("docs/target-architecture.md")
.contains("docs/superpowers/specs/2026-06-29-vehicle-ingest-redesign.md");
}
}
@Test
void duckDbDriverDoesNotLeakFromCompatibilityStoreIntoProductionApps() throws Exception {
Document eventFileStorePom = modulePom("modules/sinks/event-file-store/pom.xml");