100 Commits
Author SHA1 Message Date
Ravi Khadiwala a9f87693ba Use 'Metadata' instead of 'header' when describing RPC Metadata 2026-11-18 15:30:07 -05:00
Ravi Khadiwala 2d6eb7951a Handle non-idempotent integration test operations
- Retry 441s during webauthn recovery
- Assume a 401 during delete means the account is already gone
- Check the session state to determine whether verification is complete
2026-11-18 15:13:30 -05:00
Ravi Khadiwala 7e26b7fe0a Fix permanentFailure field in verification-code responses 2026-11-18 15:12:55 -05:00
Ravi Khadiwala a0cdb5d3b6 Fix DCAttestationParameters call 2026-11-18 14:19:56 -05:00
Ravi Khadiwala 9d6589110e Update to the latest version of the spam filter 2026-11-17 16:39:59 -06:00
Ravi Khadiwala e67272033b Update to the latest version of the spam filter 2026-11-17 14:15:30 -06:00
Ravi Khadiwala 0e7afd9f90 Update to the latest version of the spam filter 2026-11-17 14:09:15 -06:00
Ravi Khadiwala 358fb8e58a Switch all-idle timeout to read-idle timeout
idle-timeouts now fire when we haven't read anything from the client
after the configured timeout. This ensures timeouts still fire if
our outbound writes are just being buffered somewhere.

Also, update the default timeout to 1 minute
2026-11-10 13:48:00 -08:00
Ravi Khadiwala cc487aa2ac Fix flaky replaceConnectionAfterGoAway
Make sure that the pipeline modification finishes before we write and
flush the GOAWAY
2026-11-09 12:27:58 -06:00
Ravi Khadiwala a4a5c1bb29 Add connection pooling for the gRPC omnibus backend 2026-11-04 14:19:32 -06:00
Ravi Khadiwala 2220f750dd Move omnibus h2 connection logic into a factory 2026-11-04 14:19:01 -06:00
Ravi Khadiwala db4ad89a5d Always release SslContext during test teardown 2026-10-27 16:37:40 -05:00
Ravi Khadiwala fbb42763d9 Re-establish presence after finding it null 2026-10-27 13:21:58 -05:00
Ravi Khadiwala 718d5a60b1 Fix flaky testProcessStoredMessagesMultipleSegments 2026-10-27 13:19:19 -05:00
Ravi Khadiwala b18e587093 Retry errors in integration tests 2026-10-22 15:49:32 -05:00
Ravi Khadiwala 48a5fa529d Handle App Attest attestations with misconfigured flags 2026-10-19 15:04:46 -05:00
Ravi Khadiwala 4dd84f4fc8 Retry RETRYABLE_VERIFICATION_FAILURE from app-store-server-library 2026-10-16 12:07:17 -04:00
Ravi Khadiwala ccc22f9ac4 Add startup check to verify service auth annotations 2026-10-15 18:04:44 -04:00
Ravi Khadiwala 58938b9775 Fix ProductConfiguration service configuration 2026-10-15 18:04:44 -04:00
Ravi Khadiwala d1073e00bd Simplify grpc purchase error handling 2026-10-14 11:40:30 -04:00
Ravi Khadiwala 55abc73cac Only update the badges etag map if we didn't have an entry 2026-10-13 10:38:06 -04:00
Ravi Khadiwala 031beed7e4 Improve assertion failure error message in recoverNumberlessUserWithWebAuthn 2026-10-13 10:37:33 -04:00
Ravi Khadiwala a15d5cdbb9 Add SandboxAccountPoolCommand 2026-10-07 14:55:33 -05:00
Ravi Khadiwala a0c321557f Add RemoveExpiredSandboxAccountsCommand 2026-10-07 14:55:33 -05:00
Ravi Khadiwala 4765492415 Make sandbox sourced receipts create resricted accounts 2026-10-07 14:55:33 -05:00
Ravi Khadiwala e7916302ba Remove impossible set-level response case 2026-10-07 14:53:28 -05:00
Ravi Khadiwala db00752f3d Drop level from SetSubscriptionLevelResponse 2026-10-07 14:52:47 -05:00
Ravi Khadiwala 69fb42ef82 Use exceptions instead of status when getting PaymentDetails 2026-09-30 15:30:18 -05:00
Ravi Khadiwala 438ad9fb8f Retry 441s in MFA integration test 2026-09-24 10:04:13 -05:00
Ravi Khadiwala 9b8502bb6e Forbid reuse of TOTPs 2026-09-23 13:31:22 -05:00
Ravi Khadiwala 7866ad18fa Unnest GetExpiringProfileKeyCredentialRequest 2026-09-23 13:30:56 -05:00
Ravi Khadiwala 534825fb68 Use stripe-style currency minor-units in donations/configuration 2026-09-21 12:05:20 -04:00
Ravi Khadiwala ddb4b5d5dd Adjust default MFA rate-limit 2026-09-21 12:04:17 -04:00
Ravi Khadiwala 755a87c74d Clear receipt state before integration tests 2026-09-17 12:50:28 -05:00
Ravi Khadiwala b30fc7aa8b Add a metric for duplicate receipt redemption 2026-09-16 12:43:22 -05:00
Ravi Khadiwala c21475e3e7 Add an 'impossible' marker to mismatched number logs 2026-09-16 10:17:52 -04:00
Ravi Khadiwala cb02200a24 Delete updated user at end of testRecoverWithTotp 2026-09-11 16:55:41 -04:00
Ravi Khadiwala 78c15d2a9a Only enable setting MFA from numberless accounts 2026-09-10 10:48:19 -07:00
Ravi Khadiwala 5221b3fb84 Add an integration test for recovering with a TOTP 2026-09-09 16:31:03 -05:00
Ravi Khadiwala 7489c62fb7 Avoid attribute modification errors on numberless accounts 2026-09-02 16:17:26 -05:00
Ravi Khadiwala 23932b1087 Update constructors in UpdateGambiaPniMappingsCommandTest 2026-09-02 16:15:37 -05:00
Ravi Khadiwala 6b3f66ddc1 Forbid idempotent numberless registration retries if MFA keys are present 2026-09-02 16:56:11 -04:00
Ravi Khadiwala 8c62a7f819 Add delay to TOTP confirmation validation 2026-09-02 16:55:35 -04:00
Ravi Khadiwala b6bed9d772 Remove confusing subscriber_id_mismatch response 2026-09-02 16:34:48 -04:00
Ravi Khadiwala 18e58dd21f Improve error response documentation in subscription.proto 2026-09-02 16:34:48 -04:00
Ravi Khadiwala 6ab0acadfd Document RPCs that require an Accept-Language header 2026-09-02 16:34:48 -04:00
Ravi Khadiwala 6209466d1d Fix accidental renumbering in login_purchase.proto 2026-09-02 16:34:17 -04:00
Ravi Khadiwala 9ee081ef28 Add playOptionId to login configuration 2026-08-31 12:59:56 -05:00
Ravi Khadiwala c09e167f3f Don't forward exception messages in unavailable statuses 2026-08-26 15:03:45 -05:00
Ravi Khadiwala eaa3c5f20f Remove GrpcExceptionMapper 2026-08-26 15:03:45 -05:00
Ravi Khadiwala 56a91f104e Use exact path matchers in the omnibus 2026-08-26 14:56:59 -05:00
Ravi Khadiwala 461fce800a Remove test-only Subscriptions method 2026-08-26 14:56:36 -05:00
Ravi Khadiwala 1dd7383af0 Avoid DNS lookups when parsing PPv2 headers
PPv2 headers should only come from trusted sources, but use a less
error-prone IP parsing mechanism anyways
2026-08-25 13:28:34 -07:00
Ravi Khadiwala 5f66f1c51d Only support X-Forwarded-For header for setting remote address 2026-08-25 13:27:16 -07:00
Ravi Khadiwala a5f2f7f3e5 Move number rate-limiting after verification 2026-08-25 13:25:28 -07:00
Ravi Khadiwala ed08d1dc23 Handle empty RRPs gracefully 2026-08-25 11:27:26 -04:00
Ravi Khadiwala df026777c4 Acknowledge unacknowledged play tokens at receipt generation 2026-08-18 11:23:11 -04:00
Ravi Khadiwala 150a4952a1 Add LoginPurchase grpc service 2026-08-12 15:36:47 -05:00
Ravi Khadiwala e7ec47aa25 Increase DeviceCheck key limit 2026-08-12 09:10:04 -04:00
Ravi Khadiwala 9d601047c8 Add numberless variants to username tests 2026-08-12 09:07:42 -04:00
Ravi Khadiwala d99515e31e Avoid calling method when mocking a stub from another class 2026-08-11 15:56:28 -05:00
Ravi Khadiwala 5c29072212 Paramterize some username tests on e164 presence 2026-08-11 10:43:06 -05:00
Ravi Khadiwala af6e2c2f2b Don't assume presence of phone numbers in account deletion 2026-08-11 10:40:19 -05:00
Ravi Khadiwala 7e863e9dba Add some details to unexpectedly unacked purchaseTokens 2026-08-07 14:39:44 -05:00
Ravi Khadiwala 1ebb4177fe Move some level configuration to an enum 2026-08-07 14:39:13 -05:00
Ravi Khadiwala 3e5ccb82de Calculate the IssuedReceipt TTL from the receipt expiration 2026-08-07 14:39:13 -05:00
Ravi Khadiwala 6e3106297b Scope multi-attempt configuration in IssuedReceiptsManager to subscriptions only 2026-08-07 14:39:13 -05:00
Ravi Khadiwala d6b80dfd16 Add LoginPurchaseController 2026-08-07 14:39:13 -05:00
Ravi Khadiwala 7a34493d53 Add LoginPurchaseManager 2026-08-07 14:39:13 -05:00
Ravi Khadiwala 894cd8e0a3 Implement claimOneTimePurchase in IAP processors 2026-08-07 14:18:00 -05:00
Ravi Khadiwala 5b6d6f28c9 Add an interface for one-time purchase retrieval 2026-08-05 13:24:14 -05:00
Ravi Khadiwala e4b09112f1 Make grpc ListMedia limit optional 2026-08-05 13:20:09 -05:00
Ravi Khadiwala cbc89f541c Tag OneTimeDonationsManager metric with provider 2026-08-05 13:19:46 -05:00
Ravi Khadiwala 1e2a873753 Remove test subscriber-id 2026-08-03 10:01:12 -04:00
Ravi Khadiwala 888b746294 Remove badges from product configuration 2026-07-28 16:20:05 -05:00
Ravi Khadiwala 8e9253181c Add badges to remote config 2026-07-28 16:20:05 -05:00
Ravi Khadiwala 257dd76b68 Implement grpc remote config 2026-07-28 16:13:16 -05:00
Ravi Khadiwala 76ca81d9f1 Sink remote config logic down a layer 2026-07-28 16:13:16 -05:00
Ravi Khadiwala 242a5f6a78 Allow ignoring the return value of status asserts 2026-07-23 16:47:40 -04:00
Ravi Khadiwala 02d6138848 Add marker for unexpected error logs 2026-07-22 14:35:17 -04:00
Ravi Khadiwala 7bb94bc99e Drop username_hash from ConfirmUsernameResponse 2026-07-22 10:34:44 -05:00
Ravi Khadiwala f6ca5e55a5 Make timeout for storage usage queries configurable 2026-07-22 10:34:23 -05:00
Ravi Khadiwala 6a8bf7f78e Temporarily disable flaky test 2026-07-17 13:44:14 -05:00
Ravi Khadiwala b255c37978 Hoist user-agent tag out of publisher in copyMedia 2026-07-17 12:42:27 -05:00
Ravi Khadiwala ea411e2f1e Change ConfigureUnidentifiedAccessRequest to a oneof 2026-07-17 12:41:03 -05:00
Ravi Khadiwala 70f83326ef Make log stripping more consistent 2026-07-17 12:40:47 -05:00
Ravi Khadiwala 90a5ad589b Fix close code check in test 2026-07-15 11:35:57 -05:00
Ravi Khadiwala 749d9c4f92 Require donation permit headers 2026-07-15 11:35:46 -05:00
Ravi Khadiwala ed90c1c15c Drop unversioned profiles from grpc service 2026-07-14 16:06:31 -05:00
Ravi Khadiwala 5147fe57f2 Update stripe SDK to 33.1.0 2026-07-14 16:05:51 -05:00
Ravi Khadiwala 253671c206 Improve assertion failure message in GracefulShutdownIntegrationTest 2026-07-10 13:54:33 -04:00
Ravi Khadiwala 55fa60dd4e Setting apns push tokens should always update the timestamp 2026-07-10 10:46:41 -04:00
Ravi Khadiwala b539df8e48 Add some missing authentication specifiers 2026-07-10 10:46:28 -04:00
Ravi Khadiwala 0cd0716eb5 Register ProductConfigurationGrpcService in WhisperServerService 2026-07-10 10:46:28 -04:00
Ravi Khadiwala 0eebb58956 Remove unused badgeIdsEnabledForAll configuration 2026-07-09 09:48:18 -04:00
Ravi Khadiwala 6bb85d77a7 Add badge/backup entitlement RPC 2026-07-09 09:48:18 -04:00
Ravi Khadiwala 9e3844ee5a Add issue hook to integration test workflow 2026-07-07 12:30:08 -05:00
Ravi Khadiwala 67a03f81b9 Add username_link_handle to AccountIdentifiers message 2026-07-01 12:16:12 -05:00
Ravi Khadiwala 90b75cbf22 Add a test for our Any typeUrls 2026-07-01 12:15:43 -05:00
Ravi Khadiwala f588390bdb Handle ACCOUNT_NOT_FOUND errors in AppleAppStoreClient 2026-06-29 13:11:00 -05:00