Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
56ead53
fix: stage Context-derived Fix only for real entity mutations (#277)
Nov 11, 2026
34f1ba3
fix(checker): discard Context staging after no-op business repair (#277)
Nov 11, 2026
308935f
fix(core): cancel proven dynamic-field no-ops before Context Fix (#277)
Nov 11, 2026
159d1e0
test(checker): require Context Fix rollback on partial graph rejectio…
Nov 11, 2026
c80ab5a
test(checker): align failed Context restoration without instance cons…
Nov 11, 2026
5f8cdc0
feat(checker): add immutable natural message catalog and location ren…
Nov 12, 2026
76b530f
feat(checker): render natural messages through Context and generated …
Nov 12, 2026
4bc9300
test(checker): cover root constraint and missing-origin wording (#278)
Nov 12, 2026
2d2c845
feat(checker): load passive generated presentation metadata (#278)
Nov 12, 2026
56ff67a
fix(checker): retain safe plans across graph message relocation
Nov 12, 2026
602725f
test(query): reproduce ignored roll-up parent dimensions and filters …
Nov 12, 2026
071eccb
fix(query): authorize every statistical parent before snapshot and SQ…
Nov 12, 2026
98ea65d
fix(query): execute layered Java dimensions at owner grain with bound…
Nov 12, 2026
9a8afbe
fix(query): validate statistics bounds and normalize default routes (…
Nov 12, 2026
a44144b
feat(query): apply root and parent HAVING after statistical grouping …
Nov 12, 2026
2e4b8d3
fix(query): preserve generated roll-up cell bounds and quoted columns…
Nov 12, 2026
ccdb77b
fix(query): compile declared bitwise statistical measures (#279)
Nov 12, 2026
3db159b
test(query): execute shared roll-up assertions on PostgreSQL (#279)
Nov 12, 2026
4b7fb40
test(query): assert each parent measure in live PostgreSQL fixture (#…
Nov 12, 2026
aa8379c
feat(sqlite): implement extended rollup statistics and isolate facet …
Nov 12, 2026
783f493
feat(query): compute distinct counts at final statistical grain
Nov 12, 2026
d5f181e
fix(query): lower scalar grouping transforms at each statistical layer
Nov 13, 2026
9aab747
fix(query): isolate Java request graph snapshots and typed copies
Nov 13, 2026
c213b91
fix(query): retain linked roll-up membership semantics inside OR and NOT
Nov 13, 2026
9aca6a4
test: prove SELF grouping and aliased field ordering on both provider…
Nov 13, 2026
ff01668
fix: preserve completed statistics and typed policy in independent me…
Nov 13, 2026
6942050
test: verify layered membership paging and descendant policy (#279)
Nov 13, 2026
25d7651
fix: replace only navigation-owned roll-up bindings (#279)
Nov 13, 2026
58d8bd8
fix: preserve exact Decimal order in ordinary and layered statistics …
Nov 13, 2026
676cfa5
fix: retain typed HAVING operands and trusted parameter provenance (#…
Nov 13, 2026
e732aea
fix(sql): bind GBK statistical sorts over selected results (#279)
Nov 13, 2026
2bccd78
fix(sql): reject non-integer bitwise aggregate fields before SQL (#279)
Nov 13, 2026
6f7a6ea
fix(sql): validate wrapped bitwise operands before recursive parsing …
Nov 13, 2026
ff6d693
Support typed scalar aggregate inputs across roll-up layers (#279)
Nov 13, 2026
49fcd4f
Retain native roll-up operations in prepared request trees (#279)
Nov 13, 2026
3f679ab
Support portable GBK sorting on SQLite (#279)
Nov 13, 2026
1667bbf
Handle empty and non-AND matching receivers without losing guards (#279)
Nov 13, 2026
c679ccf
Prepare statistical entity predicates and qualify inherited discrimin…
Nov 13, 2026
1854546
Support typed binary GBK grouping at ordinary and layered grains (#279)
Nov 13, 2026
3294dae
Preserve statistical request trees and authorize ordinary membership …
Nov 13, 2026
e8d1fe2
Preserve statement correlation through safe SQL log projection (#279)
Nov 13, 2026
43d9c8e
Qualify masked statistical entity streams through the PostgreSQL prov…
Nov 13, 2026
4322393
chore(release): prepare Java 1.557 with inherited save and complete p…
Nov 14, 2026
bfb29b9
fix(core): preserve recovery identity while admitting business edits …
Nov 14, 2026
75ba412
test: align empty facet physical trace and provision CI PostgreSQL (#…
Nov 14, 2026
e453149
ci: provide owned PostgreSQL fixture in the default reactor gate (#284)
Nov 14, 2026
37e5b38
Merge remote-tracking branch 'origin/main' into release/maintenance24…
Nov 14, 2026
eeb01b7
ci: clear owned priming outputs before source-paired example gates (#…
Nov 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,22 @@ jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
services:
postgres:
image: postgres:16-alpine@sha256:cf78e76683b9ca8c5733cbbdce6c9262b45b6767934dd0a95e671f9a0fc20685
env:
POSTGRES_DB: teaql_rollup_279
POSTGRES_USER: postgres
POSTGRES_PASSWORD: teaql-example-ci-fixture-only
ports:
- 127.0.0.1:5432:5432
options: >-
--health-cmd "pg_isready -U postgres -d teaql_rollup_279"
--health-interval 5s --health-timeout 5s --health-retries 12
env:
TEAQL_TEST_POSTGRES_JDBC_URL: jdbc:postgresql://127.0.0.1:5432/teaql_rollup_279
TEAQL_TEST_POSTGRES_USER: postgres
TEAQL_TEST_POSTGRES_PASSWORD: teaql-example-ci-fixture-only
timeout-minutes: 150
permissions:
contents: read
Expand All @@ -22,6 +38,13 @@ jobs:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Mark dedicated PostgreSQL diagnostics fixture
run: |
docker exec -i -u postgres '${{ job.services.postgres.id }}' \
psql -X -v ON_ERROR_STOP=1 -d teaql_rollup_279 <<'SQL'
COMMENT ON DATABASE teaql_rollup_279 IS 'TeaQL #279 owned layered statistics fixture';
CREATE EXTENSION IF NOT EXISTS fuzzystrmatch;
SQL
- name: Build with Maven
run: mvn -B install
- name: Verify managed Jackson runtime versions
Expand Down
30 changes: 28 additions & 2 deletions .github/workflows/example-gate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ on:
jobs:
examples:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:16-alpine@sha256:cf78e76683b9ca8c5733cbbdce6c9262b45b6767934dd0a95e671f9a0fc20685
env:
POSTGRES_DB: teaql_rollup_279
POSTGRES_USER: postgres
POSTGRES_PASSWORD: teaql-example-ci-fixture-only
ports:
- 127.0.0.1:5432:5432
options: >-
--health-cmd "pg_isready -U postgres -d teaql_rollup_279"
--health-interval 5s --health-timeout 5s --health-retries 12
permissions:
contents: read
defaults:
Expand All @@ -18,6 +30,9 @@ jobs:
TEAQL_S3_BUCKET: teaql-java-example-ci
TEAQL_S3_ACCESS_KEY: teaql-java-example-ci
TEAQL_S3_SECRET_KEY: teaql-java-example-ci-fixture-only
TEAQL_TEST_POSTGRES_JDBC_URL: jdbc:postgresql://127.0.0.1:5432/teaql_rollup_279
TEAQL_TEST_POSTGRES_USER: postgres
TEAQL_TEST_POSTGRES_PASSWORD: teaql-example-ci-fixture-only
steps:
- name: Check out runtime under test
uses: actions/checkout@v4
Expand All @@ -30,13 +45,13 @@ jobs:
uses: actions/checkout@v4
with:
repository: teaql/teaql-code-gen
ref: 554a1b7fa1e5c053e52290c3ee48925901cebe00
ref: 47a9c444599814aa0b85eea58e88344f7fe3c520
path: generator
ssh-key: ${{ secrets.TEAQL_CODEGEN_READONLY_DEPLOY_KEY }}
persist-credentials: false
- name: Verify pinned generator source
run: |
test "$(git -C "$TEAQL_CODEGEN_DIR" rev-parse HEAD)" = 554a1b7fa1e5c053e52290c3ee48925901cebe00
test "$(git -C "$TEAQL_CODEGEN_DIR" rev-parse HEAD)" = 47a9c444599814aa0b85eea58e88344f7fe3c520
test -z "$(git -C "$TEAQL_CODEGEN_DIR" status --porcelain)"
- name: Install example verification tools
run: sudo apt-get update && sudo apt-get install -y ripgrep
Expand All @@ -45,6 +60,13 @@ jobs:
distribution: temurin
java-version: '21'
cache: maven
- name: Mark dedicated PostgreSQL diagnostics fixture
run: |
docker exec -i -u postgres '${{ job.services.postgres.id }}' \
psql -X -v ON_ERROR_STOP=1 -d teaql_rollup_279 <<'SQL'
COMMENT ON DATABASE teaql_rollup_279 IS 'TeaQL #279 owned layered statistics fixture';
CREATE EXTENSION IF NOT EXISTS fuzzystrmatch;
SQL
- name: Prime third-party dependencies for offline source-paired probes
# The gate copies third-party downloads into a disposable Maven home
# and explicitly excludes every TeaQL/model artifact from that cache.
Expand All @@ -70,6 +92,10 @@ jobs:
fs.rmSync(owned, {recursive: true});
}
NODE
# This job created every reactor target above. Retain dependency
# downloads, but return the ephemeral CI checkout to the target-free
# input required by source-paired inheritance verification.
mvn -B -ntp clean
- name: Start dedicated S3 example fixture
run: |
docker run -d --name teaql-java-example-s3 \
Expand Down
2 changes: 1 addition & 1 deletion examples/business-id-runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>io.teaql</groupId>
<artifactId>teaql-java-parent</artifactId>
<version>1.556-RELEASE</version>
<version>1.557-RELEASE</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>teaql-business-id-example</artifactId>
Expand Down
44 changes: 44 additions & 0 deletions examples/conformance/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,50 @@ clock/root and ordinary required/range vectors, not arbitrary custom context
fixers, a range-constrained generated default, security/TTL clock behavior or
the complete seven-runtime diagnostic contract.

## Context-derived fields

The focused Context-derived field gate is:

```bash
node examples/conformance/context-derived/verify-local.cjs
```

It compiles an unmodified two-object generated library with local runtime
sources and runs typed Q/E and audited Save against one SQLite file twice.
Different request time, IP, and actor do not update an unchanged object.
A real edit applies update-scoped Context values and preserves create-only
values. Failed validation restores automatic Context fields while retaining
the caller's edit, which can be corrected or reverted. The application-owned
Checker and metadata customization demonstrate the same guard for non-clock
Context fields; generated timestamp assignments use that guard too.

The same fixture also loads typed readonly query properties and persistent
extensions. A readonly property does not dirty the entity. A dynamic-only edit
does apply update-scoped Context values, while assigning its known persisted
value again leaves SQL, version and committed audit unchanged. The extension
provider shares the exact JDBC executor used by the owner graph transaction;
there is no hand-written mutation SQL or separately committed extension write.

`TEAQL_CONTEXT_FIX_EVIDENCE_DIR` chooses a new directory for compact receipts,
logs, hashes and the SQLite store. Temporary source/build consumers are removed
on exit. This is local source acceptance, not a public-package release or
completion of every graph/dynamic-field case in all seven languages.

## Natural Checker messages

```bash
node examples/conformance/natural-messages/verify-local.cjs
```

The [focused example](natural-messages/README.md) uses a separately evaluated,
two-entity generated model and local runtime sources. Two rounds share one
SQLite store. Actual generated Q/E and audited Save verify human-readable
English/Chinese child-field messages, unchanged machine pointers and rule IDs,
original UTF-16 validation length after masking, rejection before provider/audit
calls, automatic Context rollback and successful correction. Presentation
metadata is attached through the runtime module seam; automatic generator
emission and published-package acceptance remain separate gates.

## Caller-owned Spring transactions

```bash
Expand Down
Loading
Loading