Comments (15)
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.
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.
@tedspare this would be for: storybookjs/storybook
on GitHub and Storybook
on Linear. Thank you!
from synclinear.com.
Removed, thanks! Please let me know if it fails to save again.
from synclinear.com.
@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.
All good - I've removed them again. Does that work?
from synclinear.com.
@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":
from synclinear.com.
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.
@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.
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.
from synclinear.com.
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.
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?
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.
@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.
Camera file is not opening.
from synclinear.com.
Hi @Sandhukhizar61 - not sure I understand what you mean but feel free to open a new issue!
from synclinear.com.
Related Issues (20)
- Linear-made comments with images do not show up on GitHub comments HOT 2
- Github Permission Scoping HOT 1
- Show a list of subissues inside the the issue in GitHub HOT 1
- Integration breaks when team name changed HOT 2
- Sync Linear is setting "Closed" in GH to "Reviewing" instead of "Done" HOT 4
- Issues from Linear don't appear in GitHub HOT 5
- Request to reduce permission set HOT 1
- Issues from other team members and users are not synched HOT 1
- Foreign key constraint failed on the field: `syncs_linearTeamId_fkey (index)` HOT 1
- Syncing projects (Github Projects <-> Linear Projects) HOT 1
- Allow to exclude labels (with a specified prefix) from sync HOT 3
- Images not showing on GitHub HOT 1
- 🎉 Linear now supports GitHub sync natively 🎉 HOT 5
- Newly created Issues in Github not syncing to Linear after adding linear tag HOT 3
- Integrate Linear issues with Jira issues HOT 3
- Inifinite slashes when trying to scape certain bulletpoint characters HOT 1
- LINEAR_TICKET_ID_REGEX should support multiple length of identifier HOT 1
- GitHub issues.opened and issues.labeled webhook always failed due to SQL error HOT 1
- GH webhook secret expires without refresh
- Position of the github icon in the footer
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from synclinear.com.