You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a build is requested and an artifact already exists, the Pyrsia CLI returns the HTTP status code 400 (bad request), but should it be really an error?
If we allow users to send a build request explicitly, ArtifactAlreadyExists should occur frequently, but it does not seem a bad behavior. Probably we can make some changes to return the 200 code and just notify what happened via CLI messages.
Additional details
No response
The text was updated successfully, but these errors were encountered:
Suggestion details
pyrsia/src/docker/error_util.rs
Line 62 in 20c2385
When a build is requested and an artifact already exists, the Pyrsia CLI returns the HTTP status code 400 (bad request), but should it be really an error?
If we allow users to send a build request explicitly,
ArtifactAlreadyExists
should occur frequently, but it does not seem a bad behavior. Probably we can make some changes to return the 200 code and just notify what happened via CLI messages.Additional details
No response
The text was updated successfully, but these errors were encountered: