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. |
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.
There was a problem hiding this comment.
Thanks for the suggestion, updated!
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #64721 +/- ##
==========================================
+ Coverage 90.14% 90.17% +0.03%
==========================================
Files 746 746
Lines 242818 242764 -54
Branches 45765 45736 -29
==========================================
+ Hits 218884 218911 +27
+ Misses 15417 15345 -72
+ Partials 8517 8508 -9
🚀 New features to boost your workflow:
|
494f038 to
dd064f0
Compare
Signed-off-by: Chengzhong Wu <cwu631@bloomberg.net>
|
Rebased on the latest main branch to fix conflicts and build failures. |
Signed-off-by: Chengzhong Wu <cwu631@bloomberg.net>
Signed-off-by: Chengzhong Wu <cwu631@bloomberg.net>
Signed-off-by: Chengzhong Wu <cwu631@bloomberg.net>
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