-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
163 changed files
with
9,026 additions
and
10,866 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: create-github-release | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- prerelease/** | ||
tags-ignore: | ||
- '*' | ||
workflow_dispatch: | ||
inputs: | ||
prerelease: | ||
type: string | ||
description: 'Name to use for the prerelease: beta, dev, etc. NOTE: If this is already set in the package.json, it does not need to be passed in here.' | ||
|
||
jobs: | ||
release: | ||
uses: salesforcecli/github-workflows/.github/workflows/create-github-release.yml@main | ||
secrets: inherit | ||
with: | ||
prerelease: ${{ inputs.prerelease }} | ||
# If this is a push event, we want to skip the release if there are no semantic commits | ||
# However, if this is a manual release (workflow_dispatch), then we want to disable skip-on-empty | ||
# This helps recover from forgetting to add semantic commits ('fix:', 'feat:', etc.) | ||
skip-on-empty: ${{ github.event_name == 'push' }} | ||
docs: | ||
needs: release | ||
if: github.ref_name == 'main' | ||
uses: salesforcecli/github-workflows/.github/workflows/publishTypedoc.yml@main | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# runs some very-large-repo tests (for windows filesystem limits) and commits perf results for comparison | ||
name: perf-tests | ||
on: | ||
push: | ||
branches-ignore: [main, gh-pages] | ||
workflow_dispatch: | ||
|
||
# linux will finish ahead of windows, but prevent other branches/commits from hitting simultaneously | ||
# since we're pushing git commits and there would be conflicts | ||
concurrency: perf-test | ||
|
||
jobs: | ||
perf-tests: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, windows-latest] | ||
fail-fast: false | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
cache: yarn | ||
- uses: salesforcecli/github-workflows/.github/actions/yarnInstallWithRetries@main | ||
- run: yarn build | ||
- run: npm run test:perf | tee test/perf/output.txt | ||
|
||
# Run `github-action-benchmark` action | ||
- name: Store benchmark result | ||
uses: benchmark-action/github-action-benchmark@5bbce78ef18edf5b96cb2d23e8d240b485f9dc4a | ||
with: | ||
name: Logger Benchmarks - ${{ matrix.os }} | ||
tool: 'benchmarkjs' | ||
output-file-path: test/perf/output.txt | ||
comment-on-alert: true | ||
# Push and deploy GitHub pages branch automatically | ||
# this has a bug where it creates duplicate commits when summary-always and aut-push are both true | ||
# summary-always: true | ||
comment-always: true | ||
benchmark-data-dir-path: perf-${{ runner.os}} | ||
auto-push: true | ||
github-token: ${{ secrets.SVC_CLI_BOT_GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,5 +4,5 @@ | |
"watch-files": ["src", "test"], | ||
"recursive": true, | ||
"reporter": "spec", | ||
"timeout": 10000 | ||
"timeout": 20000 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
25fefb1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Logger Benchmarks - ubuntu-latest
Child logger creation
478722
ops/sec (±0.51%
)476616
ops/sec (±1.29%
)1.00
Logging a string on root logger
751423
ops/sec (±11.04%
)788221
ops/sec (±6.51%
)1.05
Logging an object on root logger
588834
ops/sec (±9.15%
)603584
ops/sec (±9.84%
)1.03
Logging an object with a message on root logger
12095
ops/sec (±198.38%
)8316
ops/sec (±207.01%
)0.69
Logging an object with a redacted prop on root logger
415602
ops/sec (±9.62%
)461785
ops/sec (±9.52%
)1.11
Logging a nested 3-level object on root logger
368126
ops/sec (±6.31%
)387465
ops/sec (±7.00%
)1.05
This comment was automatically generated by workflow using github-action-benchmark.
25fefb1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Logger Benchmarks - windows-latest
Child logger creation
335703
ops/sec (±0.86%
)316559
ops/sec (±0.92%
)0.94
Logging a string on root logger
797196
ops/sec (±6.22%
)734913
ops/sec (±6.00%
)0.92
Logging an object on root logger
623078
ops/sec (±6.35%
)566267
ops/sec (±4.03%
)0.91
Logging an object with a message on root logger
5360
ops/sec (±211.19%
)13216
ops/sec (±188.13%
)2.47
Logging an object with a redacted prop on root logger
452514
ops/sec (±9.19%
)469408
ops/sec (±6.72%
)1.04
Logging a nested 3-level object on root logger
333832
ops/sec (±4.56%
)321469
ops/sec (±5.82%
)0.96
This comment was automatically generated by workflow using github-action-benchmark.
25fefb1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible performance regression was detected for benchmark 'Logger Benchmarks - windows-latest'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold
2
.Logging an object with a message on root logger
5360
ops/sec (±211.19%
)13216
ops/sec (±188.13%
)2.47
This comment was automatically generated by workflow using github-action-benchmark.