Skip to content

Conversation

@jackfranklin
Copy link
Contributor

This fixes the ImageDelivery insight which throws when we try to generate it
because of its dependency on core/i18n. The long term fix here is to
remove the reliance of models/trace on the core/i18n package, or at
least dependency inject it, but this is a quick fix to at least make
this insight available.

The irony is that we don't even use the string in the AI output; but if
we don't have the method available we cannot generate the insight.

This fixes part of #124 by making this insight not error. The other
required work for that bug is to deal with Insights that do error. That
work is done in DevTools, but we need to ship & roll a new version into
the MCP server.

@jackfranklin jackfranklin requested a review from OrKoN September 25, 2025 10:56
This fixes the ImageDelivery insight which throws when we try to generate it
because of its dependency on core/i18n. The long term fix here is to
remove the reliance of models/trace on the core/i18n package, or at
least dependency inject it, but this is a quick fix to at least make
this insight available.

The irony is that we don't even use the string in the AI output; but if
we don't have the method available we cannot generate the insight.

This fixes part of #124 by making this insight not error. The other
required work for that bug is to deal with Insights that do error. That
work is done in DevTools, but we need to ship & roll a new version into
the MCP server.
@OrKoN OrKoN force-pushed the jackfr/fixImageInsight branch from 15ad3c5 to 5c5452b Compare September 25, 2025 10:59
@OrKoN OrKoN merged commit d64ba0d into main Sep 25, 2025
16 checks passed
@OrKoN OrKoN deleted the jackfr/fixImageInsight branch September 25, 2025 11:38
OzTamir pushed a commit to OzTamir/chrome-devtools-mcp that referenced this pull request Sep 25, 2025
This fixes the ImageDelivery insight which throws when we try to
generate it
because of its dependency on core/i18n. The long term fix here is to
remove the reliance of models/trace on the core/i18n package, or at
least dependency inject it, but this is a quick fix to at least make
this insight available.

The irony is that we don't even use the string in the AI output; but if
we don't have the method available we cannot generate the insight.

This fixes part of ChromeDevTools#124 by making this insight not error. The other
required work for that bug is to deal with Insights that do error. That
work is done in DevTools, but we need to ship & roll a new version into
the MCP server.
OrKoN pushed a commit that referenced this pull request Sep 25, 2025
🤖 I have created a release *beep* *boop*
---


##
[0.3.0](chrome-devtools-mcp-v0.2.7...chrome-devtools-mcp-v0.3.0)
(2025-09-25)


### Features

* Add pagination list_network_requests
([#145](#145))
([4c909bb](4c909bb))


### Bug Fixes

* avoid reporting page close errors as errors
([#127](#127))
([44cfc8f](44cfc8f))
* clarify the node version message
([#135](#135))
([0cc907a](0cc907a))
* do not set channel if executablePath is provided
([#150](#150))
([03b59f0](03b59f0))
* **performance:** ImageDelivery insight errors
([#144](#144))
([d64ba0d](d64ba0d))
* roll latest DevTools to handle Insight errors
([#149](#149))
([b2e1e39](b2e1e39))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants