Skip to content

Commit

Permalink
ci: pdr tracking xnuts
Browse files Browse the repository at this point in the history
  • Loading branch information
mshanemc committed Oct 16, 2023
1 parent 5a85d53 commit f3abda1
Showing 1 changed file with 19 additions and 21 deletions.
40 changes: 19 additions & 21 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,26 +40,24 @@ jobs:
os: ${{ matrix.os }}
useCache: false
preSwapCommands: 'npx yarn-deduplicate; yarn install'
preExternalBuildCommands: 'shx rm -rf node_modules/@salesforce/sf-plugins-core/node_modules/@salesforce/core'
preExternalBuildCommands: 'shx rm -rf node_modules/@salesforce/sf-plugins-core/node_modules/@salesforce/core node_modules/@salesforce/cli-plugins-testkit/node_modules/@salesforce/core'
secrets: inherit
# hidden until we fix source-testkit to better handle jwt
# deployRetrieveNuts:
# needs: unit-tests
# uses: salesforcecli/github-workflows/.github/workflows/externalNut.yml@main
# strategy:
# fail-fast: false
# matrix:
# os: ['windows-latest-16x', 'ubuntu-latest-16x']
# command:
# - yarn test:nuts:deploy:metadata:manifest
# - yarn test:nuts:deploy:metadata:metadata
# - yarn test:nuts:deploy:metadata:source-dir
# - yarn test:nuts:deploy:metadata:test-level
# - yarn test:nuts:static
# with:
# packageName: '@salesforce/core'
# externalProjectGitUrl: 'https://github.com/salesforcecli/plugin-deploy-retrieve'
# preSwapCommands: 'yarn upgrade jsforce@beta; npx yarn-deduplicate; yarn install'
# command: ${{ matrix.command }}
# os: ${{ matrix.os }}
# secrets: inherit
deployRetrieveNuts:
needs: linux-unit-tests
uses: salesforcecli/github-workflows/.github/workflows/externalNut.yml@main
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest']
command:
- 'yarn test:nuts:tracking'
with:
packageName: '@salesforce/core'
externalProjectGitUrl: 'https://github.com/salesforcecli/plugin-deploy-retrieve'
preSwapCommands: 'npx yarn-deduplicate; yarn install'
command: ${{ matrix.command }}
os: ${{ matrix.os }}
preExternalBuildCommands: 'shx rm -rf node_modules/@salesforce/sf-plugins-core/node_modules/@salesforce/core node_modules/@salesforce/source-deploy-retrieve/node_modules/@salesforce/core node_modules/@salesforce/source-tracking/node_modules/@salesforce/core node_modules/@salesforce/cli-plugins-testkit/node_modules/@salesforce/core node_modules/@salesforce/source-testkit/node_modules/@salesforce/core'
secrets:
TESTKIT_AUTH_URL: ${{ secrets.TESTKIT_AUTH_URL }}

3 comments on commit f3abda1

@svc-cli-bot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Logger Benchmarks - ubuntu-latest

Benchmark suite Current: f3abda1 Previous: 079d73b Ratio
Child logger creation 458851 ops/sec (±5.40%) 517376 ops/sec (±6.80%) 1.13
Logging a string on root logger 458865 ops/sec (±9.51%) 506421 ops/sec (±10.00%) 1.10
Logging an object on root logger 316317 ops/sec (±11.54%) 290323 ops/sec (±12.78%) 0.92
Logging an object with a message on root logger 173307 ops/sec (±55.73%) 181607 ops/sec (±17.64%) 1.05
Logging an object with a redacted prop on root logger 240246 ops/sec (±16.74%) 189911 ops/sec (±18.82%) 0.79
Logging a nested 3-level object on root logger 1830 ops/sec (±223.06%) 8193 ops/sec (±186.55%) 4.48

This comment was automatically generated by workflow using github-action-benchmark.

@svc-cli-bot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Logger Benchmarks - ubuntu-latest'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.

Benchmark suite Current: f3abda1 Previous: 079d73b Ratio
Logging a nested 3-level object on root logger 1830 ops/sec (±223.06%) 8193 ops/sec (±186.55%) 4.48

This comment was automatically generated by workflow using github-action-benchmark.

@svc-cli-bot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Logger Benchmarks - windows-latest

Benchmark suite Current: f3abda1 Previous: 079d73b Ratio
Child logger creation 473199 ops/sec (±5.57%) 480184 ops/sec (±0.80%) 1.01
Logging a string on root logger 526434 ops/sec (±14.30%) 581472 ops/sec (±14.30%) 1.10
Logging an object on root logger 275832 ops/sec (±19.85%) 310618 ops/sec (±18.84%) 1.13
Logging an object with a message on root logger 189722 ops/sec (±21.89%) 170705 ops/sec (±22.63%) 0.90
Logging an object with a redacted prop on root logger 151718 ops/sec (±22.21%) 161247 ops/sec (±21.83%) 1.06
Logging a nested 3-level object on root logger 118406 ops/sec (±22.21%) 147727 ops/sec (±19.13%) 1.25

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.