date: 2025-11-09T23:53:39Z
- Bootstrapped all Mix dependencies offline via
scripts/bootstrap_deps.exsand compiled the project in the test environment using the path overrides controlled byBOOTSTRAP_HEX_DEPS. 【0d28f4†L1-L88】【55e75c†L1-L2】 - Installed PostgreSQL 16, started the cluster, and set the default
postgresuser's password to match the configuration used inconfig/test.exs. 【a7164c†L1-L13】【4e2311†L1-L1】【015903†L1-L5】 - Database migrations fail because the required
pgmqextension is not available in the system PostgreSQL installation; as a result, schema objects and stored procedures referenced by the test suite are missing. 【36dab8†L1-L11】 - With the database skipped (
SINGULARITY_WORKFLOW_SKIP_DB=1), the ExUnit suite aborts on the first test because theSingularity.Workflow.Reposandbox cannot be checked out, demonstrating that database-backed tests still require the repo to be running even when migrations are bypassed. 【09ef84†L1-L23】
- Manual dependency bootstrap downloads Hex tarballs and unpacks them into
deps/. 【4e9b5f†L1-L90】 - Compiling the application after bootstrapping succeeds. 【55e75c†L1-L2】
- Attempting to run migrations raises
ERROR 0A000 (feature_not_supported) extension "pgmq" is not available. 【36dab8†L1-L11】 mix test --max-failures 1exits early because the repo cannot be checked out, even when the database startup is skipped via environment variable. 【09ef84†L1-L23】【8de6bf†L1-L33】
- Install the
pgmqPostgreSQL extension (or adjust the migrations to skip it in CI) so thatmix ecto.migratecan succeed. 【36dab8†L1-L11】 - Provide a lightweight
Singularity.Workflow.Repostub or start the repo underSINGULARITY_WORKFLOW_SKIP_DB=1so ExUnit can check out the sandbox during tests. 【09ef84†L1-L23】 - After the database issues are resolved, run the full
mix testsuite and the quality checks (mix quality) before cutting a release.