Skip to content

fix(join): Esc stops waiting for a community's challenge; release 0.5.0 - #443

Merged
stormer78 merged 2 commits into
mainfrom
fix/esc-cancels-challenge-wait
Oct 5, 2026
Merged

stormer78 merged 2 commits into
mainfrom
fix/esc-cancels-challenge-wait

Conversation

@stormer78

Copy link
Copy Markdown
Contributor

Two commits:

1. fix(join): Esc stops waiting for a community's challenge

While a hidden-vetting (PCS ZKP) join waited up to 15 seconds for the community's challenge (#442), the progress page locked every key except F10. Nothing has been sent at that point, so leaving should cost nothing.

  • New flag: JoinState::waiting_on_challenge is set when the join parks. It's cleared when the parked join resumes (run, any entry) or is cancelled.
  • The progress page: while the flag is set, Esc sends JoinCancel. The footer shows [ESC] stop waiting — nothing is sent, and the waiting message says it gives up after 15 seconds and that Esc stops the wait.
  • The cancel itself: the runtime loop's existing arm forgets the query, clears the flag, logs "Stopped waiting for the community's challenge. Nothing was sent — join again when you are ready." and returns to the main page.
  • Elsewhere on the page, Esc still does nothing. Mid-submit, leaving wouldn't stop what's already going out.
  • Test: esc_leaves_a_wait_for_the_challenge_and_only_that.

2. chore: release 0.5.0

Checks

All pass, run as CI does:

  • cargo fmt --check
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo test --workspace
  • cargo test --workspace --no-default-features
  • RUSTDOCFLAGS="-D warnings" cargo doc --workspace --no-deps

While a hidden-vetting join waits for the community's challenge (up to 15
seconds), the progress page locked every key but F10. Nothing has been sent
at that point, so leaving costs nothing; the page now takes Esc, says so in
its message and its footer, and the loop holding the wait forgets the query
and returns to the main page with a log line saying nothing was sent.

Signed-off-by: Glenn Gore <glenn.g@affinidi.com>
Bump the workspace to 0.5.0 (a minor bump: openvtc-core's JoinPresentation
gained a field), update the intra-workspace version requirements, and move
Unreleased to [0.5.0] - 2026-10-05 with a summary and entries for the
vetting journeys, join review, trust-registry consent, PQC / PCS ZKP badges,
decline reasons, the self-fetching PCS challenge, and the fixes.

Signed-off-by: Glenn Gore <glenn.g@affinidi.com>
@stormer78
stormer78 requested a review from a team as a code owner October 5, 2026 06:06
@stormer78
stormer78 merged commit e15befa into main Oct 5, 2026
@stormer78
stormer78 deleted the fix/esc-cancels-challenge-wait branch October 5, 2026 06:15
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