• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

konradmichalik / typo3-ai-mate / 30446780482

29 Jul 2026 11:14AM UTC coverage: 99.708% (-0.3%) from 100.0%
30446780482

push

github

web-flow
feat: MCP tools for controlling request profiling (#57)

* feat: MCP tools for controlling request profiling

Add typo3-profiler-start/-stop/-status so an agent can enable profiling,
exercise the site and read the resulting profiles in one session.

The profiler's ProfilerStateService needs a booted TYPO3, which the Mate
process deliberately lacks, so writes go through the profiler's own
console commands while status reads the state file boot-free. Duration is
validated with the profiler's own parser and capped at 60 minutes.

Also surfaces the activation_mode from the 0.5 provenance meta block in
profile summaries, and bumps the profiler to ^0.5.

Closes #53

* test: prove the profiler status tool reads state without shelling out

The status and stop tests started from an empty state file, so a status()
implementation that wrongly invoked the CLI would still have produced the
expected inactive response. Both now seed an active state and the fake
binary records every invocation, so status asserts the marker is absent
and stop asserts it is present.

Also document that start/stop depend on the profiler's console commands
being registered.

53 of 58 new or added lines in 3 files covered. (91.38%)

1707 of 1712 relevant lines covered (99.71%)

6.98 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

89.8
/Classes/Mate/ProfilerStateProvider.php


Build SHA Not Found

The commit SHA "9a2288c4302af384a873014c985d2d4481895a7c" was not found in your repository, so the file cannot be loaded. This may be because you posted from a local development environment, or your CI created an ephemeral commit.

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc