[{"data":1,"prerenderedAt":225,"buildId":226},["ShallowReactive",2],{"docs:\u002Fguide\u002Ftrust":3},{"page":4,"section":16,"document":17,"credits":10,"prev":217,"next":221},{"id":5,"path":6,"file":7,"title":8,"sourceTitle":8,"description":9,"tagline":9,"eyebrow":10,"credits":10,"keywords":11,"icon":12,"layout":13,"sidebar":14,"toc":14,"kind":10,"group":10,"navigation":14,"order":15},"trust","\u002Fguide\u002Ftrust","guide\u002Ftrust.md","Trust","How fleetjobs decides whether to believe a result from a remote host or run the command again here, and what the trust table keeps.",null,[],"i-lucide-shield-check","article",true,5,"guide",{"nodes":18,"toc":213},[19,23,31,91,94,101,107,121,207],[20,21,22],"p",{},"A host can pass what should fail, or fail what should pass, because it lacks a tool or a file. Running every remote result again here would cost a slot each time. fleetjobs keeps a trust table and reruns only the results that look suspect.",[24,25,30],"h2",{"id":26,"anchor":27},"the-rules",{"label":28,"icon":29},"Section titled \"The rules\"","#","The rules",[32,33,34,47],"table",{},[35,36,37],"thead",{},[38,39,40,44],"tr",{},[41,42,43],"th",{},"Remote result",[41,45,46],{},"What happens",[48,49,50,63,72,80],"tbody",{},[38,51,52,56],{},[53,54,55],"td",{},"Fails, and the output shows an environment error",[53,57,58,59],{},"Runs here again, as class ",[60,61,62],"code",{},"confirm",[38,64,65,68],{},[53,66,67],{},"Fails, and this command has disagreed with this machine before",[53,69,58,70],{},[60,71,62],{},[38,73,74,77],{},[53,75,76],{},"Fails for any other reason",[53,78,79],{},"The remote exit stands",[38,81,82,85],{},[53,83,84],{},"Passes",[53,86,87,88],{},"Stands, except about 2% of passes, when this machine is idle: those run here too, as class ",[60,89,90],{},"sample",[20,92,93],{},"A rerun goes ahead of the queue. When the local result and the remote result differ in pass or fail, that is a disagreement. The local result counts, the command's entry gets a disagreement, and the command is scheduled here only for the next 24 hours.",[20,95,96,97,100],{},"In the bash ",[60,98,99],{},"heavy","'s log, 490 remote failures were rerun here: 417 failed again, so 85% of those reruns only repeated the failure. The 73 that passed are the cases the environment and disagreement rules keep.",[24,102,106],{"id":103,"anchor":104},"the-table",{"label":105,"icon":29},"Section titled \"The table\"","The table",[20,108,109,112,113,116,117,120],{},[60,110,111],{},"trust.json"," in the store maps a key to an entry. The key is the root commit of the repository and the first three words of the command, so ",[60,114,115],{},"pnpm test run src\u002Fa.test.ts"," and ",[60,118,119],{},"pnpm test run src\u002Fb.test.ts"," share an entry.",[122,123,126],"pre",{"language":124,"class":125,"wrap":14},"json","shiki shiki-themes github-light-default github-dark-default dark:github-dark-default",[60,127,129,138,139,138,148,138,163,138,175,138,187,138,197,138,202],{"class":128},"language-json",[130,131,134],"span",{"class":132,"style":133},"line","display: inline",[130,135,137],{"style":136},"color:#1F2328;--shiki-dark:#E6EDF3","{","\n",[130,140,141,145],{"class":132,"style":133},[130,142,144],{"style":143},"color:#116329;--shiki-dark:#7EE787","  \"3f2a9c1 pnpm test run\"",[130,146,147],{"style":136},": {",[130,149,150,153,156,160],{"class":132,"style":133},[130,151,152],{"style":143},"    \"remotePass\"",[130,154,155],{"style":136},": ",[130,157,159],{"style":158},"color:#0550AE;--shiki-dark:#79C0FF","41",[130,161,162],{"style":136},",",[130,164,165,168,170,173],{"class":132,"style":133},[130,166,167],{"style":143},"    \"remoteFail\"",[130,169,155],{"style":136},[130,171,172],{"style":158},"2",[130,174,162],{"style":136},[130,176,177,180,182,185],{"class":132,"style":133},[130,178,179],{"style":143},"    \"disagreements\"",[130,181,155],{"style":136},[130,183,184],{"style":158},"1",[130,186,162],{"style":136},[130,188,189,192,194],{"class":132,"style":133},[130,190,191],{"style":143},"    \"localOnlyUntil\"",[130,193,155],{"style":136},[130,195,196],{"style":158},"1796600000",[130,198,199],{"class":132,"style":133},[130,200,201],{"style":136},"  }",[130,203,204],{"class":132,"style":133},[130,205,206],{"style":136},"}",[20,208,209,212],{},[60,210,211],{},"localOnlyUntil"," is in seconds since 1970 and is absent until a disagreement. Delete a key to forget it, or delete the file to start over. Updates run under the store lock, so several supervisors lose no counts.",[214,216],{"id":26,"depth":215,"text":30},2,{"id":103,"depth":215,"text":106},{"path":218,"title":219,"description":220},"\u002Fguide\u002Fhosts","Remote hosts","Set up a host that runs your jobs over ssh, with the tools it needs, the config entry, and how the checkout is copied and checked.",{"path":222,"title":223,"description":224},"\u002Fguide\u002Fnight","Night queue","What happens to a job the kernel killed twice for memory, and how to list, accept, reject and run the jobs queued for the night.",1796530822148,"9e7c308e-a25b-413c-bd8b-9a1122ddc1d4"]