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

[MM-54994] Use local requests instead of HTTP requests in the flow library #26471

Merged
merged 3 commits into from
Apr 4, 2024

Conversation

hanzei
Copy link
Contributor

@hanzei hanzei commented Mar 13, 2024

Summary

Instead of a complete round trip via HTTP, the flow library now uses a local request.

Many customers had issues due to firewall configurations, as the MM server could not reach itself via HTTP.

Please note that this PR contains a breaking change for the flow package. I will file follow-up tickets to update the Jira, GitHub and Gitlab plugin.

Ticket Link

https://mattermost.atlassian.net/browse/MM-54994

Release Note

Use local requests instead of HTTP requests in the flow library

@hanzei hanzei added 2: Dev Review Requires review by a developer 3: QA Review Requires review by a QA tester. May occur at the same time as Dev Review labels Mar 13, 2024
@mattermost-build
Copy link
Contributor

E2E tests not automatically triggered, because the PR is not in a mergeable state. Please update the branch with the base branch and resolve outstanding conflicts.

@mm-cloud-bot mm-cloud-bot added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Mar 13, 2024
@hanzei
Copy link
Contributor Author

hanzei commented Mar 13, 2024

I did try writing tests for the change but gave up due to the fact that NewFlow accepts a pluginapi.Client and not an interface. Changing that seems out of scope of the PR.

@hanzei
Copy link
Contributor Author

hanzei commented Mar 15, 2024

Can you please test this PR as part of the JIRA v4.1.1 release testing? (https://community.mattermost.com/core/pl/nnrfcy7s6bd7zcngg79c89bzpe)

@hanzei hanzei removed the 2: Dev Review Requires review by a developer label Mar 15, 2024
@hanzei hanzei added this to the v9.8.0 milestone Mar 22, 2024
@hanzei hanzei added the Docs/Not Needed Does not require documentation label Mar 22, 2024
Copy link

@AayushChaudhary0001 AayushChaudhary0001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving this PR on the behalf that the Jira release-candidate 4.1.1 has been already tested.

For more info, please go through this thread:-
https://community.mattermost.com/core/pl/bhgj3s3bhjyrxbjpcjxnt9fs5w

@hanzei hanzei added 4: Reviews Complete All reviewers have approved the pull request and removed 3: QA Review Requires review by a QA tester. May occur at the same time as Dev Review labels Apr 4, 2024
@hanzei hanzei merged commit e3d8698 into master Apr 4, 2024
42 checks passed
@hanzei hanzei deleted the MM-54994_flow-post-action-local branch April 4, 2024 08:28
@amyblais amyblais added the Changelog/Done Required changelog entry has been written label Apr 4, 2024
@jwilander jwilander added the kind/refactor Categorizes issue or PR as related to refactor of production code. label May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4: Reviews Complete All reviewers have approved the pull request Changelog/Done Required changelog entry has been written Docs/Not Needed Does not require documentation kind/refactor Categorizes issue or PR as related to refactor of production code. release-note Denotes a PR that will be considered when it comes time to generate release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants