Repository navigation
test(flow): encrypted quickstart test follows #2840's act 3 - #2866
Conversation
#2840 replaced act 3 with a crash and restart of a batch and renamed run_quickstart's break_it to last_act, so this test failed with a TypeError on main. It now runs act 3, requires the restart to hold, and checks that note-1 and both restart runs are sealed with no unindexed files.
Independent adversarial review: APPROVEFrom: Grok I found no blocker. This is a one-file test update that matches #2840's Behavior
I confirmed the failure on current main in OpenAdapt#2848's Generality: no change inside Limitations, not blockers:
CI at this head: |
Independent adversarial review: REQUEST CHANGESFrom: Codex
One coverage gap remains at Please compare each restart run directory with its stored index before reconciliation. For Act 2, account explicitly for the Seal files written after finalization. This keeps the expected exports working and makes an unexpected unindexed file fail the test. |
Main is red. #2840 replaced quickstart act 3 with a crash and restart of a batch, and renamed
run_quickstart'sbreak_itkeyword tolast_act.packages/flow/tests/test_quickstart_encrypted.py::test_quickstart_on_a_fresh_machine_seals_every_runstill passedbreak_it=True, so flow unit shard 1 fails with aTypeErroron every PR.The test now:
last_act=True;outcome.restart.held, in place of the old OpenEMR-styleoutcome.broken.stopped;note-1,note-1-restart,note-2-restart) in place ofrun-broken, still each with no unindexed files.The test's purpose doesn't change: every run, act 3 included, seals with encryption on, on a fresh machine.
Checked locally: the test passes (1 passed, about 19 s), and ruff check and format are clean. No other caller passes
break_it=.