feat: transition module packages and template to database ABI v1 #72

Merged
Zayin_Admin merged 1 commits from feat/module-package-abi-v1-transition into main 2026-10-07 23:14:50 +00:00
Member

Summary

  • migrate the canonical module template to manifest-v8 database ABI v1 using the module-side Drizzle adapter and plain schema metadata
  • make Module Package v1 omit transitional.databaseRuntime for ABI-v1 modules while preserving legacy-v8 emission and compatibility checks
  • make verification reject transitional database metadata on ABI-v1 packages and validate ABI schema entrypoints as plain metadata
  • document ABI v1 as the preferred path while retaining the legacy facade

Proof

  • pnpm verify
  • focused template, packager, and verifier tests
  • pnpm test:migrations:integration (15 files, 396 tests)
  • bash scripts/check-image.sh (identical generic runtime filesystem and layers with empty/populated module source)
  • pnpm deploy:smoke
  • EKKLESIA_SMOKE_TOPOLOGY=split pnpm deploy:smoke (empty boot, verify/install/migrate/restart, API/UI/display, remove with retained history/data, exact-package reinstall)
  • clean-archive package build repeated twice byte-identically: example-0.1.0-any.tar.gz, 454705 bytes, SHA-256 5aefd49f7bd0a1cb14ce425a843902cca070b12f67eb388413257def00bedc76

Scope

packageFormat remains 1. Legacy database support remains. ADR 0050, Signage, and rog-ekklesia-instance are unchanged.

## Summary - migrate the canonical module template to manifest-v8 database ABI v1 using the module-side Drizzle adapter and plain schema metadata - make Module Package v1 omit transitional.databaseRuntime for ABI-v1 modules while preserving legacy-v8 emission and compatibility checks - make verification reject transitional database metadata on ABI-v1 packages and validate ABI schema entrypoints as plain metadata - document ABI v1 as the preferred path while retaining the legacy facade ## Proof - `pnpm verify` - focused template, packager, and verifier tests - `pnpm test:migrations:integration` (15 files, 396 tests) - `bash scripts/check-image.sh` (identical generic runtime filesystem and layers with empty/populated module source) - `pnpm deploy:smoke` - `EKKLESIA_SMOKE_TOPOLOGY=split pnpm deploy:smoke` (empty boot, verify/install/migrate/restart, API/UI/display, remove with retained history/data, exact-package reinstall) - clean-archive package build repeated twice byte-identically: `example-0.1.0-any.tar.gz`, 454705 bytes, SHA-256 `5aefd49f7bd0a1cb14ce425a843902cca070b12f67eb388413257def00bedc76` ## Scope `packageFormat` remains 1. Legacy database support remains. ADR 0050, Signage, and `rog-ekklesia-instance` are unchanged.
ekklesia-bot added 1 commit 2026-10-07 23:01:09 +00:00
feat: transition module packages to database ABI v1
CI / verify (pull_request) Successful in 1m1s
CI / infrastructure-smoke (pull_request) Successful in 36s
CI / migration-smoke (pull_request) Successful in 1m54s
CI / image-build (pull_request) Successful in 31s
CI / deploy-smoke (same-origin) (pull_request) Successful in 52s
CI / deploy-smoke (split) (pull_request) Successful in 1m32s
70854d234c
Zayin_Admin merged commit 42acdeb9e8 into main 2026-10-07 23:14:50 +00:00
Zayin_Admin deleted branch feat/module-package-abi-v1-transition 2026-10-07 23:14:50 +00:00
Sign in to join this conversation.
No Reviewers
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Zayin/Ekklesia#72