Skip to content

OpenTea DX-OS v1.3.0

Choose a tag to compare

@github-actions github-actions released this 08 Nov 14:11
· 1192 commits to main since this release

Added

  • Contribution tooling: Bilingual issue templates (bug report, feature request), pull request template and SECURITY.md with a private vulnerability reporting policy
  • Tier 1 API gateway: APISIX on :9080 with JWT validation for /api/data/graphql, /api/workflow/* and /api/ai/disease/*
  • Hasura data API: read-only GraphQL with row-level permissions scoped by the htx_code claim
  • PostGIS and pgvector: the Postgres image now ships both extensions and is published to GHCR as opentea-dx-os-postgres
  • Platform smoke CI job: make platform-up + make platform-smoke run in CI (platform-smoke)
  • Release migrate service: --profile tools run --rm migrate applies Prisma migrations inside the compose network

Security

  • Gateway: strips the client-supplied x-hasura-admin-secret header on the GraphQL route (it previously let any authenticated user act as Hasura admin); /api/workflow/* and /api/ai/disease/* now require the dx-os-core audience
  • Release override: Hasura refuses to start while HASURA_GRAPHQL_ADMIN_SECRET is empty or a change_me* placeholder

Changed

  • Gateway CORS: allows the x-hasura-role request header and exposes X-Request-Id
  • Release ports: SeaweedFS S3 :9000 stays published (browsers use presigned URLs on it) until storage moves behind the gateway
  • Hasura JWT issuer is configurable through KC_PUBLIC_ISSUER
  • Object storage: MinIO replaced by SeaweedFS S3 on :9000 (network alias minio kept)
  • Keycloak: TOTP required for staff, tokens carry the dx-os-core audience and the admin-only htx_code claim; the nextjs-web password grant is disabled
  • n8n: tables moved to the Postgres schema n8n
  • Images: all service images are pinned to exact tags
  • Release override: only apisix:9080, web:3000, keycloak:8080 and SeaweedFS :9000 publish host ports; deploy order is postgres, platform-init, migrate, then the rest

Upgrade notes

  • Dev environments: recreate the Postgres volume (or run REINDEX DATABASE agrimarket; after the alpine to bookworm switch), recreate the Keycloak realm (it is imported only on a fresh database), run docker compose down --remove-orphans, and (dev only — never on production data) docker compose down -v once for n8n. MinIO data is not migrated to SeaweedFS.

Container images

  • ghcr.io/maiychrus25/opentea-dx-os-web:1.3.0
  • ghcr.io/maiychrus25/opentea-dx-os-api:1.3.0
  • ghcr.io/maiychrus25/opentea-dx-os-postgres:1.3.0

Deploy

Download opentea-dx-os-1.3.0.tar.gz, verify it with SHA256SUMS, then follow the
release deployment guide (4-step order: postgres, platform-init, migrate, rest).