appleboy / appleboy/drone-sftp-cache

Shouldn't fail when path is not available

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
15
Forks
10
PR merge metrics
No merged PRs in 30d

Description

When I specify multiple mounts, and let's say the first one doesn't exist, it is not trying to cache the other paths.

I worked around it by splitting the cache tasks up (load-a-cache, restore-a-cache, load-b-cache, restore-b-cache, etc...)

I think it would be nice if it would still cache other paths that ARE available.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how multiple mounts are processed in the cache plugin, focusing on what happens when the first path is unavailable. Done means an unavailable path does not prevent other available paths from being cached; verify the behavior with a multiple-mount case.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go
Domain
devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.