-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Force prefill of specific app in event of prefill failure. #255
Comments
One other issue to mention from our other thread :
The forced prefill finally completed. I noticed immediately that it says 50 apps were prefilled, but only 48 are updated. I believe the other app might be Euro Truck Simulator 2 that also shows "1 failed downloads". SteamPrefill is reporting that only 48 apps were updated, despite you selecting 50 total to prefill. This may or may not be related to the main problem reported on this issue, but its certainly worth keeping in mind. |
I've done some thinking on how I'm planning on implementing this, here's what I'm thinking of doing:
@cybersteel8 Thoughts on this? @cholzer79 I know that you ran into a similar issue when you cleared your cache, thoughts on this? |
This sounds like it would be replacing the
I agree with your sentiment here, so merging the two commands makes sense to me. When I run a I certainly like the suggestion, bringing --force out of being a prefill flag and becoming its own command as reset. It makes sense. I don't know what else your proposed implementation changes - I should tell you that I don't know what |
I didn't consider removing the You are correct in that removing a specific app from Also do you happen to have a Discord account? I'd be glad to talk about this more in chat, so we can hash out all the details like this without having to wait so long in between messages. |
Hey so I have been messing about with my LANCache today and I remembered this thread. I had to fix an issue and clear the whole cache (again, sadly), and I loaded up your app to prefill all my selected apps again. As the cache and this app were out of sync, obviously not all of the games were downloaded again. I came to the realisation that I could use the In my original issue, after I saw the error message, I could have used I hope these thoughts are helpful :) |
I appreciate the update on this, always good to hear some additional thoughts on this. Something I've been playing around with is to just roll this "reset" functionality into |
In reference to this discussion: #216
There is a potential use case for a new (optional) parameter to be added to the
--force
command that will allow a specific app to be force prefilled, rather than--force
only applying to the entire selected list.The problem is when the entire LANCache is emptied, and a force prefill may not successfully download every item in the selected list to repopulate the cache correctly. For example, if during this force prefill, this message appears ("1 failed downloads"):
It is likely that the download for this item is not complete and it may be required to perform another force prefill on this specific app. I have a list with 50 items selected, so it is infeasible to perform a full prefill of the entire selection list for the sake of resolving a single issue.
It seems that the application does not detect that the failed download occurred for this product, so a normal (un-forced) prefill considers this product up-to-date and the application does not make any attempt to check or acquire any data missed during the force prefill.
Phasmophobia had no issue during the force prefill, there was simply an update to the product. All other products, including the failed one from the force prefill, was considered up-to-date.
There may be both a bug and a feature suggestion out of this scenario.
The bug may be that a product that experienced a failed download is considered up-to-date.
The expected outcome is: if a prefill of a product results in a failed download, the next prefill will attempt to prefill the product again, making no assumptions about the validity of the cache data (ie. a force prefill of that particular product only).
The actual outcome is that despite the failed download, the product was considered up-to-date and no attempt was made to correct any failed cache data.
The feature suggestion I have for this scenario is that a parameter could be passed to the
--force
flag, such as the App ID, that will force a prefill of that particular product, instead of the entire selection list. This would be for the user to manually attempt to resolve any problems they find with the cache data for a product.An alternative may be to provide a means to "reset" SteamPrefill so it assumes no product is up-to-date, so that the next standard prefill will perform the equivalent of a forced prefill on all products. This could also support the optional parameter, as aforementioned for the
--force
command, to reset only a particular product.This command would be used in the scenario where the user is emptying their cache and requires all tracking of all products to be forgotten. However, this may not address the above bug, as the tracking of failed downloads must still be accurate for this to function correctly. Furthermore, its behaviour is similar to the existing
--force
command and may lead to confusion.Ultimately, the goal is for the cache to either automatically corrected in the event of a download failure, or tools introduced for the user so they may manually attempt to resolve cache issues they experience or observe through using LANCache or reported through SteamPrefill.
The text was updated successfully, but these errors were encountered: