8e487876d2
Merge pull request 'Remove steamcache2 from the list of files in .goreleaser.yaml archives section.' ( #8 ) from fix/goreleaser-config-fix into main
...
Release Tag / release (push) Failing after 20s
Reviewed-on: s1d3sw1ped/SteamCache2#8
2025-07-19 08:04:40 +00:00
1be7f5bd20
Remove steamcache2 from the list of files in .goreleaser.yaml archives section.
PR Check / check-and-test (pull_request) Successful in 9s
2025-07-19 03:02:39 -05:00
f237b89ca7
Merge pull request 'Update versioning and logging in SteamCache2' ( #7 ) from fix/goreleaser-config into main
...
Release Tag / release (push) Failing after 22s
Reviewed-on: s1d3sw1ped/SteamCache2#7
2025-07-19 07:59:02 +00:00
ae07239021
Update versioning and logging in SteamCache2
...
PR Check / check-and-test (pull_request) Successful in 11s
- Enhanced .goreleaser.yaml for improved build configuration, including static linking and ARM64 support.
- Updated logging in root.go to include version date during startup.
- Modified version.go to initialize and expose the build date alongside the version.
- Adjusted version command output to display both version and date for better clarity.
2025-07-19 02:58:19 -05:00
4876998f5d
Merge pull request 'Enhance garbage collection and caching functionality' ( #6 ) from feature/extended-gc-and-verification into main
...
Reviewed-on: s1d3sw1ped/SteamCache2#6
2025-07-19 07:28:12 +00:00
163e64790c
Enhance garbage collection and caching functionality
...
PR Check / check-and-test (pull_request) Successful in 21s
- Updated .gitignore to include all .exe files and ensure .smashignore is tracked.
- Expanded README.md with advanced configuration options for garbage collection algorithms, detailing available algorithms and use cases.
- Modified launch.json to include memory and disk garbage collection flags for better configuration.
- Refactored root.go to introduce memoryGC and diskGC flags for garbage collection algorithms.
- Implemented hash extraction and verification in steamcache.go to ensure data integrity during caching.
- Added new tests in steamcache_test.go for hash extraction and verification, ensuring correctness of caching behavior.
- Enhanced garbage collection strategies in gc.go, introducing LFU, FIFO, Largest, Smallest, and Hybrid algorithms with corresponding metrics.
- Updated caching logic to conditionally cache responses based on hash verification results.
2025-07-19 02:27:04 -05:00
00792d87a5
Merge pull request 'fix: gc was being stupid allowing another thread to take the space it made before it could not anymore' ( #5 ) from fix/gc-breaking-downloads into main
...
Release Tag / release (push) Successful in 13s
Reviewed-on: s1d3sw1ped/SteamCache2#5
1.0.7
2025-07-13 12:51:17 +00:00
3427b8f5bc
fix: gc was being stupid allowing another thread to take the space it made before it could not anymore
PR Check / check-and-test (pull_request) Successful in 12s
2025-07-13 07:50:22 -05:00
7f744d04b0
Merge pull request 'fix: trim query parameters from URL path in ServeHTTP to ensure cache key correctness' ( #4 ) from fix/query-params into main
...
Release Tag / release (push) Successful in 17s
Reviewed-on: s1d3sw1ped/SteamCache2#4
1.0.6
2025-07-13 10:43:21 +00:00
6c98d03ae7
fix: trim query parameters from URL path in ServeHTTP to ensure cache key correctness
PR Check / check-and-test (pull_request) Successful in 16s
2025-07-13 05:42:07 -05:00
17ff507c89
Merge pull request 'fix: redo the whole caching functionality to make it really 420 blaze it fast' ( #3 ) from fix/blazing-sun-speed into main
...
Release Tag / release (push) Successful in 26s
Reviewed-on: s1d3sw1ped/SteamCache2#3
1.0.5
2025-07-13 10:21:19 +00:00
539f14e8ec
refactor: moved the GC stuff around and corrected all tests
PR Check / check-and-test (pull_request) Successful in 30s
2025-07-13 04:20:12 -05:00
1673e9554a
Refactor VFS implementation to use Create and Open methods
...
PR Check / check-and-test (pull_request) Failing after 11m4s
- Updated disk_test.go to replace Set and Get with Create and Open methods for better clarity and functionality.
- Modified fileinfo.go to include package comment.
- Refactored gc.go to streamline garbage collection handling and removed unused statistics.
- Updated gc_test.go to comment out large random tests for future implementation.
- Enhanced memory.go to implement LRU caching and metrics for memory usage.
- Updated memory_test.go to replace Set and Get with Create and Open methods.
- Removed sync.go as it was redundant and not utilized.
- Updated vfs.go to reflect changes in the VFS interface, replacing Set and Get with Create and Open.
- Added package comments to vfserror.go for consistency.
2025-07-13 03:17:22 -05:00
b83836f914
fix: update log message for server startup and improve request handling in ServeHTTP
PR Check / check-and-test (pull_request) Successful in 1m6s
2025-07-12 09:48:06 -05:00
745856f0f4
fix: correct format key to formats in .goreleaser.yaml
PR Check / check-and-test (pull_request) Successful in 1m4s
2025-07-12 09:21:56 -05:00
b4d2b1305e
fix: add logging for unsupported methods and error handling in ServeHTTP
PR Check / check-and-test (pull_request) Successful in 1m6s
2025-07-12 08:50:34 -05:00
0d263be2ca
Merge pull request 'feat: update dependencies and improve caching mechanism' ( #2 ) from feature/blazing-sun-speed into main
...
Release Tag / release (push) Successful in 1m17s
Reviewed-on: s1d3sw1ped/SteamCache2#2
1.0.4
2025-07-12 13:18:53 +00:00
63a1c21861
fix: update action versions to use main branch for consistency
PR Check / check-and-test (pull_request) Successful in 1m13s
2025-07-12 07:32:35 -05:00
0a73e46f90
fix: remove golangci-lint-action from PR workflow
PR Check / check-and-test (pull_request) Successful in 1m42s
2025-07-12 07:16:48 -05:00
6f1158edeb
fix: update action versions to use main branch for consistency
PR Check / check-and-test (pull_request) Failing after 1m4s
2025-07-12 07:10:14 -05:00
93b682cfa5
chore: update action versions to latest in CI workflow
PR Check / check-and-test (pull_request) Failing after 15s
2025-07-12 07:08:25 -05:00
f378d0e81f
feat: update dependencies and improve caching mechanism
...
PR Check / check-and-test (pull_request) Failing after 2m11s
- Added Prometheus client library for metrics collection.
- Refactored garbage collection strategy from random deletion to LRU (Least Recently Used) deletion.
- Introduced per-key locking in cache to prevent race conditions.
- Enhanced logging with structured log messages for cache hits and misses.
- Implemented a retry mechanism for upstream requests with exponential backoff.
- Updated Go modules and indirect dependencies for better compatibility and performance.
- Removed unused sync filesystem implementation.
- Added version initialization to ensure a default version string.
2025-07-12 06:43:00 -05:00
8c1bb695b8
fix: enhance logging to handle empty upstream values
Release Tag / release (push) Successful in 10s
1.0.3
2025-01-23 11:31:28 -06:00
f58951fd92
fix: removed specific to my dev setup config
2025-01-23 11:31:13 -06:00
70786da8c6
fix: improve logging readability and remove configuration messages
Release Tag / release (push) Successful in 10s
1.0.2
2025-01-23 11:25:18 -06:00
e24af47697
feat: add upstream and verbose flags to command line interface
...
Release Tag / release (push) Successful in 13s
feat: add upstream support allowing to chain cache servers if needed
fix: tweaked garbage collection to be better
1.0.1
2025-01-23 11:14:39 -06:00
931c43d7a8
fix: remove draft status from release configuration
Release Tag / release (push) Successful in 9s
1.0.0
2025-01-22 21:01:35 -06:00
6fe80c82ad
fix: reduce cache hits averaging size for improved performance
Release Tag / release (push) Successful in 9s
2025-01-22 20:59:24 -06:00
4a69c4ba66
fix: add empty line in logging for improved readability
Release Tag / release (push) Successful in 9s
2025-01-22 20:51:32 -06:00
2d0fe6571d
feat: enhance garbage collection logging with total GC time and improved stat formatting
Release Tag / release (push) Successful in 9s
2025-01-22 20:48:05 -06:00
550948951e
feat: implement enhanced garbage collection statistics logging
Release Tag / release (push) Successful in 12s
2025-01-22 20:27:12 -06:00
4a23eecae0
fix: reduce log interval to 1 second for more frequent statistics updates
Release Tag / release (push) Successful in 28s
2025-01-22 19:37:30 -06:00
fed9bbe218
fix: go back to the old averaging
Release Tag / release (push) Successful in 12s
2025-01-22 19:35:17 -06:00
7401c040dc
feat: add configurations for memory only, disk only, and memory & disk modes
Release Tag / release (push) Successful in 14s
2025-01-22 19:28:45 -06:00
ca069a20ee
fix: track cache hits and misses in average cache state
2025-01-22 18:43:07 -06:00
3e8a92b865
fix: log memory statistics only if memory is enabled
Release Tag / release (push) Successful in 9s
2025-01-22 18:29:19 -06:00
b7652ed7cc
fix: initialize average cache state with cleared values
Release Tag / release (push) Successful in 9s
2025-01-22 18:25:16 -06:00
08b8d0ce3d
fix: enhance logging for memory and disk statistics in cache
2025-01-22 18:23:53 -06:00
53847db0e9
fix: improve cache state clearing and average calculation logic
2025-01-22 18:23:47 -06:00
d11c294010
chore: update goreleaser configuration for draft releases and name template
Release Tag / release (push) Successful in 8s
2025-01-22 18:11:33 -06:00
f951f5fd8e
chore: rename workflows for clarity and consistency
Release Tag / release (push) Successful in 9s
2025-01-22 18:00:55 -06:00
59159c3fc7
chore: remove outdated copyright notice from main.go
2025-01-22 17:49:58 -06:00
3785057043
chore: remove outdated copyright notice from root.go
2025-01-22 17:49:58 -06:00
56857556b2
feat: import version package to access global version variable
2025-01-22 17:49:58 -06:00
6b0a556690
feat: include application version in logging output
2025-01-22 17:49:58 -06:00
116dfb0865
feat: add version command to display application version
2025-01-22 17:49:58 -06:00
ed5e050d81
docs: clarify license coverage in README.md
2025-01-22 17:49:58 -06:00
fea5e94be8
chore: add 'dist/' to .gitignore to exclude distribution files
2025-01-22 17:49:58 -06:00
1e221a218c
chore: format launch.json arguments for improved readability
2025-01-22 17:49:58 -06:00
ac245f6cf9
chore: remove unused extra files from goreleaser configuration
2025-01-22 17:49:58 -06:00