build: run perfetto build and test on GHA - #64721
Conversation
|
Review requested:
|
| path: node | ||
| - name: Install Clang ${{ env.CLANG_VERSION }} | ||
| uses: ./node/.github/actions/install-clang | ||
| with: | ||
| clang-version: ${{ env.CLANG_VERSION }} |
There was a problem hiding this comment.
| path: node | |
| - name: Install Clang ${{ env.CLANG_VERSION }} | |
| uses: ./node/.github/actions/install-clang | |
| with: | |
| clang-version: ${{ env.CLANG_VERSION }} | |
| - name: Install Clang ${{ env.CLANG_VERSION }} | |
| uses: .github/actions/install-clang | |
| with: | |
| clang-version: ${{ env.CLANG_VERSION }} |
nit: use the CWD
There was a problem hiding this comment.
I replicated this from https://github.com/nodejs/node/blob/main/.github/workflows/test-linux-quic.yml. Maybe it was replicated from https://github.com/nodejs/node/blob/main/.github/workflows/test-linux.yml
avivkeller
left a comment
There was a problem hiding this comment.
LGTM, we should probably update the other workflows to use the CWD, IMO it's cleaner
|
Could we enable this for the existing Linux workflow rather than adding an additional run? |
We could. Still, I think in the near future, we might want to keep testing both legacy tracing and perfetto tracing, until we can fully deprecate the legacy one. |
Signed-off-by: Chengzhong Wu <cwu631@bloomberg.net>
Signed-off-by: Chengzhong Wu <cwu631@bloomberg.net>
There was a problem hiding this comment.
For other flags (except QUIC, but the QUIC job being restricted to a very limited set of files, that's less of a concern), we put this as part of the test-shared workflow. Can we do that here as well? Having a dedicated job is probably a waste and won't scale well.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #64721 +/- ##
==========================================
+ Coverage 90.12% 90.14% +0.02%
==========================================
Files 743 744 +1
Lines 242324 242518 +194
Branches 45629 45689 +60
==========================================
+ Hits 218396 218624 +228
+ Misses 15440 15391 -49
- Partials 8488 8503 +15 🚀 New features to boost your workflow:
|
This ensures that the
src/libchanges (like emitting trace events) are compatible with perfetto, and compatible with V8 compiled with perfetto.Refs: #64565
Fixes: nodejs/diagnostics#654