# Sync and outbox

Check GitHub sync, retry failed actions, and manage local data.

The cloud icon in the bottom-right corner shows the sync status. Clicking it opens more details about the data Chonk receives from GitHub and the actions it sends.

## Data sync

The **From GitHub** section shows the data used by the current tab and when it was last fetched. Chonk checks for updates periodically, so you usually do not need to refresh. You can use **Refresh** to fetch the latest updates manually. If a refresh fails, Chonk keeps showing the data it already has.

The [inbox](/docs/inbox#what-shows-up) also fetches discussions and pull request diffs before you open them, so they are ready when you need them.

<img src="/images/screenshots/docs/data-sync.png" alt="The From GitHub popover with fetch times and Refresh" width="416">

## Outbox

Actions such as posting comments, submitting reviews, and merging pull requests are sent to GitHub in the background. You can keep working while Chonk sends them. The **To GitHub** section is the outbox: it shows actions waiting to be sent. Once an action succeeds, it leaves the outbox. Clicking an entry takes you back to where you started the action.

If an action fails because of a temporary network or server problem, Chonk retries it automatically. If Chonk cannot complete the action, the entry is marked as failed, and hovering over it shows the error.

You can use **Retry** to try sending the action again, or **Discard** to discard it. Discarding an entry does not undo work that GitHub has already received. Pending and failed actions remain in the outbox when you close and reopen Chonk.

![A pending action and a failed action with Retry and Discard](/images/screenshots/docs/outbox.png)

## Local data

Chonk stores repository copies and fetched GitHub data on your computer. To free disk space, you can remove a repository's copy under <span class="kbd-group"><kbd data-linux="Ctrl">Cmd</kbd> <kbd>T</kbd></span> → **Settings → Storage**. This leaves your own checkout unchanged, but can reset code review progress. Chonk clones the repository again when needed.
