Skip to content
Merged
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
52 changes: 0 additions & 52 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,58 +120,6 @@ jobs:
run: pnpm run test
working-directory: ${{ matrix.package.path }}

release-diff:
name: Release diff v18 vs published libpg-query 🔬
needs: build-wasm
runs-on: ubuntu-latest
steps:
- name: Checkout Repository 📥
uses: actions/checkout@v4

- name: Setup Node.js 🌐
uses: actions/setup-node@v4
with:
node-version: '20.x'

- name: Setup pnpm 📦
uses: pnpm/action-setup@v2
with:
version: 8.15.1

- name: Get pnpm store directory 📁
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV

- name: Setup pnpm cache 🗄️
uses: actions/cache@v3
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-

- name: Install Dependencies 🧶
run: pnpm install

- name: Download WASM Artifacts 📥
uses: actions/download-artifact@v4
with:
name: wasm-artifacts-v18
path: versions/18/wasm/

- name: Compare with the published release 🔬
run: pnpm run release-diff --major 18

- name: Upload Release Diff Report 📦
if: always()
uses: actions/upload-artifact@v4
with:
name: release-diff-v18
path: versions/18/.release-diff/report.json
if-no-files-found: ignore
retention-days: 7

build-parser:
name: Build Parser Package 📦
needs: build-wasm
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,13 +171,13 @@ pnpm run test
pnpm run clean && pnpm run build && pnpm run test
```

### Release diff
### Release diff (local only)

CI runs every pgsql-parser kitchen-sink and PL/pgSQL fixture, a set of deep and
large generated inputs, and the PG 18 test suite through the last published
`libpg-query` (`pg18` dist-tag) and the candidate build in `versions/18/wasm/`.
Any output or error that changed fails the job unless
`versions/18/release-diff.allow.json` names it with a reason.
A tool for investigating a build, not part of CI. It runs every pgsql-parser
kitchen-sink and PL/pgSQL fixture, a set of deep and large generated inputs,
and the PG 18 test suite through the last published `libpg-query` (`pg18`
dist-tag) and the build in `versions/18/wasm/`, and lists each output or error
that changed and is not named in `versions/18/release-diff.allow.json`.

```bash
pnpm run release-diff --major 18
Expand Down
Loading