Files
document-haness/docs/clean-architecture-backend-template/final/evidence/raw/117-flyway-migration-readiness-lane-failure.txt
T
DongHyeonkaandClaude Opus 5 b2963105a8 docs(keycloak-session-store): import the session-storage lab as a new project
The keycloak project ended with four open questions that design could not
settle. A two-VM lab was built to answer them by measurement, and this is
that material: 26 experiments, 125 raw command outputs, 22 browser captures.

Follows the import procedure in README.md.

  source/     the originating repository verbatim — 78 documents, 28 SVGs,
              8 manifests, plus .source-revision recording the commit
  final/      the SSOT
    document.md   729 lines written from the 29 experiment documents, not
                  concatenated: what was predicted, what was measured, and
                  where the measurement itself was wrong
    evidence/raw    125 outputs, flattened to <experiment>__<file> because
                    the originals collided (01-baseline.txt appeared three
                    times) and the audit only globs the top level
    evidence/meta   one per raw file; command and exitCode are null and the
                    README says why rather than inventing them
    evidence/browser  22 captures
    assets/       three diagrams through techviz
    .techviz/     their VizSpecs

A separate project rather than an addition to keycloak: the B-layer answers
that project's four questions, but the A, C and D layers are about cluster
failure, SSO and operations, and one document.md should hold one subject.
The four question records there can point here through 관계.

Recorded rather than papered over: only three of the 28 diagrams were
remade. The repository forbids hand-drawn SVG and forbids titles inside the
canvas; all 28 originals carry both, so converting them is redrawing, not
reformatting. They stay in source/ and the gap is written into the document.

verify-pipeline.py passes. audit-records.py reports no issues.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-04 22:51:59 +09:00

101 lines
4.4 KiB
Plaintext

revision=a24ece9cf797f7ea647e33bf846b115208ed1ba5
executedAt=2026-08-29T14:58:08+00:00
cwd=/shared/codebase/clean-architecture-backend-template/src
command=./gradlew :adapter:outbound:persistence-jpa:postgresqlMigrationIntegrationTest --rerun-tasks --console=plain
gitStatusBefore=0
note: original unmodified source; this task is the readiness-task producer of the selected card jpa-flyway-migration
> Task :build-logic:extractPluginRequests
> Task :build-logic:generatePluginAdapters
> Task :build-logic:compileJava
> Task :build-logic:compileGroovy
> Task :build-logic:compileGroovyPlugins
> Task :build-logic:pluginDescriptors
> Task :build-logic:processResources
> Task :build-logic:classes
> Task :build-logic:jar
> Task :shared-contract:compileJava
> Task :shared-contract:processResources
> Task :shared-contract:classes
> Task :shared-contract:jar
> Task :application-core:compileJava
> Task :application-core:processResources NO-SOURCE
> Task :application-core:classes
> Task :application-core:jar
> Task :adapter:outbound:persistence-jpa:compileJava
> Task :adapter:outbound:persistence-jpa:processResources
> Task :adapter:outbound:persistence-jpa:classes
> Task :adapter:outbound:persistence-jpa:compileTestkitJava
> Task :adapter:outbound:persistence-jpa:processTestkitResources NO-SOURCE
> Task :adapter:outbound:persistence-jpa:testkitClasses
> Task :adapter:outbound:persistence-jpa:compilePostgresqlIntegrationTestJava
> Task :adapter:outbound:persistence-jpa:processPostgresqlIntegrationTestResources
> Task :adapter:outbound:persistence-jpa:postgresqlIntegrationTestClasses
> Task :adapter:outbound:persistence-jpa:postgresqlMigrationIntegrationTest
PostgreSqlMigrationIntegrationTest > adoptsImmutableLegacyHistoryThenRunsTheIndependentCoreStream() FAILED
org.opentest4j.AssertionFailedError at PostgreSqlMigrationIntegrationTest.java:47
PostgreSqlMigrationIntegrationTest > freshCoreStreamInitializesWithoutLegacyHistory() FAILED
org.opentest4j.AssertionFailedError at PostgreSqlMigrationIntegrationTest.java:89
4 tests completed, 2 failed
> Task :adapter:outbound:persistence-jpa:postgresqlMigrationIntegrationTest FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':adapter:outbound:persistence-jpa:postgresqlMigrationIntegrationTest'.
> There were failing tests. See the report at: file:///shared/codebase/clean-architecture-backend-template/src/adapter/outbound/persistence-jpa/build/reports/tests/postgresqlMigrationIntegrationTest/index.html
* Try:
> Run with --scan to generate a Build Scan (Powered by Develocity).
BUILD FAILED in 30s
19 actionable tasks: 19 executed
taskExit=1
=== failure messages from the JUnit XML ===
org.opentest4j.AssertionFailedError:
Expecting actual:
["1", "3", "4", "5", "6", "9", "10", "11", "12"]
to contain exactly (and in same order):
["1", "3", "4", "5", "6"]
but some elements were not expected:
["9", "10", "11", "12"]
---
org.opentest4j.AssertionFailedError:
Expecting actual:
["1", "2"]
to contain exactly (and in same order):
["1"]
but some elements were not expected:
["2"]
---
=== measured stream contents ===
$ ls src/main/resources/db/migration/postgresql
V10__idempotency_request_hash_varchar.sql
V11__durable_operation.sql
V12__live_event_log.sql
V1__idempotency_record.sql
V3__outbox_event.sql
V4__int_lock.sql
V5__int_lock_expired_after.sql
V6__capability_schema_registry_adoption.sql
V9__widen_capability_schema_stream.sql
$ ls src/main/resources/db/migration/jpa/core
V1__initialize_or_adopt.sql
V2__widen_capability_schema_stream.sql
=== history: when the later migrations landed vs when the assertion was last touched ===
2026-08-15 adapter/outbound/persistence-jpa/src/main/resources/db/migration/postgresql/V9__widen_capability_schema_stream.sql
2026-08-18 adapter/outbound/persistence-jpa/src/main/resources/db/migration/postgresql/V10__idempotency_request_hash_varchar.sql
2026-08-28 adapter/outbound/persistence-jpa/src/main/resources/db/migration/postgresql/V11__durable_operation.sql
2026-08-28 adapter/outbound/persistence-jpa/src/main/resources/db/migration/postgresql/V12__live_event_log.sql
2026-08-15 adapter/outbound/persistence-jpa/src/main/resources/db/migration/jpa/core/V2__widen_capability_schema_stream.sql
2026-07-31 adapter/outbound/persistence-jpa/src/postgresqlIntegrationTest/java/dev/caskeleton/adapter/outbound/persistence/readiness/PostgreSqlMigrationIntegrationTest.java
gitStatusAfter=0