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
21 changes: 15 additions & 6 deletions .github/workflows/frontend-e2e-extract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ jobs:
e2e-extract:
name: Extract pipeline (PDF upload → run → CSV)
runs-on: ubuntu-latest
timeout-minutes: 30
# Allow image/service startup, Playwright's 25-minute global budget,
# and diagnostic uploads to finish before the job is terminated.
timeout-minutes: 45
permissions:
contents: read

Expand Down Expand Up @@ -201,6 +203,7 @@ jobs:
# merge those JSON files into an lcov report for Codecov.
# ────────────────────────────────────────────────────────────────
- name: Run Playwright extract spec with coverage
timeout-minutes: 30
working-directory: ./frontend
env:
CI: "true"
Expand All @@ -214,7 +217,11 @@ jobs:
E2E_TEST_PASSWORD: Openc0ntracts_def@ult
run: |
set +e
yarn playwright test --grep "Extract PDF workflow" --reporter=list
# The spec already polls slow ingestion/extraction steps. Replaying
# the whole pipeline on failure can consume the job budget before
# Playwright reports the first error. Keep the configured reporters
# and retain the first attempt's trace for the failure upload below.
yarn playwright test --grep "Extract PDF workflow" --retries=0 --trace=retain-on-failure
E2E_EXIT=$?
mkdir -p coverage/e2e/.nyc_output
yarn nyc report --all \
Expand Down Expand Up @@ -246,25 +253,27 @@ jobs:
ls -la coverage-backend-e2e-extract.xml || true

- name: Capture backend logs on failure
if: failure()
if: failure() || cancelled()
run: |
mkdir -p artifacts
docker compose -f local.yml ps > artifacts/docker-ps.txt || true
docker compose -f local.yml logs --no-color > artifacts/docker-compose-logs.txt || true

- name: Upload backend logs on failure
if: failure()
if: failure() || cancelled()
uses: actions/upload-artifact@v7
with:
name: e2e-extract-backend-logs
path: artifacts/

- name: Upload Playwright HTML report on failure
if: failure()
if: failure() || cancelled()
uses: actions/upload-artifact@v7
with:
name: e2e-extract-playwright-report
path: frontend/playwright-report-e2e/
path: |
frontend/playwright-report-e2e/
frontend/test-results/
if-no-files-found: ignore

# ────────────────────────────────────────────────────────────────
Expand Down
3 changes: 1 addition & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,7 @@ repos:
- daphne==4.2.1
- celery==5.6.3
- pgvector==0.4.2
- strawberry-graphql==0.320.3
- django-graphql-jwt==0.4.0
- strawberry-graphql==0.323.2
- pydantic==2.13.3
- psycopg2-binary==2.9.11
# --- Pulled in transitively by app admin autodiscover ---------
Expand Down
367 changes: 367 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions changelog.d/2247-agent-persona.fixed.md

This file was deleted.

19 changes: 0 additions & 19 deletions changelog.d/2250-domain-pack-review.fixed.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/2253-case-reporter-bare-f.fixed.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/2261-vector-store-debug-counts.fixed.md

This file was deleted.

10 changes: 0 additions & 10 deletions changelog.d/2266-authority-provider-lookup-scope.fixed.md

This file was deleted.

24 changes: 0 additions & 24 deletions changelog.d/2266-pack-provider-trust-controls.added.md

This file was deleted.

4 changes: 0 additions & 4 deletions changelog.d/2276-regulation-citation-shapes.fixed.md

This file was deleted.

28 changes: 0 additions & 28 deletions changelog.d/anthropic-1x-drop-temperature.fixed.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/auth0-stale-refresh-token.fixed.md

This file was deleted.

12 changes: 0 additions & 12 deletions changelog.d/authority-pack-test-isolation.fixed.md

This file was deleted.

17 changes: 0 additions & 17 deletions changelog.d/backend-ci-required-gate.added.md

This file was deleted.

13 changes: 0 additions & 13 deletions changelog.d/branch-protection-union.fixed.md

This file was deleted.

Loading
Loading