Skip to content

Conversation

@anuunchin
Copy link
Contributor

This PR just explicitly passes the required keyword arguments to the drop_pipeline. Previously, global arguments that were being passed upstream were causing an unexpected argument error.

Resolved #3379

On that note, a better solution may be to filter out global arguments before they reach the def execute() of PipelineCommand(), because they are not being used anyway.

@anuunchin anuunchin self-assigned this Nov 26, 2025
@anuunchin anuunchin requested a review from rudolfix November 26, 2025 10:06
state_paths=command_kwargs.get("state_paths", ()),
drop_all=command_kwargs.get("drop_all", False),
state_only=command_kwargs.get("state_only", False),
)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We could also inspect the signature of pipeline_drop and make this more dynamic 👀

Copy link
Collaborator

@rudolfix rudolfix left a comment

Choose a reason for hiding this comment

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

LGTM! thanks for fixing this and the test

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Nov 26, 2025

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
docs 1b6ac4d Commit Preview URL

Branch Preview URL
Nov 26 2025, 11:18 AM

@anuunchin anuunchin merged commit 91eacbf into devel Nov 26, 2025
70 of 71 checks passed
@anuunchin anuunchin deleted the fix/3379-drop-bug branch November 26, 2025 14:54
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.

Unable to drop pipeline resources using CLI

3 participants