Skip to content

Add front-end triage automation for Messaging System - #6600

Open
dmose wants to merge 2 commits into
mozilla:masterfrom
dmose:omc-automation
Open

Add front-end triage automation for Messaging System#6600
dmose wants to merge 2 commits into
mozilla:masterfrom
dmose:omc-automation

Maintain group separation punctuation

94b0d98
Select commit
Loading
Failed to load commit list.
Community-TC Integration / bugbug lint failed Aug 18, 2026 in 2m 32s

Community-TC (pull_request)

bugbug lint

Details

View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster

Task Status

Started: 2026-08-18T18:27:22.121Z
Resolved: 2026-08-18T18:29:53.425Z
Task Execution Time: 2 minutes, 31 seconds, 304 milliseconds
Task Status: failed
Reason Resolved: failed
TaskId: RalkkM9sTPKz5Yq1s9M_9w
RunId: 0

Artifacts

- public/logs/live_backing.log (1.4 MB)
- public/logs/live.log


[taskcluster 2026-08-18T18:27:22.192Z] Worker Type (proj-bugbug/batch) settings:
[taskcluster 2026-08-18T18:27:22.192Z]   {
[taskcluster 2026-08-18T18:27:22.192Z]     "generic-worker": {
[taskcluster 2026-08-18T18:27:22.192Z]       "config": {
[taskcluster 2026-08-18T18:27:22.192Z]         "headlessTasks": false
[taskcluster 2026-08-18T18:27:22.192Z]       },
[taskcluster 2026-08-18T18:27:22.192Z]       "engine": "multiuser",
[taskcluster 2026-08-18T18:27:22.192Z]       "go-arch": "amd64",
[taskcluster 2026-08-18T18:27:22.192Z]       "go-os": "linux",
[taskcluster 2026-08-18T18:27:22.192Z]       "go-version": "go1.26.2",
[taskcluster 2026-08-18T18:27:22.192Z]       "release": "https://github.com/taskcluster/taskcluster/releases/tag/v99.1.0",
[taskcluster 2026-08-18T18:27:22.192Z]       "revision": "c76d61efe4bdc1a05bcec848739cd41ebf061f01",
[taskcluster 2026-08-18T18:27:22.192Z]       "source": "https://github.com/taskcluster/taskcluster/commits/c76d61efe4bdc1a05bcec848739cd41ebf061f01",
[taskcluster 2026-08-18T18:27:22.192Z]       "version": "99.1.0"
[taskcluster 2026-08-18T18:27:22.192Z]     },
[taskcluster 2026-08-18T18:27:22.192Z]     "image": "projects/community-tc-workers/global/images/generic-worker-ubuntu-24-04-aaynirqnxlbwcojgnbeo",
[taskcluster 2026-08-18T18:27:22.192Z]     "instance-id": "4832080670516387178",
[taskcluster 2026-08-18T18:27:22.192Z]     "instance-type": "projects/757942385826/machineTypes/n2-standard-2",
[taskcluster 2026-08-18T18:27:22.192Z]     "local-ipv4": "10.128.0.90",
[taskcluster 2026-08-18T18:27:22.192Z]     "machine-setup": {

...(149 lines hidden)...


invalid-syntax: Invalid annotated assignment target
   --> agents/frontend-triage/hackbot_agents/frontend_triage/config.py:128:5
    |
126 | SLACK_CHANNELS = {c.key: c.channel for c in TRIAGE_SCOPE}
127 |     "Toolkit :: Application Update": "#installer-updater-bug-triage",
128 |     "Firefox :: Installer": "#installer-updater-bug-triage",
    |     ^^^^^^^^^^^^^^^^^^^^^^
129 |     "Firefox :: Messaging System": "#omc-triage",
130 | }
    |

invalid-syntax: Expected a statement
   --> agents/frontend-triage/hackbot_agents/frontend_triage/config.py:128:60
    |
126 | SLACK_CHANNELS = {c.key: c.channel for c in TRIAGE_SCOPE}
127 |     "Toolkit :: Application Update": "#installer-updater-bug-triage",
128 |     "Firefox :: Installer": "#installer-updater-bug-triage",
    |                                                            ^
129 |     "Firefox :: Messaging System": "#omc-triage",
130 | }
    |

invalid-syntax: Expected a statement
   --> agents/frontend-triage/hackbot_agents/frontend_triage/config.py:128:61
    |
126 | SLACK_CHANNELS = {c.key: c.channel for c in TRIAGE_SCOPE}
127 |     "Toolkit :: Application Update": "#installer-updater-bug-triage",
128 |     "Firefox :: Installer": "#installer-updater-bug-triage",
    |                                                             ^
129 |     "Firefox :: Messaging System": "#omc-triage",
130 | }
    |

invalid-syntax: Invalid annotated assignment target
   --> agents/frontend-triage/hackbot_agents/frontend_triage/config.py:129:5
    |
127 |     "Toolkit :: Application Update": "#installer-updater-bug-triage",
128 |     "Firefox :: Installer": "#installer-updater-bug-triage",
129 |     "Firefox :: Messaging System": "#omc-triage",
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
130 | }
    |

invalid-syntax: Expected a statement
   --> agents/frontend-triage/hackbot_agents/frontend_triage/config.py:129:49
    |
127 |     "Toolkit :: Application Update": "#installer-updater-bug-triage",
128 |     "Firefox :: Installer": "#installer-updater-bug-triage",
129 |     "Firefox :: Messaging System": "#omc-triage",
    |                                                 ^
130 | }
    |

invalid-syntax: Expected a statement
   --> agents/frontend-triage/hackbot_agents/frontend_triage/config.py:129:50
    |
127 |     "Toolkit :: Application Update": "#installer-updater-bug-triage",
128 |     "Firefox :: Installer": "#installer-updater-bug-triage",
129 |     "Firefox :: Messaging System": "#omc-triage",
    |                                                  ^
130 | }
    |

invalid-syntax: Expected a statement
   --> agents/frontend-triage/hackbot_agents/frontend_triage/config.py:130:1
    |
128 |     "Firefox :: Installer": "#installer-updater-bug-triage",
129 |     "Firefox :: Messaging System": "#omc-triage",
130 | }
    | ^
131 |
132 | # What a `bugzilla.update_bug` from this agent may touch. Enforced at record time
    |

invalid-syntax: Expected a statement
   --> agents/frontend-triage/hackbot_agents/frontend_triage/config.py:130:2
    |
128 |     "Firefox :: Installer": "#installer-updater-bug-triage",
129 |     "Firefox :: Messaging System": "#omc-triage",
130 | }
    |  ^
131 |
132 | # What a `bugzilla.update_bug` from this agent may touch. Enforced at record time
    |

Found 12 errors.

ruff format..............................................................Failed
- hook id: ruff-format
- exit code: 2

warning: Selection `CPY` has no effect because preview is not enabled.
error: Failed to parse agents/frontend-triage/hackbot_agents/frontend_triage/config.py:127:1: Unexpected indentation
443 files left unchanged

check python ast.........................................................Failed
- hook id: check-ast
- exit code: 1

