Testing quality e2e mutation offline loadtest - #349
Open
celina005 wants to merge 4 commits into
Open
Conversation
…hos-protocol#109/ethos-protocol#195 Add a full vault-creation -> invitation-link -> beneficiary-opens-link -> acceptance e2e job to e2e-cross-platform.yml, run against a shared staging fixture (one seeded vault/invitation reused by both platform jobs). Both iOS and Android open the invitation deep link on a cold app launch (simctl openurl / am start VIEW after a fresh install) so the token travels through the same onCreate()/getIntent() cold-start path where ethos-protocol#109/ethos-protocol#195 forwarded the wrong beneficiary token, then independently verifies server-side acceptance state rather than trusting client-side success.
Add PIT (Android) and Mull (iOS) mutation-testing configs scoped to StellarAddress, and document the process/baseline in shared/MUTATION_TESTING.md. A manual walkthrough of the six reject conditions in stellar-validation-spec.md against the existing fixtures found two conditions with no dedicated test (version-byte mismatch, and a checksum corruption outside the last character) plus a character-set boundary case only tested mid-string. Add matching fixtures/tests to both StellarAddressTest.kt and EthosProtocolTests.swift, generated directly from the spec's algorithm, and record the new fixtures in the shared spec doc.
…platform.yml PendingActionSyncWorker/CheckInSyncTask are covered at the unit level, but unit tests mock away real WorkManager/BGProcessingTask scheduling. Add Android and iOS e2e jobs that disable network on a real emulator/simulator, queue a check-in offline, re-enable network, and assert the queue drains via the real scheduler against the real staging API - then verify server-side state directly rather than trusting the client's local queue being empty. Deposit/withdraw queuing is left as a follow-up (tracked behind ethos-protocol#240) with a note pointing at the same job to extend.
Add a k6 script simulating N simultaneously-dropped clients reconnecting via VaultEventSocket's exponential-backoff-with-full-jitter schedule (ReconnectBackoff.delayForAttempt, ethos-protocol#253), with a JITTER_DISABLED flag to reproduce pre-ethos-protocol#253 behavior for an ablation comparison against the same staging endpoint. Document methodology, metrics to watch, and a findings table to fill in once both runs are executed against staging.
|
@celina005 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
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
Changes
Testing
Parity checklist
This PR does not add, change, or remove any user-facing feature on either
platform — no PARITY.md update needed.
— OR —
This PR adds/changes/removes a user-facing feature. I have updated PARITY.md:
Related issues
Closes #288
Closes #289
Closes #290
Closes #291