The module allows warming the render cache for a specific block. It is useful when you have a block that is slow to render.
It was initially proposed as a patch for Warmer on #3118299: Block warmer.

Project link

https://www.drupal.org/project/warmer_block

Git instructions

git clone --branch 1.x https://git.drupalcode.org/project/warmer_block.git

Comments

prudloff created an issue. See original summary.

vigneshvalliappan’s picture

Status: Needs review » Needs work

Hi @prudloff,

Please implement hook_help.

avpaderno’s picture

prudloff’s picture

Status: Needs work » Needs review

I added a help and a README on the 1.x branch.

matroskeen’s picture

I made a quick look and noticed that module contains a composer.lock file (which is very weird).
I'm also not sure of composer.json file, it has only dev dependency on some quality checker, so it doesn't have any impact on module functionality.
I think we should consider removing composer.* files from the application.

I didn't test the module manually because I'm not familiar with the Warmer module.

I think it would be best to ask @e0ipso or @slv_ to review the project since they're the maintainers of the original module. I would recommend creating a new task in Warmer issues queue and ask maintainers to review this task.

prudloff’s picture

The composer.lock file is mainly there to ensure contributors all use the same version of the lint tools when running the pre-commit hook. But I can remove it if it's a problem.

avpaderno’s picture

avpaderno’s picture

Priority: Normal » Critical

The composer.lock file should not be an issue.

bramdriesen’s picture

Status: Needs review » Reviewed & tested by the community

Automated Review

I ran phpcs manually on the module (since pareview.sh is still broken). No issues/errors came out of this.

I did notice an open "@todo" in the BlockWarmer Plugin class for the function "buildIdsBatch()"

Manual Review

Individual user account
Follows the guidelines for individual user accounts.
No duplication
Does not cause module duplication and/or fragmentation.
Master Branch
Follows the guidelines for master branch.
Licensing
Follows the licensing requirements.
3rd party assets/code
Follows the guidelines for 3rd party assets/code.
README.txt/README.md
Follows the guidelines for in-project documentation and/or the README Template.
Code long/complex enough for review
Follows the guidelines for project length and complexity.
Secure code
Meets the security requirements.

This review uses the Project Application Review Template.

One small note, I see you commented on this issue https://www.drupal.org/project/warmer/issues/3118299 to mention that your contrib is created, however you placed the comment on a closed ticket. So most likely the maintainer did not see the comment and is not aware the module exists. Either re-open the ticket or create a new ticket to ask for your module to be listed on the main module page.

avpaderno’s picture

Priority: Critical » Normal
avpaderno’s picture

Issue summary: View changes
avpaderno’s picture

Assigned: Unassigned » avpaderno
Status: Reviewed & tested by the community » Fixed

Thank you for your contribution! I am going to update the project to opt it into security coverage.

These are some recommended readings to help with excellent maintainership:

You can find more contributors chatting on the IRC #drupal-contribute channel. So, come hang out and stay involved.
Thank you, also, for your patience with the review process.
Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.

I thank all the dedicated reviewers as well.

prudloff’s picture

Thanks a lot for the review!

Do I have to submit applications for my other modules as well?

avpaderno’s picture

It's enough you apply using a module that contains more code.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.