Граф коммитов

110 Коммитов

Автор SHA1 Сообщение Дата
Haitao Chen e6f073749b
Update dependabot.yml 2024-08-19 13:40:31 -07:00
Milan Lesichkov b1a3e1c806
docstrings update (#105) 2024-08-19 13:38:25 -07:00
dependabot[bot] b0e8e28400
Bump github/codeql-action from 3.25.3 to 3.26.2 (#110)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.3 to 3.26.2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](d39d31e687...429e197704)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-19 13:37:50 -07:00
dependabot[bot] e4f1fb2e58
Bump ossf/scorecard-action from 2.3.1 to 2.4.0 (#107)
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](0864cf1902...62b2cac7ed)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-19 13:37:30 -07:00
dependabot[bot] 279d8ecf6e
Bump actions/setup-go from 5.0.0 to 5.0.2 (#101)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.0.0 to 5.0.2.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](0c52d547c9...0a12ed9d6a)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-19 13:36:52 -07:00
dependabot[bot] a8b8bfcf70
Bump codecov/codecov-action from 4.3.1 to 4.5.0 (#99)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.3.1 to 4.5.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](5ecb98a3c6...e28ff129e5)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-19 13:36:37 -07:00
dependabot[bot] b9d52561ec
Bump actions/checkout from 4.1.4 to 4.1.7 (#96)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.4 to 4.1.7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](0ad4b8fada...692973e3d9)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-19 13:36:15 -07:00
dependabot[bot] 83edda59d8
--- (#92)
updated-dependencies:
- dependency-name: step-security/harden-runner
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-21 23:56:21 -07:00
dependabot[bot] 5facb6a869
Bump actions/dependency-review-action from 4.0.0 to 4.3.2 (#82)
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.0.0 to 4.3.2.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](4901385134...0c155c5e85)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-03 00:04:49 -07:00
dependabot[bot] 75c191bd54
Bump codecov/codecov-action from 3.1.4 to 4.3.1 (#83)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.4 to 4.3.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](eaaf4bedf3...5ecb98a3c6)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-03 00:04:37 -07:00
dependabot[bot] a027d75bdb
Bump github/codeql-action from 3.23.1 to 3.25.3 (#80)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.23.1 to 3.25.3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](0b21cf2492...d39d31e687)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-03 00:04:04 -07:00
dependabot[bot] 16db4e7bde
Bump actions/checkout from 4.1.1 to 4.1.4 (#79)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.1 to 4.1.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](b4ffde65f4...0ad4b8fada)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-03 00:03:50 -07:00
dependabot[bot] 639dd6f864
Bump actions/upload-artifact from 4.3.0 to 4.3.3 (#77)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.0 to 4.3.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](26f96dfa69...65462800fd)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-03 00:03:33 -07:00
dependabot[bot] e0dc910901
Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#61)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.4 to 1.9.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-03 00:03:09 -07:00
dependabot[bot] 830fa83008
Bump step-security/harden-runner from 2.6.1 to 2.7.0 (#46)
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.6.1 to 2.7.0.
- [Release notes](https://github.com/step-security/harden-runner/releases)
- [Commits](eb238b55ef...63c24ba6bd)

---
updated-dependencies:
- dependency-name: step-security/harden-runner
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-08 16:43:58 -08:00
dependabot[bot] d78f933ea4
Bump actions/upload-artifact from 3.1.3 to 4.3.0 (#42)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.3 to 4.3.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](a8a3f3ad30...26f96dfa69)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-25 15:57:07 -08:00
dependabot[bot] 0412467a1e
Bump ossf/scorecard-action from 2.0.6 to 2.3.1 (#41)
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.0.6 to 2.3.1.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](99c53751e0...0864cf1902)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-25 15:56:44 -08:00
Haitao Chen 54a7520576
use go 1.21 (#40) 2024-01-23 11:24:28 -08:00
dependabot[bot] a959ff4750
Bump actions/checkout from 2.7.0 to 4.1.1 (#39)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.7.0 to 4.1.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.7.0...b4ffde65f46336ab88eb53be808477a3936bae11)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-23 11:06:21 -08:00
dependabot[bot] 4c59014e19
Bump codecov/codecov-action from 3.1.1 to 3.1.4 (#38)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.1.1 to 3.1.4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](d9f34f8cd5...eaaf4bedf3)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-23 11:04:19 -08:00
dependabot[bot] 1b7319ee55
Bump actions/dependency-review-action from 2.5.1 to 4.0.0 (#37)
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 2.5.1 to 4.0.0.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](0efb1d1d84...4901385134)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-23 11:03:58 -08:00
dependabot[bot] 16fd9352e7
Bump actions/setup-go from 4.1.0 to 5.0.0 (#36)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4.1.0 to 5.0.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](93397bea11...0c52d547c9)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-23 11:03:16 -08:00
dependabot[bot] 0461790153
Bump github/codeql-action from 2.23.1 to 3.23.1 (#35)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.23.1 to 3.23.1.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](4759df8df7...0b21cf2492)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-23 11:02:45 -08:00
StepSecurity Bot fb0131b82e
[StepSecurity] Apply security best practices (#34)
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
2024-01-23 10:14:53 -08:00
Haitao Chen 442a02a75b
remove restriction on return pointer value of TypeParameter (#33)
* remove pointer bind

* Change sync.Mutex to sync.RWMutex in Task struct

* Update go.mod to use go 1.20

* tweaks
2023-11-13 14:08:57 -08:00
alice_wang 4c78f32854
Merge pull request #32 from Xinyue-Wang/xinywa/succeed_fast
Add WaitAny
2023-06-27 16:54:14 -07:00
Xinyue.Wang 8d6c81f893 fix comment 2023-06-27 16:53:01 -07:00
Xinyue.Wang a612d9bc0c address comment 2023-06-27 16:39:04 -07:00
Xinyue.Wang 8110e1a011 add another test case 2023-06-27 16:23:46 -07:00
Xinyue.Wang 4e44750e40 add test coverage 2023-06-27 16:08:58 -07:00
Xinyue.Wang 545e7de116 fix test data race 2023-06-27 15:57:07 -07:00
Xinyue.Wang ddf77a56d4 add FailFast 2023-06-27 15:50:05 -07:00
Xinyue.Wang 1bb21b6703 add wait any 2023-06-26 13:54:34 -07:00
dependabot[bot] d9e07a1251
Bump github.com/stretchr/testify from 1.8.2 to 1.8.4 (#31)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.2 to 1.8.4.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.2...v1.8.4)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 15:08:52 -07:00
Haitao Chen cddffdf623
add gitignore (#29) 2023-04-05 13:36:56 -07:00
Haitao Chen a7094e40b4
waitall fix write on closed channel (#26)
* try fixing

* fix

* giveup on close channel

* drop variable

* minify diff

* minify changes

* minify changes

* try go leak

* tweaks on tests

* more tweaks on unittest

* merge master and tidy

* codecov improve
2023-04-05 11:50:17 -07:00
Haitao Chen e936ab2653
use codeql v2 (#28) 2023-04-04 23:19:51 -07:00
Haitao Chen 2921a0ede7
use go 1.19 (#27) 2023-04-04 23:15:06 -07:00
Haitao Chen 88a0dc1cc7
update go setup github action 2023-04-04 01:44:33 -07:00
dependabot[bot] 33f06ef21f
Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 (#25)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.1...v1.8.2)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-04 01:25:24 -07:00
Haitao Chen 34c5753c5c
fix waitAll (#23) 2022-11-17 14:08:11 -08:00
Haitao Chen 7cbff3077a bump version for checkout and gosetup as well 2022-11-01 00:26:51 -07:00
Haitao Chen e1798a5a8e bump codecov version 2022-11-01 00:23:31 -07:00
Haitao Chen 4621b563cf
after both, actionToFunc (#21)
* try afterBoth

* update after_both

* ActionToFunc

* more tweaks

* remove afterAll, ready to merge to main

* code coverage

* update comments
2022-10-27 15:55:38 -07:00
dependabot[bot] f9a3b6f047
Bump github.com/stretchr/testify from 1.8.0 to 1.8.1 (#22)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.0...v1.8.1)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-26 11:26:35 -07:00
Haitao Chen f755769b63
fix mutex gap (#20) 2022-09-07 11:49:48 -07:00
Haitao Chen c35056b790
race safe (#19)
* now race safe

* enable race in Github pipeline

* Microseconds isn't enough on github pipeline

* invoke cancelFunc to avoid context leak
2022-09-06 10:53:10 -07:00
dependabot[bot] c59d69d6ad
Bump github.com/stretchr/testify from 1.7.1 to 1.8.0 (#18)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.1 to 1.8.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.1...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-05 00:43:00 -07:00
Haitao Chen 22f82519b0
use generics for asyncTasks, no type assertion required (#14)
* tweaks

* add test for generic version

* continueFunc in generic

* somewhat working

* update to go 1.18
2022-05-31 13:49:21 -07:00
dependabot[bot] 55c33d025d
Bump github.com/stretchr/testify from 1.6.1 to 1.7.0 (#12)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.6.1...v1.7.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-25 11:09:48 -08:00