Skip to content

Commit

Permalink
feat: replacement telemetry
Browse files Browse the repository at this point in the history
* feat: deployment telemetry includes replacement file count

* chore: auto-update metadata coverage in METADATA_SUPPORT.md

* test: record perf

Co-authored-by: svc-cli-bot <svc_cli_bot@salesforce.com>
  • Loading branch information
mshanemc and svc-cli-bot authored Jan 12, 2023
1 parent eca2b2c commit 4c442ea
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 12 deletions.
2 changes: 2 additions & 0 deletions METADATA_SUPPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,8 @@ v58 introduces the following new types. Here's their current level of support

|Metadata Type|Support|Notes|
|:---|:---|:---|
|ExternalDocStorageConfig||Not supported, but support could be added|
|PriceSheetDefinition||Not supported, but support could be added|

## Additional Types

Expand Down
1 change: 1 addition & 0 deletions src/client/metadataApiDeploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,7 @@ export class MetadataApiDeploy extends MetadataTransfer<
numberTestsCompleted: result.numberTestsCompleted,
numberTestsTotal: result.numberTestsTotal,
testsTotalTime: result.details?.runTestResult.totalTime,
filesWithReplacementsQuantity: this.replacements.size ?? 0,
});
} catch (err) {
const error = err as Error;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
[
{
"name": "componentSetCreate",
"duration": 196.28944300000148
"duration": 205.9563119999948
},
{
"name": "sourceToMdapi",
"duration": 5138.501059999995
"duration": 4378.968104
},
{
"name": "sourceToZip",
"duration": 4118.841407
"duration": 4546.189135999972
},
{
"name": "mdapiToSource",
"duration": 3295.1601250000094
"duration": 3211.6969230000104
}
]
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
[
{
"name": "componentSetCreate",
"duration": 405.9265069999965
"duration": 400.98173400000087
},
{
"name": "sourceToMdapi",
"duration": 7693.424826999995
"duration": 7388.940780999983
},
{
"name": "sourceToZip",
"duration": 6069.299276000005
"duration": 6964.524367000005
},
{
"name": "mdapiToSource",
"duration": 3702.1227639999997
"duration": 4194.718434999988
}
]
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
[
{
"name": "componentSetCreate",
"duration": 669.756081999978
"duration": 671.8695390000066
},
{
"name": "sourceToMdapi",
"duration": 9616.228885999997
"duration": 10004.596346000035
},
{
"name": "sourceToZip",
"duration": 8668.28584300002
"duration": 8548.78807000001
},
{
"name": "mdapiToSource",
"duration": 7084.855068000004
"duration": 7116.019726000028
}
]

0 comments on commit 4c442ea

Please sign in to comment.