diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 404814091..6f1a91b48 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -43,7 +43,7 @@ autolabeler: title: - /fix/i - /bug/i - - /patch/i + - /resolve/i - label: docs files: - '*.md' @@ -59,6 +59,15 @@ autolabeler: - /update/i - /remove/i - /delete/i + - label: optimization + title: + - /opt:/i + - /refactor/i + - /optimize/i + - /improve/i + - /update/i + - /remove/i + - /delete/i - label: new feature title: - /feat:/i @@ -75,7 +84,7 @@ autolabeler: - label: chores title: - /chore/i - - /\bmisc\b/i + - /misc/i - /cleanup/i - /clean up/i - label: major diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 36e3b5ea5..5f1474644 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -32,7 +32,7 @@ jobs: # echo "GHE_HOST=${GITHUB_SERVER_URL##https:\/\/}" >> $GITHUB_ENV # Drafts your next Release notes as Pull Requests are merged into "master" - - uses: release-drafter/release-drafter@v5 + - uses: release-drafter/release-drafter@v6 # (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml # with: # config-name: my-config.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3e964a415..3cb3e46ae 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -94,7 +94,7 @@ jobs: run: go test -v -race -coverprofile="codecov.report" -covermode=atomic -timeout 15m -failfast - name: Upload the code coverage report to codecov.io - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v5 with: files: ./codecov.report flags: unittests diff --git a/.github/workflows/test_gc_opt.yml b/.github/workflows/test_gc_opt.yml index df99ae8e2..2660f976d 100644 --- a/.github/workflows/test_gc_opt.yml +++ b/.github/workflows/test_gc_opt.yml @@ -94,7 +94,7 @@ jobs: run: go test -v -race -tags=gc_opt -coverprofile="codecov.report" -covermode=atomic -timeout 15m -failfast - name: Upload the code coverage report to codecov.io - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v5 with: files: ./codecov.report flags: unittests diff --git a/.github/workflows/test_poll_opt.yml b/.github/workflows/test_poll_opt.yml index 5d5ae19fc..48898fe91 100644 --- a/.github/workflows/test_poll_opt.yml +++ b/.github/workflows/test_poll_opt.yml @@ -90,7 +90,7 @@ jobs: run: go test -v -tags=poll_opt -coverprofile="codecov.report" -covermode=atomic -timeout 10m -failfast - name: Upload the code coverage report to codecov.io - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v5 with: files: ./codecov.report flags: unittests diff --git a/.github/workflows/test_poll_opt_gc_opt.yml b/.github/workflows/test_poll_opt_gc_opt.yml index a5aef4062..61c6ab461 100644 --- a/.github/workflows/test_poll_opt_gc_opt.yml +++ b/.github/workflows/test_poll_opt_gc_opt.yml @@ -90,7 +90,7 @@ jobs: run: go test -v -tags=poll_opt,gc_opt -coverprofile="codecov.report" -covermode=atomic -timeout 10m -failfast - name: Upload the code coverage report to codecov.io - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v5 with: files: ./codecov.report flags: unittests diff --git a/connection_unix.go b/connection_unix.go index ff22a7e22..ac669d4b5 100644 --- a/connection_unix.go +++ b/connection_unix.go @@ -252,7 +252,6 @@ func (c *conn) asyncWrite(a any) (err error) { }() if !c.opened { - c.outboundBuffer.Release() // release all remaining bytes in the outbound buffer return net.ErrClosed } @@ -274,7 +273,6 @@ func (c *conn) asyncWritev(a any) (err error) { }() if !c.opened { - c.outboundBuffer.Release() // release all remaining bytes in the outbound buffer return net.ErrClosed }