048c1957f1 
							
						 
					 
					
						
						
							
							helper/args: variadic check function  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 34s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 1m30s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 2m21s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 3m23s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 4m1s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 4m46s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m27s 
				
			 
		
		
	 
 
	 
						
						This package turns out to be much less widely used than anticipated, and might be facing removal. This change makes test cases cleaner.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-14 01:48:56 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							3f25c3f0af 
							
						 
					 
					
						
						
							
							container: initialise cmd early  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 34s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 2m29s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 4m15s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 4m43s 
				
			 
		
			
				
	Test / Hpkg (push) Successful in 4m48s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 6m9s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m18s 
				
			 
		
		
	 
 
	 
						
						This allows use of more cmd methods.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-09-13 20:01:33 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							e71ae3b8c5 
							
						 
					 
					
						
						
							
							container: remove custom cmd initialisation  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 26s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 45s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 43s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 45s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 43s 
				
			 
		
			
				
	Test / Planterette (push) Successful in 43s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m27s 
				
			 
		
		
	 
 
	 
						
						This part of the interface is very unintuitive and only used for testing, even in testing it is inelegant and can be done better.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-07-25 00:45:10 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							d2f9a9b83b 
							
						 
					 
					
						
						
							
							treewide: migrate to hakurei.app  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 24s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 46s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 2m9s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 3m14s 
				
			 
		
			
				
	Test / Planterette (push) Successful in 3m41s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 3m40s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m18s 
				
			 
		
		
	 
 
	 
						
						Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-07-03 03:30:39 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							87e008d56d 
							
						 
					 
					
						
						
							
							treewide: rename to hakurei  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 43s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 2m18s 
				
			 
		
			
				
	Test / Hakurei (push) Successful in 3m10s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 3m30s 
				
			 
		
			
				
	Test / Hakurei (race detector) (push) Successful in 4m43s 
				
			 
		
			
				
	Test / Fpkg (push) Successful in 5m4s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m12s 
				
			 
		
		
	 
 
	 
						
						Fortify makes little sense for a container tool.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-06-25 04:57:41 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							b7e991de5b 
							
						 
					 
					
						
						
							
							nix: update flake lock  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 51s 
				
			 
		
			
				
	Test / Sandbox (push) Successful in 15m56s 
				
			 
		
			
				
	Test / Sandbox (race detector) (push) Successful in 16m5s 
				
			 
		
			
				
	Test / Fpkg (push) Successful in 17m33s 
				
			 
		
			
				
	Test / Fortify (race detector) (push) Successful in 2m28s 
				
			 
		
			
				
	Test / Fortify (push) Successful in 40s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 2m58s 
				
			 
		
		
	 
 
	 
						
						Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-06-05 04:05:39 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							5c82f1ed3e 
							
						 
					 
					
						
						
							
							helper/stub: output to stdout  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 19s 
				
			 
		
			
				
	Test / Fortify (push) Successful in 43s 
				
			 
		
			
				
	Test / Fpkg (push) Successful in 1m26s 
				
			 
		
			
				
	Test / Data race detector (push) Successful in 2m28s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 1m0s 
				
			 
		
		
	 
 
	 
						
						Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-03-27 17:25:10 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							1576fea8a3 
							
						 
					 
					
						
						
							
							helper: raise WaitDelay during tests  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 24s 
				
			 
		
			
				
	Test / Fpkg (push) Successful in 3m19s 
				
			 
		
			
				
	Test / Data race detector (push) Successful in 3m54s 
				
			 
		
			
				
	Test / Fortify (push) Successful in 1m39s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 49s 
				
			 
		
		
	 
 
	 
						
						Helper runs very slowly with race detector. This prevents it from timing out.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-03-16 02:49:41 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							891316d924 
							
						 
					 
					
						
						
							
							helper/stub: copy args to stderr  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 25s 
				
			 
		
			
				
	Test / Fortify (push) Successful in 2m33s 
				
			 
		
			
				
	Test / Fpkg (push) Successful in 3m30s 
				
			 
		
			
				
	Test / Data race detector (push) Successful in 3m52s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 53s 
				
			 
		
		
	 
 
	 
						
						Some helpers are implemented via go test itself in tests, and as a result stdout gets clobbered.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-03-16 00:39:42 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							6e7ddb2d2e 
							
						 
					 
					
						
						
							
							helper: eliminate commandContext replacement  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 26s 
				
			 
		
			
				
	Test / Fortify (push) Successful in 2m44s 
				
			 
		
			
				
	Test / Fpkg (push) Successful in 3m42s 
				
			 
		
			
				
	Test / Data race detector (push) Successful in 3m51s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 57s 
				
			 
		
		
	 
 
	 
						
						This is done more cleanly by modifying Args in cmdF.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-03-16 00:01:25 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							f443d315ad 
							
						 
					 
					
						
						
							
							helper: clean up interface  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 26s 
				
			 
		
			
				
	Test / Fortify (push) Successful in 2m37s 
				
			 
		
			
				
	Test / Fpkg (push) Successful in 3m40s 
				
			 
		
			
				
	Test / Data race detector (push) Successful in 3m54s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 59s 
				
			 
		
		
	 
 
	 
						
						The helper interface was messy due to odd context acquisition order. That has changed, so this cleans it up.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-03-15 00:27:44 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							7c60a4d8e8 
							
						 
					 
					
						
						
							
							helper: embed context on creation  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 24s 
				
			 
		
			
				
	Test / Fortify (push) Successful in 2m34s 
				
			 
		
			
				
	Test / Fpkg (push) Successful in 3m22s 
				
			 
		
			
				
	Test / Data race detector (push) Successful in 3m44s 
				
			 
		
			
				
	Test / Flake checks (push) Successful in 49s 
				
			 
		
		
	 
 
	 
						
						Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-03-14 18:30:22 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							fe7d208cf7 
							
						 
					 
					
						
						
							
							helper: use generic extra files interface  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Test / Create distribution (push) Successful in 1m38s 
				
			 
		
			
				
	Test / Run NixOS test (push) Successful in 4m36s 
				
			 
		
		
	 
 
	 
						
						This replaces the pipes object and integrates context into helper process lifecycle.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-02-13 23:34:15 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							df6fc298f6 
							
						 
					 
					
						
						
							
							migrate to git.gensokyo.uk/security/fortify  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	Tests / Go tests (push) Successful in 2m55s 
				
			 
		
			
				
	Nix / NixOS tests (push) Successful in 5m10s 
				
			 
		
		
	 
 
	 
						
						Signed-off-by: Ophestra Umiker <cat@ophivana.moe> 
						
						
					 
					
						2024-12-20 00:20:02 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							65af1684e3 
							
						 
					 
					
						
						
							
							migrate to git.ophivana.moe/security/fortify  
						
						... 
						
						
	
		
			
	 
	
	
		
	
	
		
			
				
	test / test (push) Successful in 14s 
				
			 
		
		
	 
 
	 
						
						Signed-off-by: Ophestra Umiker <cat@ophivana.moe> 
						
						
					 
					
						2024-10-20 19:50:13 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							7c7999e9e5 
							
						 
					 
					
						
						
							
							helper: implementation of helper.Helper using bwrap  
						
						... 
						
						
						
						Signed-off-by: Ophestra Umiker <cat@ophivana.moe> 
						
						
					 
					
						2024-10-08 18:02:38 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							c6223771db 
							
						 
					 
					
						
						
							
							helper: generalise helper.Helper test  
						
						... 
						
						
						
						For testing the upcoming bwrap implementation of helper.Helper as it must have identical behaviour.
