-
Notifications
You must be signed in to change notification settings - Fork 8
DEV-1562: live-Metabase end-to-end pg-facade integration test suite #182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ZmeiGorynych
merged 14 commits into
main
from
egor/dev-1562-pg-facade-live-metabase-end-to-end-integration-test-suite
Jun 18, 2026
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
563a22c
DEV-1562: live-Metabase end-to-end pg-facade integration test suite
ZmeiGorynych be4265b
DEV-1562 PR #182 round 1: unblock CI + code-review fixes
ZmeiGorynych 963549b
DEV-1562 PR #182 round 2: fix surfaced pg-facade bugs, defer translat…
ZmeiGorynych 20b458d
DEV-1562 PR #182 round 3: rewrite 5 tests, strict-xfail 9 with DEV refs
ZmeiGorynych ef12899
DEV-1562 PR #182 round 4: Codex follow-up — direction-aware day-offse…
ZmeiGorynych 581b0aa
DEV-1562 PR #182 round 5: Codex follow-up — couple inner +1d unwrap t…
ZmeiGorynych 2342d28
DEV-1562 PR #182 round 6: CodeRabbit + Codex follow-ups
ZmeiGorynych 6d77ec9
DEV-1562 PR #182 round 7: Codex follow-up — WARN-poll stability check
ZmeiGorynych 57565b8
DEV-1562 PR #182 round 8: fix test_sync_log_volume regression + Codex…
ZmeiGorynych 1ac9e8f
DEV-1562 PR #182 round 9: Codex follow-up — token-protect both pg-ser…
ZmeiGorynych 885eeed
DEV-1562 PR #182 round 10: Codex follow-up — fix stale psycopg2 passw…
ZmeiGorynych 1c83be6
DEV-1562 PR #182 round 11: Codex follow-up — defer Sunday-week wrappe…
ZmeiGorynych 908028c
DEV-1562 PR #182 round 12: CodeRabbit nitpick — drop unused `import j…
ZmeiGorynych 3543b04
Merge remote-tracking branch 'origin/main' into egor/dev-1562-pg-faca…
ZmeiGorynych File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,89 @@ | ||
| name: PG Facade Live-Metabase E2E | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| on: | ||
| push: | ||
| branches: [main] | ||
| paths: | ||
| - 'slayer/pg_facade/**' | ||
| - 'slayer/facade/**' | ||
| - 'slayer/demo/**' | ||
| - 'tests/integration/test_metabase_e2e.py' | ||
| - 'tests/integration/conftest_metabase.py' | ||
| - 'tests/integration/_pg_serve_helpers.py' | ||
| - 'tests/integration/conftest.py' | ||
| - 'pyproject.toml' | ||
| - 'poetry.lock' | ||
| - '.github/workflows/pg-facade-e2e.yml' | ||
| pull_request: | ||
| branches: [main] | ||
| paths: | ||
| - 'slayer/pg_facade/**' | ||
| - 'slayer/facade/**' | ||
| - 'slayer/demo/**' | ||
| - 'tests/integration/test_metabase_e2e.py' | ||
| - 'tests/integration/conftest_metabase.py' | ||
| - 'tests/integration/_pg_serve_helpers.py' | ||
| - 'tests/integration/conftest.py' | ||
| - 'pyproject.toml' | ||
| - 'poetry.lock' | ||
| - '.github/workflows/pg-facade-e2e.yml' | ||
|
|
||
| jobs: | ||
| metabase-e2e: | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 25 | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - name: Set up Python 3.11 | ||
| uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: "3.11" | ||
|
|
||
| - name: Install Poetry | ||
| run: pip install poetry | ||
|
|
||
| - name: Install dependencies | ||
| run: poetry install -E all --with dev | ||
|
|
||
| - name: Install jafgen (for demo data generation) | ||
| run: poetry run pip install git+https://github.com/rossbowen/jaffle-shop-generator.git@09557a1118b000071f8171aa97d54d5029bf0f0b | ||
|
|
||
| - name: Cache Metabase image | ||
| id: mb_cache | ||
| uses: actions/cache@v4 | ||
| with: | ||
| path: /tmp/metabase-image.tar | ||
| key: metabase-image-v0.62.1.5-${{ runner.os }}-${{ runner.arch }} | ||
|
|
||
| - name: Load Metabase image from cache | ||
| if: steps.mb_cache.outputs.cache-hit == 'true' | ||
| run: docker load -i /tmp/metabase-image.tar | ||
|
|
||
| - name: Pull and save Metabase image | ||
| if: steps.mb_cache.outputs.cache-hit != 'true' | ||
| run: | | ||
| docker pull metabase/metabase:v0.62.1.5 | ||
| docker save metabase/metabase:v0.62.1.5 -o /tmp/metabase-image.tar | ||
|
|
||
| - name: Run live-Metabase e2e suite | ||
| timeout-minutes: 15 | ||
| run: poetry run pytest -m metabase_e2e tests/integration/test_metabase_e2e.py -v --timeout=300 | ||
|
|
||
| - name: Dump Metabase container logs on failure | ||
| if: failure() | ||
| run: | | ||
| if [ -f /tmp/slayer-metabase-e2e-container.log ]; then | ||
| echo "=== /tmp/slayer-metabase-e2e-container.log ===" | ||
| cat /tmp/slayer-metabase-e2e-container.log | ||
| else | ||
| echo "No fixture-side log dump found — falling back to docker logs." | ||
| for cid in $(docker ps -aq --filter ancestor=metabase/metabase:v0.62.1.5); do | ||
| echo "=== container $cid ===" | ||
| docker logs --tail=400 "$cid" || true | ||
| done | ||
| fi | ||
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.