Repository navigation
Releases
IndraMesh Core 1.0.2
[1.0.2] - 2026-11-27
Added
- Query API (sorting) — objects can be sorted by any attribute and by several fields at once on the REST list, in AQL and in GraphQL; a saved view or an export no longer needs a client-side sort.
- Query API (dates) — relative date expressions such as
now(-7d),startOfDay()andendOfMonth(), and the rest of the set, are accepted wherever a date is compared; a saved query keeps its meaning instead of being recomputed every day. - Query API (counts) — a filtered object set reports its total count on GraphQL and in the REST group response (
total), so a view can show "x of y" from the same request that returns its page or its groups instead of fetching every row. - Query API (grouping) — objects can be grouped by one attribute, so the counts per attribute value arrive in one request instead of one request per value.
- Query API (aggregates) — a time histogram and the numeric aggregates sum, minimum, maximum and average are available over a grouped result, so a dashboard series comes from one query.
- Installation (host tuning, optional) —
./optimization.shmeasures the host and proposes values. It asks two questions about the expected load (many or few imports, many or few concurrent users) and covers PostgreSQL, the number of ARQ workers, the number of backend processes, ARQ concurrency, the connection pool and the OpenSearch heap. It is a dry run by default.--applywrites the values and records what it changed, and--undorestores the previous state. The newBACKEND_WORKERSsetting (1–4, default1) starts several backend processes. Every process holds its own connection pool, so raise it only together with the pool the tool proposes. The default installation keeps one worker and one backend process. See "Host Tuning" indocs/OPERATIONS.md.
Changed
- REST API (API change) — deleting a container now starts a task instead of running the delete inside the request.
DELETE /object-types/{id},DELETE /schemas/{id}andDELETE /sources/{id}answer202 Acceptedwith{"task_id": …}and aLocation: /api/v1/tasks/{id}header instead of204 No Content; the delete itself runs in the worker, in one transaction, and the task list shows its progress. A large delete used to outlast the gateway's 60-second read timeout — 211.7 s at 100k objects and 2 067.2 s at one million in this release's measurements — so the caller got a504while the database was still working. Everything the request can decide is unchanged:404for a missing container,403and record-level deny rules as before,409when the container is locked or another delete of it is already running (a repeatedDELETEanswers202with the same task id). Clients that waited for204must now follow the task toSUCCESS. While a container is being deleted, starting an import, export or reindex into it, or deleting a container below it, answers409— an object type below a schema or source delete, and a schema below a source delete, included; deleting a source whose schema or object type is being deleted answers409as well. A write that meets a row the delete has locked fails after a few seconds with409instead of waiting for the delete to finish, and that bound now ends with the request's transaction, so it can no longer slow down plugin or background writes that share the connection pool. ADELETEtask is visible to the user who started it and to superusers only; the202body says whether this caller can read the task it carries (watchable), so a repeated delete by another user never hands out a task that user cannot open. An interrupted delete — the worker stopping, crashing or restarting while it runs — rolls back, leaves the container and everything below it untouched, endsFAILED(Delete interrupted (worker stopped) — nothing was deleted; start the delete again) and is started again with a newDELETE; the container stays usable in the meantime, and starting another worker never fails a delete that is still running. A delete that is still queued is bounded by the queue, not by a clock: the worker runs up to ten jobs at once, so a delete may wait behind long imports or connector syncs for hours, and only a queued task whose background job no longer exists — and that is at least an hour old — endsFAILEDwith the same message.PATCH /tasks/{id}refuses any status write on a delete task (422), because that status belongs to its worker. Answering202here is a named exception to the compatibility promise, with its reason and its compensation, and the stability document's new section "Exceptions in the 1.x line" states it as one. - REST API — when every pooled database connection is in use, a request is now answered with
503 Service UnavailableandRetry-After: 5. It waits at mostDB_POOL_TIMEOUTseconds for a connection (new setting, default5). Before, it waited 30 seconds and then ended with500. Clients should retry after the time the header names. The ARQ worker still waits up to 30 seconds (WORKER_DB_POOL_TIMEOUT), so an import burst does not fail a background job. The search route also no longer holds its database connection during the OpenSearch call. That held connection was what used up the pool under mixed read and import load. Under 50 concurrent users a single backend process with the default pool reaches this bound; the "Host-Tuning (optional)" section of the release notes names the lever. - Valkey — the worker no longer stores ARQ job results. Valkey snapshots with
save 900 1 300 100in Compose and in the Helm chart. The previous built-in default also saved every 60 seconds once 10 000 keys had changed, so under import load it wrote the whole data set about once a minute. Persistence stays on because the token and session blocklists live only in Valkey. After a crash, up to 15 minutes of revocations can come back valid; this window is accepted for 1.0.2 (see "Valkey persistence" indocs/OPERATIONS.md). - Imports — an import run's report is now a JSON object instead of a list: four counters (created, updated, unchanged, failed) and the error list. The import list returns the counters and an error count, the detail view returns the stored object, and rows written by an earlier release keep their original list form.
Performance
1.0.2 is a performance release. All figures below were measured on one development machine (WSL2, 32 GB) with generated test data, one run per cell unless a row says otherwise. The Before column of the first table is strictly 1.0.1, read from the 1.0.1 reference runs with the same profiles and tools. The second table compares against the development tree just before a fix, where no 1.0.1 run measures the same workload. The third table lists what has no 1.0.1 counterpart at all: the one-million-object profile and the cache footprint. Every row names the commit its after value was measured on. The figures show the direction and size of the change, not a guarantee for other hardware.
| Area | Measurement | Before (1.0.1) | 1.0.2 | Measured at |
|---|---|---|---|---|
| Jira connector | pull of 1 200 objects with 15 600 values | 1 046.945 s for 75 of 1 200 objects (the run failed); timing reference 1 053.07 s and 44.399 commits per object, measured with plugin 1.0.1 on the 1.0.2 Core — not a 1.0.1-Core run | 271.148 s for 1 200 of 1 200 objects, 2.158 commits per object (3.88× faster than the timing reference, 20.6× fewer commits) | 30bb15e4d |
| Search | time until a 100 000-object import is searchable | 471.789 s | 206.453 s (2.29× faster) | 83741fce9 |
| Concurrent use | mixed read and write load, 10 000 objects, 50 concurrent users, p50 / p95 | 1 730.224 / 8 026.016 ms, 0 % failed | 5 759.414–10 238.197 / 26 602.084–30 989.328 ms, 2.563–3.123 % answered 503 |
83741fce9 |
| Concurrent use | the same load, 100 000 objects, 50 concurrent users, p50 / p95 | 1 792.538 / 7 370.874 ms, 0 % failed | 9 997.530 / 30 888.438 ms, 3.257 % answered 503 |
83741fce9 |
| Concurrent use | login under load, p95 | 3 309.165 ms | 1 757.075 ms (−46.9 %) | 83741fce9 |
The two mixed rows are a regression, and they are published as one. Under 50 concurrent users the mixed read and write load now ends 2.563–3.257 % of its requests with 503 and reaches a p50 of 5.8–10.2 s, where 1.0.1 answered every request at a p50 of 1.7–1.8 s. The cause is the bounded pool wait this release introduced: a request that finds every pooled database connection in use is answered 503 after five seconds instead of queueing. The default single backend process holds a pool of ten connections with twenty overflow, and 50 concurrent users exhaust it; 1.0.1 queued instead, which is why it kept its p95 near eight seconds. The SQL itself did not get slower — in the same window the delete and list statements ran in single-digit milliseconds. The lever is the number of backend processes: with a second process and the tuning values the same load answered every request, at a p95 of 3 364.1 ms (see "Host-Tuning (optional)" below). A deployment that carries 50 concurrent users on the default single process will see this.
Before the fix — the before side is the development tree just before the change; no 1.0.1 run measures these workloads.
| Area | Measurement | Before the fix | 1.0.2 | Measured at |
|---|---|---|---|---|
| CSV import | new rows, ms per row | 259.39 ms | 79.02 ms (3.3× faster) | 30bb15e4d |
| CSV import | re-import of unchanged rows, ms per row | 80.43 ms | 1.91 ms (42× faster) | 30bb15e4d |
| RBAC and permissions | restricted object list, 100 000 objects, 5 000 deny rules (median) | 826.859 ms | 178.344 ms (−78.4 %) | 434fa761b |
| Concurrent use | the same mixed load, throughput, at four backend processes with the tuning values | 9 241 requests | 16 514 requests (+78.7 %) | `813... |
IndraMesh Core 1.0.1
[1.0.1] - 2026-11-09
Added
- Languages — Italian ships as a sixth interface language; every screen in the core application is translated, while plugin surfaces stay in English for now. Administrators can add their own languages on the Languages page, and plugins can react to a deleted language through the new
on_language_deletedhook.
Changed
- GraphQL Studio — a fresh installation of the studio is inactive until an administrator activates it, so installing the plugin no longer opens the internal
/api/v1/graphqlendpoint on a production instance by itself. Existing installations stay active; if you do not need the studio on a production instance, deactivate it once. - Languages —
POST /languages/normalizes the submitted code and rejects anything that is not a BCP-47 style tag with422;DELETE /languages/{id}refuses bundled languages with409;LanguageResponsecarriesis_bundled, so a client can tell a bundled language from a custom one. - Plugins —
install_plugin_docker.shandinstall_plugin_k8s.shupdate an installed plugin when the source carries a higher version; the same version does nothing and a lower one is refused. - Search — releases from 1.0.1 on lay out a schema's search index across every object type; a database created under 1.0.0 can hold indices that cover only part of its object types, and objects of the missing types stay out of the search results. Repair them once after the upgrade as a documented operator step:
python -m app.maintenance repair-search-indexesreports where an index diverges and rebuilds only that part, so a second run is a no-op. - Jira connector — a Source or Target created under 1.0.0 whose URL points at an address inside the deployment network is refused after the upgrade until a superuser sets
allow_internal_targettotruein that row'sconfig. The address check runs on pull, push, export and the connection test, so an unchanged internal URL stops syncing rather than silently leaving the deployment. - Installation (k3s) —
install_indramesh_k8s.shno longer imports its certificate authority into a trust store: on WSL2 a normal Windows session could not register it, and the installer then ended with exit 1 on an otherwise complete installation. The certificate is self-signed for the browser, as with the Compose stack, and the closing check proves only thathttps://localhostanswers. A CA entry an earlier installation left stays in place — remove staleindramesh-local-caentries, which make the browser reject a newer one (see "What the Installer Changes on Your Host" indocs/DEPLOYMENT.md).
Fixed
- RBAC and permissions — object lists, counts, AQL queries and GraphQL reads for a user with record-level deny rules are considerably faster than in 1.0.0 and return exactly the same records as before.
- REST API — a repeated object list request is served from the cache without any database query.
- Data model and hierarchy — deleting a source also removes the key sequences of its schemas from the database, as deleting a single schema already did.
- Data model and hierarchy — deleting a source, schema, object type, attribute or object also removes the translations of everything deleted with it, and an import that replaces a value removes the old value's translations. On the next start, translations and search indices left behind by earlier deletes are removed.
- RBAC and permissions — deleting a source, schema, object type, attribute type or object also removes the record-level permissions set on everything deleted with it. They used to stay behind for good, and every restricted user's visibility check kept resolving the deny rules of records that no longer existed. Rows left behind by deletes under earlier releases are not removed by this fix.
- Languages — the start-up seed removes UI strings that left the code together with their translations, so the translation coverage counts current keys only, and deleting a language also clears its profile preferences and cached dictionary.
- Installation (Docker Compose) — an upgrade recreates nginx, so it serves the configuration of the new release; after a 1.0.0 upgrade it kept the old one and answered every page with
502. A container whose image tag moved to a rebuilt, identical image is recreated as well, so no container shows up as a baresha256:…after an upgrade. - Installation (Raspberry Pi 5) — the Compose nginx starts on kernels with 16 KB memory pages. Its two upstream zones were sized
64k, below the eight-page minimum there, so nginx refused to start ("zone is too small") and the stack answered nothing; both zones are now1m. - Installation (k3s) —
rebuild_indramesh_k8s.shvalidates the nginx configuration Helm actually deploys, rendered with the installation's values. It used to test the raw chart file, whose Grafana and Headlamp upstreams do not exist on a default installation, songinx -tfailed and the documented upgrade (installer, then rebuild) could not complete.
Security
- Database identity — the backend and worker now run their normal queries as a read/write application user (
DB_APP_USER) without DDL or superuser rights, while the installer, the migrations and the deploy step keep the privileged identity. An existing 1.0.0 installation reaches this model by re-running the installer, which appends the missingDB_APP_USER/DB_APP_PASSWORDkeys and generates the password;DB_USER/DB_PASSWORDstay unchanged, so the administrator keeps database access. The change closes the SQL-injection path out of the application process, not a shell inside those containers: on Compose and on k3s the backend keeps the privileged identity for the maintenance paths. Plugin code running in the backend or worker can no longer run DDL throughPluginContext.db(); schema changes belong in plugin migrations.
Known limitations (1.0.1)
The release notes carry the limitations of this release in one place, at category level. Every count below is the number of remaining deferred items in that category after the 1.0.1 re-triage; the total is the sum of the category rows and includes the four risks accepted for this release.
| Category | Count | Limitation and workaround |
|---|---|---|
| Plugin trust boundary and plugin API surface | 15 | Bundled plugin frontends run in the application origin and plugin code runs in-process; the plugin API is wider and less versioned than the public statement suggests, and some promised capabilities have no Core caller. Workaround: install only first-party plugins and keep the plugin set fixed for the deployment. |
| Accepted by-design trust boundaries | 3 | Three behaviours are accepted rather than fixed: a short cache of record-permission decisions can delay a newly added DENY, bundled plugins intentionally carry application trust, and the duplicated permission factories enforce identical rules. Workaround: wait out the cache window after changing a DENY, and do not install third-party plugins. |
| Migration history and downgrade fidelity | 12 | 1.0 ships a fresh database baseline; the historical migration chain contains destructive upgrade steps and downgrades that cannot restore what they removed, and the roundtrip is not tested. Workaround: back up a pre-1.0 installation before upgrading and treat the upgrade as one-way. |
| Write-path atomicity, task and queue consistency | 20 | Some multi-step writes still commit in separate transactions, and a failed queue enqueue can leave a task or export row pending forever; the worker topology assumes a single replica. Workaround: check the reported result of a long-running import or export before retrying, and keep one worker replica. |
| Data-model integrity and catalog consistency | 6 | Name uniqueness and several catalog invariants are enforced in application code rather than by the database, so concurrent writers can create duplicates or inconsistent references. Workaround: create catalog objects one at a time and avoid concurrent edits of the same schema. |
| Import and export contracts and payload handling | 4 | Import definitions accept attribute bindings that belong to another object type, export filenames collide within the same second, and the accepted CSV upload body is buffered in memory before it reaches the temporary file. Workaround: validate a definition with a small dry run and do not start two exports of the same definition in the same second. |
| Frontend failure reporting and browser-surface hygiene | 25 | Many frontend reads and writes render a failure as an empty state or report nothing at all, and search text or filter values persist in the URL and browser storage. Workaround: reload after a failed action and verify the result explicitly; clear browser storage on a shared machine. |
| Deployment, infrastructure and observability | 17 | The shipped deployment is single-node-oriented: rate limits, backup coverage, storage-service authentication, chart portability and log-store authentication remain hardening items, and the optional observability and Kubernetes-dashboard front doors are off by default and are an explicit operator decision when switched on. Workaround: keep the stack on a trusted network, back up the database and the encryption key together, and do not expose the log store. |
| Dependency currency, secrets and review-material hygiene | 9 | Low-severity dependency advisories, file-permission and temporary-root findings, and credential-shaped strings in private review artifacts remain. No live production credential is involved, and the dependency upgrades that mattered for the release shipped. Workaround: re-run the dependency scans before the next public release and keep the review artifacts private. |
| Backend robustness, dead code and remaining contracts | 13 | Several error paths echo raw excep... |
IndraMesh Core 1.0.0
IndraMesh Core 1.0.0
The first public release of IndraMesh Core.
Run 1.0.0 on a trusted network only. Do not expose it to the open internet yet; see
Security.
Highlights
- A hierarchical data platform for structured company data. Asset inventories, master data,
customer and product data are modelled from Source through Schema and Object Type down to Objects,
attribute values and references. - One permission model across every API. A REST API, a public read API and a GraphQL API share
roles, per-record policies, attribute-level privacy classification and an audit log of who changed
what. - Lean core, first-party plugins. External systems and tooling are plugins: a Jira Assets
connector, a GraphQL studio, a log explorer and two AI assistants ship alongside Core as separate
repositories.
The full list of what 1.0.0 contains is in the
CHANGELOG.
Get started
The README quickstart is the supported path. You need Git, Docker Engine with the
Compose v2 plugin (2.20 or newer), openssl, and about 4 GB of memory for Docker:
git clone https://github.com/weboliver/indramesh-core.git
cd indramesh-core
./install_indramesh_docker.shThe installer generates every secret, builds and starts the stack, and prints the login URL and the
initial admin password. Open https://localhost:8443, accept the self-signed certificate, and log in
as admin. A local single-node k3s installation uses ./install_indramesh_k8s.sh and the
bundled Helm chart (chart version 1.0.0) and serves the stack at https://localhost. Details are in
docs/DEPLOYMENT.md.
./start and ./stop control the k3s installation only. They start and stop the k3s service
and leave a Docker Compose stack untouched. On Docker Compose, stop the stack with
docker compose stop and start it again with docker compose up -d, both from the checkout root.
No prebuilt image is published for 1.0.0. The backend image and the frontend bundle are built
locally from the repository on the first install, so the first start compiles rather than pulls.
Stability promise
IndraMesh Core follows Semantic Versioning 2.0.0. From 1.0.0 on,
a backward-incompatible change to the documented API needs a new major version. The promise covers the
documented /api/v1 REST endpoints, the public GraphQL endpoint, saved-query execution, the documented
environment-variable names, the machine-readable error codes and the invocation of the public scripts.
Anything deprecated in a 1.x release keeps working until the next major release.
The plugin API is experimental. The plugin SDK, the manifest schema and the frontend extension
points are outside the promise. Plugin authors should pin an exact Core version.
The full declaration, including every excluded surface, is docs/STABILITY.md.
First-party plugins
| Plugin | Repository | Version | License | api_version |
Tested with |
|---|---|---|---|---|---|
| Jira Assets connector | indramesh-plugin-jira | 1.0.0 | Apache-2.0 | 1.0.0 | Core 1.0.0 |
| GraphQL Studio | indramesh-plugin-graphql-studio | 1.0.0 | Apache-2.0 | 1.0.0 | Core 1.0.0 |
| Log Explorer | indramesh-plugin-log-explorer | 1.0.0 | Apache-2.0 | 1.0.0 | Core 1.0.0 |
| AI Schema Wizard | indramesh-plugin-ai-schema-wizard | 1.0.0 | Apache-2.0 | 1.0.0 | Core 1.0.0 |
| AI Translation | indramesh-plugin-ai-translation | 1.0.0 | Apache-2.0 | 1.0.0 | Core 1.0.0 |
Each plugin is installed into a running stack with
./install_plugin_docker.sh <repository-url> --ref v1.0.0 or
./install_plugin_k8s.sh <repository-url> --ref v1.0.0. Each plugin's release notes name its
requirements. GraphQL Studio is a developer tool for development and test setups; do not install it on
a production instance.
There is no plugin uninstall yet. A plugin can be disabled under Plugins in the admin UI, which
stops it at once while its files and data stay in place. An uninstall is planned for one of the next
releases.
Security
Read SECURITY.md before reporting. Vulnerabilities are reported privately through
GitHub's private vulnerability reporting on this repository, or by email to security@indramesh.com,
and never in a public issue.
Do not run 1.0.0 on the open internet. This release is meant for a trusted network: a company
network, a VPN or a single machine. Hardening items that matter for an internet-facing service are
still open (see Known limitations), among them 30-day browser sessions, login and credential
hardening, and record-level checks on some secondary surfaces. If people need remote access, reach
the stack through a VPN or an authenticating reverse proxy instead of publishing its port directly.
A later release will state in its release notes when running on the open internet is supported.
Before 1.0.0, Core was reviewed against targeted chapters of OWASP ASVS 5.0 Level 2 and the OWASP API
Security Top 10 (2023). Every finding was triaged; release blockers were fixed before 1.0.0, and the
areas that remain open are listed under Known limitations. This was the maintainer's own review, not
an external audit or a certification.
Known limitations
- Record-level authorization on secondary read surfaces. A few secondary read surfaces check the
type-level permission but not every per-record policy. Grant the related read permissions only to
roles you trust with the whole object type. - Session, credential and login hardening. Session and credential handling still has hardening
items open. Rotate credentials after a suspected exposure, keep the cache service on a trusted
network, and keep operator sessions short. - Plugin trust boundary and plugin API surface. Plugins run in-process with the application's
trust. Install only plugins you trust; the five first-party plugins are the tested set. - Accepted by-design trust boundaries. Some behaviours are accepted by design. Record-permission
decisions are cached for up to 60 seconds, so a newly added deny can take up to a minute to apply,
and installed plugins carry application trust. - Migration history and downgrade fidelity. 1.0.0 starts from a fresh database baseline, and
downgrades are not supported. Back up before every upgrade and treat an upgrade as one-way. - Write-path atomicity, task and queue consistency. Some multi-step writes and queue hand-offs are
not yet fully atomic, so a task can stay pending after a failed hand-off. Check the reported result
of a long-running import or export before retrying, and run a single worker replica. - Data-model integrity and catalog consistency. Some catalog rules, such as name uniqueness, are
enforced by the application rather than by the database. Avoid concurrent edits of the same schema. - Import and export contracts and payload handling. Import and export contracts still have
validation gaps. Try a new import definition on a small file first, and do not start two exports of
the same definition at the same moment. - Frontend failure reporting and browser-surface hygiene. Some UI actions show a failure as an
empty result or not at all, and search and filter values persist in the URL and in browser storage.
Verify the result after a failed action, and clear browser storage on a shared machine. - Deployment, infrastructure and observability. The shipped deployment is single-node-oriented and
has hardening items open around bundled administration tools, backups and service-to-service
authentication. Keep the stack on a trusted network, do not expose Grafana or the log store, and back
up the database together with the encryption key. - Dependency advisories. Low-severity dependency advisories
remain open. The dependency upgrades that mattered for 1.0.0 are included. - Backend robustness, dead code and remaining contracts. Some error paths and rare races are not
yet hardened. Treat a server error as an unknown result and re-read the object before retrying. - Maintainer review tooling. The maintainer's internal review tooling has open items. No
operator action is required. - Areas not yet reviewed in depth. Not every area was reviewed in depth before 1.0.0. A
Jira connection cannot be re-bound after its URL changes: keep Jira Source and Target URLs stable, or
delete and rebuild the binding. - k3s release upgrades. The upgrade path for a k3s installation is documented but was not
rehearsed for 1.0.0. - arm64. On a Raspberry Pi 5 with 8 GB of memory, both the Docker Compose and the k3s quickstart
installed and served a running stack. The automated test suites ran on amd64 only. - Experimental plugin API. The plugin API is outside the versioning promise and may change in any
release. - No prebuilt image. No container image is published for 1.0.0; every installation builds its
images locally.
Upgrade notes
This is the first public release. There is no supported upgrade path from internal pre-release
installations: install 1.0.0 fresh. The upgrade path for a k3s installation is documented but was not
rehearsed for 1.0.0.
Secure defaults
A fresh installation starts restrictive. An administrator can widen each default:
- Imports are Administrator-only. Starting, changi...