Skip to content

How should we handle periodic fetch errors? #875

Closed

Description

@joshaber
  1. Have a remote that points to a non-existent repository.
  2. Open the app.
  3. Wait.
  4. Every time we do a periodic fetch, we'll report an error about the repository not existing.

That sucks since the errors seem to be coming out of nowhere. Should we be doing something else instead?

Activity

  1. shiftkey commented on Jan 31, 2017

    @shiftkey
    Member

    Background fetch failures should be logged and not put in the user's face. When the fetch is user-initiated, say when pulling or pushing, we should surface this...

  2. joshaber commented on Jan 31, 2017

    @joshaber
    ContributorAuthor

    I've been trying to think of examples of this in other software.

    • iTunes: does some shit in the background, throws an alert in your face when it fails. Super annoying because WTF was iTunes even doing.
    • Mail: checks for mail in the background, throws an alert in your face if authentication fails. Helpful because I want to know.

    Background fetch feels more like Mail than iTunes, though we should obviously filter the errors we display. The obvious one is when I don't have network connectivity, I probably know and don't care unless I initiate a fetch myself.

    Are there other errors we should suppress?

  3. niik commented on Feb 20, 2017

    @niik
    Member

    Background fetch failures should be logged and not put in the user's face. When the fetch is user-initiated, say when pulling or pushing, we should surface this...

    ☝️ 💯

  4. joshaber commented on Apr 10, 2017

    @joshaber
    ContributorAuthor

    I'm adding this to M4 as a stretch goal because every time I return to my computer after it's been asleep for a while, I get assaulted by error dialogs.

  5. self-assigned this
    on Apr 12, 2017
  6. locked as resolved and limited conversation to collaborators on Jul 23, 2018
  7. unlocked this conversation on Sep 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions