Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no zulip notifications #1468

Closed
ehuss opened this issue Aug 28, 2021 · 7 comments · Fixed by #1469
Closed

no zulip notifications #1468

ehuss opened this issue Aug 28, 2021 · 7 comments · Fixed by #1469

Comments

@ehuss
Copy link
Contributor

ehuss commented Aug 28, 2021

I noticed that Zulip notifications have not been working this morning.

Config: https://github.com/rust-lang/rust/blob/84b018341284798fa47f8171f4eb04f18f45cf23/triagebot.toml#L115-L121
Topic: https://rust-lang.zulipchat.com/#narrow/stream/268952-edition-2021/topic/Edition.20Bugs
Example issues: rust-lang/rust#88431 rust-lang/rust#88429

@Mark-Simulacrum
Copy link
Member

Caused by c0e3c8d which made IssueRepository fail to deserialize from webhooks:

request failed: WebhookError(Issue failed to deserialize

Caused by:
0: at Path { segments: [Map { key: "repository" }, Map { key: "owner" }] }
1: invalid type: map, expected a string at line 1 column 6536)

cc @jackh726

Going to work on a fix now.

@jackh726
Copy link
Member

Oh. Hmm

@jackh726
Copy link
Member

@Mark-Simulacrum I can submit a fix for this right now if you don't have one

@Mark-Simulacrum
Copy link
Member

@jackh726 please take a look at my pr, but I think it should fix this. Happy to consider alternatives though, not sure if my work breaks the graphql anywhere.

@jackh726
Copy link
Member

Looks good to me. Graphql types are generated directly from the schema so can't really break.

@ehuss
Copy link
Contributor Author

ehuss commented Aug 28, 2021

Thanks so much for the fast response!

However, it doesn't seem to be working again. There was one notification a little while after this was fixed, but I've filed two more issues since then which have not triggered anything: rust-lang/rust#88442 and rust-lang/rust#88444. What's strange is that rust-lang/rust#88440 made a notification, and that was filed only about 15 minutes before 88442.

@Mark-Simulacrum
Copy link
Member

Noted on Zulip as well but I think this is working, just the config requires C-bug applied to issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants