Skip to content

feat(native): offline caching#1585

Draft
jpnurmi wants to merge 2 commits intojpnurmi/feat/http-retryfrom
jpnurmi/feat/native-offline-caching
Draft

feat(native): offline caching#1585
jpnurmi wants to merge 2 commits intojpnurmi/feat/http-retryfrom
jpnurmi/feat/native-offline-caching

Conversation

@jpnurmi
Copy link
Collaborator

@jpnurmi jpnurmi commented Mar 19, 2026

Note

Depends on HTTP retry because it moves caching from startup to the HTTP transport:

The native daemon uses the same HTTP transport, so it gets offline caching for free as long as the cache_keep option is propagated via shared memory. Also, disable http_retry in the daemon since it is a single-shot process where retry backoff makes no sense.

See also:

The native daemon uses the same HTTP transport, so it gets offline
caching for free as long as the cache_keep option is propagated via
shared memory. Also, disable http_retry in the daemon since it is a
single-shot process where retry backoff makes no sense.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link

github-actions bot commented Mar 19, 2026

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 01bb465

Replace fixed 2s sleep with wait_for_file polling (up to 10s) for the
cache_keep=True case. On slow CI machines the daemon may not finish
writing the cache file within 2 seconds.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

1 participant