9a2a7b749f 
							
						 
					 
					
						
						
							
							cmd/hakurei/print: handle nil config  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 26s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 40s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 41s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 44s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 42s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 45s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m37s 
				
			 
		
		
	 
 
	 
						
						There is nothing to print in this case, and such a nil check is missing.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-11-03 02:20:18 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							ec5cb9400c 
							
						 
					 
					
						
						
							
							cmd/hpkg/test: print share directory  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 25s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 39s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 40s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 43s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 44s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 40s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m30s 
				
			 
		
		
	 
 
	 
						
						This is more useful now that state is tracked here.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-11-03 01:51:57 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							ae66b3d2fb 
							
						 
					 
					
						
						
							
							message: rename NewMsg to New  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 34s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 2m13s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 3m15s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 4m7s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 4m14s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 5m7s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m37s 
				
			 
		
		
	 
 
	 
						
						Should have done this when relocating this from container. Now is a good time to rename it before v0.3.x.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-11-03 01:49:27 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							149bc3671a 
							
						 
					 
					
						
						
							
							internal/store: remove compat adapter  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 34s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 2m16s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 3m17s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 4m12s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 4m18s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 5m3s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m30s 
				
			 
		
		
	 
 
	 
						
						This is no longer used as everything has been migrated.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-11-03 01:26:01 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							24435694a5 
							
						 
					 
					
						
						
							
							hst/config: make identifier omitempty  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 34s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 2m11s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 3m17s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 4m2s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 4m12s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 5m7s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m33s 
				
			 
		
		
	 
 
	 
						
						This is an optional field. Serialise it as such.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-11-03 01:23:15 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							1c168babf2 
							
						 
					 
					
						
						
							
							cmd/hakurei/print: use new store interface  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 35s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 2m15s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 3m11s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 4m2s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 4m11s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 5m3s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m40s 
				
			 
		
		
	 
 
	 
						
						This removes the final uses of the compat interfaces.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-11-03 01:19:16 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							0edcb7c1d3 
							
						 
					 
					
						
						
							
							test: print share directory  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 35s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 41s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 41s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 41s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 2m24s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 3m3s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m29s 
				
			 
		
		
	 
 
	 
						
						This is more useful now that state is tracked here.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-11-02 17:00:59 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							0e5ca74b98 
							
						 
					 
					
						
						
							
							cmd/hakurei/print: serialise array for ps  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 35s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 40s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 42s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 2m25s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 3m7s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 3m13s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m27s 
				
			 
		
		
	 
 
	 
						
						Wanted to do this for a long time, since the key is redundant. This also makes it easier to migrate to the new store interface.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-11-02 16:37:08 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							23ae7822bf 
							
						 
					 
					
						
						
							
							cmd/hakurei/parse: use new store interface  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 35s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 2m21s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 4m16s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 4m15s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 4m58s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 2m16s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m28s 
				
			 
		
		
	 
 
	 
						
						This greatly reduces overhead. The iterator also significantly cleans up the usage code.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-11-02 16:00:41 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							898b5aed3d 
							
						 
					 
					
						
						
							
							internal/store: iterator over all entries  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 33s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 2m27s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 3m13s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 4m9s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 4m10s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 4m59s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m31s 
				
			 
		
		
	 
 
	 
						
						This is quite convenient for searching the store or printing active instance information.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-11-02 15:54:00 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							7c3c3135d8 
							
						 
					 
					
						
						
							
							internal/outcome: track state in TMPDIR  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 35s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 2m14s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 3m7s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 4m3s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 4m10s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 4m56s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m30s 
				
			 
		
		
	 
 
	 
						
						The SharePath is a more stable path than RunDirPath, since it is available all the time and should remain consistent. This also fits better into the intended use case of XDG_RUNTIME_DIR.
Closes  #17 .
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-11-02 12:40:58 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							f33aea9ff9 
							
						 
					 
					
						
						
							
							internal/env: cleaner runtime dir fallback  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 34s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 2m16s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 3m10s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 4m1s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 4m14s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 4m57s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m28s 
				
			 
		
		
	 
 
	 
						
						This now places rundir inside the fallback runtime dir, so special case in internal/outcome is avoided.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-11-02 12:22:32 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							e7fc311d0b 
							
						 
					 
					
						
						
							
							internal/outcome/shim: cover reparent and exit request paths  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 26s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 42s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 39s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 39s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 43s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 41s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m31s 
				
			 
		
		
	 
 
	 
						
						These test cases were missed when making the changes.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-11-02 11:58:09 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							f5274067f6 
							
						 
					 
					
						
						
							
							internal/outcome/process: nil-safe unlock when failing to lock  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 32s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 4m13s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 2m10s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 3m9s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 4m7s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 4m57s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m26s 
				
			 
		
		
	 
 
	 
						
						This also prints a debug message which might be useful.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-11-02 11:47:51 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							e7161f8e61 
							
						 
					 
					
						
						
							
							internal/outcome: measure finalise time  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 35s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 2m16s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 3m11s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 4m8s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m19s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 4m4s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 4m56s 
				
			 
		
		
	 
 
	 
						
						This also increases precision of state time output.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-11-02 05:17:33 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							6931ad95c3 
							
						 
					 
					
						
						
							
							internal/outcome/shim: EOF as exit request fallback  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 35s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 55s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 53s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 53s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 1m1s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 1m3s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m34s 
				
			 
		
		
	 
 
	 
						
						In some cases the signal might be delivered before the signal handler is installed, and synchronising against such a case is too expensive. Instead, use the pipe being closed as a fallback to the regular exit request. This change also moves installation of the signal handler early.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-11-02 04:41:26 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							2ba599b399 
							
						 
					 
					
						
						
							
							internal/outcome/process: use new store interface  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 42s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 2m26s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 3m20s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 4m7s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 4m15s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m32s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 5m5s 
				
			 
		
		
	 
 
	 
						
						This change also spawns shim before committing system state, leaving it blocking on the setup pipe. The internal/outcome/process structure is also entirely reworked to be much more readable and less error-prone, while enabling basic performance measurements. A long-standing bug where segment lock is not held during Commit is also resolved.
Closes  #19 .
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-11-02 04:25:45 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							d3d3417125 
							
						 
					 
					
						
						
							
							internal/outcome/process: relocate start and serve  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 34s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 2m14s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 3m11s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 4m2s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 4m5s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m30s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 4m57s 
				
			 
		
		
	 
 
	 
						
						This is useful for reordering these operations for further cleanup.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-11-01 19:14:59 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							651cdf9ccb 
							
						 
					 
					
						
						
							
							internal/outcome: remove guard on main  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 33s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 2m20s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 3m7s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 4m8s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 4m9s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 4m54s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m29s 
				
			 
		
		
	 
 
	 
						
						This is no longer exported. Such a check is pointless.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-31 22:58:26 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							68ff0a2ba6 
							
						 
					 
					
						
						
							
							container/params: expose pipe  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Hpkg (push) Successful in 4m11s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 4m13s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 5m3s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m30s 
				
			 
		
			
				
	 
				Test / Create distribution (push) Successful in 36s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 2m16s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 3m16s 
				
			 
		
		
	 
 
	 
						
						This increases flexibility of how caller wants to handle the I/O. Also makes it no longer rely on finalizer.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-31 22:39:02 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							6a0ecced90 
							
						 
					 
					
						
						
							
							internal/store: expose save via handle  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 26s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 42s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 42s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 46s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 46s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 42s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m30s 
				
			 
		
		
	 
 
	 
						
						The handle is otherwise inaccessible without the compat interface. This change also moves compatibility methods to separate adapter structs to avoid inadvertently using them.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-31 04:20:22 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							b667fea1cb 
							
						 
					 
					
						
						
							
							internal/store: export new interface  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 33s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 2m19s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 3m13s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 4m4s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 4m16s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 4m58s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m30s 
				
			 
		
		
	 
 
	 
						
						This exposes store operations safe for direct access, and enables #19  to be implemented in internal/outcome.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-31 03:41:26 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							b25ade5f3d 
							
						 
					 
					
						
						
							
							internal/store: rename compat interface  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 33s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 2m17s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 3m9s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 4m3s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 4m4s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m25s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 4m54s 
				
			 
		
		
	 
 
	 
						
						The new store implementation will be exported as Store.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-30 18:53:59 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							ebdcff1049 
							
						 
					 
					
						
						
							
							internal/store: rename from state  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 33s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 2m9s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 3m8s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 4m2s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 4m7s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 4m55s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m25s 
				
			 
		
		
	 
 
	 
						
						This reduces collision with local variable names, and generally makes sense for the new store package, since it no longer specifies the state struct.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-30 18:43:55 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							46c5ce4936 
							
						 
					 
					
						
						
							
							internal/outcome/shim: check full behaviour  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 24s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 42s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 38s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 42s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 38s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 39s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m21s 
				
			 
		
		
	 
 
	 
						
						This took significant effort to stub out, and achieves full coverage after c5aefe5e9d.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-30 05:20:49 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							36f8064905 
							
						 
					 
					
						
						
							
							internal/outcome/process: output via msg  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 33s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 2m13s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 3m9s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 3m57s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 4m8s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 4m54s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m27s 
				
			 
		
		
	 
 
	 
						
						This makes it possible to instrument output behaviour through stub.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-30 03:41:38 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							eeb9f98e5b 
							
						 
					 
					
						
						
							
							internal/outcome/shim: move signal constants  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 36s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 2m12s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 3m17s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 4m11s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 4m16s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 5m1s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m30s 
				
			 
		
		
	 
 
	 
						
						The magic numbers hurt readability.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-30 01:20:51 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							3f9f331501 
							
						 
					 
					
						
						
							
							internal/outcome/shim: remove noop resume  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 4m7s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 4m54s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m27s 
				
			 
		
			
				
	 
				Test / Create distribution (push) Successful in 32s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 2m12s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 3m11s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 3m59s 
				
			 
		
		
	 
 
	 
						
						The shim does not suspend output to begin with. These are leftovers from when container startup code suspends output.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-29 23:31:39 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							2563391086 
							
						 
					 
					
						
						
							
							internal/outcome/shim: params check early  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 35s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 2m16s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 3m18s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 4m0s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 4m56s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 4m11s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m29s 
				
			 
		
		
	 
 
	 
						
						This is unreachable, but keeping it here as a failsafe until more test cases are added.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-29 23:10:12 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							a0b4e47acc 
							
						 
					 
					
						
						
							
							internal/outcome: rename from app  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 4m7s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 4m55s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m27s 
				
			 
		
			
				
	 
				Test / Create distribution (push) Successful in 33s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 2m11s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 3m9s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 4m1s 
				
			 
		
		
	 
 
	 
						
						This is less ambiguous, and more accurately describes the purpose of the package.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-29 04:33:13 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							a52f7038e5 
							
						 
					 
					
						
						
							
							internal/env: relocate from app  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 32s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 2m8s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 3m10s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 4m1s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 4m7s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 4m53s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m27s 
				
			 
		
		
	 
 
	 
						
						This package is much cleaner to stub independently, and makes no sense to lump into app.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-29 04:11:49 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							274686d10d 
							
						 
					 
					
						
						
							
							internal/validate: relocate from app  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 37s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 2m23s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 3m9s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 4m7s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 4m11s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 5m1s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m30s 
				
			 
		
		
	 
 
	 
						
						These are free of the dispatcher from internal/app. This change relocates them into their own package.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-29 03:40:09 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							65342d588f 
							
						 
					 
					
						
						
							
							internal/app/state: improve store internals  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 33s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 2m15s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 3m8s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 4m1s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 4m6s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 4m50s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m27s 
				
			 
		
		
	 
 
	 
						
						This fully exposes the store internals for #19  and are final preparations for removing the legacy store interface.
