Repository navigation
delphi shadow: a named run reuses a finished run's map and only names it, so two runs of one conversation can differ only in who named the topics #879
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
| name: polis-cli-differential | |
| # Independent client-data proof for every Rust route and CLI change. The | |
| # existing byte replay and nginx/wire gates remain separate checks. | |
| on: | |
| pull_request: | |
| paths: | |
| - 'ci/host_ports.py' | |
| - 'ci/test_host_ports.py' | |
| - 'ci/local/**' | |
| - 'Makefile' | |
| - 'polis-cli/**' | |
| - 'queue-rs/**' | |
| - 'server/**' | |
| - 'file-server/nginx/**' | |
| - 'oidc-simulator/**' | |
| - 'scripts/*polis-cli*.sh' | |
| - '.github/workflows/polis-cli-differential.yml' | |
| push: | |
| branches: [edge, stable] | |
| paths: | |
| - 'ci/host_ports.py' | |
| - 'ci/test_host_ports.py' | |
| - 'ci/local/**' | |
| - 'Makefile' | |
| - 'polis-cli/**' | |
| - 'queue-rs/**' | |
| - 'server/**' | |
| - 'file-server/nginx/**' | |
| - 'oidc-simulator/**' | |
| - 'scripts/*polis-cli*.sh' | |
| - '.github/workflows/polis-cli-differential.yml' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: polis-cli-differential-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| differential: | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 40 | |
| env: | |
| COMPOSE_PROJECT_NAME: p027cli-diff-${{ github.run_id }}-${{ github.run_attempt }} | |
| P027_PORT_MIN: '26201' | |
| P027_PORT_MAX: '26203' | |
| POLIS_RECOVERY_PG_PORT: '26201' | |
| RECOVERY_PG_PORT: '26201' | |
| P027_HTTP_PORT: '26202' | |
| P027_CONTROL_PORT: '26203' | |
| CLI_DIFF_NODE_IMAGE: cli-diff-node:ci | |
| CLI_DIFF_POSTGRES_IMAGE: cli-diff-postgres:ci | |
| CLI_DIFF_OIDC_IMAGE: cli-diff-oidc:ci | |
| CLI_DIFF_RUST_IMAGE: cli-diff-rust:ci | |
| PYTHONDONTWRITEBYTECODE: '1' | |
| CARGO_TARGET_DIR: ${{ github.workspace }}/../target | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| with: | |
| persist-credentials: false | |
| - name: Run polis-cli-differential checks | |
| run: make check-polis-cli-differential | |
| working-directory: . | |
| env: | |
| GITHUB_EVENT_NAME: ${{ github.event_name }} | |
| CHECK_BASE_REF: origin/${{ github.base_ref }} | |
| - name: Safe structured result (no response values or credentials) | |
| if: always() | |
| uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 | |
| with: | |
| name: cli-differential | |
| path: ${{ runner.temp }}/differential-results.json | |
| if-no-files-found: warn | |
| retention-days: 7 |