agents/frontend-triage/hackbot_agents/frontend_triage/config.py: failed parsing with CPython 3.12.14:

    Traceback (most recent call last):
      File "/root/.cache/pre-commit/repofzi2acp6/py_env-python3.12/lib/python3.12/site-packages/pre_commit_hooks/check_ast.py", line 21, in main
        ast.parse(f.read(), filename=filename)
      File "/usr/local/lib/python3.12/ast.py", line 52, in parse
        return compile(source, filename, mode, flags,
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "agents/frontend-triage/hackbot_agents/frontend_triage/config.py", line 127
        "Toolkit :: Application Update": "#installer-updater-bug-triage",
    IndentationError: unexpected indent

check docstring is first.................................................Passed
check that executables have shebangs.....................................Passed
check for merge conflicts................................................Passed
check for broken symlinks............................(no files to check)Skipped
debug statements (python)................................................Failed
- hook id: debug-statements
- exit code: 1

agents/frontend-triage/hackbot_agents/frontend_triage/config.py - Could not parse ast

	Traceback (most recent call last):
	  File "/root/.cache/pre-commit/repofzi2acp6/py_env-python3.12/lib/python3.12/site-packages/pre_commit_hooks/debug_statement_hook.py", line 57, in check_file
	    ast_obj = ast.parse(f.read(), filename=filename)
	              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
	  File "/usr/local/lib/python3.12/ast.py", line 52, in parse
	    return compile(source, filename, mode, flags,
	           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
	  File "agents/frontend-triage/hackbot_agents/frontend_triage/config.py", line 127
	    "Toolkit :: Application Update": "#installer-updater-bug-triage",
	IndentationError: unexpected indent

trim trailing whitespace.................................................Passed
check yaml...............................................................Passed
mixed line ending........................................................Passed
python tests naming......................................................Passed
check json...............................................................Passed
check vcs permalinks.....................................................Passed
codespell................................................................Passed
taskcluster_yml..........................................................Passed
Strip unnecessary `# noqa`s..............................................Passed
mypy-bugbug..............................................................Passed
mypy-bugbug-http.........................................................Passed
Check for useless excludes...............................................Passed
pre-commit hook(s) made changes.
If you are seeing this message in CI, reproduce locally with: `pre-commit run --all-files`.
To run `pre-commit` as part of git workflow, use `pre-commit install`.
All changes made by hooks:
diff --git a/agents/frontend-triage/README.md b/agents/frontend-triage/README.md
index 0b8d4cb1..9e78a59c 100644
--- a/agents/frontend-triage/README.md
+++ b/agents/frontend-triage/README.md
@@ -199,21 +199,22 @@ sends a New Tab Page run to `#hnt-dev-triage`.
 <<<<<<< HEAD
 Four things about that which are not obvious from reading the registry:
 ||||||| parent of 5d6d8e9c (Route Firefox :: Messaging System bugs to #omc-triage)
-| Product :: Component             | Channel                         |
+| Product :: Component | Channel |
 | -------------------------------- | ------------------------------- |
-| `Firefox :: New Tab Page`        | `#hnt-dev-triage`               |
-| `Firefox for Android :: History` | `#android-core-dev`             |
-| `Toolkit :: Application Update`  | `#installer-updater-bug-triage` |
-| `Firefox :: Installer`           | `#installer-updater-bug-triage` |
+| `Firefox :: New Tab Page` | `#hnt-dev-triage` |
+| `Firefox for Android :: History` | `#android-core-dev` |
+| `Toolkit :: Application Update` | `#installer-updater-bug-triage` |
+| `Firefox :: Installer` | `#installer-updater-bug-triage` |
 =======
-| Product :: Component             | Channel                         |
+| Product :: Component | Channel |
 | -------------------------------- | ------------------------------- |
-| `Firefox :: New Tab Page`        | `#hnt-dev-triage`               |
-| `Firefox for Android :: History` | `#android-core-dev`             |
-| `Toolkit :: Application Update`  | `#installer-updater-bug-triage` |
-| `Firefox :: Installer`           | `#installer-updater-bug-triage` |
-| `Firefox :: Messaging System`    | `#omc-triage`                   |
->>>>>>> 5d6d8e9c (Route Firefox :: Messaging System bugs to #omc-triage)
+| `Firefox :: New Tab Page` | `#hnt-dev-triage` |
+| `Firefox for Android :: History` | `#android-core-dev` |
+| `Toolkit :: Application Update` | `#installer-updater-bug-triage` |
+| `Firefox :: Installer` | `#installer-updater-bug-triage` |
+| `Firefox :: Messaging System` | `#omc-triage` |
+
+> > > > > > > 5d6d8e9c (Route Firefox :: Messaging System bugs to #omc-triage)
 
 - **The key is the component, not the team**, so two components may share a channel, as
   the installer and the updater do, without either knowing about the other.
[taskcluster 2026-08-18T18:29:51.465Z]                        Exit Code: 1
[taskcluster 2026-08-18T18:29:51.465Z]                        User Time: 44.316ms
[taskcluster 2026-08-18T18:29:51.465Z]                      Kernel Time: 51.702ms
[taskcluster 2026-08-18T18:29:51.465Z]                        Wall Time: 2m5.993331212s
[taskcluster 2026-08-18T18:29:51.465Z]  Average Available System Memory: 6.25 GiB
[taskcluster 2026-08-18T18:29:51.465Z]       Average System Memory Used: 1.50 GiB
[taskcluster 2026-08-18T18:29:51.465Z]          Peak System Memory Used: 1.90 GiB
[taskcluster 2026-08-18T18:29:51.465Z]              Total System Memory: 7.75 GiB
[taskcluster 2026-08-18T18:29:51.465Z]                           Result: FAILED
[taskcluster 2026-08-18T18:29:51.466Z] === Task Finished ===
[taskcluster 2026-08-18T18:29:51.466Z] Task Duration: 2m5.993911511s
[taskcluster:error] exit status 1