Skip to content

test: probe Excimer and Tracewick with ZTS parallel runtimes - #9

Merged
bbik52 merged 2 commits into
mainfrom
feature/excimer-zts-parallel
Nov 19, 2026
Merged

bbik52 merged 2 commits into
mainfrom
feature/excimer-zts-parallel

Conversation

@bbik52

@bbik52 bbik52 commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

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

  • 66/66 profiling matrix runs and six unprofiled transfer controls pass; core source fingerprint unchanged.
  • 928 decoded spool files preserve 42,737 profile-weight periods; all 928 pprof files parse with Go 1.27.4.
  • Retain 11 empty short-reuse profiles and three expected sleeping-CPU empty UoW results; no claim every short task is sampled.
  • Local make check-soak passes: 33 existing tests, shell syntax and Compose config. Eight experiment verdict tests, PHP syntax, Python compilation, build-script syntax, relative links, dataset checksums and archive completeness pass.
  • Final 5f66d13: GitHub Checks passes (run). The numerical experiment and original evidence are unchanged; this revision only clarifies interpretation. Local make check-soak and eight verdict controls pass again.

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

  • Conventional Commit title and English repository text.
  • Methodology, versions, commands, positive/negative outcomes and limitations recorded.
  • Required local checks pass; no tests disabled or thresholds weakened.
  • Raw evidence retained with checksums; no secrets/private handoff/workspace references published.
  • GitHub checks are green on the final revision.

@bbik52
bbik52 merged commit 003be9b into main Nov 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Probe Excimer and Tracewick under PHP ZTS with ext-parallel

1 participant