Commit graph

89 commits

Author SHA1 Message Date
Luc Perkins
45d13621c5
Provide info output for potential missing permissions block 2024-07-15 17:38:01 -07:00
Luc Perkins
9407981200
Fix nullish coalescing 2024-06-05 09:54:12 -07:00
Luc Perkins
209031c591
Regenerate dist 2024-06-05 09:46:04 -07:00
Cole Mickens
b97541a1ff RUST_LOG default to tracing our stuff, only debug for everything else 2024-06-05 08:29:17 -07:00
Luc Perkins
a13b1bda12
Convert process.exit into return 2024-06-03 17:04:55 -07:00
Luc Perkins
4edd92a1a4
Rename no-op mode 2024-06-03 17:02:34 -07:00
Luc Perkins
d4fd993185
Revamp exit logic 2024-06-03 16:58:47 -07:00
Luc Perkins
7286978530
Make main error check more strict 2024-06-03 16:14:11 -07:00
Luc Perkins
60141574d0
Revert "Remove error in main logic"
This reverts commit 053b0cc1f9.
2024-06-03 16:09:54 -07:00
Luc Perkins
053b0cc1f9
Remove error in main logic 2024-06-03 15:54:34 -07:00
Luc Perkins
e789896996
Remove else branch 2024-06-03 15:51:58 -07:00
Luc Perkins
6a141808e0
Set specific error in main 2024-06-03 15:50:18 -07:00
Luc Perkins
58113297de
Run post phase only if main didn't error 2024-06-03 15:45:32 -07:00
Luc Perkins
0cb62a86ec
Skip post phase with warning on error in main 2024-06-03 15:37:36 -07:00
Luc Perkins
b2e770e214
Turn info messages into warnings 2024-06-03 15:32:32 -07:00
Luc Perkins
7afbb0a392
Prevent the Action from failing with strict mode disabled 2024-06-03 15:30:34 -07:00
Graham Christensen
b4a210999f srv update 2024-05-31 11:39:31 -04:00
Luc Perkins
a89604e21e
Change fact name for env vars 2024-05-27 17:08:41 -03:00
Luc Perkins
56552edb56
Change diff store key 2024-05-27 16:54:01 -03:00
Luc Perkins
a31b1826d0
Add store diff fact 2024-05-27 02:39:23 -03:00
Luc Perkins
f7b3d968c4
Fix merge conflicts with main 2024-05-22 17:34:13 -03:00
Luc Perkins
f7ad2ac79e
Use fixed closure unpacking function 2024-05-22 16:38:26 -03:00
Luc Perkins
6e56af9a6e
Use built-in closure unpacking 2024-05-22 16:06:52 -03:00
Luc Perkins
e1ac823346
Update strict mode logic 2024-05-22 15:01:28 -03:00
Cole Helbling
3eddfdce33 Bring back store diffing (optionally) 2024-05-22 09:44:39 -07:00
Luc Perkins
08f6eb41e5
Update strict mode name in code 2024-05-22 13:26:19 -03:00
Luc Perkins
fe4aeab234
Reinstate debug statements 2024-05-20 13:58:18 -03:00
Luc Perkins
a181f8e6e8
Pass HTTP body to failure log 2024-05-20 11:55:57 -03:00
Luc Perkins
afefc2fc85
Always log status code and body 2024-05-20 11:19:46 -03:00
Luc Perkins
cfa539aa36
Remove .json() calls 2024-05-20 09:36:30 -03:00
Luc Perkins
7f10b5e63d
Fix HTTP handling logic 2024-05-20 09:35:11 -03:00
Luc Perkins
a8b68ff5ba
Fix HTTP response stringify issue 2024-05-20 09:25:51 -03:00
Luc Perkins
edc61c4d5a
Fix HTTP status code logic 2024-05-20 09:20:03 -03:00
Luc Perkins
39876685c8
Print JSON 2024-05-20 08:36:04 -03:00
Luc Perkins
c930804757
Move info statement 2024-05-20 08:33:19 -03:00
Luc Perkins
643c369303
Add info statement about HTTP response 2024-05-20 08:29:33 -03:00
Luc Perkins
aa46387b46
Fail when workflow finish hook fails 2024-05-20 07:57:19 -03:00
Luc Perkins
d828acb704
Add strict mode 2024-05-17 17:55:54 -03:00
Graham Christensen
b57e263ed1 Behave well when MNCA isn't trusted 2024-05-10 16:48:06 -04:00
Graham Christensen
ae50b12a7d Set saved state later 2024-05-08 11:28:36 -04:00
Graham Christensen
5a8a0e7f2c Don't mark the daemon started until after we successfully import the closure 2024-05-07 22:19:04 -04:00
Graham Christensen
c4a0b3111a Move noop check to main 2024-05-07 10:06:07 -04:00
Graham Christensen
f6084a76d3 Dedupe text 2024-05-07 09:58:34 -04:00
Graham Christensen
9f35ea0aec Don't be weird if the daemon is already running 2024-05-07 09:58:34 -04:00
Graham Christensen
7a12393ae8 Save the daemon dir into its own state var, not an env var 2024-05-07 09:58:34 -04:00
Graham Christensen
cddf736ff4 Move the started state to a statevar not an env var 2024-05-07 09:58:34 -04:00
Graham Christensen
3426c8fc62 Don't use the daemonDir as a started hint 2024-05-06 13:13:38 -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