When http.response.debug_cacheability_headers is enabled, the respective headers' size may exceed the server limit, resulting in server errors. This module overcomes this problem by splitting the debug cacheability headers into multiple chunks.

Please refer to the full description in project page that also lists related issues and explains why solution was provided as a separate module.

Project link

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

Comments

akz created an issue. See original summary.

vishal.kadam’s picture

Issue summary: View changes
avpaderno’s picture

Thank you for applying!

Please read Review process for security advisory coverage: What to expect for more details and Security advisory coverage application checklist to understand what reviewers look for. Tips for ensuring a smooth review gives some hints for a smoother review.

The important notes are the following.

  • If you have not done it yet, enable GitLab CI for the project, and fix what reported from the phpcs job. This help to fix most of what reviewers would report.
  • For the time this application is open, only your commits are allowed. No other people, including other maintainers/co-maintainers can make commits.
  • The purpose of this application is giving you a new drupal.org role that allows you to opt projects into security advisory coverage, either projects you already created, or projects you will create. The project status won't be changed by this application.
  • Nobody else will get the permission to opt projects into security advisory policy. If there are other maintainers/co-maintainers who will to get that permission, they need to apply with a different module.
  • We only accept an application per user. If you change your mind about the project to use for this application, or it is necessary to use a different project for the application, please update the issue summary with the link to the correct project and the issue title with the project name and the branch to review.

To the reviewers

Please read How to review security advisory coverage applications, Application workflow, What to cover in an application review, and Tools to use for reviews.

The important notes are the following.

  • It is preferable to wait for a Code Review Administrator before commenting on newly created applications. Code Review Administrators will do some preliminary checks that are necessary before any change on the project files is suggested.
  • Reviewers should show the output of a CLI tool only once per application. The configuration used for these tools needs to be the same configuration used by GitLab CI, stored in the GitLab Templates repository.
  • It may be best to have the applicant fix things before further review.

For new reviewers, I would also suggest to first read In which way the issue queue for coverage applications is different from other project queues.

vishal.kadam’s picture

Status: Needs review » Needs work

FILE: debug_cacheability_headers_split.info.yml

A new project should not declare itself compatible with a Drupal release that is no longer supported. No site should be using Drupal 8 nor Drupal 9, and people should not be encouraged to use those Drupal releases.

avpaderno’s picture

Priority: Normal » Minor

This thread has been idle, in the needs work state with no activity for two months.

May you confirm you are still pursuing this application? If this is the case, and you made commits basing on what previously reported, or you can answer the questions previously asked, please change the status to Needs review.

I am changing priority as per Issue priorities.

akz’s picture

As suggested in comment#4, Drupal 9 compatibility has been removed. A new release 1.0.1 was created to include this fix.

Moreover, GitLab CI for the project is enabled and phpcs job is passed: https://git.drupalcode.org/project/debug_cacheability_headers_split/-/jo...

akz’s picture

Priority: Minor » Normal
Status: Needs work » Needs review
vishal.kadam’s picture

Releases should not be created after each review done here.

It is better not to create new release during these applications, since a review could ask for a change that is not backward compatible with the existing releases. Just using a development version avoids those BC issues.

It would also be better not to create new branches: Reviewers could need to check again all the files, to understand which changes has been done in the new branch.

akz’s picture

@vishal.kadam Got it. Thank you for your time!

vishal.kadam’s picture

Status: Needs review » Needs work

FILE: src/Form/DebugCacheabilityHeadersSplitSettingsForm.php

With Drupal 10 and Drupal 11, there is no longer need to use #default_value for each form element, when the parent class is ConfigFormBase: It is sufficient to use #config_target, as in the following code.

    $form['image_toolkit'] = [
      '#type' => 'radios',
      '#title' => $this->t('Select an image processing toolkit'),
      '#config_target' => 'system.image:toolkit',
      '#options' => [],
    ];

Using that code, it is no longer needed to save the configuration values in the form submission handler: The parent class will take care of that.

akz’s picture

Status: Needs work » Needs review

Changes from comment#10 done and committed.

vishal.kadam’s picture

Status: Needs review » Reviewed & tested by the community

Rest looks good to me.

Please wait for a Project Moderator to take a look and if everything goes fine, you will get the role.

bbu23’s picture

Assigned: Unassigned » bbu23
bbu23’s picture

Assigned: bbu23 » Unassigned
Status: Reviewed & tested by the community » Needs work

Hi! Here's my feedback:

- There is no dev release for your project. While not mandatory, it's a highly encouraged practice in the Drupal community. You should consider creating one.

- The module is missing its composer.json file. See Add a composer.json file for more info.

- There is no schema defined for the module's configuration object. See Configuration schema/metadata for more info.

rushikesh raval’s picture

Priority: Normal » Minor

I am changing priority as per Issue priorities.

avpaderno’s picture

Status: Needs work » Closed (won't fix)

This thread has been idle, in the Needs work state with no activity for about six months or more; the application has been created about 11 months ago or more. Therefore, I marked it as Closed (won't fix).

If this is incorrect, and you are still pursuing this application, please feel free to re-open it and set the issue status to Needs work or Needs review, depending on the current status of your code.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.