-
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.
feat(workflows): add job_test_agent_local.yaml for testing agent locally
feat(workflows): include test_agent_local job in pr.yaml workflow fix(circuitbreaker): remove unnecessary log message in preflight function refactor(ratelimit): add defer statement to unlock bucket in Mitigate function refactor(ratelimit): add context timeout and change log level to debug in broadcastMitigation function test(ratelimit): update clusterSize range in ratelimit_mitigation_test.go test(ratelimit): fix index out of range error in ratelimit_test.go fix(dashboard): update fullName value in createPlainIssue function
- Loading branch information
Showing
8 changed files
with
43 additions
and
17 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