refactor: slimmer image + code improvements#144
Open
BlackDark wants to merge 4 commits into
Open
Conversation
Resume from last claimed gist line when lastgame exists; otherwise lastlength only. Guard gist HTTP errors and missing Steam Codes. Add ASFCLAIM_DATA_DIR and Docker volume docs.
Fresh installs with no saved progress start at gist tail only. Same env caps backlog batches. Async checkGame with IPC/gist errors handled, cursor rollback on ASF failure, HTTPS env fix, and in-flight guard. Document ASFCLAIM_TAIL_KEYS in README and compose.
Add ASFCLAIM_LICENSES_PER_COMMAND (default 5) with per-chunk persistence. Parse Result per line: advance on Fail/AlreadyPurchased, block on rate limit, not connected, and other Fail/*. Document new env in README and docker-compose.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Noticed the big image size and then let AI rewrite some parts to drop the image size + allow tracking of last processed things.
Yup, let AI do the most things.
Currently running this version locally on my end and it seems to work.
Image size is around ~160mb (https://hub.docker.com/repository/docker/blackdark93/fork-asfclaim/general)