feat: add bounded observability and verified SLO incident alerts

This commit is contained in:
Vladislav Agapov
2026-10-29 18:01:11 +03:00
parent 470d9d6f1e
commit 6c7601802d
325 changed files with 24988 additions and 44 deletions
+21
View File
@@ -0,0 +1,21 @@
name: Go correctness and per-file coverage
on: [push, pull_request]
jobs:
verify:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.26.1'
- run: sudo apt-get update && sudo apt-get install -y jq ruby webp
- run: go vet ./...
- run: test -z "$(gofmt -l cmd internal)"
- run: LOCAL_COVERAGE=true scripts/test-local.sh
- run: docker run --rm --entrypoint /bin/promtool -v "$PWD/charts/messenger/files/observability:/rules:ro" -v "$PWD/student-tests/alerts.test.yaml:/tests.yaml:ro" prom/prometheus:v3.5.0 test rules /tests.yaml
- uses: actions/upload-artifact@v4
if: always()
with:
name: coverage
path: coverage/summary.json