From 9301ff924a7b17d00ee7c520c5cd38ddb056076a Mon Sep 17 00:00:00 2001 From: Ruben van der Linde Date: Tue, 12 May 2026 14:17:37 +0200 Subject: [PATCH] ci: install OpenRegister `development` (runtime-schema-API + lifecycle) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OpenBuilt's CI installs OpenRegister as an `additional-apps` dependency for the PHPUnit-on-NC-server + Newman jobs. It was pinned to OR `main`, which predates both the runtime-schema-API (auto-create a Register on an application-type configuration import — OR PR #1464) and the lifecycle engine (ObjectTransitionedEvent). Without the former, `InitializeSettings` can't create the `openbuilt` register on `app:enable`, so `SeedHelloWorld` / `SeedApplicationTemplates` fail and every Newman assertion fails; without the latter, the Newman publish step's transition call has no endpoint. Point it at OR `development`, which now has both (and the `Cannot redeclare Organisation::$mail` regression that was blocking its app-enable was fixed in OR #1499). Closes openbuilt#29. --- .github/workflows/code-quality.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 669bb011..fb8ac3e9 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -23,5 +23,9 @@ jobs: enable-phpunit: true enable-newman: true database: sqlite - additional-apps: '[{"repo":"ConductionNL/openregister","app":"openregister","ref":"main"}]' + # OpenRegister `development` carries the runtime-schema-API (auto-create + # Register on application-type imports — OR PR #1464) and the lifecycle + # engine (ObjectTransitionedEvent) that OpenBuilt's repair steps + the + # Newman publish step need; `main` predates both. See openbuilt#29. + additional-apps: '[{"repo":"ConductionNL/openregister","app":"openregister","ref":"development"}]' enable-sbom: true