FEATURE (agent): Extend WAL logging

This commit is contained in:
Rostislav Dugin
2026-03-20 13:38:11 +03:00
parent 82d615545b
commit 2c4e3e567b
2 changed files with 19 additions and 3 deletions

View File

@@ -9,6 +9,7 @@ on:
jobs:
lint-backend:
if: github.ref != 'refs/heads/develop'
runs-on: self-hosted
container:
image: golang:1.26.1
@@ -55,6 +56,7 @@ jobs:
git diff --exit-code go.mod go.sum || (echo "go mod tidy made changes, please run 'go mod tidy' and commit the changes" && exit 1)
lint-frontend:
if: github.ref != 'refs/heads/develop'
runs-on: ubuntu-latest
steps:
- name: Check out code
@@ -87,6 +89,7 @@ jobs:
npm run build
lint-agent:
if: github.ref != 'refs/heads/develop'
runs-on: ubuntu-latest
steps:
- name: Check out code
@@ -120,6 +123,7 @@ jobs:
git diff --exit-code go.mod go.sum || (echo "go mod tidy made changes, please run 'go mod tidy' and commit the changes" && exit 1)
test-frontend:
if: github.ref != 'refs/heads/develop'
runs-on: ubuntu-latest
needs: [lint-frontend]
steps:
@@ -142,6 +146,7 @@ jobs:
npm run test
test-agent:
if: github.ref != 'refs/heads/develop'
runs-on: ubuntu-latest
needs: [lint-agent]
steps:
@@ -165,6 +170,7 @@ jobs:
go test -count=1 -failfast ./internal/...
e2e-agent:
if: github.ref != 'refs/heads/develop'
runs-on: ubuntu-latest
needs: [lint-agent]
steps:
@@ -184,6 +190,7 @@ jobs:
rm -rf artifacts || true
e2e-agent-backup-restore:
if: github.ref != 'refs/heads/develop'
runs-on: ubuntu-latest
needs: [lint-agent]
strategy:
@@ -209,6 +216,7 @@ jobs:
# Self-hosted: performant high-frequency CPU is used to start many containers and run tests fast. Tests
# step is bottle-neck, because we need a lot of containers and cannot parallelize tests due to shared resources
test-backend:
if: github.ref != 'refs/heads/develop'
runs-on: self-hosted
needs: [lint-backend]
container:
@@ -539,7 +547,6 @@ jobs:
build-and-push-dev:
runs-on: self-hosted
needs: [test-backend, test-frontend, test-agent, e2e-agent, e2e-agent-backup-restore]
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/develop' }}
steps:
- name: Clean workspace