Skip to content

Conversation

Nuranto
Copy link
Contributor

@Nuranto Nuranto commented Mar 13, 2023

Replace hardcoded values by using proper class in category product indexer. This fix provides more modularity.

Description (*)

Related Pull Requests

Fixed Issues (if relevant)

  1. Fixes [Issue] Use visibility class for category product indexer, instead of hardcoded values #37200

Questions or comments

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • README.md files for modified modules are updated and included in the pull request if any README.md predefined sections require an update
  • All automated tests passed successfully (all builds are green)

Resolved issues:

  1. resolves [Issue] Use visibility class for category product indexer, instead of hardcoded values #37200: Use visibility class for category product indexer, instead of hardcoded values

@m2-assistant
Copy link

m2-assistant bot commented Mar 13, 2023

Hi @Nuranto. Thank you for your contribution!
Here are some useful tips on how you can test your changes using Magento test environment.

Add the comment under your pull request to deploy test or vanilla Magento instance:
  • @magento give me test instance - deploy test instance based on PR changes
  • @magento give me 2.4-develop instance - deploy vanilla Magento instance

❗ Automated tests can be triggered manually with an appropriate comment:

  • @magento run all tests - run or re-run all required tests against the PR changes
  • @magento run <test-build(s)> - run or re-run specific test build(s)
    For example: @magento run Unit Tests

<test-build(s)> is a comma-separated list of build names.

Allowed build names are:
  1. Database Compare
  2. Functional Tests CE
  3. Functional Tests EE
  4. Functional Tests B2B
  5. Integration Tests
  6. Magento Health Index
  7. Sample Data Tests CE
  8. Sample Data Tests EE
  9. Sample Data Tests B2B
  10. Static Tests
  11. Unit Tests
  12. WebAPI Tests
  13. Semantic Version Checker

You can find more information about the builds here
ℹ️ Run only required test builds during development. Run all test builds before sending your pull request for review.


For more details, review the Code Contributions documentation.
Join Magento Community Engineering Slack and ask your questions in #github channel.

@Nuranto
Copy link
Contributor Author

Nuranto commented Mar 13, 2023

@magento create issue

@Nuranto
Copy link
Contributor Author

Nuranto commented Mar 13, 2023

@magento run all tests

@magento-automated-testing
Copy link

The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time.

@Nuranto
Copy link
Contributor Author

Nuranto commented Mar 15, 2023

@magento run Static Tests, Unit Tests, Integration Tests, Functional Tests EE, Functional Tests CE, Functional Tests B2B

@magento-automated-testing
Copy link

The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time.

@m2-community-project m2-community-project bot added Priority: P2 A defect with this priority could have functionality issues which are not to expectations. labels Mar 16, 2023
Copy link
Contributor

@Den4ik Den4ik left a comment

Choose a reason for hiding this comment

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

Hi @Nuranto Thanks for this code improvement. Please look at my comment.

@Nuranto
Copy link
Contributor Author

Nuranto commented Mar 22, 2023

@magento run all tests

@magento-automated-testing
Copy link

The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time.

@Nuranto
Copy link
Contributor Author

Nuranto commented Mar 23, 2023

@magento run Functional Tests B2B, Functional Tests CE, Functional Tests EE, Static Tests, Unit Tests, WebAPI Tests

@magento-automated-testing
Copy link

The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time.

@Nuranto
Copy link
Contributor Author

Nuranto commented Apr 3, 2023

@magento run Functional Tests B2B, Functional Tests CE, Functional Tests EE, Static Tests, Unit Tests

@magento-automated-testing
Copy link

The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time.

@Nuranto
Copy link
Contributor Author

Nuranto commented Apr 4, 2023

@magento run Functional Tests CE, Static Tests

@magento-automated-testing
Copy link

The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time.

Copy link
Contributor

@engcom-Hotel engcom-Hotel left a comment

Choose a reason for hiding this comment

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

Hello @Nuranto,

Thanks for the contribution!

Changes are pretty straightforward and look good to me. Hence approving this PR for further process.

Failed tests seem flaky to me.

@engcom-Hotel engcom-Hotel added the Triage: Dev.Experience Issue related to Developer Experience and needs help with Triage to Confirm or Reject it label Apr 8, 2024
Copy link
Contributor

@Den4ik Den4ik left a comment

Choose a reason for hiding this comment

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

@engcom-Hotel Agree, all looks good

@engcom-November engcom-November self-assigned this Apr 19, 2024
@engcom-November
Copy link
Contributor

engcom-November commented Apr 19, 2024

Hi @Nuranto,

Tried to update the pr to latest branch but got 403 error, Hence moving it to on hold.
Could you please update the branch so we can move further with the pr.

@Nuranto
Copy link
Contributor Author

Nuranto commented Apr 19, 2024

done.

@engcom-November
Copy link
Contributor

@magento run all tests

@engcom-November
Copy link
Contributor

@magento run Functional Tests B2B, Functional Tests EE

@engcom-November
Copy link
Contributor

engcom-November commented Apr 19, 2024

This is a code-quality pr, no manual testing is required.

As the builds are failing moving this to Extended testing.

@engcom-November
Copy link
Contributor

engcom-November commented Apr 22, 2024

The repeated failures for functional Tests B2B and EE are flaky. These are knows issues and are not related to PR changes.

Functinal Tests B2B:
1st run:
image

2nd run:
image

Known failure : ACQE-6438 - StorefrontPropertiesOfAProductAttributeTest

Functinal Tests EE:
1st run:
image

2nd run:
image

Known failure :
ACQE-6224 - AdminContentHierarchyDisabledScopeWebsiteFilterTest
ACQE-6331 - StorefrontCreateOrderAllQuantityGroupedProductOptionDefaultStockTest

@engcom-November
Copy link
Contributor

WebAPI Failures are not related to PR changes, these are known issues.

WebAPI Tests:
image

image

Known failure: AC-11750 - RetrieveOrdersByOrderNumberTest

Hence moving this to merge in progress.

@engcom-Charlie
Copy link
Contributor

@engcom-November as per this, I can see that there is one failure i.e StorefrontCreateOrderAllQuantityGroupedProductOptionDefaultStockTest on which no data have been provided. Please provide more detail information on this. (mention open JIRA) till then moving it back to Extended Testing

@engcom-November
Copy link
Contributor

@engcom-Charlie, I have updated the comment with the open jira of StorefrontCreateOrderAllQuantityGroupedProductOptionDefaultStockTest, hence moving it back to Merge in Progress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: P2 A defect with this priority could have functionality issues which are not to expectations. Progress: accept Project: Community Picked PRs upvoted by the community Triage: Dev.Experience Issue related to Developer Experience and needs help with Triage to Confirm or Reject it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Issue] Use visibility class for category product indexer, instead of hardcoded values
7 participants