jtormey / jtormey/linear-sync

Internal Server Error when connecting Github or deleting account, cannot disable a connection

Open
#53 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Elixir
Stars
76
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Something went wrong with the Linear->Github syncing (for Github-created issues) so I tried to 'reset' the connection.

  • Clicking "disable" produced this error: Failed to disable issue sync (:github_webhook_disable_failure)
    Screenshot 2022-10-27 at 12 34 56
  • I tried reconnecting the Github, just in case something was going wrong there, and got an Internal Server Error
    Screenshot 2022-10-27 at 12 32 33
  • When I reloaded the page, I got stuck on the login / "connect your Github" flow
    Screenshot 2022-10-27 at 12 27 58
  • Somehow the view changed back to the connections page, so I tried to just delete the account, and again got an Internal Server Error.
  • When I reloaded the page, I got this notice: "Failed to delete your LinearSync account, please email justin@93software.com for assistance."
    Screenshot 2022-10-27 at 12 34 51

I've manually removed the webhooks and plan to create a new connection with a new API key, just filing this bug in case it's helpful for smoothing things out in future. It's no problem now but if I set up 10 syncs in future and then had to manually disable and recreate them, that would be a bit of a headache.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report names the GitHub connection, issue-sync disable flow, reconnect flow, and account deletion, but no files, tests, or entry points. Start by reproducing the reported sequence and inspecting the errors behind these actions. Done means disabling a sync, reconnecting GitHub, and deleting an account no longer produce server errors or leave the user stuck.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir, github
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.