-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Gerrit Submit Requirements
In addition to requiring reviews from OWNERS our Gerrit instance applies a number of additional requirements to specific CLs.
All CLs touching one of the Dart VM source directories require a line TEST=...
or a footer Tested:...
describing how the change was tested.
# New test was added to cover the issue and prevent regressions.
TEST=vm/cc/IL_Canonicalize_RepresentationChange
# There is a reason to believe CI tests already cover newly added code.
TEST=ci
# Some debug code was added which is not worth testing on CI.
TEST=manually by running a test with debug flags
Rationale for this requirement is to encourage both the author and reviewers to consider if the change comes with adequate test coverage.
All CLs changing core libraries sources (i.e. Dart files residing in sdk/lib
directory with the exception of _http
and _internal
sub-directories) require either:
-
CR+1
from representatives of all backend teams (g2/dart-core-library-change-approvers-vm, g2/dart-core-library-change-approvers-wasm, g2/dart-core-library-change-approvers-web) and Core Library API owners (g2/dart-core-library-change-approvers-api); - or
CoreLibraryReviewExempt: ...
footer which explains why this change is exempt from the requirement.
Rationale for this requirement is to avoid API or implementation changes which have negative impact on one of the platforms.
Important
The wiki has moved to https://github.com/dart-lang/sdk/tree/main/docs; please don't edit the pages here.