File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -445,6 +445,16 @@ const ao = createAoClient({
445445 { name : 'app-name' , value : 'anyone-protocol' } ,
446446 { name : 'name' , value : `${ contract } -${ Date . now ( ) } ` } ,
447447 ] ,
448+ // 🚨 DEFER the forced first compute. `spawnProcess` normally drives slot 0 by reading
449+ // `now/at-slot`, and on a gated node that read is the SAME one the publish-then-verify
450+ // ordering below exists to work around: unsigned, and free only for pids already in
451+ // `p4-non-chargable-routes`. Leaving it on means the spawn fails before the Consul key is
452+ // ever written — "spawned … but it never computed after 30 attempts (400: Node will not
453+ // service this request)" — which is exactly what happened on stage 2026-08-31.
454+ //
455+ // Nothing is lost by deferring: `materialize()` below calls forceFirstCompute itself, and it
456+ // runs after the route exists. Slot 0 is still driven before any view is read.
457+ verify : false ,
448458 } )
449459 console . log ( `process id ${ processId } (slot ${ slot } )` )
450460
You can’t perform that action at this time.
0 commit comments