From 9e19f4a51ceefb6b0877ec5617136e3218011098 Mon Sep 17 00:00:00 2001 From: denq Date: Mon, 2 Mar 2026 14:08:12 +0300 Subject: [PATCH 1/3] try --- .github/workflows/go.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/go.yml diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml new file mode 100644 index 0000000..6f25b6e --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,31 @@ +name: L-36 CI Pipeline (Future Tech 1.26) + +on: + push: + branches: [ "master", "main", "shards", "cicd" ] + pull_request: + branches: [ "master", "main", "cicd" ] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Set up Go 1.26 + uses: actions/setup-go@v5 + with: + go-version: '1.26.0' + check-latest: true + + - name: Install dependencies + run: go mod tidy + + - name: Run Unit Tests with Race Detector + run: go test -v -race ./internal/... + + - name: Run Heavy Stress Test + run: | + sudo sysctl -w net.ipv4.ip_local_port_range="1024 65535" + sudo sysctl -w net.ipv4.tcp_tw_reuse=1 + go test -v ./tests/stress/... -run TestE2EFullLifecycleStress From 1b902d318151629d998194b17d63884e492db3bd Mon Sep 17 00:00:00 2001 From: denq Date: Mon, 2 Mar 2026 14:12:37 +0300 Subject: [PATCH 2/3] try --- .github/workflows/go.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 6f25b6e..deb63b3 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -1,4 +1,4 @@ -name: L-36 CI Pipeline (Future Tech 1.26) +name: L-36 CI Pipeline on: push: @@ -12,20 +12,21 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up Go 1.26 + - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.26.0' - check-latest: true + go-version: '1.22' + cache: true - name: Install dependencies - run: go mod tidy + run: make install - - name: Run Unit Tests with Race Detector - run: go test -v -race ./internal/... + - name: Run Race Detector + run: make race - name: Run Heavy Stress Test run: | sudo sysctl -w net.ipv4.ip_local_port_range="1024 65535" sudo sysctl -w net.ipv4.tcp_tw_reuse=1 - go test -v ./tests/stress/... -run TestE2EFullLifecycleStress + + make stress From 038cff78857c3f3e08069c765952e450c79a5dd1 Mon Sep 17 00:00:00 2001 From: denq Date: Mon, 2 Mar 2026 14:21:51 +0300 Subject: [PATCH 3/3] Done --- .github/workflows/go.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index deb63b3..0f37477 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -2,9 +2,7 @@ name: L-36 CI Pipeline on: push: - branches: [ "master", "main", "shards", "cicd" ] - pull_request: - branches: [ "master", "main", "cicd" ] + branches: [ "**" ] jobs: test: