Skip to content

chore: [#735] Remove github.com/RichardKnop/machinery#1140

Merged
hwbrzzl merged 1 commit intomasterfrom
bowen/#735
Jul 21, 2025
Merged

chore: [#735] Remove github.com/RichardKnop/machinery#1140
hwbrzzl merged 1 commit intomasterfrom
bowen/#735

Conversation

@hwbrzzl
Copy link
Contributor

@hwbrzzl hwbrzzl commented Jul 21, 2025

📑 Description

Closes goravel/goravel#735

It's not supported in v1.17 anymore.

✅ Checks

  • Added test cases for my code

Copilot AI review requested due to automatic review settings July 21, 2025 07:28
@hwbrzzl hwbrzzl requested a review from a team as a code owner July 21, 2025 07:28
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes support for the GitHub.com/RichardKnop/machinery queue driver from the Goravel framework, as it's no longer supported in v1.17. The changes systematically eliminate all machinery-related code, configuration, and dependencies while maintaining the existing queue system for other drivers.

  • Removes the "machinery" driver from queue system and updates supported drivers to sync, database, and custom only
  • Deletes all machinery-specific implementation files including driver, logging, and test files
  • Cleans up go.mod dependencies by removing machinery and its transitive dependencies

Reviewed Changes

Copilot reviewed 10 out of 11 changed files in this pull request and generated no comments.

Show a summary per file
File Description
queue/worker.go Removes machinery worker support and RunMachinery method
queue/setup/config/queue.go Removes machinery configuration example from queue connections
queue/driver_machinery_test.go Deletes entire machinery driver test suite
queue/driver_machinery_log.go Deletes machinery logging adapter implementation
queue/driver_machinery.go Deletes complete machinery driver implementation
queue/driver_creator_test.go Removes machinery driver test case from driver creator tests
queue/driver_creator.go Removes machinery driver case from driver creation logic
go.mod Removes machinery dependency and associated transitive dependencies
errors/list.go Removes machinery-specific error constant
contracts/queue/driver.go Removes DriverMachinery constant from supported drivers

@codecov
Copy link

codecov bot commented Jul 21, 2025

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 67.70%. Comparing base (226fcea) to head (234accf).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
queue/setup/config/queue.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1140      +/-   ##
==========================================
+ Coverage   66.83%   67.70%   +0.87%     
==========================================
  Files         215      213       -2     
  Lines       14071    13787     -284     
==========================================
- Hits         9404     9335      -69     
+ Misses       4291     4079     -212     
+ Partials      376      373       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@hwbrzzl hwbrzzl merged commit 73aa0e2 into master Jul 21, 2025
14 of 15 checks passed
@hwbrzzl hwbrzzl deleted the bowen/#735 branch July 21, 2025 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove github.com/RichardKnop/machinery

2 participants