Replace VarDumper TCP and Profiler HTTP with RoadRunner plugins#314
Merged
butschster merged 2 commits intomasterfrom Mar 26, 2026
Merged
Replace VarDumper TCP and Profiler HTTP with RoadRunner plugins#314butschster merged 2 commits intomasterfrom
butschster merged 2 commits intomasterfrom
Conversation
Wire up the Go-based profiler-server RoadRunner plugin that receives XHProf data via HTTP, processes it in Go (peaks, diffs, edges, percentages), and forwards the result as a profiler.profile job. - Add ProfileHandler.php: receives pre-processed profile from Go plugin and persists Profile + Edges to DB, then dispatches event for broadcasting (no computation needed on PHP side) - Register profiler.profile job handler in queue.php - Add profiler plugin config + jobs pipeline to .rr.yaml and .rr-prod.yaml - Register profiler-server in velox.toml for RR binary builds Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
VarDumper migration to RR plugin: - Add DumpHandler consuming vardumper.dump jobs from RR plugin - Remove TCP Service (replaced by Go plugin) - Remove var-dumper from tcp.php and TCP servers in .rr configs - Register vardumper.dump handler in queue.php - Configure var-dumper plugin + jobs pipeline in .rr.yaml/.rr-prod.yaml - Register var-dumper-server 1.0.1 in velox.toml - Update tests to invoke DumpHandler directly Profiler RR plugin integration: - Add ProfileHandler receiving pre-processed profiles from Go plugin - Register profiler.profile handler in queue.php - Configure profiler plugin + jobs pipeline in .rr configs - Register profiler-server 1.0.0 in velox.toml Docker build fixes: - Add # syntax=docker/dockerfile:1 for BuildKit --mount support - Export GH_TOKEN (not RT_TOKEN) to match velox.toml reference - Handle missing secret gracefully for local builds - Add DOCKER_BUILDKIT=1 to Makefile build target Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
var-dumper-serverplugin. Dumps are received via TCP in Go, forwarded through Jobs pipeline, consumed byDumpHandler.phpprofiler-serverplugin that receives XHProf data via HTTP, processes it entirely in Go (peaks, diffs, edges tree, percentages), and forwards pre-computed results through Jobs pipeline toProfileHandler.phpwhich only persists to DBGH_TOKEN— add syntax directive, correct env var name, handle missing secret gracefullyvar-dumper-server@1.0.1andprofiler-server@1.0.0pluginsNew Go plugin repos
Test plan
🤖 Generated with Claude Code