Commit Graph

101 Commits

Author SHA1 Message Date
Graham Christensen
b3c010890a gz 2024-05-06 11:51:20 -04:00
Graham Christensen
3b0ad43946 Staple the magic-nix-cache daemon log in error conditions 2024-05-06 11:35:14 -04:00
Graham Christensen
4ae13c51d8 Extract out the daemonDir into a class member 2024-05-06 11:33:36 -04:00
Luc Perkins
a943771501
Revamp logic into central class 2024-04-26 11:37:43 -03:00
Luc Perkins
3f91a4cc59
Regenerate dist 2024-04-21 14:23:04 -03:00
Luc Perkins
eb69673d1d
Output only an index.js 2024-04-21 13:47:38 -03:00
Luc Perkins
a273ea17a6
Update detsys-ts dependency 2024-04-21 13:41:28 -03:00
Luc Perkins
33e83a8039
Use main branch for detsys-ts 2024-04-20 21:46:31 -03:00
Luc Perkins
ed0bc9a7a7
Add explicit linux-release-info dependency 2024-04-20 21:42:50 -03:00
Luc Perkins
e9cdfca6d8
Revery detsys-ts dependency 2024-04-20 21:37:05 -03:00
Luc Perkins
d1b4569bd7
Add prettierignore 2024-04-20 21:27:21 -03:00
Luc Perkins
9a6afa777f
Switch to tsup-based build 2024-04-20 20:57:38 -03:00
Graham Christensen
a1129905cc derp 2024-04-18 14:29:57 -04:00
Graham Christensen
2a126830d5 require nix: warn, don't fail 2024-04-18 14:14:44 -04:00
Graham Christensen
cf0682951c update detsys-ts 2024-04-18 14:12:51 -04:00
Graham Christensen
04fbd5502b test: fail if nix isn't installed 2024-04-18 14:09:07 -04:00
Graham Christensen
40128c21ab Preflight nix, or don't fail 2024-04-18 13:08:15 -04:00
Graham Christensen
b8629f9bbc Update detsys-ts 2024-04-12 15:34:21 -04:00
Graham Christensen
604b4f9ad2 Update fetch location 2024-04-11 19:25:26 -04:00
Graham Christensen
a87d983438 Rebase on detsys-ts and get rid of bun 2024-04-11 19:21:15 -04:00
Luc Perkins
c22d6efcb8
Regenerate index.js 2024-03-25 17:44:35 -03:00
Graham Christensen
455b918565 Use -closure ids 2024-03-06 11:33:18 -05:00
Graham Christensen
1b7becab50 Merge remote-tracking branch 'origin/main' into flakehub-cache 2024-03-06 11:32:22 -05:00
Graham Christensen
79f590d9a2 /latest/ -> /stable/ 2024-03-06 11:00:09 -05:00
Cole Helbling
94e40c4223 fixup: regenerate bundle 2024-02-27 10:09:59 -08:00
Cole Helbling
e4bda5a74b Merge remote-tracking branch 'upstream/main' into merge-against-upstream 2024-02-27 09:32:36 -08:00
Eelco Dolstra
b59b2f450f Comment 2024-02-23 19:51:28 +01:00
Eelco Dolstra
32e1a339b5 Receive startup notification from magic-nix-cache via HTTP 2024-02-23 16:31:35 +01:00
Ana Hobden
04d5b7e811 Don't care about extra-conf 2024-02-13 11:45:21 -08:00
Ana Hobden
232a98572b Improve logging 2024-02-13 11:40:27 -08:00
Ana Hobden
b1e40f81bd Try logging into FlakeHub if nix-installer didn't do that for us 2024-02-12 14:13:43 -08:00
Graham Christensen
24f6adfb73 le sigh 2024-01-18 12:23:19 -05:00
Graham Christensen
0157564bb2 Drop the binary prefix 2024-01-18 11:58:07 -05:00
Graham Christensen
0876acbf0f drat 2024-01-18 11:41:37 -05:00
Cole Helbling
a09806e6c8 just build 2024-01-18 07:55:08 -08:00
Eelco Dolstra
8ee9ed5891 Cleanup 2024-01-15 14:15:24 +01:00
Eelco Dolstra
124dc2196d Show daemon log output in setup 2024-01-11 17:51:06 +01:00
Eelco Dolstra
e86987a1e9 Remove debug line 2024-01-09 19:02:02 +01:00
Eelco Dolstra
5e8c8cee1b Comment 2024-01-09 18:53:51 +01:00
Eelco Dolstra
3931213b43 Fetch the magic-nix-cache closure from S3 2024-01-09 15:01:39 +01:00
Eelco Dolstra
9d7fb1fb0e Use a constant for the notification file descriptor 2023-12-15 17:17:10 +01:00
Eelco Dolstra
4a3e8b7ce3 magic-nix-cache no longer forks into the background 2023-12-15 17:08:26 +01:00
Eelco Dolstra
efc9e3b1dd Download magic-nix-cache binary from S3 2023-12-11 16:06:20 +01:00
Graham Christensen
879f4f5a34 Dump the entire log in debug 2023-12-04 20:30:25 -05:00
Graham Christensen
e4109712fa Trim retries to 1, 5 takes too long 2023-12-04 20:12:12 -05:00
Graham Christensen
c5e19708da Fixup log aggregation 2023-12-04 20:11:40 -05:00
Eelco Dolstra
e27fd4f93e Support uploading to FlakeHub 2023-12-05 00:40:31 +01:00
Graham Christensen
54ca4788d1
Retry a few times on startup, but don't fail the run if we can't 2023-06-27 13:05:50 -04:00
Graham Christensen
d088ac6784
Enable fallback=true by default
Handles a 429 / ratelimit error more gracefully.
2023-06-26 13:30:39 -04:00
Luc Perkins
7b56139774
Update RUST_LOG env var value 2023-06-26 09:28:12 -07:00
Graham Christensen
21c3863b07
Init the action
Co-authored-by: Zhaofeng Li <hello@zhaofeng.li>
2023-06-26 11:57:25 -04:00