Repository navigation
internal/driver: show sampling period in web profile details - #1035
jabrailkhalil wants to merge 5 commits into
Conversation
|
Integrated current main The driver package tests (including sampling metadata cases) and scoped go vet pass. I adapted only the added browser regression to main’s chromedp v0.20.1 typed-selector/Do API; sampling expectations and platform guards remain unchanged, and the browser module compiles. Fresh validation uses Windows Go 1.26.0, inherited from current main. The full Windows suite is not green: the three PE/DWARF mapping subcases also fail on clean current main in the same environment. The initial run additionally lacked the external diff executable; it is not treated as a source regression. Browser modules retain their x86-64 Linux guards and skip execution on Windows: compilation is not a new Linux/browser/race validation. No existing assertions, timing thresholds, platform guards or dependency versions were weakened. Current-head upstream CI and maintainer review are still needed. Could a maintainer approve the new-head workflow and review the integration? |
|
Validated unchanged head The CPU and heap sampling Chrome cases actually execute and pass. With only regression tests applied to main, both fail because the details panel is missing the expected sampling text, not because of compilation or Chrome setup. The root web-renderer regression cases also pass on the PR head. Main passed the same Linux commands. Module manifests, checksums and Could a maintainer authorize the upstream workflow and review the current-head integration? |
|
I integrated Could a maintainer approve the pending workflow runs for this head? |
Show valid CPU/heap sampling metadata in the existing profile-details legend. Preserve readable units and HTML escaping, and omit missing, zero or negative sampling periods.
Current-main integration
Current head:
d0c6562c33f0763b2ad81c51f58f65d78c3bca34; integratedmain1facf8f91b50fbab03aa6cb249e0397d91449f9fby a normal, conflict-free merge. All PR implementation/test files are byte-identical to the previous published head. The net PR remains limited to 3 file(s).Validation
Fresh Linux/amd64, Go 1.26.7 and Chrome 156 validation passes the complete unmodified
bash test.sh: both modules, browser tests, race/coverage, vet, formatting, CI-pinned staticcheck commit452d5bb86b45and golangci-lint v2.14.0. Separate uncached race-test JSON passes 547 root tests/subtests (4 existing platform skips) and 6 browser tests/subtests, with no browser skips.Both added CPU and heap Chrome cases executed. All nine sampling metadata unit cases remain covered. This is fresh Linux evidence; macOS and Windows were not rerun.
These local checks are separate from current-head upstream CI authorization and maintainer review.