Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

fix(election-config): TEST elections carry their Post's permission label (meta#15602) (ovcs) - #4680

Merged
edulix merged 3 commits into
ovcsfrom
fix/15602-test-same-label
Dec 3, 2026
Merged

edulix merged 3 commits into
ovcsfrom
fix/15602-test-same-label

Conversation

@edulix

@edulix edulix commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Parent issue: https://github.com/sequentech/meta/issues/15602 (reopened; rc.49 tracker sequentech/meta#15576)

Rule

A TEST election carries the same permission label as its Post, for example BANGKOK and not BANGKOK-TEST. Separate TEST labels no longer exist. Enrollment binds a voter to the area/label only and never to a specific election. This supersedes the <LABEL>-TEST labels from #4649 and the admin grant of them from #4669. The #4669 voter change stays: SQL-dump official voters get no authorized-election-ids, and their area decides.

Root cause

Changes

Package generator (sequent-core, WASM-relevant)

  • twin_label: a twin copies its official election's label, trimmed and atomic. The -TEST refusal on official labels is gone.
  • Reverted fix(election-config): Post admins see TEST elections; voter restrictions keep the TEST twin (meta#15602) (ovcs) #4669's <LABEL>-TEST admin grant (test_label_grants, admin_labels, the admin_users.csv rewrite and its test).
  • TEST_TWIN_LABEL_SUFFIX is still read, by election_post and windmill post_scope, so data imported before this change keeps its Post.
  • Regenerated the committed WASM tgz with the official nix recipe (docker nixos/nix:2.28.3). yarn install --frozen-lockfile --ignore-scripts passes on node:22.

Package/import check (windmill/src/services/import/configuration_package_checks.rs, the #4623 area)

  • New test_election_label_problems. A TEST election (annotations.test_copy_of) whose label is not its Post's label is a blocker. The Post's label is the label of the official elections that share an area with it, so <LABEL>-TEST, a missing label and another Post's label are all refused.

Importer (import_election_event.rs process_election_event_file)

  • Runs the same check and refuses the event, even when the package never went through the preview.

Removed import rules from #4649 that the new check replaces: reserved_test_twin_labels, test_label_scope_problems, test_label_collision_problems, official_test_labels, official_label_collision_problems, postgres::election::get_label_holders/LabelHolder, and tests/postgres_test_label_collisions.rs. These refused a -TEST label on non-TEST elections. test_twin_label_problems (one atomic label) stays.

Election create/edit (Hasura and Admin Portal): migration 1796240000000_election_test_post_label

  • Adds a DEFERRABLE INITIALLY DEFERRED constraint trigger on election (INSERT, or UPDATE of permission_label/annotations) and on area_contest (INSERT/UPDATE). The check runs at commit, so a multi-row mutation or an import can relabel a whole Post in one go.
  • It only looks at the Posts the written row touches.
  • The Admin Portal's election Data tab saves through a Hasura update, so the DB error message reaches the user: "the TEST election 'X' carries permission label 'X-TEST', but its Post's label is 'X': a TEST election must carry the same permission label as its Post's official election …".
  • harvest /create-election sets no label, so it cannot mismatch.
  • Existing rows are not checked until they are written again.
  • Tested on a throwaway postgres:16 (results below).

Docs: the election Data reference ("TEST Elections Carry Their Post's Label") explains the rule and gives the detection query.

Enrollment binds only the area (checked, no code change)

  • No enrollment path writes authorized-election-ids. windmill/src/services/application.rs only reads area-id. Keycloak's VoterChannels.java:61 only reads the attribute.
  • The voter's elections come from the token mapper, keycloak-extensions/conditional-authenticators/.../AuthorizedElectionsUserAttributeMapper.java:161-213:
    1. An explicit authorized-election-ids wins.
    2. Otherwise area-id → getElectionsByArea, which reads sequent_backend_area_contest → contest.election_id (:428-500).
    3. Otherwise all elections.
  • Ballot styles are filtered by area_id and those election ids (windmill/src/postgres/ballot_style.rs:112-150), and sequent-core/src/services/authorization.rs:155-200 checks the requested election against the token's list.
  • historical::add_test_twins copies every AreaContests link to the twin's contests, so the Post's area holds both elections. After fix(election-config): Post admins see TEST elections; voter restrictions keep the TEST twin (meta#15602) (ovcs) #4669, SQL-dump official voters carry no authorized-election-ids.

Tests

  • sequent-core: historical::tests::a_test_twin_carries_its_official_elections_label, an_official_label_is_copied_to_its_twin_as_written, and ert_twins_carry_their_posts_label_and_grant_no_administrator_anything. The last builds a full package with an official and a TEST election per Post and asserts that both carry the Post's label.
    • cargo test --lib --features election_config_xlsx,election_config_archive,election_config_templates -- election_config:: → 1731 passed, 0 failed (after merging ovcs 23c9bd24f8d).
  • windmill: configuration_package_checks_tests:
    • a_test_election_with_its_posts_label_passes
    • a_test_election_with_a_label_of_its_own_is_a_blocker (-TEST, another Post's label, no label)
    • only_a_test_election_is_held_to_its_posts_label
    • the_event_archive_check_blocks_a_test_election_label
    • plus pruned configuration_package_sections_tests
    • Result: cargo test --lib -- services::import::configuration_package_checks services::import::configuration_package_sections services::post_scope → 67 passed, 0 failed.
  • harvest: permission_label_tests::readiness_authorizes_a_posts_admin_on_both_events_with_same_label_tests. This is the check authorize_events runs for each event. An admin holding only BANGKOK|CANBERRA|HONGKONG|MELBOURNE is authorized on both 8-election events. The legacy -TEST labels reproduce the 403. A one-Post holder such as trustee3 is still refused. Result: cargo test --lib -- permission_label_tests → 8 passed (after merging ovcs).
  • keycloak: AuthorizedElectionsUserAttributeMapperTest.setClaim_enrolledVoterOfAPostAreaGetsItsOfficialAndTestElections. A voter left only with area-id (and embassy) by enrollment gets the Post's official and TEST elections. Result: mvn -pl conditional-authenticators -am test -Dtest=AuthorizedElectionsUserAttributeMapperTest (maven:3.9-eclipse-temurin-21) → 9 run, 0 failures.
  • Migration trigger, on postgres:16: an official and a TEST election with the same label commit. Relabelling the twin to -TEST, relabelling only the official election, or unlabelling the twin is refused with the message above. Relabelling both in one transaction commits. The detection query lists the mismatched pair.

Detection query (any server)

SELECT DISTINCT e.tenant_id, e.election_event_id, ac.area_id, e.id, e.alias, e.permission_label FROM sequent_backend.election e JOIN sequent_backend.contest c ON c.election_id = e.id JOIN sequent_backend.area_contest ac ON ac.contest_id = c.id WHERE ac.area_id IN (SELECT ac2.area_id FROM sequent_backend.area_contest ac2 JOIN sequent_backend.contest c2 ON c2.id = ac2.contest_id JOIN sequent_backend.election e2 ON e2.id = c2.election_id GROUP BY ac2.area_id HAVING count(DISTINCT coalesce(btrim(e2.permission_label), '')) > 1) ORDER BY 1, 2, 3, 6;

It lists every election of an area whose elections carry more than one label. On ovcs-server today it should list the 24 elections (12 official, 12 TEST) of the Post areas in the three events. Areas that legitimately serve several Posts are listed too.

Fixing the existing data on ovcs-server (not run; Eduardo approves)

Tenant 90505c8a-23a9-4cdf-a26b-4e19f6a097d5. A read-only count found -TEST elections in three events, 4 of 8 elections each:

  • comelec-v10 2ff5dec8-8b2d-4c1c-ac32-704cf3c44207
  • Final Test e56903a1-ff2f-4e40-adf3-56a59ada000c
  • OVCS POSTQUAL - Offline (ERT) 3b66138a-9020-4fa0-8b92-8da4ea564a06

The relabel covers the whole tenant: every election whose label ends in -TEST gets its Post's plain label. Run it in psql against the Hasura backend database, in one transaction.

BEGIN;

-- 1. Preview: expect 12 rows (4 per event in 3 events), all is_test_copy = true.
SELECT election_event_id, id, alias, permission_label,
       btrim(coalesce(annotations->>'test_copy_of', '')) <> '' AS is_test_copy
FROM sequent_backend.election
WHERE tenant_id = '90505c8a-23a9-4cdf-a26b-4e19f6a097d5' AND permission_label LIKE '%-TEST'
ORDER BY election_event_id, permission_label;

-- 2. Relabel: expect UPDATE 12.
UPDATE sequent_backend.election
SET permission_label = left(permission_label, length(permission_label) - length('-TEST')),
    last_updated_at = now()
WHERE tenant_id = '90505c8a-23a9-4cdf-a26b-4e19f6a097d5' AND permission_label LIKE '%-TEST'
RETURNING election_event_id, id, alias, permission_label;

-- 3. Rows that copied election labels when they were created (tenant-wide). Expect 0 or more rows each.
UPDATE sequent_backend.keys_ceremony
SET permission_label = ARRAY(SELECT DISTINCT regexp_replace(l, '-TEST$', '') FROM unnest(permission_label) AS l ORDER BY 1)
WHERE tenant_id = '90505c8a-23a9-4cdf-a26b-4e19f6a097d5' AND EXISTS (SELECT 1 FROM unnest(permission_label) AS l WHERE l LIKE '%-TEST')
RETURNING election_event_id, id, permission_label;

UPDATE sequent_backend.tally_session
SET permission_label = ARRAY(SELECT DISTINCT regexp_replace(l, '-TEST$', '') FROM unnest(permission_label) AS l ORDER BY 1)
WHERE tenant_id = '90505c8a-23a9-4cdf-a26b-4e19f6a097d5' AND EXISTS (SELECT 1 FROM unnest(permission_label) AS l WHERE l LIKE '%-TEST')
RETURNING election_event_id, id, permission_label;

UPDATE sequent_backend.applications
SET permission_label = regexp_replace(permission_label, '-TEST$', '')
WHERE tenant_id = '90505c8a-23a9-4cdf-a26b-4e19f6a097d5' AND permission_label LIKE '%-TEST'
RETURNING election_event_id, id, permission_label;

UPDATE sequent_backend.signing_request
SET permission_label = regexp_replace(permission_label, '-TEST$', '')
WHERE tenant_id = '90505c8a-23a9-4cdf-a26b-4e19f6a097d5' AND permission_label LIKE '%-TEST'
RETURNING election_event_id, id, permission_label;

-- 4. Check: expect 0 rows.
SELECT 'election' AS tbl, id::text FROM sequent_backend.election WHERE tenant_id = '90505c8a-23a9-4cdf-a26b-4e19f6a097d5' AND permission_label LIKE '%-TEST'
UNION ALL SELECT 'keys_ceremony', id::text FROM sequent_backend.keys_ceremony WHERE tenant_id = '90505c8a-23a9-4cdf-a26b-4e19f6a097d5' AND EXISTS (SELECT 1 FROM unnest(permission_label) l WHERE l LIKE '%-TEST')
UNION ALL SELECT 'tally_session', id::text FROM sequent_backend.tally_session WHERE tenant_id = '90505c8a-23a9-4cdf-a26b-4e19f6a097d5' AND EXISTS (SELECT 1 FROM unnest(permission_label) l WHERE l LIKE '%-TEST')
UNION ALL SELECT 'applications', id::text FROM sequent_backend.applications WHERE tenant_id = '90505c8a-23a9-4cdf-a26b-4e19f6a097d5' AND permission_label LIKE '%-TEST'
UNION ALL SELECT 'signing_request', id::text FROM sequent_backend.signing_request WHERE tenant_id = '90505c8a-23a9-4cdf-a26b-4e19f6a097d5' AND permission_label LIKE '%-TEST';

COMMIT;  -- use ROLLBACK instead if a count differs from what is expected above

The same relabel as a Hasura GraphQL mutation (admin secret / admin role), for the elections only. Step 3 still needs the SQL.

mutation RelabelTestElections {
  bangkok:   update_sequent_backend_election(where: {tenant_id: {_eq: "90505c8a-23a9-4cdf-a26b-4e19f6a097d5"}, permission_label: {_eq: "BANGKOK-TEST"}},   _set: {permission_label: "BANGKOK"})   { affected_rows }
  canberra:  update_sequent_backend_election(where: {tenant_id: {_eq: "90505c8a-23a9-4cdf-a26b-4e19f6a097d5"}, permission_label: {_eq: "CANBERRA-TEST"}},  _set: {permission_label: "CANBERRA"})  { affected_rows }
  hongkong:  update_sequent_backend_election(where: {tenant_id: {_eq: "90505c8a-23a9-4cdf-a26b-4e19f6a097d5"}, permission_label: {_eq: "HONGKONG-TEST"}},  _set: {permission_label: "HONGKONG"})  { affected_rows }
  melbourne: update_sequent_backend_election(where: {tenant_id: {_eq: "90505c8a-23a9-4cdf-a26b-4e19f6a097d5"}, permission_label: {_eq: "MELBOURNE-TEST"}}, _set: {permission_label: "MELBOURNE"}) { affected_rows }
}

Each alias should report affected_rows: 3, one per event. If the preview in step 1 shows a -TEST label other than these four, add an alias for it.

Which side tables can carry -TEST (the step 3 cleanup covers all of them tenant-wide):

  • keys_ceremony.permission_label: yes. It is the set of the covered elections' labels at creation (keys_ceremony.rs unique_permission_labels).
  • tally_session.permission_label: yes. It is the set of the tallied elections' labels (tally_ceremony.rs:618-646). The ERT event's completed tally covers its TEST elections, so expect it to hold <LABEL>-TEST.
  • applications.permission_label: unlikely. It is the Post label from post_scope::post_label, which prefers the official <LABEL> when the area has both. It could only be -TEST in an area that holds only TEST elections.
  • signing_request.permission_label: unlikely. It is the Post label from get_signing_post (signing/guard.rs:306-317), which uses the same rule. The ERT requests HHW3-5Z1E, A98C-VDGH and 7VV9-R6RF already carry BANGKOK.

Safe after tally? Yes. Relabelling after the tally changes who can see rows. It changes no stored result, signature, hash or log entry:

  • Stored results / results snapshot: the results_* tables store no label. Hasura filters them through election.permission_label (sequent_backend_results_election.yaml). After the relabel, BANGKOK admins see the ERT TEST results, which is the intent. Ballot styles and the tally inputs carry no label.
  • Released signed PDFs / signed returns: the report renderer never prints a label (template_renderer.rs:1690 sets permission_label: None). The PDFs and their signatures are unchanged.
  • Signing requests: their label is a Post label (BANGKOK), and the label is not signed (migration 1796050000000_signing_legacy_post_configuration_labels: "The label is not signed, and no trigger watches it"). Signers are matched with signs_for(request.permission_label), so the executed requests keep their authorization and signatures.
  • Transmission package / ER: the label is not in the package. transmission_readiness.rs:242 uses it only to name a problem record.
  • Electoral log: entries carry no permission label, so the chain is untouched.
  • What does change: tally_session and keys_ceremony rows that still hold <LABEL>-TEST would stay hidden from, or fail the label-coverage check for, admins and trustees holding only <LABEL>. Step 3 fixes them in the same transaction.

Safe order: run steps 1–4 in one transaction. It can run before or after the upgrade that brings this PR's migration. After the upgrade, the deferred trigger refuses saving a legacy -TEST election's label or annotations until it is relabelled. Run the relabel right away either way.

After the relabel

  • Keycloak needs no change: the admin already holds the four plain labels. A hand-added <LABEL>-TEST label on a user now matches nothing.
  • Event-wide checks such as Production readiness check every election of both events against the caller's labels. The caller needs all four labels (BANGKOK, CANBERRA, HONGKONG, MELBOURNE). A one-Post user such as trustee3 (BANGKOK only) still gets 403 there. That is the expected per-Post scoping, so run event-wide actions as an admin who holds all four.

Release note

  • TEST elections now carry their Post's permission label, and <LABEL>-TEST labels are no longer generated or granted.
  • Migration 1796240000000_election_test_post_label adds a deferred constraint trigger. Writes to a legacy -TEST election are refused at commit until the election is relabelled to its Post's label: changing its permission_label or annotations, or adding an area link. Other columns (status, dates) are not affected. Existing tenants should run the detection query and the relabel above after upgrading.
  • Packages whose TEST elections carry a different label from their Post are refused at preview and import.

Not changed

  • The logic and dialog of readiness.rs, which another agent owns. Only a test was added, at the ensure_elections_permitted level.
  • The Admin Portal form has no client-side pre-check. The DB trigger's error is shown when the user saves.

After merge

Bump beyond's step pin so the Architect builds TEST elections with the Post label. Then fix ovcs-server with the SQL above, or re-import the package.

🤖 Generated with Claude Code

…bel (meta#15602) (ovcs)

A TEST election carries the same permission label as its Post, never a
separate <LABEL>-TEST. Enrollment binds the voter to the area only.

- sequent-core: twin_label copies the official election's label; revert
  the <LABEL>-TEST admin grant from #4669 (test_label_grants/admin_labels).
  WASM tgz regenerated.
- windmill: package check test_election_label_problems (blocker) and the
  importer refuse a TEST election whose label is not its Post's; drop the
  #4649 -TEST import rules and label-holder lookup.
- migration: deferred constraint triggers on election and area_contest
  enforce the rule for Hasura/Admin Portal edits.
- tests: core, windmill checks, harvest readiness label check, Keycloak
  mapper enrolled-voter visibility. Docs: rule and detection query.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review: 2

  • release/10.0
  • feat/meta-12767/.*

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

edulix and others added 2 commits December 3, 2026 10:11
Conflicts only in the committed sequent-core WASM tgz and yarn.lock:
regenerated with the official nix recipe on the merged sources.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…'s message (meta#15602)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@edulix
edulix merged commit 3a08ae0 into ovcs Dec 3, 2026
34 of 40 checks passed
@edulix
edulix deleted the fix/15602-test-same-label branch December 3, 2026 10:26
edulix added a commit that referenced this pull request Dec 3, 2026
Restores code that the squash of #4680 (3a08ae0) reverted on `ovcs`.

**Cause.** #4680 merged ovcs (335506a) into its branch in
feab331. That merge resolution kept the branch's older copies of 49
files, and the squash then applied those older copies to ovcs. The
reverted work:

- **#4563** tenant reset (the administration tenant's reset keeps or
deletes other tenants, Gold, b4 bodies and custom URLs):
`tenant_reset/*`, `reset_tenant.rs`, `delete_tenant.rs`,
`delete_election_event.rs`, `custom_url.rs`, `cloudflare.rs`,
`TenantResetCard*`, translations, devcontainer compose, tests.
- **#4682** Statistical Report, bulk Post vote receipts, audit-log
hash-chain check: `reports/*`, electoral-log adapters and tests, report
templates, Tabs, docs.
- **#4683** Voters list default columns: `voterDefaultColumns*`,
`ListUsers.tsx`, COMELEC `keycloak.hbs` annotations.

#4684–#4687 were not affected; the squash's 3-way merge kept them.

**Fix.**
- The 49 files are restored byte-for-byte from `3a08ae0^` (cfd675a).
None of them carried #4680 changes.
- #4680's own changes (label rules, migration, checks, tests, docs) are
unchanged. The tree equals cfd675a plus #4680's own commits
bac670c and 8af66ee, except the tgz.
- The sequent-core WASM tgz files and yarn.lock are regenerated:
electoral-log, which this PR restores, is one of the package's inputs.
Built with rustc 1.96.0, wasm-bindgen 0.2.128 and wasm-opt 123.

**Checks.**
- `scripts.dev.wasm --check-package` passes.
- `cargo check -p electoral-log -p windmill -p harvest --tests` passes.

meta#15602

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.2
Preview removed because the pull request was closed.
2026-12-03 11:29 UTC

Findeton added a commit that referenced this pull request Dec 3, 2026
…ovcs) (#4703)

Parent: sequentech/meta#15602 (follow-up to #4680)

## Failure
The `Tests` run on ovcs `3a08ae0d6` (run 47086055592) failed in **Run
Windmill tests**. The job is still open at
`postgres_ballot_box_seal_chain::a_closed_box_is_sealed_published_verified_and_counted_from_its_seal`:

```
SqlState(E42703) "column t.alias does not exist"
where: PL/pgSQL function sequent_backend.check_test_election_post_label() line 14
```

## Root cause
Migration `1796240000000_election_test_post_label` from #4680 selects
`election.alias`. Migration `1772358027729_alias_to_external_id_…`
renamed that column to `external_id`. PL/pgSQL resolves column names
only at run time, so creating the function succeeds. The deferred
constraint triggers then fail at **commit** on every election insert,
`permission_label`/`annotations` update, and `area_contest` write. Admin
Portal and importer writes hit this too, not only the test.
Rollback-only adapter tests never fire the check, so only the
commit-path seal-chain test caught it.

## Change
- New forward migration
`1796250000000_election_test_post_label_external_id` runs `CREATE OR
REPLACE FUNCTION` with `alias` replaced by `external_id`. Nothing else
changes (verify with word-diff). Environments that already applied
`1796240000000` pick up the fix. Down is a no-op.
- Regression `windmill/tests/postgres_election_test_post_label.rs` runs
the deferred check early (`SET CONSTRAINTS ALL IMMEDIATE`, then rolls
back):
  - a twin with the Post's label passes
- a `-TEST`-labelled twin gets `check_violation`, and the message names
its `external_id`

## Validation
- Static: the migration diff is limited to `alias` → `external_id`. The
columns it uses come from existing migrations.
- CI: the Windmill tests job, which needs Postgres. Not run locally.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
edulix added a commit that referenced this pull request Dec 4, 2026
… TEST elections included (meta#15631) (ovcs) (#4721)

Parent issue: sequentech/meta#15631 (rc.49
tracker sequentech/meta#15576)

## Context
On rc.48, the tenant **Electoral Log** console answered 403 "Election
outside the user's permission labels" and showed "No columns" when the
Admin left the Election filter empty. The cause was
`electoral_log_console.rs` `event_board`, which always called
`authorize_election_permission_labels(.., None)`. That check requires
the caller's labels to reach every election of the event, even when the
page is filtered by one election. On ovcs-server the admin holds
BANGKOK, CANBERRA, HONGKONG and MELBOURNE, but event 2ff5dec8 has four
TEST elections labelled `<LABEL>-TEST`, so every read was refused. #4677
did not cause it: the console code was unchanged from rc.48.

**#4708, already merged on ovcs, fixes this.**
- With an Election filter, only that election's label is checked.
- A record opened from that page is checked the same way.
- Without a filter (the event-wide view), the page still needs every
label. The 403 names each election it cannot reach, with its label, and
says "Choose an election".
- The grid keeps the table's columns when a read fails.

#4680 makes TEST elections carry their Post's label, so an admin holding
every Post's label can now browse the whole event.

## This PR: a regression test only

`an_admin_of_every_post_browses_the_whole_event_with_its_test_elections`
(harvest DB route test) rebuilds the rc.48 event's shape: an official
election and a TEST twin per Post (`annotations.test_copy_of`, the same
label, on the Post's area), with ballots and a record.
- An admin labelled with every Post reads records, ballots, voters and
the queue event-wide, with no election chosen.
- An admin of one Post gets a 403 event-wide. The 403 names the other
Post's official and TEST elections, never their own, and asks to choose
an election. That admin then reads each of their own Post's elections
(official and TEST) alone, and is refused the other Post's TEST
election.

## Tests run (arm64, docker: `step-backend-e2e-cargo-packages:local`,
postgres:18)
- `cargo test -p harvest --lib -- electoral_log_console
permission_label_tests`: 26 passed, 0 failed. This covers the new test
and #4708's route tests, which its PR could not run locally.
- admin-portal `jest src/services/ElectoralLogConsole.test.ts`: 9 passed
(#4708's `pageColumns` test).
- `rustfmt` with the harvest config on the changed file.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant