Skip to content

Conversation

@maksymmalyhin
Copy link
Contributor

@maksymmalyhin maksymmalyhin commented Oct 13, 2021

Finalizes implementation of b/195582486.

#no-changelog Changelog will be updated in the PR to master.

@google-cla google-cla bot added the cla: yes label Oct 13, 2021
@maksymmalyhin maksymmalyhin changed the title Mm/app check backoff2 App Check: error handling with backoff Oct 13, 2021
@maksymmalyhin maksymmalyhin marked this pull request as ready for review October 13, 2021 00:53
Copy link
Member

@ncooke3 ncooke3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Great work @maksymmalyhin!

@maksymmalyhin
Copy link
Contributor Author

@ncooke3 thank you for the review!

@maksymmalyhin maksymmalyhin merged commit 1a5f534 into app-check-backoff Oct 13, 2021
@maksymmalyhin maksymmalyhin deleted the mm/app-check-backoff2 branch October 13, 2021 16:29
maksymmalyhin added a commit that referenced this pull request Oct 13, 2021
* AppCheck: backoff wrapper implementation draft  (#8748)

* FIRAppCheckBackoffWrapper draft

* style

* FIRAppCheckBackoffWrapper implementation draft

* FIRAppCheckBackoffWrapperTests

* 1d backoff implementation

* Fix tests

* WIP FIRAppCheckBackoffWrapperFake

* FIRAppCheckBackoffWrapperFake implementation

* FIRDeviceCheckProviderTests + backoff

* TODOs

* rename

* Docs, typos, names and minor refactoring

* App Check: error handling with backoff (#8794)

* Exponential backoff with jitter

* modify random to arc4random_uniform

* Error handling WIP

* Default backoff strategy for backend errors

* Default error handler implementation and tests

* Exponential backoff tests and fixes

* Exponential becoff recovery tests

* style

* App Attest backoff integration and tests

* More tests and style

* FIRDeviceCheckProviderTests: default error handler tests

* test fixes

* FIRAppAttestProviderTests: backoff error handler tests

* Providers tests: test backoff case

* Better API docs

* Remove `resetBackoff`

* More docs and comment fixes

* FIRAppAttestProviderTests fixes and cleanup

* Higlight 503 error

* comment fix

* Changelog

* More details in changelog
@firebase firebase locked and limited conversation to collaborators Nov 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants