Skip to content

4.x#477

Open
atkrad wants to merge 43 commits intomainfrom
4.x
Open

4.x#477
atkrad wants to merge 43 commits intomainfrom
4.x

Conversation

@atkrad
Copy link
Member

@atkrad atkrad commented Oct 23, 2025

No description provided.

dependabot bot and others added 15 commits August 27, 2025 19:28
Bumps [github.com/segmentio/kafka-go](https://github.com/segmentio/kafka-go) from 0.4.48 to 0.4.49.
- [Release notes](https://github.com/segmentio/kafka-go/releases)
- [Commits](segmentio/kafka-go@v0.4.48...v0.4.49)

---
updated-dependencies:
- dependency-name: github.com/segmentio/kafka-go
  dependency-version: 0.4.49
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.9.1 to 1.10.1.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](spf13/cobra@v1.9.1...v1.10.1)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-version: 1.10.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [go.temporal.io/api](https://github.com/temporalio/api-go) from 1.51.0 to 1.55.0.
- [Release notes](https://github.com/temporalio/api-go/releases)
- [Commits](temporalio/api-go@v1.51.0...v1.55.0)

---
updated-dependencies:
- dependency-name: go.temporal.io/api
  dependency-version: 1.55.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.40.0 to 0.46.0.
- [Commits](golang/net@v0.40.0...v0.46.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.46.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
- Added support for building both Alpine and Debian variants of the Docker image in `docker-bake.hcl`.
- Introduced a common target for shared configurations and updated the default image target to use Alpine.
- Modified the `Dockerfile` to accept a base variant argument, allowing for dynamic selection between Alpine and Debian images.
- Updated CI workflow to build and push both Alpine and Debian images with appropriate metadata actions.
- Added detailed sections for Alpine and Debian Docker image variants.
- Included commands for pulling and running both image types.
- Provided tags for image variants to assist users in selecting the appropriate version based on their needs.
…riant arguments are correctly set

- Reorganized the Dockerfile to preserve the artifact stage definition.
- Ensured the base variant arguments for Alpine and Debian are properly configured for dynamic image selection.
- Adjusted the `max-parallelism` setting in the CI configuration to enhance build efficiency.
…er wait strategy

- Changed the wait strategy in the MySQL test suite from port 33060 to 3306/tcp to ensure proper connection handling during tests.
- Changed the module name in `go.mod`, `doc.go`, and `Makefile` to reflect the new version.
- Updated import paths in all relevant files to use the new module version.
- Adjusted README and example files to guide users on the new import paths and installation commands.
…sion 4.0.0

- Removed the deprecated `log-level` flag from the root command in `root.go`.
- Updated the Dockerfile to eliminate the SHA256SUMS generation step, aligning with the upcoming version changes.
- Modified the CI workflow to replace the old image name `atkrad/wait4x` with the new `wait4x/wait4x` for consistency.
- Modified the MySQL test suite to use a log-based wait strategy for MySQL Community Server.
- Updated the PostgreSQL test suite to utilize a dynamic connection string for executing SQL commands, ensuring proper SSL mode configuration.
- Updated the TestExpectTable method to create a table directly using the psql command with specified parameters.
- Ensured the connection string is retrieved after the table creation for proper execution of subsequent tests.
@coveralls
Copy link

coveralls commented Oct 24, 2025

Coverage Status

coverage: 53.139% (-1.6%) from 54.783%
when pulling 4e5afbc on 4.x
into 06b5a9f on main.

atkrad and others added 14 commits October 24, 2025 08:52
- Modified the TestInvalidConnection method to use localhost:8080, aligning with MySQL test patterns for immediate connection refusal.
- Adjusted SSL mode to 'disable' for the new connection string.
…x/net-0.46.0

Bump golang.org/x/net from 0.40.0 to 0.46.0
….io/api-1.55.0

Bump go.temporal.io/api from 1.51.0 to 1.55.0
Bumps the docker group with 2 updates in the / directory: tonistiigi/xx and golang.


Updates `tonistiigi/xx` from 1.6.1 to 1.7.0

Updates `golang` from 1.24-alpine3.22 to 1.25-alpine3.22

---
updated-dependencies:
- dependency-name: tonistiigi/xx
  dependency-version: 1.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: docker
- dependency-name: golang
  dependency-version: 1.25-alpine3.22
  dependency-type: direct:production
  dependency-group: docker
...

Signed-off-by: dependabot[bot] <[email protected]>
…segmentio/kafka-go-0.4.49

Bump github.com/segmentio/kafka-go from 0.4.48 to 0.4.49
…spf13/cobra-1.10.1

Bump github.com/spf13/cobra from 1.9.1 to 1.10.1
…unnecessary lines

- Changed the update schedule for Docker, Go modules, and GitHub Actions from daily to weekly.
- Removed reviewer entries and marked target-branch lines for deletion prior to the v4.0.0 release.
Bump the docker group across 1 directory with 2 updates
- Bumped versions for several dependencies including:
  - github.com/spf13/cobra from v1.10.1 to v1.10.1
  - github.com/stretchr/testify from v1.11.0 to v1.11.1
  - google.golang.org/grpc from v1.71.0 to v1.76.0
  - github.com/antchfx/xpath from v1.3.3 to v1.3.5
  - github.com/cenkalti/backoff from v4.3.0 to v5.0.3
  - github.com/docker/docker from v28.3.3 to v28.5.1
  - github.com/ebitengine/purego from v0.8.4 to v0.9.0
  - github.com/fsnotify/fsnotify from v1.8.0 to v1.9.0
  - github.com/grpc-ecosystem/grpc-gateway/v2 from v2.26.3 to v2.27.3
  - Updated various indirect dependencies to their latest versions.

This update ensures compatibility with the latest features and fixes in the respective libraries.
…f context.TODO()

- Updated multiple test cases across http_test.go, contextutil_test.go, and waiter_test.go to replace context.TODO() with context.Background().
- This change improves clarity and consistency in context management within the tests.
- Updated the Makefile to include new targets for running integration tests and all tests (unit + integration).
- Added integration test support to multiple test files for Kafka, MongoDB, MySQL, PostgreSQL, RabbitMQ, Redis, and MySQL command tests.
- Improved clarity in existing test targets by specifying unit tests and coverage reporting.

This update facilitates better testing practices and ensures integration tests can be executed seamlessly.
atkrad and others added 14 commits October 24, 2025 14:01
- Updated the GitHub Actions CI configuration to include separate jobs for unit and integration tests.
- Added steps to upload coverage reports for both unit and integration tests.
- Introduced a new job to merge coverage reports and generate a consolidated coverage output.
- Updated the .gitignore file to include new coverage report files.

This update improves the testing process and ensures comprehensive coverage reporting for both unit and integration tests.
- Updated the `filter_coverage` command in the Makefile to read from `coverage.out.tmp` instead of using output redirection.
- This change enhances the readability of the command and maintains the functionality of generating the coverage report.

This update streamlines the test coverage reporting process in the build workflow.
- Introduced a new gRPC health checker in the `checker/grpc` package, allowing users to check the health of gRPC servers using the standard health checking protocol.
- Added examples demonstrating the usage of the gRPC health checker in the `examples/pkg/grpc_health` directory.
- Updated the command-line interface to include a new `grpc` command for checking gRPC server health.
- Enhanced the README and example documentation to reflect the new gRPC health check functionality.

This update improves the Wait4X application by providing support for gRPC health checks, making it easier for users to monitor the health of their gRPC services.
- Updated PostgreSQL test cases to consistently use the `sslmode=disable` parameter in the connection string.
- Adjusted the instantiation of the checker to remove redundant `sslmode=disable` concatenation, improving clarity and consistency in the tests.

This change enhances the readability of the PostgreSQL test suite and ensures proper connection handling.
Add gRPC health checker and update documentation
- Updated the SQL queries in both MySQL and PostgreSQL checkers to use parameterized queries for improved security and performance.
- Adjusted the PostgreSQL test connection handling to wait for specific log messages, enhancing the reliability of the test setup.

These changes enhance the robustness and maintainability of the database checkers.
- Changed the Redis import path from `github.com/go-redis/redis/v8` to `github.com/redis/go-redis/v9` in both `redis.go` and `redis_test.go` files.
- Updated `go.mod` to replace the old Redis dependency with the new version and removed the unused `fsnotify` dependency.

These changes ensure compatibility with the latest Redis library and clean up the dependency list.
Update Redis dependency from v8 to v9 and remove unused dependencies
Switch to the Fang library to improve readability of the manuals #440
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.

3 participants