Skip to content

Conversation

jinronga
Copy link
Contributor

@jinronga jinronga commented Aug 31, 2025

  • Replace instances of sync.WaitGroup with wg.Go for simpler concurrency management
  • Update multiple files across the client directory to use the new wg.Go pattern
  • This change improves code readability and reduces boilerplate in concurrent code

Description

Related Issue

Motivation and Context

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation Update (if none of the other choices apply)

Checklist

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.

@chlins
Copy link
Member

chlins commented Sep 1, 2025

@jinronga Please fix the CI.

@jinronga jinronga force-pushed the feat/go1.25 branch 2 times, most recently from 663890a to ba234be Compare September 2, 2025 15:52
- Replace instances of sync.WaitGroup with wg.Go for simpler concurrency management
- Update multiple files across the client directory to use the new wg.Go pattern
- This change improves code readability and reduces boilerplate in concurrent code

Signed-off-by: “jinrong” <[email protected]>
Signed-off-by: jinronga <[email protected]>
- Update Go version from 1.23.8 to 1.25 in Dockerfiles and build script
- Simplify build command in scheduler Dockerfile
- Remove redundant 'server-builder' stage in manager Dockerfile

Signed-off-by: “jinrong” <[email protected]>
Signed-off-by: jinronga <[email protected]>
- Update BASE_IMAGE to alpine3.22 in Dockerfiles for dfdaemon, manager, scheduler, and plugin-builder
- Update builder image to golang:1.25-alpine3.22 for dfdaemon
- Update builder image to golang:1.25-alpine3.20 for scheduler (keeping alpine3.20 for consistency with other changes)
- Update BASE_IMAGE to alpine3.22 in hack/docker-build.sh

Signed-off-by: “jinrong” <[email protected]>
Signed-off-by: jinronga <[email protected]>
- Enhance error messages with more context and consistency
- Optimize logging format for errors in peer task conductor and related components
- Improve error recording in trace spans
- Simplify error handling in various peer task functions

Signed-off-by: “jinrong” <[email protected]>
Signed-off-by: jinronga <[email protected]>
…pieceManager

- Consolidate error messages for content length mismatches in peerTaskConductor
- Simplify error creation in pieceManager for source response validation
- Enhance logging consistency and clarity across error handling

Signed-off-by: jinronga <[email protected]>
- Update BASE_IMAGE to alpine3.20 in Dockerfiles for dfdaemon, manager, scheduler, and plugin-builder
- Adjust builder image to golang:1.25-alpine3.20 for consistency across Dockerfiles
- Modify hack/docker-build.sh to reflect the new base image

Signed-off-by: jinronga <[email protected]>
- Upgrade GOLANG_VERSION from 1.23.8 to 1.25.0
- Update GOLANG_DOWNLOAD_URL and GOLANG_DOWNLOAD_SHA256 for the new version

Signed-off-by: jinronga <[email protected]>
- Change builder image from golang:1.25-alpine3.20 to golang:1.25.0 for dfdaemon, manager, scheduler, and plugin-builder Dockerfiles
- Mark client-rs subproject as dirty

Signed-off-by: jinronga <[email protected]>
@gaius-qi
Copy link
Member

gaius-qi commented Sep 3, 2025

@jinronga Please fix lint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants