Commit graph

34 commits

Author SHA1 Message Date
dependabot[bot] 9fdc760dcb
build(deps): bump tokio from 1.44.1 to 1.44.2
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.44.1 to 1.44.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.44.1...tokio-1.44.2)

---
updated-dependencies:
- dependency-name: tokio
  dependency-version: 1.44.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-08 02:10:21 +00:00
Graham Christensen ef4bd6fb91
drop 429 notice 2025-01-16 18:34:39 -05:00
Graham Christensen 4e2b37be36 Set a metric field for when GHA 429's 2025-01-16 08:46:41 -08:00
Cole Helbling 003f106338
Update GHA 429 notice wording
Co-authored-by: Graham Christensen <graham@grahamc.com>
2025-01-16 07:32:20 -08:00
Cole Helbling b9f89bd546 Suggest FlakeHub Cache when hit by 429 2025-01-14 13:56:17 -08:00
Cory Snyder 4f25f7b3e6 Fix compatibility issues with alternative GHA cache implementation
Fixes two compatibility issues with the alternative GHA cache server
implementation:

https://github.com/falcondev-oss/github-actions-cache-server

1. This implementation does not support redundant forward slashes
   in URL paths. The change allows magic-nix-cache to work properly
   regardless of whether ACTIONS_CACHE_URL ends in a forward slash or
   not.
2. The cache IDs returned by this implementation can be too big for
   an i32, so the representation of the CacheID type has been updated
   to an i64.

Signed-off-by: Cory Snyder <csnyder@1111systems.com>
2024-09-20 05:12:26 -04:00
Cole Mickens fa02e9ad6f convert unwraps to expects 2024-08-29 14:52:02 -07:00
Graham Christensen e52d545126 Convert the other Io error type to have a string of context 2024-08-29 16:40:21 -04:00
Cole Mickens 4c0a2510c1 tree: upgrade axum, hyper, etc 2024-08-08 15:18:18 -07:00
Graham Christensen 51bb9f972d Move the tripping to a separate impl on the atomicbool 2024-06-13 13:07:00 -04:00
Graham Christensen 25359d9b17 nit on error text 2024-06-13 12:57:41 -04:00
Graham Christensen 76db34a53f fixup for older rust 2024-06-12 16:59:38 -04:00
Graham Christensen 56d600d74b I hatethis 2024-06-12 16:33:58 -04:00
Graham Christensen 22f76db215 Catch 429s in more places 2024-06-12 16:30:27 -04:00
Graham Christensen 0ad1f17858 ? 2024-06-12 16:01:21 -04:00
Graham Christensen 805d2cfc15 fixup 2024-06-12 15:50:22 -04:00
Graham Christensen 4dd3242a14 cleanup 2024-06-12 15:46:52 -04:00
Graham Christensen 9c7b8e3fc9 Trip a circuit breaker when we get a 429 so we don't keep doing useless work 2024-06-12 15:44:26 -04:00
Eelco Dolstra 334bcc7df9 Compress 2024-02-29 20:45:12 +01:00
Eelco Dolstra a560959d65 README 2024-02-29 16:27:19 +01:00
Graham Christensen 83d7fb865a
Add a license 2023-06-26 11:25:17 -04:00
Graham Christensen 407824895b
trustdns? 2023-06-22 22:29:57 -04:00
Luc Perkins d8fbc93e4f
Fix Clippy issues and add Rust checks to CI 2023-06-22 11:57:02 -07:00
Zhaofeng Li fb5c42e7c8 gha-cache: Increase chunk size
This matches the behavior in the official toolkit:

<457303960f/packages/cache/src/options.ts (L6-L19)>
2023-05-22 16:00:34 -06:00
Zhaofeng Li d1e56e0796 Disable unused Cargo features 2023-05-22 16:00:34 -06:00
Zhaofeng Li 1c623c091c Slightly better logging 2023-05-19 13:00:36 -06:00
Zhaofeng Li 1cfe2ca457 gha-cache: Better debug logging 2023-05-19 02:48:52 -06:00
Zhaofeng Li 233c024a10 gha-cache: Strip UTF-8 BOM in error responses 2023-05-19 02:48:52 -06:00
Zhaofeng Li 61a0940aeb gha-cache: Remove done TODO 2023-05-08 13:01:16 -06:00
Zhaofeng Li 03726dd5ba Parallelize chunk uploads 2023-05-08 12:59:57 -06:00
Zhaofeng Li 3d11719e64 Enforce stricter lints
Copied from Attic.
2023-05-08 12:59:57 -06:00
Zhaofeng Li a6873c91f5 Add simple request statistics to debug builds 2023-05-08 12:59:57 -06:00
Zhaofeng Li b7685eb6db Make errors' Display form more useful 2023-05-08 10:08:23 -06:00
Zhaofeng Li 1ad1349d96 Kind of works 2023-05-08 03:48:11 -06:00