1
- # # This configuration file acts as an example and used in the test suite.
2
- # # git repositories using this GitHub Action, will not be using this particular
3
- # # configuration file directly, but provide a similar file, located in those
4
- # # repositories themselves.
5
-
6
1
# # Order of entries in this map *does* matter for the resolved labels
7
2
# # earlier entries override later entries
8
3
subSystemLabels :
9
4
# src subsystems
10
- /^src\/async-wrap / : c++, async_wrap
5
+ /^src\/async_wrap / : c++, async_wrap
11
6
/^src\/(?:base64|node_buffer|string_)/ : c++, buffer
12
7
/^src\/cares/ : c++, cares
13
8
/^src\/(?:process_wrap|spawn_)/ : c++, child_process
14
9
/^src\/(?:node_)?crypto/ : c++, crypto
15
- /^src\/(?:debug-|node_debug) / : c++, debugger
10
+ /^src\/debug_ / : c++, debugger
16
11
/^src\/udp_/ : c++, dgram
17
12
/^src\/(?:fs_|node_file|node_stat_watcher)/ : c++, fs
18
13
/^src\/node_http_parser/ : c++, http_parser
19
- /^src\/node_i18n/ : c++, intl
14
+ /^src\/node_i18n/ : c++, i18n-api
20
15
/^src\/uv\./ : c++, libuv
21
16
/^src\/(?:connect(?:ion)?|pipe|tcp)_/ : c++, net
22
17
/^src\/node_os/ : c++, os
23
18
/^src\/(?:node_main|signal_)/ : c++, process
24
- /^src\/timer_ / : c++, timers
25
- /^src\/(?:CNNICHashWhitelist| node_root_certs|tls_) / : c++, tls
19
+ /^src\/timer[_s] / : c++, timers
20
+ /^src\/node_root_certs/ : c++, tls
26
21
/^src\/tty_/ : c++, tty
27
- /^src\/node_url/ : c++, url- whatwg
22
+ /^src\/node_url/ : c++, whatwg-url
28
23
/^src\/node_util/ : c++, util
29
- /^src\/(?: node_v8|v8abbr) / : c++, V8 Engine
24
+ /^src\/node_v8/ : c++, v8 engine
30
25
/^src\/node_contextify/ : c++, vm
31
- /^src\/.*win32.*/ : c++, windows
32
26
/^src\/node_zlib/ : c++, zlib
33
27
/^src\/tracing/ : c++, tracing
34
- /^src\/node_api/ : c++, n -api
35
- /^src\/node_http2/ : c++, http2, dont-land-on-v6.x
28
+ /^src\/(?: node_api|js_native_api) / : c++, node -api
29
+ /^src\/node_http2/ : c++, http2
36
30
/^src\/node_report/ : c++, report
37
31
/^src\/node_wasi/ : c++, wasi
38
32
/^src\/node_worker/ : c++, worker
39
- /^src\/quic\/*/ : c++, quic, dont-land-on-v14.x, dont-land-on-v12.x
40
- /^src\/node_bob*/ : c++, quic, dont-land-on-v14.x, dont-land-on-v12.x
41
-
42
- # don't label python files as c++
43
- /^src\/.+\.py$/ : lib / src, needs-ci
33
+ /^src\/quic\/*/ : c++, quic
34
+ /^src\/node_bob*/ : c++, quic
35
+ /^src\/node_sea/ : single-executable
36
+ /^src\/node_sqlite.*/ : c++, sqlite
44
37
45
- # properly label changes to v8 inspector integration-related files
38
+ # Properly label changes to V8 inspector integration-related files
46
39
/^src\/inspector_/ : c++, inspector, needs-ci
47
40
48
- # don 't want to label it a c ++ update when we're "only" bumping the Node.js version
41
+ # Don 't want to label it a C ++ update when we're "only" bumping the Node.js version
49
42
/^src\/(?!node_version\.h)/ : c++
50
43
# BUILDING.md should be marked as 'build' in addition to 'doc'
51
44
/^BUILDING\.md$/ : build, doc
52
- # meta is a very specific label for things that are policy and or meta-info related
53
- /^([A-Z]+$|CODE_OF_CONDUCT|ROADMAP|WORKING_GROUPS |GOVERNANCE|CHANGELOG|\.mail|\.git.+)/ : meta
54
- # things that edit top-level .md files are always a doc change
45
+ # ' meta' is a very specific label for things that are policy and or meta-info related
46
+ /^(?: [A-Z]+$|CODE_OF_CONDUCT|GOVERNANCE|CHANGELOG|\.mail|\.git.+)/ : meta
47
+ # Things that edit top-level .md files are always a doc change
55
48
/^\w+\.md$/ : doc
56
- # different variants of * Makefile and build files
57
- /^(tools\/)?(Makefile|BSDmakefile|create_android_makefiles|\.travis\.yml )$/ : build, needs-ci
58
- /^tools\/(install\.py|genv8constants\.py| getnodeversion\.py|js2c\.py|utils\.py|configure\.d\/.*)$/ : build, needs-ci
49
+ # Different variants of Makefile and build files
50
+ /^(?: tools\/)?(?: Makefile|BSDmakefile|create_android_makefiles)$/ : build, needs-ci
51
+ /^tools\/(?: install\.py|getnodeversion\.py|js2c\.py|utils\.py|configure\.d\/.*)$/ : build, python , needs-ci
59
52
/^vcbuild\.bat$/ : build, windows, needs-ci
60
- /^(android-)?configure|node\.gyp|common\.gypi$/ : build, needs-ci
61
- # more specific tools
62
- /^tools\/gyp/ : tools, build, needs-ci
53
+ /^(?: android-)?configure|node\.gyp|common\.gypi$/ : build, needs-ci
54
+ # More specific tools
55
+ /^tools\/gyp/ : tools, build, gyp, needs-ci
63
56
/^tools\/doc\// : tools, doc
64
- /^tools\/icu\// : tools, intl, needs-ci
65
- /^tools\/(?:osx-pkg\.pmdoc|pkgsrc)\// : tools, macos, install
66
- /^tools\/(?:(?:mac)?osx-)/ : tools, macos
57
+ /^tools\/icu\// : tools, i18n-api, icu, needs-ci
58
+ /^tools\/osx-/ : tools, macos
67
59
/^tools\/test-npm/ : tools, test, npm
68
60
/^tools\/test/ : tools, test
69
61
/^tools\/(?:certdata|mkssldef|mk-ca-bundle)/ : tools, openssl, tls
70
62
/^tools\/msvs\// : tools, windows, install, needs-ci
71
63
/^tools\/[^/]+\.bat$/ : tools, windows, needs-ci
72
- /^tools\/make-v8/ : tools, V8 Engine, needs-ci
73
- /^tools\/(code_cache|snapshot|v8_gypfiles)/ : needs-ci,
74
- /^tools\/build-addons.js/ : needs-ci,
75
- # all other tool changes should be marked as such
64
+ /^tools\/make-v8/ : tools, v8 engine, needs-ci
65
+ /^tools\/v8_gypfiles/ : tools, v8 engine, needs-ci
66
+ /^tools\/snapshot/ : needs-ci
67
+ /^tools\/build-addons.mjs/ : needs-ci
68
+ # All other tool changes should be marked as such
76
69
/^tools\// : tools
77
- /^\.eslint|\.remark|\.editorconfig/ : tools
70
+ /^eslint\.config|\.editorconfig/ : tools
71
+ /^typings\// : typings
78
72
79
73
# # Dependencies
80
74
# libuv needs an explicit mapping, as the ordinary /deps/ mapping below would
81
- # end up as libuv changes labeled with "uv" (which is a non-existing label)
75
+ # end up as libuv changes labeled with 'uv' (which is a non-existing label)
82
76
/^deps\/uv\// : libuv
83
- /^deps\/v8\/tools\/gen-postmortem-metadata\.py/ : V8 Engine , post-mortem
84
- /^deps\/v8\// : V8 Engine
77
+ /^deps\/v8\/tools\/gen-postmortem-metadata\.py/ : v8 engine, python , post-mortem
78
+ /^deps\/v8\// : v8 engine
85
79
/^deps\/uvwasi\// : wasi
86
- /^deps\/nghttp2\/nghttp2\.gyp/ : build, http2, dont-land-on-v6.x
87
- /^deps\/nghttp2\// : http2, dont-land-on-v6.x
88
- /^deps\/ngtcp2\// : quic, dont-land-on-v14.x, dont-land-on-v12.x
89
- /^deps\/nghttp3\// : quic, dont-land-on-v14.x, dont-land-on-v12.x
90
- /^deps\/([^/]+)/ : $1
80
+ /^deps\/npm\// : npm, fast-track
81
+ /^deps\/nghttp2\/nghttp2\.gyp/ : build, http2
82
+ /^deps\/nghttp2\// : http2
83
+ /^deps\/ngtcp2\// : quic
84
+ /^deps\/amaro\// : strip-types
85
+ /^deps\/([^/]+)/ : dependencies, $1
91
86
92
87
# # JS subsystems
93
88
# Oddities first
94
- /^lib\/(punycode|\w+\/freelist|sys\.js)/ : ' '
89
+ /^lib\/(?: punycode|\w+\/freelist|sys\.js)/ : ' '
95
90
/^lib\/constants\.js$/ : lib / src
96
- /^lib\/_(debug_agent|debugger)\.js $/ : debugger
97
- /^lib(\/\w+)?\/(_)?link(ed)?list / : timers
98
- /^lib\/\w+\/bootstrap_node / : lib / src
99
- /^lib\/\w+ \/v8_prof_/ : tools
100
- /^lib\/\w+\/socket_list / : net
101
- /^lib\/\w+\ /streams$/ : stream
102
- /^lib\/.*http2/ : http2, dont-land-on-v6.x
91
+ /^lib\/internal\/debugger $/ : debugger
92
+ /^lib\/internal\/linkedlist\.js$ / : timers
93
+ /^lib\/internal\/bootstrap / : lib / src
94
+ /^lib\/internal \/v8_prof_/ : tools
95
+ /^lib\/internal\/socket(?:_list|address)\.js$ / : net
96
+ /^lib\/(_stream.*|internal\ /streams\/.*|stream\.js|stream\/.*) $/ : stream
97
+ /^lib\/.*http2/ : http2
103
98
/^lib\/worker_threads.js$/ : worker
104
- /^lib\/internal\/url\.js$/ : url-whatwg
105
- /^lib\/internal\/modules\/esm/ : ES Modules
106
- /^lib\/internal\/quic\/*/ : quic, dont-land-on-v14.x, dont-land-on-v12.x
99
+ /^lib\/test.js$/ : test_runner
100
+ /^lib\/internal\/url\.js$/ : whatwg-url
101
+ /^lib\/internal\/modules\/esm/ : esm
102
+ /^lib\/internal\/modules/ : module
103
+ /^lib\/internal\/webstreams/ : web streams
104
+ /^lib\/internal\/test_runner/ : test_runner
107
105
108
106
# All other lib/ files map directly
109
- /^lib\/_(\w+)_\w+\.js?$/ : $1 # e.g. _(stream)_wrap
110
- /^lib(\/internal)?\/(\w+)\.js?$/ : $2 # other .js files
111
- /^lib\/internal\/(\w+)(?:\/|$)/ : $1 # internal subfolders
107
+ /^lib\/_(\w+)_\w+\.js?$/ : $1 # e.g. _(stream)_wrap
108
+ /^lib(?: \/internal)?\/(\w+)\.js?$/ : $1 # Other .js files
109
+ /^lib(?: \/internal)? \/(\w+)(?:\/|$)/ : $1 # Subfolders
112
110
113
111
exlusiveLabels :
114
- # more specific tests
112
+ # More specific tests
115
113
/^test\/addons\// : test, addons
116
- /^test\/debugger\/ / : test, debugger
114
+ /^test\/debugger/ : test, debugger
117
115
/^test\/doctool\// : test, doc, tools
118
- /^test\/timers\/ / : test, timers
116
+ /^test\/timers/ : test, timers
119
117
/^test\/pseudo-tty\// : test, tty
120
- /^test\/inspector\/ / : test, inspector
118
+ /^test\/inspector/ : test, inspector
121
119
/^test\/cctest\/test_inspector/ : test, inspector
122
- /^test\/cctest\/test_url / : test, url-whatwg
123
- /^test\/addons-napi \// : test, n -api
120
+ /^test\/node-api\/ / : test, node-api
121
+ /^test\/js-native-api \// : test, node -api
124
122
/^test\/async-hooks\// : test, async_hooks
125
123
/^test\/report\// : test, report
126
- /^test\/fixtures\/es-module/ : test, ES Modules
127
- /^test\/es-module\// : test, ES Modules
124
+ /^test\/fixtures\/es-module/ : test, esm
125
+ /^test\/es-module\// : test, esm
126
+ /^test\/fixtures\/wpt\/streams\// : test, web streams
127
+ /^test\/fixtures\/typescript/ : test, strip-types
128
128
129
129
/^test\// : test
130
130
131
- # specific map for webcrypto.md as it should be labeled 'crypto'
131
+ # Specific map for webcrypto.md as it should be labeled 'crypto'
132
132
/^doc\/api\/webcrypto.md$/ : doc, crypto
133
- # specific map for modules.md as it should be labeled 'module' not 'modules'
133
+ # Specific map for modules.md as it should be labeled 'module' not 'modules'
134
134
/^doc\/api\/modules.md$/ : doc, module
135
- # specific map for esm.md as it should be labeled 'ES Modules' not 'esm'
136
- /^doc\/api\/esm.md$/ : doc, ES Modules
137
- # n-api is treated separately since it is not a JS core module but is still
138
- # considered a subsystem of sorts
139
- /^doc\/api\/n-api.md$/ : doc, n-api
140
- # quic
141
- /^doc\/api\/quic.md$/ : doc, quic, dont-land-on-v14.x, dont-land-on-v12.x
142
- # add worker label to PRs that affect doc/api/worker_threads.md
135
+ # node-api is treated separately since it is not a JS core module but is still
136
+ # considered a subsystem of sorts
137
+ /^doc\/api\/n-api.md$/ : doc, node-api
138
+ # Add worker label to PRs that affect doc/api/worker_threads.md
143
139
/^doc\/api\/worker_threads.md$/ : doc, worker
144
- # automatically tag JS subsystem-specific API doc changes
140
+ # test_runner documentation
141
+ /^doc\/api\/test.md$/ : doc, test_runner
142
+ # Automatically tag JS subsystem-specific API doc changes
145
143
/^doc\/api\/(\w+)\.md$/ : doc, $1
146
- # add deprecations label to PRs that affect doc/api/deprecations.md
144
+ # Add deprecations label to PRs that affect doc/api/deprecations.md
147
145
/^doc\/api\/deprecations.md$/ : doc, deprecations
146
+ /^doc\/changelogs\// : release
147
+ # Specific map for typescript.md as it should be labeled 'strip-types'
148
+ /^doc\/api\/typescript.md$/ : doc, strip-types
148
149
149
150
/^doc\// : doc
150
151
151
- # more specific benchmarks
152
+ # More specific benchmarks
152
153
/^benchmark\/buffers\// : benchmark, buffer
153
- /^benchmark\/(?:arrays|es) \// : benchmark, V8 Engine
154
+ /^benchmark\/es \// : benchmark, v8 engine
154
155
/^benchmark\/_http/ : benchmark, http
155
156
/^benchmark\/(?:misc|fixtures)\// : benchmark
156
157
/^benchmark\/streams\// : benchmark, stream
158
+ /^benchmark\/url\// : benchmark, url, whatwg-url
157
159
/^benchmark\/([^/]+)\// : benchmark, $1
158
160
159
- /^benchmark\// : benchmark
161
+ /^benchmark\// : benchmark, performance
160
162
161
163
allJsSubSystems :
162
164
- assert
@@ -168,6 +170,7 @@ allJsSubSystems:
168
170
- crypto
169
171
- debugger
170
172
- dgram
173
+ - diagnostics_channel
171
174
- dns
172
175
- domain
173
176
- events
@@ -176,25 +179,32 @@ allJsSubSystems:
176
179
- http
177
180
- https
178
181
- http2
182
+ - inspector
179
183
- module
180
184
- net
181
185
- os
182
186
- path
187
+ - perf_hooks
183
188
- process
189
+ - punycode
184
190
- querystring
185
191
- quic
186
192
- readline
187
193
- repl
188
194
- report
195
+ - sqlite
189
196
- stream
190
197
- string_decoder
198
+ - strip-types
191
199
- timers
192
200
- tls
201
+ - trace_events
193
202
- tty
203
+ - typings
194
204
- url
195
205
- util
196
206
- v8
197
207
- vm
198
208
- wasi
199
209
- worker
200
- - zlib
210
+ - zlib
0 commit comments