Repository navigation
test: probe Excimer and Tracewick with ZTS parallel runtimes - #9
Merged
Merged
Conversation
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
Closes #8.
Add an opt-in PHP ZTS/ext-parallel compatibility experiment with pinned build sources, independent native Excimer controls, Tracewick UoW/Continuous cases, negative verdict controls and a report retaining all matrix outcomes and raw spool/pprof/stdout/stderr.
On PHP 8.5.12 ZTS / Excimer 1.2.7 / parallel 1.2.15, all 66 matrix runs pass with one profiler per interpreter. Collection, stack/label isolation and spool output work in the tested scenarios. Cover concurrent parent/workers, parent-only sampling, sleeping-versus-busy thread CPU, runtime reuse/churn and shutdown flushing. Four additional exception/kill checks pass (one observation each).
Profiler data is written inside each runtime to spool. JSON returns only the test harness's diagnostics through Future; it is not a library requirement. Go-agent/Pyroscope delivery was not rerun by this experiment.
Reduce the initial SIGSEGV to a standalone PHP/parallel array-result reproducer: it crashes 3/3 with neither Excimer nor Tracewick loaded; the matched JSON-string control passes 3/3. This identifies a fault in the tested PHP/parallel combination, not its exact upstream C-level cause. The task-result API is outside Tracewick's profiling/spool path; this is not a demonstrated profiler incompatibility or a blocker for our RC. No upstream outreach or patches.
Validation
Limits
One Linux/PHP/extension combination, shared managed host and short synthetic workloads. No throughput/overhead claim, long memory soak, general ZTS support declaration, sanitizer run or backend delivery test. Timer-period counts are not independent statistical samples. Profilers/sinks are constructed inside their own runtime and never transported between threads. The running 72h VPS was not used or changed.
Core/agent/bundle code and dependencies, CI workflows and ADRs are unchanged. No release, tag or merge was performed.
Checklist