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

Deprecate old hooks for RUCSS #6329

Closed
jeawhanlee opened this issue Dec 14, 2023 · 14 comments · Fixed by #6342
Closed

Deprecate old hooks for RUCSS #6329

jeawhanlee opened this issue Dec 14, 2023 · 14 comments · Fixed by #6342
Assignees
Labels
type: sub-task Indicates the issue is a sub-task linked to an epics card
Milestone

Comments

@jeawhanlee
Copy link
Contributor

jeawhanlee commented Dec 14, 2023

Is your feature request related to a problem? Please describe.
Deprecate old hooks used by RUCSS.

@jeawhanlee jeawhanlee added type: sub-task Indicates the issue is a sub-task linked to an epics card lcp labels Dec 14, 2023
@jeawhanlee jeawhanlee added this to the 3.16 milestone Dec 14, 2023
@MathieuLamiot
Copy link
Contributor

@piotrbak Is this OK to proceed this way? Also, this might impact the support team and their tooling.

@piotrbak
Copy link
Contributor

@MathieuLamiot @jeawhanlee Which hooks are we talking about here?

@CrochetFeve0251
Copy link
Contributor

CrochetFeve0251 commented Dec 14, 2023

@MathieuLamiot @jeawhanlee Which hooks are we talking about here?

@piotrbak all RUCSS hooks that where here to configure the queue are renamed to SaaS prefix which gonna break our customers configurations.

For example:
rocket_rucss_pending_jobs_cron_interval -> rocket_saas_pending_jobs_cron_interval

@piotrbak
Copy link
Contributor

@CrochetFeve0251 But deprecating them would mean that the currently used filters would still work, no?

@CrochetFeve0251
Copy link
Contributor

@piotrbak Is this OK to proceed this way? Also, this might impact the support team and their tooling.

@MathieuLamiot with the current implementation the support will be already impacted. This is here to reduce the impact

@MathieuLamiot
Copy link
Contributor

@jeawhanlee @CrochetFeve0251 This is what I want to clarify here. We (@piotrbak and myself) don't have exact visibility on what the current implementation is, so we can't know what to prioritize and if there is an impact or not.
When seeing an issue like this one, without having more details or context, it just triggers an alert that something has to be clarified. So, what is the behavior with the current branch and what is the intent of this issue? Thanks

@CrochetFeve0251
Copy link
Contributor

CrochetFeve0251 commented Dec 14, 2023

@CrochetFeve0251 But deprecating them would mean that the currently used filters would still work, no?

@piotrbak yes now they are broken.
The idea is to add a bridge between old ones and new ones inside the deprecated folder in wpr and show a message in the log as we usually do so they will be working.

@piotrbak
Copy link
Contributor

@CrochetFeve0251 @jeawhanlee @MathieuLamiot Support Team during the last year was slowing down the generation of RUCSS to prevent High CPU cases. We need to make sure that this is preserved.

@CrochetFeve0251
Copy link
Contributor

@jeawhanlee @CrochetFeve0251 This is what I want to clarify here. We (@piotrbak and myself) don't have exact visibility on what the current implementation is, so we can't know what to prioritize and if there is an impact or not.
When seeing an issue like this one, without having more details or context, it just triggers an alert that something has to be clarified. So, what is the behavior with the current branch and what is the intent of this issue? Thanks

With the current branch old hooks are broken.
The intent from that issue is to make a link between old ones and new ones inside the deprecated part of wpr so the users configurations won't be broken.

@MathieuLamiot
Copy link
Contributor

Thanks, then @piotrbak I think we'd have to warn the support team when preparing the release so that they can adapt their helper plugins at some point and have the correspondance for potential questions from users.

@jeawhanlee jeawhanlee linked a pull request Dec 19, 2023 that will close this issue
8 tasks
@jeawhanlee jeawhanlee self-assigned this Dec 19, 2023
@MathieuLamiot
Copy link
Contributor

MathieuLamiot commented Jan 2, 2024

Blocked by the "add test" branch for the CRON/LCP refactor. Should be back on track tomorrow:
First, let's complete the implementation of tests linked to CRON refactor for LCP/ATF. Then, tests for this issue can be added to the PR.

@MathieuLamiot
Copy link
Contributor

Putting back this task to ToDo: To consider if needed or not for the new 3.16

@CrochetFeve0251
Copy link
Contributor

@MathieuLamiot if we reuse the same code basis in the 3.16 as before this will be needed

@jeawhanlee jeawhanlee self-assigned this Apr 11, 2024
@MathieuLamiot
Copy link
Contributor

Bringing back to In Progress pending

github-merge-queue bot pushed a commit that referenced this issue Apr 30, 2024
Co-authored-by: Rémy Perona <[email protected]>
Co-authored-by: Rémy Perona <[email protected]>
Co-authored-by: Gael Robin <[email protected]>
Co-authored-by: WordPress Fan <[email protected]>
Co-authored-by: Opeyemi Ibrahim <[email protected]>
Co-authored-by: Mathieu Lamiot <[email protected]>
Co-authored-by: WordPressFan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: sub-task Indicates the issue is a sub-task linked to an epics card
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants