-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
revert: fixed window ratelimiting (#2116)
* chore: switch file names * revert: fixed window ratelimit * chore(workflows): update job_test_agent_integration.yaml to use pkg and services feat(workflows): add job_test_agent_local.yaml for testing agent locally feat(workflows): add test_agent_local job to pr.yaml for local agent testing * fix: use defer * fix(ratelimit): add timeout to mitigate request to prevent hanging connections test(ratelimit): fix loop condition in TestAccuracy_fixed_time to iterate correctly * chore(workflows): rename workflow from 'Test Agent Local' to 'Test Agent Integration' feat(workflows): update test job to run on integration tests directory feat(workflows): add environment variables for cluster test and agent base URL * chore(workflows): remove unnecessary inputs from workflow_call event in job_test_agent_local.yaml * refactor(ratelimit_test.go): simplify calculation of lower limit in test fix(ratelimit_test.go): fix calculation of upper limit in test * chore(workflows): rename test_agent_integration job to test_agent_local * test(ratelimit_mitigation_test.go): update test data for cluster sizes to include only 1, 3, and 5 nodes * chore: mute logs * fix(circuitbreaker): remove unnecessary log message in preflight function fix(ratelimit_replication_test): correct index to call Ratelimit on correct node
- Loading branch information
Showing
12 changed files
with
259 additions
and
231 deletions.
There are no files selected for viewing
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,25 @@ | ||
name: Test Agent Local | ||
on: | ||
workflow_call: | ||
|
||
|
||
|
||
jobs: | ||
test_agent_local: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 60 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install | ||
uses: ./.github/actions/install | ||
with: | ||
go: true | ||
|
||
|
||
- name: Build | ||
run: task build | ||
working-directory: apps/agent | ||
|
||
- name: Test | ||
run: go test -cover -json -timeout=60m -failfast ./pkg/... ./services/... | tparse -all -progress | ||
working-directory: apps/agent |
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
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
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
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.