GithubHelp home page GithubHelp logo

Comments (15)

tedspare avatar tedspare commented on August 27, 2024 1

Thanks for sharing the payload, @vanessayuenn. I've manually added the Linear team to the DB. The team's webhook should show as "deployed" now in the UI. Wanna try syncing one last time (leaving your webhooks + tokens as they are now)?

I'll look into what's causing that save to fail.

from synclinear.com.

tedspare avatar tedspare commented on August 27, 2024

Thanks for raising this @vanessayuenn! Your explanation seems very plausible. Orphaned data would break some of the setup steps.

If you'd like that data to be wiped for a fresh start, which repos and Linear teams should I remove? If that doesn't work, I'll try to replicate this.

from synclinear.com.

vanessayuenn avatar vanessayuenn commented on August 27, 2024

@tedspare this would be for: storybookjs/storybook on GitHub and Storybook on Linear. Thank you!

from synclinear.com.

tedspare avatar tedspare commented on August 27, 2024

Removed, thanks! Please let me know if it fails to save again.

from synclinear.com.

vanessayuenn avatar vanessayuenn commented on August 27, 2024

@tedspare thanks, but unfortunately I am still getting the same "Failed to save sync" error.

However, I think when you removed things on your DB end, I still had the webhooks installed on both GitHub and Linear; not sure if that would have caused any issue. I have now removed the webhooks from both sides. Perhaps you can try again?

from synclinear.com.

tedspare avatar tedspare commented on August 27, 2024

All good - I've removed them again. Does that work?

from synclinear.com.

vanessayuenn avatar vanessayuenn commented on August 27, 2024

@tedspare sorry this issue still persists. I should also share that the GitHub webhooks keep failing with the error "Could not find issue's corresponding team":
image

from synclinear.com.

tedspare avatar tedspare commented on August 27, 2024

Interesting - thanks @vanessayuenn. This error means the repo/team (or actual issue) wasn't found.

Did the "Failed to save sync" error persist, or were you able to set the app up?

from synclinear.com.

vanessayuenn avatar vanessayuenn commented on August 27, 2024

@tedspare no i still get the "failed to save sync" error on synclinear.com side, and the "Could not find issue's corresponding team" error is on GitHub's webhook side (on all types of delivery). I also cross-check the request bodies on calls to synclinear.com/api/save vs GitHub webhook deliveries, the repoId and userId match between the two calls.

from synclinear.com.

tedspare avatar tedspare commented on August 27, 2024

Thanks for the details - I haven't found the source of the error yet, but here are two more options:

  • If you log into the dashboard at SyncLinear.com, do you see any active syncs (see pic)? If so, could you try removing then re-syncing them?
  • Otherwise, we could try resetting once more. If so, just let me know when you've deleted both webhooks manually and I'll reset your records in the DB.

image

from synclinear.com.

vanessayuenn avatar vanessayuenn commented on August 27, 2024

Nope, I had not been able to get pass the deploy webhooks step to get to the screen you shared.

Ok let's try this again. Here is everything I have removed:

  • Authorized application installed on Linear
  • Authorized OAuth App installed on my profile on GitHub
  • webhook on GitHub repo
  • webhook on Linear

Is there something else I missed? Perhaps we can go one step further, not just resetting records for team on Linear and repo on GitHub, but my records as a user from the DB as well. Thanks again for all the help so far!

from synclinear.com.

tedspare avatar tedspare commented on August 27, 2024

Thank you for bearing with me @vanessayuenn! This is the trickiest bug so far in this project.

Here's what I've removed:

  • storybookjs/storybook GitHub repo record

Finally noticed I haven't seen the Storybook Linear team in the DB, and its absence seems to be breaking the save. Is it possible that team has another name (eg. Engineering, Sandbox, Design, etc), a custom ID in Linear, or some special permission preventing its ID from being returned?
image

Otherwise, feel free to try again and if it fails again, I can add the team manually. Storybook is probably a huge org too - happy to help set up self-hosting.

from synclinear.com.

vanessayuenn avatar vanessayuenn commented on August 27, 2024

@tedspare I appreciate you working with me on this weird bug! It looks like the linear team ID did get returned, but for some reason cannot be written into the synclinear database; the error returned did not have details. Pasting the payload and response on /api/linear/save call:

payload object: {
    "teamId": "cf44ea4c-b6e2-4f26-97f0-09fc66a8d2f5",
    "teamName": "Storybook",
    "publicLabelId": "f30a265a-1d99-4387-9696-32a0ef9c40df",
    "canceledStateId": "e0807107-25d4-49e7-9378-fc1b0c775049",
    "doneStateId": "fafbf2f2-7370-4848-abbe-9f894cf98626"
}
error response: {
    "error":{"clientVersion":"3.15.2"}
}

Our team is actually pretty small, but if it's still a dead end from here, I will look into the self-hosting option also.

from synclinear.com.

Sandhukhizar61 avatar Sandhukhizar61 commented on August 27, 2024

Camera file is not opening.

from synclinear.com.

tedspare avatar tedspare commented on August 27, 2024

Hi @Sandhukhizar61 - not sure I understand what you mean but feel free to open a new issue!

from synclinear.com.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.