- Failed or aborted exports can't be imported: abort() deletes all
time-series files (also the legacy ts_kv.gz), worker Throwables are
counted as failed keys, and the Cassandra exporter now fails like the
PostgreSQL one instead of writing a manifest for a partial export.
- The import rejects a working directory with both ts_kv_manifest.gz and
ts_kv.gz, which are files of two different exports.
- Each worker thread compresses into its own files, rolled over on the
compressed bytes written, so gzip no longer serializes the export.
- Key ids are resolved by name in key_dictionary, so a reused
ts_kv_latest.gz from an earlier export can't map to the wrong key.
- Timestamps near the long bounds are clamped instead of failing the key;
the first page is inclusive instead of using startTs - 1.
- MigrationService stops its workers when start() throws, so the JVM exits
instead of hanging.
- Validated at startup: DATABASE_MAX_POOL_SIZE > PARALLELISM_LEVEL,
Cassandra export start/end filters, TS_KV_EXPORT_MAX_FILE_SIZE_MB >= 0
(new TsKvWriterFactory).
- The query delay applies after every ts_kv query; NaN and Infinity
doubles are imported; part names use Locale.ROOT.
- Tests: PostgreSQL container test for PostgresTsKvExporter, importer
skip_lines across files and non-finite doubles, writer abort/crash/mixed
export cases. README: compatibility with older importers, keys without
latest values, measured cost per key by partition count.
Add PostgresTsKvExporter, so a tenant can be migrated from a PostgreSQL-only
(or TimescaleDB) setup to a hybrid PostgreSQL + Cassandra one. It reads the
history of every key in the exported ts_kv_latest from ts_kv with keyset
pagination and writes it in the CassandraTsKvExporter format, computing the
Cassandra partition from POSTGRES_TS_EXPORT_PARTITIONING (must match the
target's TS_KV_PARTITIONING). Invalid configs fail at startup, and a failed
key makes the export exit with an error without creating data.tar.
Both time-series exporters now write ts_kv_00001.gz, ts_kv_00002.gz, ... of
about TS_KV_EXPORT_MAX_FILE_SIZE_MB (default 256) and a ts_kv_manifest.gz
listing them, written last. The importer reads the manifest (or the legacy
single ts_kv.gz), rejects exports without it, reports progress against the
total row count and applies skip_lines across files. 0 keeps the legacy format.
Also cap the Hikari pool above parallelism_level and document Cassandra 4/5
compatibility (protocol pinning, the 2038 TTL limit).
* Serve pre-compressed UI files from web-ui instead of compressing per request
compression 1.8 (pulled in by a CVE fix in 4.2.2.5 / 4.3.1.5) prefers brotli,
and browsers always offer it over HTTPS. Brotli-compressing the 8.5 MB main
chunk on every cache miss fragments native memory that glibc never returns,
so web-ui RSS grows with each traffic burst until the container is OOMKilled.
- ui-ngx: write .gz copies for every compressible file of the production build
in a post-build step. The esbuild plugin it replaces missed global styles,
scripts, polyfills, ace workers and assets/.
- web-ui: serve those copies with Content-Encoding: gzip and drop the
compression middleware and its dependency.
* Run UI compression as a Maven step and ignore aborted downloads in web-ui
- build:prod is a plain ng build again; "yarn run compress" runs as its own
frontend-maven-plugin execution right after it.
- web-ui: like express.static, ignore ECONNABORTED and socket write errors
instead of logging a stack trace for every cancelled download, and fall
back to the original file if its .gz copy is missing.
* Serve pre-built brotli copies of UI files
- compress-build.js also writes <file>.br (brotli quality 10). It is 21.5%
smaller than gzip -9 on the UI bundle (main chunk 0.96 MiB vs 1.47 MiB).
Quality 11 saves only 2% more and takes 3x longer.
- It now uses every available core and starts with the largest files:
7 s for .br and .gz together on 6 cores, against 25 s for quality 11
on the default 4 libuv threads.
- web-ui serves .br when the client accepts it and .gz otherwise. The
server's order wins, because browsers list gzip before br.
* Ignore stale pre-compressed copies and warn when there are none
- web-ui skips a .br/.gz copy that is older than its original or has no
original. Otherwise a file edited after the build, such as a customized
locale, would keep being served from its old copy.
- Log a warning when the web folder has no pre-compressed files at all,
for example a UI built without "yarn run compress".
- compress-build.js runs at most 8 threads.
- Shorter comments; the pom comment duplicated the script header.
* Respect Accept-Encoding q-values and detect edited originals by size
- Pick the encoding with negotiator (already in the tree through express,
now a direct dependency). The highest q wins as RFC 9110 says, and the
server's br-first order only breaks ties. Before, "gzip;q=1, br;q=0.1"
still got br.
- Check a copy against the uncompressed size gzip stores in its trailer
instead of comparing mtimes. Touching or copying the build without
preserving timestamps no longer disables compression, and a customized
file of a different size still gets served fresh.
* Trust pre-compressed copies as built, like nginx, Caddy and Fastify do
The web folder is a build artifact that is not edited by hand, so checking
copies against their originals at startup only added code.
* Load negotiator.d.ts in yarn start and start-prod
ts-node only compiles files that are imported, so it ignored the ambient
declaration and failed with TS7016. tsc, the Docker image and production
were not affected.
- web-report: build the shipped executables without pkg --debug again; the SBOM check makes its own --debug pass into a folder it deletes
- skip the yarn SBOM steps of ui-ngx, web-ui and web-report with -Dskip.ui.build=true (sbom.ui.skip)
- keep Lombok out of the boot jars: it is needed only to compile and is not in the SBOMs
- list the DigiCert root certificate in the package SBOM of the integration executor
- check in every build that the gateway extension SBOM names the hash of the committed .js, and keep Git from changing the line ends of that file
- license headers: mark packaging/java/build.gradle as modified and update the curation of msa/web-report/pom.xml
The image SBOMs were made by sbom-docker-images.sh, run after the release build. The image goal of sbom-maven-plugin now finds the pushed images, scans them and attaches the SBOMs itself, so the push profiles bind it to the phase that pushes the image, right after the pushes, with the tags they push. The script is removed.
sbom.skip is true by default, so a normal build makes no SBOMs. -Dsbom.skip=false turns them on: jar and package SBOMs in any build, and image SBOMs as well in a build with a push profile.
Also derive the deb and rpm package version once (pkg.version, 4.4.1~SNAPSHOT for snapshots) and use it for the packages and their purls, so package purls match the installed packages.
Updated config, express, js-yaml, winston, @yao-pkg/pkg 6.24.0, fs-extra,
@types/express and @types/node to match js-executor and web-ui, playwright to
1.64.1 (same Chromium 156.0.8078.4), and regenerated the lockfile. Dropped
@types/config and the unused nyc section. Logger takes the Transport type from winston.
Updated config 4.4.2, connect-history-api-fallback 2.0.0, express, js-yaml,
winston, @yao-pkg/pkg 6.24.0, fs-extra, @types/express, @types/http-proxy and
@types/node. Dropped the http stub package, @types/config (config ships its own
types), the unused nyc section and the tar resolution (lockfile resolves 7.5.22).
Logger takes the Transport type from winston; RequestHandler now comes from express.
Updated config, express, js-yaml, winston, @yao-pkg/pkg 6.24.0, fs-extra,
@types/express and @types/node. Dropped @types/config (config ships its own
types), the unused nyc section and the tar resolution (lockfile resolves 7.5.22).
Logger now takes the Transport type from winston.
- msa/js-executor, msa/web-ui: replace nodemon with node --watch and remove it,
dropping chokidar 3 and braces (CVE-2026-93687)
- ui-ngx: migrate from deprecated @angular-devkit/build-angular to @angular/build,
dropping the webpack toolchain incl. webpack-dev-middleware (CVE-2026-76844)
- ui-ngx: bump Angular CLI/build tooling to 20.3.40, make the
@modelcontextprotocol/sdk 1.32.1 resolution global, remove unused less resolution
- ui-ngx: bump @svgdotjs/svg.js to 3.2.8 (prototype pollution fix), svg.filter.js
to 3.0.10, svg.panzoom.js to 2.1.3, @messageformat/core to 3.4.1, eslint to 9.39.5
- ui-ngx: fix invalid JSON in locale.constant-ro_RO.json (trailing comma)