Signed-off-by: Ophestra Umiker <cat@ophivana.moe> 
						
						
					 
					
						2024-10-08 14:02:54 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							3c5185d770 
							
						 
					 
					
						
						
							
							helper: move test sample data out of direct  
						
						... 
						
						
						
						Signed-off-by: Ophestra Umiker <cat@ophivana.moe> 
						
						
					 
					
						2024-10-07 22:51:08 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							85407dd3c0 
							
						 
					 
					
						
						
							
							helper: helper.Helper interface  
						
						... 
						
						
						
						For upcoming bwrap implementation of helper.Helper
Signed-off-by: Ophestra Umiker <cat@ophivana.moe> 
						
						
					 
					
						2024-10-07 15:37:52 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							0fb9e40191 
							
						 
					 
					
						
						
							
							helper/args: MustNewCheckedArgs for cleaner hardcoded args  
						
						... 
						
						
						
						Signed-off-by: Ophestra Umiker <cat@ophivana.moe> 
						
						
					 
					
						2024-10-07 13:33:18 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							9647eb6a6b 
							
						 
					 
					
						
						
							
							helper: separate pipes from Helper  
						
						... 
						
						
						
						Upcoming bwrap helper implementation requires two sets of pipes to be managed, fd will also no longer be constant.
Signed-off-by: Ophestra Umiker <cat@ophivana.moe> 
						
						
					 
					
						2024-10-07 12:48:20 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							18d9ce733e 
							
						 
					 
					
						
						
							
							helper: test non-existent helpers  
						
						... 
						
						
						
						Signed-off-by: Ophestra Umiker <cat@ophivana.moe> 
						
						
					 
					
						2024-10-06 16:00:59 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							7e7327ebf8 
							
						 
					 
					
						
						
							
							helper: export internal stub functions for cross-package testing  
						
						... 
						
						
						
						Signed-off-by: Ophestra Umiker <cat@ophivana.moe> 
						
						
					 
					
						2024-09-29 15:22:35 +09:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							3bf456da65 
							
						 
					 
					
						
						
							
							helper: test child process handling  
						
						... 
						
						
						
						The stub child process simulates reading from the argument fd and copies the entire payload unmodified to stdout. If status pipe is enabled it will simulate sync fd behaviour as well.
Signed-off-by: Ophestra Umiker <cat@ophivana.moe> 
						
						
					 
					
						2024-09-29 14:59:39 +09:00