This change also fixes a potential deadlock in the handle initialisation mkdir failure path. This however is never reachable in hakurei as the store is never accessed concurrently.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-29 03:21:00 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							5e5826459e 
							
						 
					 
					
						
						
							
							internal/app/state: improve handles internals  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 33s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 2m8s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 3m10s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 3m56s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 4m7s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 4m53s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m31s 
				
			 
		
		
	 
 
	 
						
						This replaces the Store interface with something better reflecting the underlying data format for #19 . An implementation of Store is provided on top of the new code to ease transition.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-28 22:00:54 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							4a463b7f03 
							
						 
					 
					
						
						
							
							internal/app/state: use absolute pathnames  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 33s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 2m9s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 3m9s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 3m56s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 4m6s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 4m48s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m26s 
				
			 
		
		
	 
 
	 
						
						This is less error-prone and fits better into internal/app which already uses check.Absolute for all pathnames.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-26 03:41:19 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							dacd9550e0 
							
						 
					 
					
						
						
							
							internal/app/state: acquire big lock for toplevel operations  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 33s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 2m20s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 3m5s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 3m54s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 4m3s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 4m50s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m24s 
				
			 
		
		
	 
 
	 
						
						This avoids getting into an inconsistent state for simultaneous calls to List and Do on a previously unknown identity.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-26 03:27:56 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							546b00429f 
							
						 
					 
					
						
						
							
							treewide: update doc comments  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 4m7s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m29s 
				
			 
		
			
				
	 
				Test / Create distribution (push) Successful in 33s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 2m22s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 3m10s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 3m58s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 4m57s 
				
			 
		
		
	 
 
	 
						
						Some internal/app/state types were relocated to hst as part of the API. This change updates doc comments referring to them.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-26 03:00:04 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							86f4219062 
							
						 
					 
					
						
						
							
							internal/app/state/data: check full entry behaviour  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 35s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 2m19s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 3m5s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 4m9s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 4m13s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 4m55s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m29s 
				
			 
		
		
	 
 
	 
						
						This eventually gets relocated to internal/app.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-26 01:49:14 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							fe2929d5f7 
							
						 
					 
					
						
						
							
							internal/app/state: include et header  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 35s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 2m17s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 3m5s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 3m55s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 4m2s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 4m49s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m22s 
				
			 
		
		
	 
 
	 
						
						This is the initial step of implementing #19 .
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-25 22:01:26 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							470e545d27 
							
						 
					 
					
						
						
							
							internal/app/state: use internal/lockedfile  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 33s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 2m15s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 3m11s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 4m0s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 4m4s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 4m52s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m30s 
				
			 
		
		
	 
 
	 
						
						This is a pretty solid implementation backed by robust tests, with a much cleaner interface.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-25 21:29:24 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							8d3381821f 
							
						 
					 
					
						
						
							
							internal/app/state: export correct backend value  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 33s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 2m17s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 3m7s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 3m52s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 3m59s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 4m46s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m25s 
				
			 
		
		
	 
 
	 
						
						This references the underlying multiBackend due to a typo, making the whole dance with c a noop.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-25 21:11:05 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							e9d00b9071 
							
						 
					 
					
						
						
							
							container/executable: handle nil msg  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 33s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 2m10s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 3m4s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 3m59s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 4m2s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 4m45s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m37s 
				
			 
		
		
	 
 
	 
						
						This is useful in some tests.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-25 21:08:54 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							4f41afee0f 
							
						 
					 
					
						
						
							
							internal/app/state: fixed size et-only header  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 46s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 2m29s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 3m26s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 4m15s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 4m14s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 5m3s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m21s 
				
			 
		
		
	 
 
	 
						
						This header improves the robustness of the format and significantly reduces cleanup overhead.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-25 19:15:06 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							7de593e816 
							
						 
					 
					
						
						
							
							cmd/hakurei: short identifier from lower half  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 33s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 39s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 40s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 2m14s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 2m57s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 3m12s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m25s 
				
			 
		
		
	 
 
	 
						
						The upper half is now a nanosecond timestamp. Lower half is still random bytes, so use lower half for short identifier.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-24 00:47:39 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							2442eda8d9 
							
						 
					 
					
						
						
							
							hst/instance: embed config struct  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 34s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 41s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 40s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 2m20s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 2m59s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 3m20s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m28s 
				
			 
		
		
	 
 
	 
						
						This makes the resulting json easier to parse since it can now be deserialised into the config struct.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-24 00:42:16 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							05488bfb8f 
							
						 
					 
					
						
						
							
							hst/instance: store priv side pid  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 33s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 2m14s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 3m8s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 3m58s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 4m1s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 4m44s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m29s 
				
			 
		
		
	 
 
	 
						
						This can receive signals, so is more useful to the caller.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-23 23:19:55 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							dd94818f20 
							
						 
					 
					
						
						
							
							hst/instance: define instance state  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 34s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 2m13s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 3m6s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 4m2s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 4m5s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 4m51s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m30s 
				
			 
		
		
	 
 
	 
						
						This is now part of the hst API. This change also improves identifier generation and serialisation.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-23 22:59:02 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							0fd357e7f6 
							
						 
					 
					
						
						
							
							container/init: do not suspend output  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 25s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 39s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 39s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 42s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 43s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 41s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m20s 
				
			 
		
		
	 
 
	 
						
						Init is not very talkative after process start even when verbose. Suspending output here is pointless and does more harm than good.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-23 08:11:00 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							57231d4acf 
							
						 
					 
					
						
						
							
							container/init: improve signal handling  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 32s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 2m9s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 3m9s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 3m57s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 3m58s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 4m43s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m30s 
				
			 
		
		
	 
 
	 
						
						The SIGTERM signal is delivered in many other cases and can lead to strange behaviour. The unconditional resume of the logger also causes strange behaviour in the cancellation forwarding path. This change also passes through additional signals.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-23 08:02:03 +09:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							c5aefe5e9d 
							
						 
					 
					
						
						
							
							internal/app/shim: check behaviour  
						
						 
						
						... 
						
						
	
		
			
	 
		 
	
	
		
	
	
		
			
				
	 
				Test / Create distribution (push) Successful in 25s 
				
			 
		
			
				
	 
				Test / Sandbox (push) Successful in 39s 
				
			 
		
			
				
	 
				Test / Sandbox (race detector) (push) Successful in 39s 
				
			 
		
			
				
	 
				Test / Hakurei (race detector) (push) Successful in 43s 
				
			 
		
			
				
	 
				Test / Hakurei (push) Successful in 44s 
				
			 
		
			
				
	 
				Test / Hpkg (push) Successful in 41s 
				
			 
		
			
				
	 
				Test / Flake checks (push) Successful in 1m20s 
				
			 
		
		
	 
 
	 
						
						This does not yet have full coverage. Test cases covering failsafe paths and error injection will be added eventually.
Signed-off-by: Ophestra <cat@gensokyo.uk> 
						
						
					 
					
						2025-10-23 06:07:41 +09:00