Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
97b76d0
server tests: Supertest requests go to the address the test server bo…
colinmegill Oct 25, 2026
6b7d09e
comments and docs: say what the code does, not where it was tracked (…
colinmegill Oct 25, 2026
a235f4c
cdk: a deploy takes each web box out of the load balancer before rest…
colinmegill Oct 25, 2026
b9b1e34
polis-auth: participant tokens verify the same way in Rust and Node, …
colinmegill Oct 25, 2026
b4971ee
cdk: the inactive coordinator is synthesized only behind a context fl…
colinmegill Oct 25, 2026
a24e0b1
deploy: the Rust API service runs on the web boxes with nothing route…
colinmegill Oct 26, 2026
1dfcc4c
polis-contracts: the participant token, the auth envelope and partici…
colinmegill Oct 26, 2026
3cd3884
legacy participation client: the visualization fade re-initializes on…
colinmegill Oct 26, 2026
a8f435a
polis-api: identity counters on the health document, and three read-o…
colinmegill Oct 26, 2026
958aa56
server: recordings of every participant identity path, pinned on both…
colinmegill Oct 26, 2026
a57b8a4
xid: an external identity never resolves to an owner, moderator or ad…
colinmegill Oct 26, 2026
015b0c4
deploy: an unrouted Rust image that cannot be pulled no longer fails …
colinmegill Oct 26, 2026
953657c
polis-auth: an external identity never resolves to an owner, moderato…
colinmegill Oct 27, 2026
0ccdcfe
polis-auth: participant admission as one transaction, switched off an…
colinmegill Oct 27, 2026
4ca9f63
embed pages: page ids up to 2,000 characters, and a first visit creat…
colinmegill Oct 27, 2026
1ab2922
comments: a participant's statement never looks up the owner's accoun…
colinmegill Oct 27, 2026
7b01a70
ci: the route inventory census moves with the code it describes (#3300)
colinmegill Oct 27, 2026
34ceca0
polis-api: participant signing keys read once at start, in the same t…
colinmegill Oct 27, 2026
c51fa47
ci: the post-comments recordings guard covers its own profile and the…
colinmegill Oct 28, 2026
12af055
polis-auth: single-sign-on first use as one transaction, and provider…
colinmegill Oct 28, 2026
c88f570
polis-api: the version route from the same build identity, switched o…
colinmegill Oct 28, 2026
161b506
polis-api: POST /api/v3/votes for admitted participants, durable acce…
colinmegill Oct 28, 2026
f7e1a30
tests: the vote-import tests wait on the events they prove, not on ti…
colinmegill Oct 28, 2026
176faec
characterization: Treevite recordings, every route and refusal, both …
colinmegill Oct 28, 2026
8960b45
identity: Node and Rust admitting participants together, under load (…
colinmegill Oct 28, 2026
00c3154
nginx: unknown paths answer 404 at the edge; static assets are served…
colinmegill Oct 28, 2026
ea8b79e
retire: the spam-check client and the permanent-cookie recovery (#3298)
colinmegill Oct 28, 2026
664b408
characterization: Treevite route hits are recorded by route id, not b…
colinmegill Oct 28, 2026
a9da775
characterization: the collective-statement egress pin follows the spa…
colinmegill Oct 28, 2026
45d3a9c
retire: the tutorial, onboarding and marketing pages (#3293)
colinmegill Oct 29, 2026
492a4b1
self-hosting: a rebuild never deletes a database without a dump; nigh…
colinmegill Oct 29, 2026
a03ef63
tests: the vote writer's safety tests wait on the events they prove, …
colinmegill Oct 29, 2026
d1331f3
polis-api: Treevite wave creation as one typed transaction, switched …
colinmegill Oct 29, 2026
4c94901
polis-api: Treevite accept and login as typed write handlers, switche…
colinmegill Oct 29, 2026
4373aef
polis-api: the participant statement list as a typed read route, swit…
colinmegill Oct 29, 2026
a26afc9
retire: the share, summary, explore and one-time pages, the implicit …
colinmegill Oct 29, 2026
7b42196
retire: the dormant API routes, the unused dependencies and settings …
colinmegill Oct 29, 2026
c3082ea
polis-api: a vote dispatch waits for a writer slot instead of answeri…
colinmegill Nov 2, 2026
6003d2d
deps: installs run no package scripts, lockfiles carry integrity, car…
colinmegill Nov 2, 2026
d1e141f
ci: the routing recordings workflow installs from the lockfile with p…
colinmegill Nov 2, 2026
fd42bf5
polis-api: the moderation statement list as a typed read route, switc…
colinmegill Nov 2, 2026
bd702b7
polis-api: Treevite login-code revoke and reissue, and a revocation s…
colinmegill Nov 2, 2026
44f8b56
Prepare Polis 2.43.0 (#3320)
github-actions[bot] Nov 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/certification-ec2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Public battery certification (EC2)
# repository's PUBLIC fixtures on one disposable EC2 worker, then destroys it.
#
# THIS IS NOT PRIVATE CERTIFICATION and its verdict (`PUBLIC-BATTERY-PASS`) must
# never be read as one. The second reviewer's #2715 review found that round 1 staged the
# never be read as one. The PR #2715 review found that round 1 staged the
# private prod-derived bundle on a box GitHub could open a root shell on, and
# returned its raw log to public Actions artifacts. Round 2 removes the private
# data path outright: there is no fixture bucket, no evidence bucket, and the
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/client-participation-alpha-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
cache-dependency-path: client-participation-alpha/package-lock.json

- name: Install dependencies
run: npm ci
run: npm ci --ignore-scripts
working-directory: client-participation-alpha

- name: Check formatting
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/collective-statement-recordings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:

- name: Install server dependencies and the reset routine's boto3 (delphi's locked versions)
run: |
npm ci --prefix server --no-audit --no-fund
npm ci --ignore-scripts --prefix server --no-audit --no-fund
python -m pip install --quiet certifi==2026.10.19 boto3==1.34.70 botocore==1.34.162 s3transfer==0.10.4

- name: The harness's own rules (expected differences, refusal of foreign stores, the schema pin against the real migrations)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coordinator-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
if: steps.paths.outputs.run == 'true'
run: |
python -m pip install -r coordinator-rs/evidence/python-requirements.txt
npm ci --prefix server
npm ci --prefix server --ignore-scripts
cd coordinator-rs
rustup show active-toolchain
- name: Coordinator TLS unit and local PostgreSQL refusal controls
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/delphi-characterization.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:

- name: Install server dependencies
working-directory: server
run: npm ci --no-audit --no-fund
run: npm ci --ignore-scripts --no-audit --no-fund

- name: Codec golden test (Python writes, reads the file Node wrote)
working-directory: delphi
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/deploy-alpha-aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,18 @@ jobs:
- name: Upload US deployment package to S3
run: aws s3 cp deployment-us.zip "s3://$DEPLOY_BUCKET/deployments/deployment.zip"

- name: Create US CodeDeploy deployment
- name: Create US CodeDeploy deployment (web)
run: |
aws deploy create-deployment \
--application-name PolisApplication \
--deployment-group-name PolisDeploymentGroup \
--revision revisionType=S3,s3Location="{bucket=$DEPLOY_BUCKET,key=deployments/deployment.zip,bundleType=zip}" \
--region us-east-1

- name: Create US CodeDeploy deployment (workers)
run: |
aws deploy create-deployment \
--application-name PolisApplication \
--deployment-group-name PolisWorkersDeploymentGroup \
--revision revisionType=S3,s3Location="{bucket=$DEPLOY_BUCKET,key=deployments/deployment.zip,bundleType=zip}" \
--region us-east-1
112 changes: 112 additions & 0 deletions .github/workflows/identity-recordings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
name: Identity recordings
on:
pull_request:
branches: [edge, stable]
paths:
- 'server/characterization/**'
- 'queue-rs/polis-api/conformance/identity-run.sh'
- 'server/__tests__/fixtures/identity/**'
- 'server/__tests__/unit/identity-recordings.test.ts'
- 'server/__tests__/unit/participant-jwt-interop.test.ts'
- 'server/__tests__/fixtures/participant-jwt/**'
- 'server/__tests__/setup/**'
- 'server/jest.config.ts'
- 'server/tsconfig.json'
- 'server/app.ts'
- 'server/index.ts'
- 'server/src/auth/**'
# Routes and shared dependencies used by the recorded identity requests.
- 'server/src/**'
- 'server/postgres/**'
- 'server/package*.json'
- 'server/Dockerfile*'
- 'oidc-simulator/**'
- 'file-server/**'
- 'client-participation/**'
- 'queue-rs/polis-migrate/**'
- 'queue-rs/polis-contracts/**'
- 'queue-rs/Cargo.*'
- 'queue-rs/rust-toolchain.toml'
- 'scripts/after_install.sh'
- 'delphi/polismath/utils/vote_convention.py'
- 'VERSION'
- '.github/workflows/identity-recordings.yml'
push:
branches: [edge]
paths:
- 'server/characterization/**'
- 'queue-rs/polis-api/conformance/identity-run.sh'
- 'server/__tests__/fixtures/identity/**'
- 'server/__tests__/unit/identity-recordings.test.ts'
- 'server/__tests__/unit/participant-jwt-interop.test.ts'
- 'server/__tests__/fixtures/participant-jwt/**'
- 'server/__tests__/setup/**'
- 'server/jest.config.ts'
- 'server/tsconfig.json'
- 'server/app.ts'
- 'server/index.ts'
- 'server/src/auth/**'
# Routes and shared dependencies used by the recorded identity requests.
- 'server/src/**'
- 'server/postgres/**'
- 'server/package*.json'
- 'server/Dockerfile*'
- 'oidc-simulator/**'
- 'file-server/**'
- 'client-participation/**'
- 'queue-rs/polis-migrate/**'
- 'queue-rs/polis-contracts/**'
- 'queue-rs/Cargo.*'
- 'queue-rs/rust-toolchain.toml'
- 'scripts/after_install.sh'
- 'delphi/polismath/utils/vote_convention.py'
- 'VERSION'
- '.github/workflows/identity-recordings.yml'
workflow_dispatch:
permissions:
contents: read
concurrency:
group: identity-${{ github.ref }}
cancel-in-progress: true
jobs:
recordings:
runs-on: ubuntu-24.04
timeout-minutes: 30
env:
COMPOSE_PROJECT_NAME: p027identity-ci-${{ github.run_id }}-${{ github.run_attempt }}
P027_PORT_MIN: '56444'
P027_PORT_MAX: '56446'
POLIS_RECOVERY_PG_PORT: '56444'
P027_HTTP_PORT: '56445'
P027_CONTROL_PORT: '56446'
P027_SERVER_IMAGE: identity-server
P027_POSTGRES_IMAGE: identity-postgres
P027_OIDC_IMAGE: identity-oidc
P027_FILE_SERVER_IMAGE: identity-files
P027_SOURCE_COMMIT: ${{ github.sha }}
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Build dependencies before starting the sealed network
run: |
docker pull amazon/dynamodb-local:latest
docker build --target prod --build-arg NODE_ENV=production -t "$P027_SERVER_IMAGE" -f server/Dockerfile .
docker build --build-context queue-rs=queue-rs -t "$P027_POSTGRES_IMAGE" -f server/Dockerfile-db server
docker build -t "$P027_OIDC_IMAGE" oidc-simulator
docker build -t "$P027_FILE_SERVER_IMAGE" --build-arg NODE_ENV=production --build-arg AUTH_AUDIENCE=users --build-arg AUTH_CLIENT_ID=dev-client-id --build-arg AUTH_ISSUER=https://localhost:3000/ --build-arg AUTH_NAMESPACE=https://pol.is/ --build-arg EMBED_SERVICE_HOSTNAME=localhost --build-arg GIT_HASH=characterization -f file-server/Dockerfile .
- name: Record, replay twice, and compare live Node with the committed fixture
run: bash queue-rs/polis-api/conformance/identity-run.sh
- name: Preserve all outcomes, including failed oracles
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: identity-recordings
path: |
server/characterization/artifacts/identity-*
!server/characterization/artifacts/identity-provider-tokens.json
- name: Remove the owned stack and temporary simulator tokens
if: always()
run: |
rm -f server/characterization/artifacts/identity-provider-tokens.json
docker compose -f server/characterization/compose.yml -f server/characterization/identity/compose.yml down -v --remove-orphans
2 changes: 1 addition & 1 deletion .github/workflows/jest-client-admin-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
cache-dependency-path: client-admin/package-lock.json

- name: Install dependencies
run: npm ci
run: npm ci --ignore-scripts
working-directory: client-admin

- name: Run Jest tests with coverage
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/jest-client-report-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
node-version: "24.22.1"

- name: Install dependencies
run: npm install
run: npm ci --ignore-scripts
working-directory: client-report

- name: Run Jest tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/jest-server-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ jobs:
- name: Install server dependencies
run: |
cd server
npm ci
npm ci --ignore-scripts

- name: Check service health
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/job-provenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: {node-version: "22.23.4", cache: npm, cache-dependency-path: server/package-lock.json}
- run: npm ci --no-audit --no-fund
- run: npm ci --ignore-scripts --no-audit --no-fund
working-directory: server
- run: sh server/characterization/jobviews/check-provenance.sh
4 changes: 2 additions & 2 deletions .github/workflows/job-views.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
with: {fetch-depth: 0}
- uses: actions/setup-node@v4
with: {node-version: "22.23.4"}
- run: npm ci --no-audit --no-fund
- run: npm ci --ignore-scripts --no-audit --no-fund
working-directory: server
- run: npm ci --no-audit --no-fund
- run: npm ci --ignore-scripts --no-audit --no-fund
working-directory: client-report
- if: github.event_name == 'pull_request'
run: node server/characterization/jobviews/view-guard.cjs 'HEAD^1'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,31 +34,31 @@ jobs:

- name: "Install & Build: client-admin"
working-directory: client-admin
run: npm install
run: npm ci --ignore-scripts

- name: "ESLint: client-admin"
working-directory: client-admin
run: npm run lint

- name: "Install & Build: server"
working-directory: server
run: npm install
run: npm ci --ignore-scripts

- name: "ESLint: server"
working-directory: server
run: npm run lint

- name: "Install & Build: client-report"
working-directory: client-report
run: npm install
run: npm ci --ignore-scripts

- name: "ESLint: client-report"
working-directory: client-report
run: npm run lint

- name: "Install & Build: e2e"
working-directory: e2e
run: npm install
run: npm ci --ignore-scripts

- name: "ESLint: e2e"
working-directory: e2e
Expand Down
42 changes: 42 additions & 0 deletions .github/workflows/mixed-identity.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Mixed participant admission
on:
pull_request:
paths:
- "server/src/auth/**"
- "server/src/invites/**"
- "server/src/participant.ts"
- "server/postgres/migrations/**"
- "queue-rs/polis-auth/**"
- "queue-rs/polis-api/conformance/mixed-identity*"
- ".github/workflows/mixed-identity.yml"
workflow_dispatch:
permissions:
contents: read
jobs:
small:
runs-on: ubuntu-24.04
timeout-minutes: 30
env:
COMPOSE_PROJECT_NAME: mixed-identity-${{ github.run_id }}-${{ github.run_attempt }}
MIXED_PG_PORT: "56498"
MIXED_DYNAMO_PORT: "56497"
MIXED_NODE_PORT: "56496"
MIXED_API_PORT: "56494"
POLIS_MIXED_WORKER_PORT: "56493"
MIXED_PROVIDER_PORT: "56492"
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version: "24.22.1"
- run: npm ci --ignore-scripts --no-audit --no-fund
working-directory: server
- run: docker pull postgres:17-alpine && docker pull amazon/dynamodb-local:3.3.1
- run: bash queue-rs/polis-api/conformance/mixed-identity-run.sh
- uses: actions/upload-artifact@v4
if: always()
with:
name: mixed-identity-results
path: mixed-identity-artifacts/
4 changes: 4 additions & 0 deletions .github/workflows/polis-cli-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ on:
- 'polis-cli/**'
- 'ci/tls/**'
- 'queue-rs/polis-contracts/**'
- 'queue-rs/schemas/**'
- 'server/characterization/post-comments/contract-cases.json'
- 'server/__tests__/fixtures/vote-declaration/**'
- 'server/__tests__/fixtures/participant-jwt/**'
- 'scripts/test-polis-cli.sh'
- 'scripts/build-polis-cli-release.py'
- 'scripts/tests/test_polis_cli_release*.py'
Expand All @@ -30,8 +32,10 @@ on:
- 'polis-cli/**'
- 'ci/tls/**'
- 'queue-rs/polis-contracts/**'
- 'queue-rs/schemas/**'
- 'server/characterization/post-comments/contract-cases.json'
- 'server/__tests__/fixtures/vote-declaration/**'
- 'server/__tests__/fixtures/participant-jwt/**'
- 'scripts/test-polis-cli.sh'
- 'scripts/build-polis-cli-release.py'
- 'scripts/tests/test_polis_cli_release*.py'
Expand Down
Loading
Loading