Skip to content

Investigate high extension install error rate #190233

@isidorn

Description

@isidorn

@dtivel discovered that we are having a high error rate of extension install.

Here are some kusto queries with interesting results:

RawEventsVSCode
| where ServerUploadTimestamp < ago(1d)
| where EventName == 'monacoworkbench/extensiongallery:install'
| summarize total_count = count(), failure_count = countif(Measures["success"] == 0.0) by bin(ServerUploadTimestamp, 1d)
| extend failure_percentage = todouble(failure_count) / total_count * 100
| project ServerUploadTimestamp, failure_percentage
| render timechart

Screenshot 2023-08-11 at 10 47 34

And here is the ErrorCodeDetail

RawEventsVSCode
| where ServerUploadTimestamp > ago(60d)
| where EventName == 'monacoworkbench/extensiongallery:install'
| where Measures["success"] == 0.0
| summarize count() by tostring(Properties["errorcode"])
| order by count_ desc

Properties_errorcode count_
Internal 10,542,542
Download 5,688,506
CorruptZip 3,909,848
Incompatible 2,331,489
Extract 780,667
IncompatiblePreRelease 453,860
Signature 227,637
incompatible 120,565
EPERM 88,294
EACCES 74,313
unknown 67,296
Invalid 51,401
Delete 28,992
downloading 27,435
ReleaseVersionNotFound 20,460
  8,735
gallery

@sandy081 why do we have such a high failure rate? What is the Internal error code?
It looks like there is a high error rate on work days when there is a higher load on MP service so it also might be influenced by the service.

I can not go back more in time than 10 months to check if we always had these error rates.
Error rates on extension update are considerably lower.

fyi @joaomoreno

Metadata

Metadata

Assignees

Labels

debtCode quality issuesextensionsIssues concerning extensions

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions