fix: ISSUE-7702 email links with unlucky length#7864
Conversation
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request addresses a specific bug (ISSUE-7702) where email links generated with certain Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request aims to fix an email formatting issue by base64 encoding the email body. The current change correctly configures the SMTP provider for this, but it appears to be incomplete. If the email body is now base64 encoded, other providers like Postmark and Sendmail also need to be updated to handle this encoding, otherwise they will send corrupted emails. Please apply the fix consistently across all supported email providers.
|
@stefan-geiger-mw I pushed your branch to #7875, so docker images are built for the commit hash We are ourselves not using |
|
Cool. I will use the docker image and will try to test it in our setup |
|
Hey @stefan-geiger-mw, did you manage to test this fix? |
|
A bit embarrassing for me, but we weren't running on the latest version of graphql-hive/console, so we first have to update our existing hive instance before testing the fix. Will still take a while until I can test the fix. |
7e9409c to
68888b7
Compare
|
@n1ru4l can you retrigger a docker image build. I am finally able to reproduce the issue with the latest hive version (11.0.4) and can now add easily add the new docker image, test the fix and give feedback here. This is the situation at the moment https://graphql-hive-dataservicelayer-dev11.devdsl.traefik.aa.bbbbbb.cccc/ and the password reset link looks like this https://graphql-hive-dataservicelayer-dev11.devdsltraefik.aa.bbbbbb.cccc/ |
|
@stefan-geiger-mw images have been built! |
f671e45 to
cc7df26
Compare
|
Unfortunately, the fix is not working. I debugged again (with the help of AI) and replaced the sendmail package (last updated 7 years ago https://www.npmjs.com/package/sendmail ) and want to test out this fix as well. Can you trigger the build again? Thanks |
Background
See ISSUE-7702. When baseUrl has a unlucky length and split of domain/subdomains, dots are missing in emails.
Description
Use base64 to encode the emails bodies.
Checklist