Skip to content

test(doctrine-retry-bundle): AJDA-2222 load test env via dotenv and document setup#534

Open
odinuv wants to merge 2 commits into
mainfrom
odin/AJDA-2222
Open

test(doctrine-retry-bundle): AJDA-2222 load test env via dotenv and document setup#534
odinuv wants to merge 2 commits into
mainfrom
odin/AJDA-2222

Conversation

@odinuv

@odinuv odinuv commented Jun 25, 2026

Copy link
Copy Markdown
Member

Link to issue

https://linear.app/keboola/issue/AJDA-2222/update-doctrine-in-editor-service

Description

Reworks the doctrine-retry-bundle test setup to load configuration from a .env file via symfony/dotenv and fail fast when required variables are missing. The test bootstrap now boots the env and asserts that TEST_DATABASE_HOST, TEST_DATABASE_PORT, TEST_DATABASE_USER, TEST_DATABASE_PASSWORD, TEST_DATABASE_DB and TEST_PROXY_HOST are present, replacing the single TEST_DATABASE_URL. The README documents the new variables and the docker compose run --rm dev-doctrine-retry-bundle composer ci flow (MySQL + Toxiproxy).

Justification

See the linked Linear issue — needed to align the bundle's test setup while updating Doctrine in the editor service.

Plans for Customer Communication

None.

Impact Analysis

Test-only change. No runtime/production code is affected and there is no behavior change for consumers of the bundle. Adds symfony/dotenv as a dev dependency.

Deployment Plan

Release a tagged version.

Rollback Plan

Revert this PR.

Post-Release Support Plan

None.

@linear

linear Bot commented Jun 25, 2026

Copy link
Copy Markdown

AJDA-2222

@odinuv odinuv requested a review from ondrajodas June 26, 2026 06:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant