Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions .github/workflows/backend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:

steps:
- name: Check out etherpad-load-test
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
path: ./loadtest

- name: Check out Etherpad core
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
repository: ether/etherpad-lite
path: ./etherpad
Expand Down Expand Up @@ -78,6 +78,15 @@ jobs:
# The previous step (runnerLoadTest.sh) tore Etherpad down, so
# bring a minimal one back up just for the sweep integration test.
cd ./etherpad
# The sweep drives 2..4 authors from a single IP (127.0.0.1). Core's
# default commitRateLimiting is 10 changes/s/IP, so the 4-author step
# (~20 changes/s) trips the limiter; a rate-limited USER_CHANGES never
# gets an ACCEPT_COMMIT, which stalls the cli-client's in-flight slot
# and zeroes out that step's latency samples. Raise the cap for the
# SUT so we measure throughput, not the rate limiter (mirrors the
# importExportRateLimiting bump runnerLoadTest.sh already applies).
sed -e '/^ *"commitRateLimiting":/,/^ *\}/ s!"points":[^,]*!"points": 1000000!' -i settings.json
grep -q '"points": 1000000' settings.json # fail fast if the limiter wasn't raised
(cd src && pnpm run prod &)
for i in $(seq 1 60); do
curl -sf http://127.0.0.1:9001/ >/dev/null && break
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cpu-profile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ jobs:

steps:
- name: Checkout etherpad-load-test
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
path: ./loadtest

- name: Checkout etherpad core (${{ inputs.core_ref }})
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
repository: ether/etherpad
ref: ${{ inputs.core_ref }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
fetch-depth: 0

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/scaling-dive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ jobs:

steps:
- name: Checkout etherpad-load-test
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
path: ./loadtest

- name: Checkout etherpad core (${{ inputs.core_ref }})
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
repository: ether/etherpad
ref: ${{ inputs.core_ref }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"contributors": [],
"dependencies": {
"etherpad-cli-client": "^4.0.2",
"etherpad-cli-client": "^4.0.3",
"hdr-histogram-js": "^3.0.1"
},
"devDependencies": {
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading