Skip to content

feat(network, articles, workers, submission): enhance offline handling and retry mechanisms - #1481

Merged
aanorbel merged 1 commit into
mainfrom
chore/better-connectivity-resilience
Jul 27, 2026
Merged

feat(network, articles, workers, submission): enhance offline handling and retry mechanisms#1481
aanorbel merged 1 commit into
mainfrom
chore/better-connectivity-resilience

Conversation

@aanorbel

Copy link
Copy Markdown
Member

No description provided.

@aanorbel
aanorbel requested a review from sdsantos July 27, 2026 08:49

private suspend fun refresh(skipIntervalCheck: Boolean) {
if (!isOnline()) {
// Expected, not a bug: no stamp of any kind, so the refresh runs as soon as a network

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What does "no stamp of any kind" mean? And expected to be offline?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

here we are checking if the device is offline first.

we dont throw an exception or anything and we know failure is the expected outcome.

@aanorbel
aanorbel force-pushed the chore/better-connectivity-resilience branch from 3027b98 to eddddb3 Compare July 27, 2026 12:38
@aanorbel
aanorbel merged commit 42a1ec5 into main Jul 27, 2026
12 checks passed
@aanorbel
aanorbel deleted the chore/better-connectivity-resilience branch July 27, 2026 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants