Skip to content

test: align native workflows with escalation grace and phone pauses - #2462

Merged
yansfil merged 3 commits into
mainfrom
fix/desktop-raised-ask-after-grace
Nov 11, 2026
Merged

yansfil merged 3 commits into
mainfrom
fix/desktop-raised-ask-after-grace

Conversation

@yansfil

@yansfil yansfil commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Closes with-hide/hide-private#826
Related: #2443 and #2456; unblocks verification of #2460 and #2454.

Summary

Native checks still assume an immediate blocked-child raise and the old phone pause explanation.
Wait for the real raised request after the approved grace, and expect the approved computer-use description.
Close Settings and wait for the presented frame before capturing the raised pane in either theme.

Review

Tests

  • Layer: native e2e checks Korean task rows, pane bands, terminal geometry and persisted phone pause settings.
  • Catches: old main runs fail before the 60-second grace; the first candidate reaches the unchanged UI assertions.
  • Catches: the same CI exposed the obsolete pause explanation on both attempts; its assertion remains exact.
  • Repeat: final native macOS desktop suite passes 130 tests, with 11 skips and no retry or flaky result.
  • Waits: snapshot guard allows the 60-second grace plus its existing 30-second label budget.
  • Waits: test guard adds that grace to its existing 90-second budget; Settings absence is asserted before capture.
  • Waits: existing animation/compositor helpers wait for the presented native frame; no custom delay is added.

Evidence

  • Verified: first candidate PR verify passes typecheck, lint, size budgets and timed-wait policy.
  • Verified: its macOS session workflow passes in 94.492 seconds on the first attempt, with every assertion intact.
  • Verified: its native artifacts expose a stale Settings frame in the light capture, corrected by the new gate.
  • Verified: final candidate PR verify passes; both final native macOS desktop shards pass, including the raised-child workflow and persisted phone pause settings.
  • Not verified: green macOS jobs retain no PNGs, so the final light capture has no separate visual review; the original pre-fix stale frame is retained locally.
  • Not verified: manual nightly fails a separate SSH password test (connection closed by loopback SSH); it is not an all-green nightly.
  • Not verified: original pre-fix: tell a blocked child's parent at once and raise its root after a grace #2443 intermittency is not independently diagnosed; direct delegation, no PRD run.
Verification record

Base 8ee63b8e5138fd6aae02d987fd4563458f842d1a; final candidate b897729e73.
Before: main run 43031426412 and #2460 run 43060583267 fail the 30-second raised-label wait on both attempts.
Grace candidate 0c50b38168: https://github.com/with-hide/hide/actions/runs/43065626764
Mac desktop: https://github.com/with-hide/hide/actions/runs/43065619655/job/130679676966
Shard 1 passes 64 tests, skips one; shard 2 passes 65, skips ten and fails only the old phone-pause copy.
The original reports, native windows and failure logs are preserved locally.
Remaining unrelated jobs in that superseded nightly were cancelled before final-candidate validation.
Final PR verify: https://github.com/with-hide/hide/actions/runs/43070121987 (success on b897729e73).
Final native run: https://github.com/with-hide/hide/actions/runs/43070146989
Desktop shard 1: 64 pass, 1 skip; shard 2: 66 pass, 10 skip, no flaky test.
Session workflow: 97.634 seconds, retry 0; phone push settings: 6.495 seconds, retry 0.
The run overall fails only system_ssh::unix::a_password_is_answered_on_the_row in remote mailbox macOS: both attempts end with Connection closed by 127.0.0.1 port 2222, at hided/tests/it/system_ssh.rs:164 (33 other tests pass).
No diagnosis, source change or failed-only rerun was made for that separate failure.
Local native builds were not run during the disk restriction.
Self-review: product, snapshot, lifecycle and cleanup are unchanged; state predicates remain exact and guards finite.

@yansfil yansfil changed the title test: wait for blocked child escalation after its grace test: align native workflows with escalation grace and phone pauses Nov 11, 2026
@yansfil
yansfil added this pull request to the merge queue Nov 11, 2026
Merged via the queue into main with commit 0f7074b Nov 11, 2026
43 of 44 checks passed
@yansfil
yansfil deleted the fix/desktop-raised-ask-after-grace branch November 11, 2026 18:02
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