Harden and accelerate the mobile ticket flow - #60
Draft
amkdown-max wants to merge 1 commit into
Draft
Conversation
Add monotonic sale timing, snapshot-aware hot paths, bounded refresh recovery, canonical device locking, and durable one-shot submit intents. Bind formal selection and order results to exact fresh page state, keep all probe entrypoints observation-only, and expand regression coverage and user guidance.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Why
The previous mobile path had avoidable serial device round trips and several ambiguous recovery boundaries. A stale coordinate, refresh overlay, reconnect, old payment page, or second process could otherwise be mistaken for safe progress. The changes reduce read-hot latency while making every money-moving transition depend on current page identity and durable single-click state.
User and developer impact
Validation
.venv/bin/pytest -q: 1714 passed, branch coverage 81.23%.venv/bin/python -m compileall -q mobile testsbash -n mobile/scripts/start_ticket_grabbing.sh mobile/scripts/run_from_prompt.shgit diff --checkprobe_ready,exit_code=0, andsubmit_intent=nullSafety notes
No real order, payment, CAPTCHA bypass, or anti-risk-control bypass was performed. Real submission and peak-sale behavior still require supervised validation; ambiguous post-click state remains locked for manual review rather than automatically retrying.