Skip to content

Commit 2a441b6

Browse files
committed
Mark #115 complete in CLAUDE.md
1 parent 8a7c95c commit 2a441b6

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

CLAUDE.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -600,11 +600,15 @@ Hub subscription tokens are not currently scoped — any subscriber can receive
600600

601601
---
602602

603-
### #115 — Symfony data collector / profiler integration
603+
### ~~#115 — Symfony data collector / profiler integration~~ — COMPLETE ✓
604604

605-
A custom Symfony profiler panel showing how the bundle handled a request — security decisions (JWT, refresh tokens), route resolution, page data lookups, Mercure topic publication — would significantly aid debugging.
605+
**Implemented (commit `8a7c95cf`):** `CwaCollectorData` (`src/DataCollector/CwaCollectorData.php`) is a shared `ResetInterface` service that bundle listeners push data into. `CwaDataCollector` (`src/DataCollector/CwaDataCollector.php`) reads from it at `collect()` time and renders via `@SilverbackApiComponents/Collector/cwa.html.twig`. The toolbar/panel shows three categories:
606606

607-
**No implementation started.** Would require implementing `DataCollectorInterface` and a profiler template. Low priority but useful for DX.
607+
- **JWT/authentication**: cookie presence (with name), refresh issued, cookie cleared
608+
- **Route resolution**: resolved path and route IRI from `RouteStateProvider`
609+
- **Mercure publications**: count and topic list from `MercureResourcePublisher`
610+
611+
Services instrumented with optional `?CwaCollectorData` arg: `JWTEventListener`, `JWTClearTokenListener`, `MercureResourcePublisher`, `RouteStateProvider`. Unit tests in `tests/DataCollector/`.
608612

609613
---
610614

0 commit comments

Comments
 (0)