Skip to content

[FrameworkBundle] Always add CacheCollectorPass #46125

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

Merged
merged 1 commit into from
Apr 21, 2022

Conversation

fancyweb
Copy link
Contributor

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

I don't understand why, in addition to being tied to the profiler config being enabled, CacheCollectorPass is also tied to kernel.debug being true (compared to the other collector passes).

My use case is that I use the cache collector data in tests but I don't run the tests in debug mode (for performance).

@nicolas-grekas
Copy link
Member

Thank you @fancyweb.

@nicolas-grekas nicolas-grekas merged commit 8b6f56e into symfony:4.4 Apr 21, 2022
@fancyweb fancyweb deleted the fwb/cache-collector-pass branch May 21, 2022 09:05
chalasr added a commit to chalasr/symfony that referenced this pull request May 23, 2022
…Pass (fancyweb)"

This reverts commit 8b6f56e, reversing
changes made to fd1c94b.
fabpot added a commit that referenced this pull request May 27, 2022
…ctorPass (fancyweb)" (chalasr)

This PR was merged into the 4.4 branch.

Discussion
----------

[FrameworkBundle] Revert "bug #46125  Always add CacheCollectorPass (fancyweb)"

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | #46416
| License       | MIT
| Doc PR        | -

This reverts commit 8b6f56e, reversing
changes made to fd1c94b.

This change appears to be breaking for some, let's rediscuss it on 6.2.

Commits
-------

36d6516 Revert "bug #46125 [FrameworkBundle] Always add CacheCollectorPass (fancyweb)"
fabpot added a commit that referenced this pull request May 27, 2022
* 4.4:
  [DoctrineBridge] Don't reinit managers when they are proxied as ghost objects
  Revert "bug #46125 [FrameworkBundle] Always add CacheCollectorPass (fancyweb)"
fabpot added a commit that referenced this pull request May 27, 2022
* 5.4:
  [DoctrineBridge] Don't reinit managers when they are proxied as ghost objects
  Revert "bug #46125 [FrameworkBundle] Always add CacheCollectorPass (fancyweb)"
fabpot added a commit that referenced this pull request May 27, 2022
* 6.0:
  [DoctrineBridge] Don't reinit managers when they are proxied as ghost objects
  Revert "bug #46125 [FrameworkBundle] Always add CacheCollectorPass (fancyweb)"
fabpot added a commit that referenced this pull request May 27, 2022
* 6.1:
  [DoctrineBridge] Don't reinit managers when they are proxied as ghost objects
  Revert "bug #46125 [FrameworkBundle] Always add CacheCollectorPass (fancyweb)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants