Release 0.1: session-id hashing and PostgreSQL schema for the next RC #25

Merged
james.maes merged 2 commits from kof22/release-0.1-session-codec into release/0.1 2026-11-07 00:24:20 +00:00
Owner

Brings the KOF22 session-store behaviour (merged to develop in #24) into release/0.1 so the next release candidate carries it: SessionCodec (hashed storage keys, raw session ids never stored or logged), StoredSessionSchema (PostgreSQL DDL), the reworked providers, and the JaCoCo/UTC build fix.

Only the two feature commits are cherry-picked; a plain develop merge would conflict on the revision line (0.1.0-RC.1 vs 0.2.0-SNAPSHOT), which stays untouched here.

Co-Authored-By: Claude Sonnet 5.5 noreply@anthropic.com

Brings the KOF22 session-store behaviour (merged to develop in #24) into release/0.1 so the next release candidate carries it: SessionCodec (hashed storage keys, raw session ids never stored or logged), StoredSessionSchema (PostgreSQL DDL), the reworked providers, and the JaCoCo/UTC build fix. Only the two feature commits are cherry-picked; a plain develop merge would conflict on the revision line (0.1.0-RC.1 vs 0.2.0-SNAPSHOT), which stays untouched here. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
james.maes added 2 commits 2026-11-07 00:18:11 +00:00
Brings the KOF22-validated session-store behaviour onto develop:

- SessionCodec derives the storage key from a SHA-256 of a domain-separated
  session id, so a raw session id is never stored or logged.
- StoredSessionSchema publishes the PostgreSQL DDL for the stored-session table.
- The in-memory, Redis, shared-Redis and table-based providers and the
  stored-session table metadata use them.
- Tests: SessionCodecTest, a PostgreSQL integration test for the table
  provider, and the fixture endpoint; the PostgreSQL test needs
  qqq-backend-module-postgres (test scope) and a UTC JVM.

Source and test changes only; the POM keeps develop's Core RC.22 and
qbit-redis 0.1.0-RC.1 pins.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
build: keep the JaCoCo agent on the unit tests; run the PostgreSQL IT under a UTC JVM in failsafe
QRun-IO/ci-policy: ci / fork-guard (pull_request) Skipped
QRun-IO/ci-policy: native / fork-deny (pull_request) Skipped
QRun-IO/ci-policy: native / dotnet-0 (pull_request) Skipped
QRun-IO/ci-policy: ci / Scoped workflow [workflow 9cb8c13124a99d18da83cbcd4faa795859ac9e55] (pull_request) Successful in 7s
QRun-IO/ci-policy: native / native-result (pull_request) Successful in 6s
QRun-IO/ci-policy: ci / head-profile (pull_request) Skipped
QRun-IO/ci-policy: ci / repository-policy (pull_request) Skipped
QRun-IO/ci-policy: ci / application-template-0 (pull_request) Skipped
QRun-IO/ci-policy: ci / gradle-1 (pull_request) Skipped
QRun-IO/ci-policy: ci / java-core-2-head (pull_request) Skipped
QRun-IO/ci-policy: ci / java-docker-3 (pull_request) Skipped
QRun-IO/ci-policy: ci / java-docker-3-head (pull_request) Skipped
QRun-IO/ci-policy: ci / java-docker-4 (pull_request) Skipped
QRun-IO/ci-policy: ci / java-frontend-browser-5 (pull_request) Skipped
QRun-IO/ci-policy: ci / java-maven-6 (pull_request) Skipped
QRun-IO/ci-policy: ci / java-maven-6-head (pull_request) Skipped
QRun-IO/ci-policy: ci / java-maven-7 (pull_request) Skipped
QRun-IO/ci-policy: ci / java-maven-7-head (pull_request) Skipped
QRun-IO/ci-policy: ci / node-8 (pull_request) Skipped
QRun-IO/ci-policy: ci / node-9 (pull_request) Skipped
QRun-IO/ci-policy: ci / node-10 (pull_request) Skipped
QRun-IO/ci-policy: ci / node-playwright-11 (pull_request) Skipped
QRun-IO/ci-policy: ci / repository-policy-12 (pull_request) Skipped
QRun-IO/ci-policy: ci / source-config-13 (pull_request) Skipped
QRun-IO/ci-policy: ci / source-config-14 (pull_request) Skipped
QRun-IO/ci-policy: ci / android-0 (pull_request) Skipped
QRun-IO/ci-policy: ci / original-business (pull_request) Skipped
QRun-IO/ci-policy: ci / original-mcp (pull_request) Skipped
QRun-IO/ci-policy: ci / original-voyage (pull_request) Skipped
QRun-IO/ci-policy: ci / original-cli (pull_request) Skipped
QRun-IO/ci-policy: ci / not-enrolled (pull_request) Skipped
QRun-IO/ci-policy: ci / shared-pipeline (pull_request) Skipped
QRun-IO/ci-policy: ci / ci-result (pull_request) Successful in 6s
maven / build (push) Successful in 3m11s
build / maven (push) Successful in 3m11s
b62bad42bf
The UTC argLine was set on surefire, replacing the argLine that jacoco prepare-agent
injects, so the unit tests ran without the agent and the class-coverage gate fell to
0.70 (min 0.80). The UTC setting belongs to failsafe, which runs the PostgreSQL IT;
it now appends to the jacoco argLine with @{argLine}, with an empty default property.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
james.maes merged commit 4a2fd280e2 into release/0.1 2026-11-07 00:24:20 +00:00
james.maes deleted branch kof22/release-0.1-session-codec 2026-11-07 00:24:21 +00:00
Sign in to join this conversation.