[wpt-importer] File bugs against Buganizer, not Monorail
Monorail is read-only now. Activate the Buganizer code path, update the
WPT notification instructions, and add `buganizer_public.component_id`
to `external/DIR_METADATA` to collect all bugs for now. According to the
FAQ [0], the remaining `DIR_METADATA` will receive Buganizer component
IDs "soon after migration".
[0]: go/chrome-on-buganizer-faq
Bug: b/40257571
Change-Id: I9b0b89be29964ec46c7e09d7d39eadbf5ee23030
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5270234
Reviewed-by: Weizhong Xia <[email protected]>
Commit-Queue: Jonathan Lee <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1256359}
diff --git a/docs/testing/web_platform_tests.md b/docs/testing/web_platform_tests.md
index 5d0e159f..0f52d9b 100644
--- a/docs/testing/web_platform_tests.md
+++ b/docs/testing/web_platform_tests.md
@@ -210,14 +210,11 @@
notification mechanism. This includes new tests that fail in Chromium, as well
as new failures introduced to an existing test. Test owners are encouraged to
create an `DIR_METADATA` file in the appropriate `external/wpt/` subdirectory
-that contains at least the `monorail.component` and `buganizer_public.component_id`
-fields, which the importer will use to file bugs.
+that contains at least the `buganizer_public.component_id` field, which the
+importer will use to file bugs.
For example, `external/wpt/css/css-grid/DIR_METADATA` looks like:
```
-monorail {
- component: "Blink>Layout>Grid"
-}
buganizer_public {
component_id: 1415957
}
@@ -225,9 +222,9 @@
```
When tests under `external/wpt/css/css-grid/` newly fail in a WPT import, the
-importer will automatically file a bug against the `Blink>Layout>Grid` component
-in [crbug.com](https://crbug.com), with details of which tests failed and the
-outputs.
+importer will automatically file a bug against the `Chromium>Blink>Layout>Grid`
+component in [issues.chromium.org](https://issues.chromium.org/issues), with
+details of which tests failed and the outputs.
The importer will also copy `[email protected]` (the `team_email`) and any
`external/wpt/css/css-grid/OWNERS` on the bug.
@@ -240,8 +237,8 @@
under the located directory:
```
-monorail {
- component: "Blink>Layout>Grid"
+buganizer_public {
+ component_id: 1415957
}
team_email: "[email protected]"
wpt {
diff --git a/third_party/blink/tools/blinkpy/w3c/import_notifier.py b/third_party/blink/tools/blinkpy/w3c/import_notifier.py
index e778af4..6a09bf0a 100644
--- a/third_party/blink/tools/blinkpy/w3c/import_notifier.py
+++ b/third_party/blink/tools/blinkpy/w3c/import_notifier.py
@@ -35,8 +35,8 @@
GITHUB_COMMIT_PREFIX = WPT_GH_URL + 'commit/'
SHORT_GERRIT_PREFIX = 'https://crrev.com/c/'
-USE_BUGANIZER = False
-BUGANIZER_WPT_COMPONENT = "1415957"
+USE_BUGANIZER = True
+BUGANIZER_WPT_COMPONENT = '1456176'
class ImportNotifier:
diff --git a/third_party/blink/web_tests/external/DIR_METADATA b/third_party/blink/web_tests/external/DIR_METADATA
index 0c8c010..0ad3c499 100644
--- a/third_party/blink/web_tests/external/DIR_METADATA
+++ b/third_party/blink/web_tests/external/DIR_METADATA
@@ -1,5 +1,4 @@
-monorail {
- component: "Blink>Infra>Ecosystem"
+buganizer_public {
+ component_id: 1456176
}
team_email: "[email protected]"
-