humanmade / humanmade/S3-Uploads

Catch 404 response when wp cli `rm` command is used

Open
#690 0 comments 0 reactions 0 assignees View on GitHub
Enhancement to refine
Dominant language
PHP
Stars
2.2k
Forks
404
PR merge metrics
No merged PRs in 30d

Description

currently if you try to run `wp s3-uploads rm` and pass in a path to an object that is not found, will return a success message, despite the object not being found. We should make it clearer when it's a 404 instead of a misleading success message.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing `wp s3-uploads rm` with a path for an object that does not exist, then trace the command's handling of the 404 response. Done means the command clearly reports the 404 instead of displaying a success message.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, php, wordpress
Domain
cli, cloud
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.