-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
#7213 prevent pointless session start in webapi scope #26032
Conversation
Hi @maqlec. Thank you for your contribution
For more details, please, review the Magento Contributor Guide documentation. |
@magento give me test instance |
Hi @maqlec. Thank you for your request. I'm working on Magento instance for you |
Hi @maqlec, here is your new Magento instance. |
@magento run all tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @maqlec,
Looks like your changed introduces some regression. Could you review failing tests?
Also would be great to cover your changes with some tests, could you do that?
Of course, I'll do that. |
@magento run Functional Tests B2B, Integration Tests, Unit Tests, WebAPI Tests |
@magento run WebAPI Tests Not sure how it could fail functiality, but currently following webapi tests failing, restarting... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @maqlec,
I tried to re-run few times failing tests - looks like this PR caused some issue in web api, or maybe test should be updated. Please fix that.
Additionally could you cover your changes with some kind of test, probably web api test?
Hi @maqlec, |
@engcom-Charlie @engcom-Golf could you help with failing WebAPI test? |
Are you sure? It was failing few times in row and didn’t failed on other PRs
…On Thu, 26 Mar 2020 at 16:17, Alexander Steshuk ***@***.***> wrote:
@ihor-sviziev <https://github.com/ihor-sviziev>
Failed WebAPI tests not related to the changes in this PR.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#26032 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOJOUNBNR4D2BPHSQHFWCDRJNPYPANCNFSM4J2SONZA>
.
|
I am recheck again. |
@magento run Database Compare |
As for me changes looks good, but DB Compare test is fails, while no issues in report. @lenaorobei @slavvka could you give us any info why DB Compare test fails? |
@magento run Database Compare |
@ihor-sviziev branch was outdated. |
Hi @engcom-Kilo, @maqlec It seems to me like change created regression in this part. Could you re-check it? Maybe @engcom-Golf could help with it? |
@ihor-sviziev |
@ihor-sviziev |
Please to approve changes in this Pull Request. |
@magento run all tests |
@magento run all tests |
Hi @ihor-sviziev, thank you for the review. |
Hi @maqlec, thank you for your contribution! |
Description (*)
Session is started even if is not needed. This issue was fixed in version 2.2 but there is no fix in 2.3 and the newest 2.4.
Formkey is readed from cookies also in Webapi scope what's starting session but there is no need to check it in webapi and start session for that
Fixed Issues (if relevant)
Manual testing scenarios (*)
Questions or comments
Nope
Contribution checklist (*)