Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/reference-implementation-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,15 @@ jobs:
- name: Install dependencies
run: npm ci

# Patchright publishes no Chromium build for ubuntu-latest (26.04) yet.
# Google Chrome stable ships for it, so the browser tests run on the
# branded channel (PDPP_BROWSER_CHANNEL=chrome on the test step).
- name: Install Google Chrome for browser tests
run: |
wget -q -O /tmp/chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt-get install -y /tmp/chrome.deb
google-chrome --version

- name: Build workspace packages
run: |
npm --prefix packages/connector-protocol run build
Expand All @@ -86,6 +95,7 @@ jobs:

- name: Test reference implementation (postgres)
env:
PDPP_BROWSER_CHANNEL: chrome
PDPP_OWNER_PASSWORD: reference-implementation-ci
TEST_SANDBOX_PG_UNSAFE_HOST: "1"
# test/search-index-repair-correctness.postgres.test.ts has a 20k-record
Expand Down
14 changes: 12 additions & 2 deletions .github/workflows/reference-implementation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ jobs:
packages/local-collector/node_modules
apps/console/node_modules
~/.cache/ms-playwright
key: node-modules-v2-${{ runner.os }}-node24.22.1-${{ hashFiles('package-lock.json') }}
key: node-modules-v3-${{ runner.os }}-node24.22.1-${{ hashFiles('package-lock.json') }}

- name: Install dependencies
if: steps.node-modules-cache.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -237,7 +237,7 @@ jobs:
packages/local-collector/node_modules
apps/console/node_modules
~/.cache/ms-playwright
key: node-modules-v2-${{ runner.os }}-node24.22.1-${{ hashFiles('package-lock.json') }}
key: node-modules-v3-${{ runner.os }}-node24.22.1-${{ hashFiles('package-lock.json') }}

- name: Install dependencies
if: steps.node-modules-cache.outputs.cache-hit != 'true'
Expand All @@ -256,6 +256,15 @@ jobs:
npm --prefix reference-implementation/vendor/mcp-server run build
npm --prefix reference-implementation/vendor/cli run build

# Patchright publishes no Chromium build for ubuntu-latest (26.04) yet.
# Google Chrome stable ships for it, so the browser tests run on the
# branded channel (PDPP_BROWSER_CHANNEL=chrome on the test step).
- name: Install Google Chrome for browser tests
run: |
wget -q -O /tmp/chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt-get install -y /tmp/chrome.deb
google-chrome --version

- name: Build workspace packages
# The root tsconfig.json's project references only cover the app
# (tsconfig.app.json/tsconfig.node.json) -- `npx tsc -b` never
Expand All @@ -281,6 +290,7 @@ jobs:

- name: Test reference implementation
env:
PDPP_BROWSER_CHANNEL: chrome
PDPP_OWNER_PASSWORD: reference-implementation-ci
PDPP_TEST_PROFILE: "memory-default"
PDPP_TEST_SHARD_INDEX: ${{ matrix.shard }}
Expand Down
Loading