Improved E2E fixtures with reusable role auth state#26562
Draft
jonatansberg wants to merge 20 commits intomainfrom
Draft
Improved E2E fixtures with reusable role auth state#26562jonatansberg wants to merge 20 commits intomainfrom
jonatansberg wants to merge 20 commits intomainfrom
Conversation
ref https://linear.app/ghost/issue/BER-3363/unified-environment-manager Unified the E2E environment manager for dev and build modes.
ref https://linear.app/ghost/issue/BER-3363/unified-environment-manager Added Tinybird file config support and build gateway image handling.
ref https://linear.app/ghost/issue/BER-3363/unified-environment-manager Updated E2E scripts and docs for the infra-first build mode workflow.
ref https://linear.app/ghost/issue/BER-3363/unified-environment-manager Switched the CI E2E job to the unified manager on the host runner.
ref https://linear.app/ghost/issue/BER-3363/unified-environment-manager Stabilized member signup attribution tests before the CI runner migration.
ref https://linear.app/ghost/issue/BER-3363/unified-environment-manager Moved CI E2E execution into the official Playwright container. Co-authored-by: Troy Ciesco <tmciesco@gmail.com>
ref https://linear.app/ghost/issue/BER-3363/unified-environment-manager Stock caddy:2-alpine cannot parse the transform log encoder in Caddyfile.build, and shard failures now print worker/gateway logs for debugging.
ref https://linear.app/ghost/issue/BER-3363/unified-environment-manager Reduced stale dev-mode wording and derived only the E2E pieces that actually follow COMPOSE_PROJECT_NAME.
ref https://linear.app/ghost/issue/BER-3363/unified-environment-manager Moved CI shell logic into versioned scripts, parallelized build-mode runtime prep, and made infra startup sync/reset Tinybird state. Co-authored-by: Troy Ciesco <tmciesco@gmail.com>
ref https://linear.app/ghost/issue/BER-3363/unified-environment-manager Made Tinybird prep automatic for local tests, startup-only infra commands, and fail-fast sync/reset when Tinybird is running.
ref https://linear.app/ghost/issue/BER-3363/unified-environment-manager Collapsed CI prep into a single script, overlapped runtime preflight with builds, and switched the Playwright runner script to env-driven shard configuration.
ref https://linear.app/ghost/issue/BER-3363 Removed dead service-availability exports and the obsolete pretest skip branch after unifying the environment manager.
ref https://linear.app/ghost/issue/BER-3366/rework-e2e-fixtures This keeps the README wording focused and clarifies why the temporary CI wait remains in PublicPage.
ref https://linear.app/ghost/issue/BER-3363 Removed tb-cli from compose --wait targets in infra bootstrap because it is a one-shot setup job; analytics still pulls it in via depends_on and long-lived services remain the readiness gate.
ref https://linear.app/ghost/issue/BER-3366/rework-e2e-fixtures This reworked global setup to persist auth state and DB snapshots for faster local fixture reuse.
ref https://linear.app/ghost/issue/BER-3366/rework-e2e-fixtures This aligned proxied Origin headers across worker ports to keep auth/session behavior consistent.
Contributor
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
00f6fbb to
1370d46
Compare
Base automatically changed from
ber-3363-unified-environment-manager
to
main
February 25, 2026 09:13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ref https://linear.app/ghost/issue/BER-3366/rework-e2e-fixtures
What changed
Notes
ber-3363-unified-environment-managerE2E_FORCE_FIXTURE_RESET=1Validation
yarn workspace @tryghost/e2e test:typesyarn workspace @tryghost/e2e lint