Commit Graph

2392 Commits

Author SHA1 Message Date
Harshita Sao 2ae56e2b71
feat: added the scorecard github action and its badge (#3440)
Signed-off-by: harshitasao <harshitasao@gmail.com>
2024-08-19 10:37:34 +08:00
Gaius d68e7073f5
chore: rename name_template to version_template in goreleaser
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-16 17:08:02 +08:00
Gaius 517aed732e
feat: optimize GetTaskJob and DeleteTaskJob (#3434)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-16 16:31:53 +08:00
Jim Ma 8516147df6
chore: export content range in http source (#3437)
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2024-08-16 16:09:39 +08:00
Jim Ma b6c92497d9
feat: add accept ranges header (#3433)
* feat: add accept ranges header
* chore: optimize content range for reuse

Signed-off-by: Jim Ma <majinjing3@gmail.com>
2024-08-15 18:56:30 +08:00
Chongzhi Deng 44658cf361
chore: fix typo (#3435)
Signed-off-by: BruceAko <chongzhi@hust.edu.cn>
2024-08-15 17:19:22 +08:00
Jim Ma 22913db39f
fix: reuse length check (#3432)
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2024-08-13 20:59:57 +08:00
Jim Ma 584b67d571
fix: start with zero half-open interval range (#3431)
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2024-08-13 19:34:58 +08:00
Asklv 5547307445
feat: add delete task and list tasks manager api with request type and service type. (#3378)
Signed-off-by: Asklv <boironic@gmail.com>
2024-08-13 11:01:01 +08:00
dependabot[bot] 53ba603b49
chore(deps): bump golang.org/x/sys from 0.22.0 to 0.24.0 (#3428)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.22.0 to 0.24.0.
- [Commits](https://github.com/golang/sys/compare/v0.22.0...v0.24.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  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-13 10:59:26 +08:00
Gaius 9eb1f0824b
chore: update rust client version (#3424)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-09 12:11:57 +08:00
Gaius 505d53b83c
chore: update client verison to v0.1.96 (#3420)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-07 14:24:51 +08:00
Gaius a35517cc9a
feat: remove unused context and update api version (#3412)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-06 15:47:02 +08:00
Jim Ma 9698903499
chore: optimize hijack ca format (#3418)
* chore: optimize hijack ca format

Signed-off-by: Jim Ma <majinjing3@gmail.com>

* chore: fix cert leaf

Signed-off-by: Jim Ma <majinjing3@gmail.com>

* fix: unit test

Signed-off-by: Jim Ma <majinjing3@gmail.com>

---------

Signed-off-by: Jim Ma <majinjing3@gmail.com>
2024-08-06 14:46:52 +08:00
dependabot[bot] 89e06a8bb9
chore(deps): bump github.com/schollz/progressbar/v3 from 3.14.4 to 3.14.6 (#3413)
chore(deps): bump github.com/schollz/progressbar/v3

Bumps [github.com/schollz/progressbar/v3](https://github.com/schollz/progressbar) from 3.14.4 to 3.14.6.
- [Release notes](https://github.com/schollz/progressbar/releases)
- [Commits](https://github.com/schollz/progressbar/compare/v3.14.4...v3.14.6)

---
updated-dependencies:
- dependency-name: github.com/schollz/progressbar/v3
  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-06 10:50:19 +08:00
dependabot[bot] bc6898ef1a
chore(deps): bump golang.org/x/sync from 0.7.0 to 0.8.0 (#3417)
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.7.0 to 0.8.0.
- [Commits](https://github.com/golang/sync/compare/v0.7.0...v0.8.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sync
  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-06 10:49:22 +08:00
Gaius 65688a52bf
chore: build service local in Dockerfile (#3411)
* chore: build service local in Dockerfile

Signed-off-by: Gaius <gaius.qi@gmail.com>

* feat: remove

Signed-off-by: Gaius <gaius.qi@gmail.com>

---------

Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-03 23:29:46 +08:00
Gaius 2a03952b0d
chore: add self-hosted runner for ci (#3409)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-03 17:50:27 +08:00
Gaius 97f21cfbf5
chore: update rust client version (#3403)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-31 13:26:39 +08:00
Gaius 934ce3a2b5
feat: use content.Background() to avoid stream cancel by dfdaemon (#3402)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-30 14:53:21 +08:00
dependabot[bot] 5d8108ef87
chore(deps): bump google.golang.org/api from 0.183.0 to 0.189.0 (#3400)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.183.0 to 0.189.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.183.0...v0.189.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  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-07-30 14:39:49 +08:00
dependabot[bot] 6ed4c128d9
chore(deps): bump github.com/redis/go-redis/v9 from 9.5.1 to 9.6.1 (#3399)
Bumps [github.com/redis/go-redis/v9](https://github.com/redis/go-redis) from 9.5.1 to 9.6.1.
- [Release notes](https://github.com/redis/go-redis/releases)
- [Changelog](https://github.com/redis/go-redis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/redis/go-redis/compare/v9.5.1...v9.6.1)

---
updated-dependencies:
- dependency-name: github.com/redis/go-redis/v9
  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-07-30 14:39:29 +08:00
dependabot[bot] 62df7482df
chore(deps): bump github.com/docker/docker from 27.0.3+incompatible to 27.1.1+incompatible (#3397)
chore(deps): bump github.com/docker/docker

Bumps [github.com/docker/docker](https://github.com/docker/docker) from 27.0.3+incompatible to 27.1.1+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v27.0.3...v27.1.1)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  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-07-30 14:39:10 +08:00
dependabot[bot] a5b0f91806
chore(deps): bump go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin from 0.52.0 to 0.53.0 (#3398)
chore(deps): bump go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin

Bumps [go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin](https://github.com/open-telemetry/opentelemetry-go-contrib) from 0.52.0 to 0.53.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.52.0...zpages/v0.53.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin
  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-07-30 14:38:46 +08:00
mchtech 83450d5924
fix: immediately flush data to client for event-stream response (#3375) 2024-07-29 12:20:36 +08:00
Gaius d2453b93d5
chore: update client version (#3395)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-26 16:19:57 +08:00
Jim Ma 6d21c53acc
chore: optimize tls cert expire check (#3394)
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2024-07-25 15:20:27 +08:00
dependabot[bot] 29ab308475
chore(deps): bump github.com/gin-contrib/gzip from 0.0.6 to 1.0.1 (#3390)
Bumps [github.com/gin-contrib/gzip](https://github.com/gin-contrib/gzip) from 0.0.6 to 1.0.1.
- [Release notes](https://github.com/gin-contrib/gzip/releases)
- [Changelog](https://github.com/gin-contrib/gzip/blob/master/.goreleaser.yaml)
- [Commits](https://github.com/gin-contrib/gzip/compare/v0.0.6...v1.0.1)

---
updated-dependencies:
- dependency-name: github.com/gin-contrib/gzip
  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-07-23 10:44:46 +08:00
dependabot[bot] 7b1f06c363
chore(deps): bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.52.0 to 0.53.0 (#3389)
chore(deps): bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc

Bumps [go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc](https://github.com/open-telemetry/opentelemetry-go-contrib) from 0.52.0 to 0.53.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.52.0...zpages/v0.53.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
  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-07-23 10:44:29 +08:00
Chongzhi Deng ac52afcb40
chore: update api verison to v2.0.141 (#3384)
Signed-off-by: BruceAko <chongzhi@hust.edu.cn>
2024-07-19 10:53:43 +08:00
dependabot[bot] 3b740db320
chore(deps): bump github.com/aws/aws-sdk-go from 1.54.15 to 1.54.19 (#3380)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.54.15 to 1.54.19.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.54.15...v1.54.19)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-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-07-16 10:32:24 +08:00
dependabot[bot] cd9760c544
chore(deps): bump go.opentelemetry.io/otel/sdk from 1.25.0 to 1.28.0 (#3379)
Bumps [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go) from 1.25.0 to 1.28.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.25.0...v1.28.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/sdk
  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-07-16 10:32:05 +08:00
Zyyeric b7fdbcbff9
refractor: fix typo in object storage.go (#3374)
fix typo

Signed-off-by: Zyyeric <eric1976808123@gmail.com>
2024-07-16 10:29:42 +08:00
Gaius c49bd20699
chore: update client and console version (#3376)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-15 10:51:43 +08:00
Gaius b2d034a8af
chore: update chart version for rust client (#3373)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-11 23:17:20 +08:00
dependabot[bot] c22af812f0
chore(deps): bump google.golang.org/grpc from 1.64.0 to 1.64.1 (#3371)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.64.0 to 1.64.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.64.0...v1.64.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-10 10:33:45 +08:00
Gaius 77b88ad717
feat: send config of the seed peer cluster for load limit (#3370)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-09 22:10:44 +08:00
dependabot[bot] 0c13292748
chore(deps): bump golang.org/x/crypto from 0.24.0 to 0.25.0 (#3365)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.24.0 to 0.25.0.
- [Commits](https://github.com/golang/crypto/compare/v0.24.0...v0.25.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  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-07-09 21:39:19 +08:00
dependabot[bot] 328fe4c5c2
chore(deps): bump github.com/huaweicloud/huaweicloud-sdk-go-obs from 3.23.12+incompatible to 3.24.6+incompatible (#3369)
chore(deps): bump github.com/huaweicloud/huaweicloud-sdk-go-obs

Bumps [github.com/huaweicloud/huaweicloud-sdk-go-obs](https://github.com/huaweicloud/huaweicloud-sdk-go-obs) from 3.23.12+incompatible to 3.24.6+incompatible.
- [Release notes](https://github.com/huaweicloud/huaweicloud-sdk-go-obs/releases)
- [Commits](https://github.com/huaweicloud/huaweicloud-sdk-go-obs/compare/v3.23.12...v3.24.6)

---
updated-dependencies:
- dependency-name: github.com/huaweicloud/huaweicloud-sdk-go-obs
  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-07-09 21:38:46 +08:00
dependabot[bot] 1875483c1f
chore(deps): bump github.com/aws/aws-sdk-go from 1.53.10 to 1.54.15 (#3368)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.53.10 to 1.54.15.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.53.10...v1.54.15)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  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-07-09 21:38:30 +08:00
dependabot[bot] 200257eb6c
chore(deps): bump go.opentelemetry.io/otel from 1.27.0 to 1.28.0 (#3366)
Bumps [go.opentelemetry.io/otel](https://github.com/open-telemetry/opentelemetry-go) from 1.27.0 to 1.28.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.27.0...v1.28.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel
  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-07-09 21:38:06 +08:00
Chlins Zhang ca419a64fb
refactor: update comments and define size constant for human readable (#3363)
Signed-off-by: suhan.zcy <suhan.zcy@antgroup.com>
Co-authored-by: suhan.zcy <suhan.zcy@antgroup.com>
2024-07-08 13:36:06 +08:00
Chongzhi Deng dc13a7cbd6
feat: delete the host after host leave peers during host manager gc (#3361)
Signed-off-by: BruceAko <chongzhi@hust.edu.cn>
2024-07-08 12:37:38 +08:00
Chongzhi Deng 8153e57ed1
feat: scheduler detects peer survivability and clears offline peers' metadata (#3353)
feat: scheduler detects peer survivability and clears offline peers

1. The Host GC method will remove hosts that did not announce in time and their peers' metadata.
2. The scheduler Host GC interval is lowered in order to detect non-surviving hosts in time.
3. Add unit tests.

Signed-off-by: BruceAko <chongzhi@hust.edu.cn>
2024-07-04 13:46:35 +08:00
Jim Ma 43ef996ed8
fix: file task uid gid (#3359)
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2024-07-03 19:51:07 +08:00
Jim Ma d66cf41c38
chore: avoid use default mux (#3346)
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2024-07-03 19:50:50 +08:00
ytq fae3613ff2
refactor: Preallocate pieceDigests slice in genMetadata for improved (#3325)
Signed-off-by: yantingqiu <1173578083@qq.com>
2024-07-03 14:47:45 +08:00
dependabot[bot] 430ef220c4
chore(deps): bump github.com/hashicorp/memberlist from 0.5.0 to 0.5.1 (#3356)
Bumps [github.com/hashicorp/memberlist](https://github.com/hashicorp/memberlist) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/hashicorp/memberlist/releases)
- [Commits](https://github.com/hashicorp/memberlist/compare/v0.5.0...v0.5.1)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/memberlist
  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-07-02 10:57:06 +08:00
dependabot[bot] 771cac4e7e
chore(deps): bump github.com/docker/docker from 26.1.1+incompatible to 27.0.3+incompatible (#3358)
chore(deps): bump github.com/docker/docker

Bumps [github.com/docker/docker](https://github.com/docker/docker) from 26.1.1+incompatible to 27.0.3+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v26.1.1...v27.0.3)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  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-07-02 10:56:26 +08:00
McCormickKneey 4f1046c851
rename container in compose config (#3351)
Signed-off-by: Cormick <cormick1080@gmail.com>
2024-06-28 15:05:46 +08:00