Skip to content

Release: develop -> main#19

Merged
TaprootFreak merged 2 commits into
mainfrom
develop
Jul 12, 2026
Merged

Release: develop -> main#19
TaprootFreak merged 2 commits into
mainfrom
develop

Conversation

@github-actions

Copy link
Copy Markdown

Automatic Release PR

This PR was automatically created after changes were pushed to develop.

Commits: 1 new commit(s)

Checklist

  • Review all changes
  • Verify CI passes
  • Approve and merge when ready for production

Lower-case the email before building the confirm-aktionariat GET URL so a
mixed-case address (mail clients, manual copy) no longer triggers a spurious
400 that surfaced to the user as a misleading "temporarily unavailable" loop;
code and user stay opaque and case-sensitive.

Add fire-and-forget durable logging of each confirm lifecycle stage (pageLoaded
/ missingParams / requestSent / resultConfirmed|Invalid|Unavailable /
requestError) to POST /v1/realunit/confirm-aktionariat/event on the same DFX API
host, already covered by the page CSP connect-src so no _headers change is
needed. Logging never blocks or alters the UX and is skipped for the local
?mock preview so no fabricated outcomes reach the diagnostic log.

Pure URL/body helpers (buildConfirmUrl lower-casing, buildEventUrl,
buildEventBody) are unit-tested to 100%; the fetch glue and phase wiring are
covered by the Playwright behavior suite.
…tion (#20)

Remove the fire-and-forget lifecycle-event beacon added in #18: the
logEvent helper, the RESULT_PHASE map and every logEvent call in
confirm.js, plus buildEventUrl/buildEventBody in confirm-core.js with
their unit tests and the Playwright event-phase assertions (the
confirm-vs-event route-matcher split is simplified back to the confirm
GET).

The paired public DFX-API event endpoint is being removed API-side: it
only captured low-value client-only events at the cost of a public,
unauthenticated PII-write endpoint, while the real confirm audit is done
API-internally. The web therefore stops calling it.

The confirm flow, the four UX states, the return-to-app button and the
email lower-casing in buildConfirmUrl (with its unit and behaviour
tests) are unchanged.
@TaprootFreak TaprootFreak merged commit 5e191eb into main Jul 12, 2026
6 checks passed
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