[Cxx extension e2e] Disable DevToolsAiPromptApi [devtools/devtools-frontend : main]

0 views
Skip to first unread message

Wolfgang Beyer (Gerrit)

unread,
12:08 PM (11 hours ago) 12:08 PM
to Philip Pfaffe, Devtools-frontend LUCI CQ, devtools-rev...@chromium.org
Attention needed from Philip Pfaffe

Wolfgang Beyer voted and added 1 comment

Votes added by Wolfgang Beyer

Auto-Submit+1

1 comment

Patchset-level comments
File-level comment, Patchset 2 (Latest):
Wolfgang Beyer . resolved

Philip, PTAL.

There are crashes when running e2e-tests for the Cxx extensions. I can reproduce the crash locally and managed to track the reason down to the `window.LanguageModel.availability()` function call in https://crsrc.org/c/third_party/devtools-frontend/src/front_end/models/ai_assistance/BuiltInAi.ts;l=38.

However, gating behind a `if (window.LanguageModel?.availability)...` did not help. I could not repro the crash outside of e2e tests. Since I'm running out of ideas, I would like to simply disable the Prompt API for the tests, at least until https://crbug.com/456671382, which could be related, is fixed.

Open in Gerrit

Related details

Attention is currently required from:
  • Philip Pfaffe
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: devtools/devtools-frontend
Gerrit-Branch: main
Gerrit-Change-Id: I264c1fcbfecd1df70750f28bea3f020495f5ecdf
Gerrit-Change-Number: 7119778
Gerrit-PatchSet: 2
Gerrit-Owner: Wolfgang Beyer <wo...@chromium.org>
Gerrit-Reviewer: Philip Pfaffe <pfa...@chromium.org>
Gerrit-Reviewer: Wolfgang Beyer <wo...@chromium.org>
Gerrit-CC: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Attention: Philip Pfaffe <pfa...@chromium.org>
Gerrit-Comment-Date: Tue, 04 Nov 2025 17:08:12 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Philip Pfaffe (Gerrit)

unread,
12:12 PM (11 hours ago) 12:12 PM
to Wolfgang Beyer, Devtools-frontend LUCI CQ, devtools-rev...@chromium.org
Attention needed from Wolfgang Beyer

Philip Pfaffe voted

Code-Review+1
Commit-Queue+2
Open in Gerrit

Related details

Attention is currently required from:
  • Wolfgang Beyer
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: devtools/devtools-frontend
Gerrit-Branch: main
Gerrit-Change-Id: I264c1fcbfecd1df70750f28bea3f020495f5ecdf
Gerrit-Change-Number: 7119778
Gerrit-PatchSet: 2
Gerrit-Owner: Wolfgang Beyer <wo...@chromium.org>
Gerrit-Reviewer: Philip Pfaffe <pfa...@chromium.org>
Gerrit-Reviewer: Wolfgang Beyer <wo...@chromium.org>
Gerrit-CC: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Attention: Wolfgang Beyer <wo...@chromium.org>
Gerrit-Comment-Date: Tue, 04 Nov 2025 17:12:48 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Devtools-frontend LUCI CQ (Gerrit)

unread,
1:23 PM (10 hours ago) 1:23 PM
to Wolfgang Beyer, Philip Pfaffe, devtools-rev...@chromium.org

Devtools-frontend LUCI CQ submitted the change

Change information

Commit message:
[Cxx extension e2e] Disable DevToolsAiPromptApi
Bug: none
Change-Id: I264c1fcbfecd1df70750f28bea3f020495f5ecdf
Commit-Queue: Wolfgang Beyer <wo...@chromium.org>
Commit-Queue: Philip Pfaffe <pfa...@chromium.org>
Auto-Submit: Wolfgang Beyer <wo...@chromium.org>
Reviewed-by: Philip Pfaffe <pfa...@chromium.org>
Files:
  • M extensions/cxx_debugging/e2e/MochaRootHooks.ts
Change size: XS
Delta: 1 file changed, 1 insertion(+), 1 deletion(-)
Branch: refs/heads/main
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Philip Pfaffe
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: devtools/devtools-frontend
Gerrit-Branch: main
Gerrit-Change-Id: I264c1fcbfecd1df70750f28bea3f020495f5ecdf
Gerrit-Change-Number: 7119778
Gerrit-PatchSet: 3
Gerrit-Owner: Wolfgang Beyer <wo...@chromium.org>
Gerrit-Reviewer: Devtools-frontend LUCI CQ <devtools-fro...@luci-project-accounts.iam.gserviceaccount.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages