[{"data":1,"prerenderedAt":232,"buildId":233},["ShallowReactive",2],{"docs:\u002F":3},{"page":4,"section":10,"document":18,"credits":10,"prev":10,"next":10},{"id":5,"path":6,"file":7,"title":8,"sourceTitle":8,"description":9,"tagline":9,"eyebrow":10,"credits":10,"keywords":11,"icon":10,"layout":12,"seo":13,"sidebar":15,"toc":16,"kind":10,"group":10,"navigation":15,"order":17},"index","\u002F","index.md","fleetjobs","Runs your agents' builds and tests on whichever machine finishes them first, from a library or the heavy command.",null,[],"home",{"title":14},"fleetjobs · Builds on the machine that finishes first",true,false,9007199254740991,{"nodes":19,"toc":229},[20,200,208,211,226],[21,22,23,28,32,59,149,178],"fleetjobs-hero",{},[24,25,27],"h1",{"id":26},"builds-and-tests-on-the-machine-that-finishes-first","Builds and tests on the machine that finishes first",[29,30,31],"p",{},"Queue a command, and fleetjobs runs it on the first machine with room. Your agents wait for the exit code and never pick a machine.",[33,34,36],"template",{"name":35},"agents",[37,38,41],"pre",{"language":39,"class":40,"wrap":15},"text","shiki shiki-themes github-light-default github-dark-default dark:github-dark-default",[42,43,45,53,54],"code",{"class":44},"language-text",[46,47,50],"span",{"class":48,"style":49},"line","display: inline",[46,51,52],{},"Install fleetjobs as a dependency.","\n",[46,55,56],{"class":48,"style":49},[46,57,58],{},"Read https:\u002F\u002Ffleetjobs.loadsheet.dev\u002Fguide, then run every build and test through `heavy \u003Ccommand>`.",[33,60,62],{"name":61},"humans",[63,64,85,113,132],"tabs",{"uid":65,"count":66,"labels":67,"sync":71,"code":72,"magic":73,"icons":74},"ct-1hjpl9c-1","3",[68,69,70],"pnpm","npm","bun","pm","true","auto",[75,79,82],{"name":76,"src":77,"ratio":78,"mask":16},"pm:pnpm","data:image\u002Fsvg+xml,%3Csvg xmlns='http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg' viewBox='0 0 32 32'%3E%3Cpath fill='%23f9ad00' d='M30 10.75h-8.749V2H30Zm-9.626 0h-8.75V2h8.75Zm-9.625 0H2V2h8.749ZM30 20.375h-8.749v-8.75H30Z'\u002F%3E%3Cpath fill='%238a8a8a' d='M20.374 20.375h-8.75v-8.75h8.75Zm0 9.625h-8.75v-8.75h8.75ZM30 30h-8.749v-8.75H30Zm-19.251 0H2v-8.75h8.749Z'\u002F%3E%3C\u002Fsvg%3E",1,{"name":80,"src":81,"ratio":78,"mask":16},"pm:npm","data:image\u002Fsvg+xml,%3Csvg xmlns='http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg' viewBox='0 0 32 32'%3E%3Cpath fill='%23c12127' d='M2 2h28v28H2'\u002F%3E%3Cpath fill='%238a8a8a' d='M7.25 7.25h17.5v17.5h-3.5v-14H16v14H7.25'\u002F%3E%3C\u002Fsvg%3E",{"name":83,"src":84,"ratio":78,"mask":16},"pm:bun","data:image\u002Fsvg+xml,%3Csvg xmlns='http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg' viewBox='0 0 32 32'%3E%3Cpath fill='%23fbf0df' d='M29 17c0 5.65-5.82 10.23-13 10.23S3 22.61 3 17c0-3.5 2.24-6.6 5.66-8.44S14.21 4.81 16 4.81s3.32 1.54 7.34 3.71C26.76 10.36 29 13.46 29 17'\u002F%3E%3Cpath fill='none' stroke='%23000' d='M16 27.65c7.32 0 13.46-4.65 13.46-10.65c0-3.72-2.37-7-5.89-8.85c-1.39-.75-2.46-1.41-3.37-2l-1.13-.69A6.14 6.14 0 0 0 16 4.35a6.9 6.9 0 0 0-3.3 1.23c-.42.24-.86.51-1.32.8c-.87.54-1.83 1.13-3 1.73C4.91 10 2.54 13.24 2.54 17c0 6 6.14 10.65 13.46 10.65Z'\u002F%3E%3Cellipse cx='21.65' cy='18.62' fill='%23febbd0' rx='2.17' ry='1.28'\u002F%3E%3Cellipse cx='10.41' cy='18.62' fill='%23febbd0' rx='2.17' ry='1.28'\u002F%3E%3Cpath fill-rule='evenodd' d='M11.43 18.11a2 2 0 1 0-2-2.05a2.05 2.05 0 0 0 2 2.05m9.2 0a2 2 0 1 0-2-2.05a2 2 0 0 0 2 2.05'\u002F%3E%3Cpath fill='%238a8a8a' fill-rule='evenodd' d='M10.79 16.19a.77.77 0 1 0-.76-.77a.76.76 0 0 0 .76.77m9.2 0a.77.77 0 1 0 0-1.53a.77.77 0 0 0 0 1.53'\u002F%3E%3Cpath fill='%23b71422' stroke='%23000' stroke-width='.75' d='M18.62 19.67a3.3 3.3 0 0 1-1.09 1.75a2.48 2.48 0 0 1-1.5.69a2.53 2.53 0 0 1-1.5-.69a3.28 3.28 0 0 1-1.08-1.75a.26.26 0 0 1 .29-.3h4.58a.27.27 0 0 1 .3.3Z'\u002F%3E%3Cpath fill='%23ccbea7' fill-rule='evenodd' d='M14.93 5.75a6.1 6.1 0 0 1-2.09 4.62c-.1.09 0 .27.11.22c1.25-.49 2.94-1.94 2.23-4.88c-.03-.15-.25-.11-.25.04m.85 0a6 6 0 0 1 .57 5c0 .13.12.24.21.13c.83-1 1.54-3.11-.59-5.31c-.1-.11-.27.04-.19.17Zm1-.06a6.1 6.1 0 0 1 2.53 4.38c0 .14.21.17.24 0c.34-1.3.15-3.51-2.66-4.66c-.12-.02-.21.18-.09.27ZM9.94 9.55a6.27 6.27 0 0 0 3.89-3.33c.07-.13.28-.08.25.07c-.64 3-2.79 3.59-4.13 3.51c-.14-.01-.14-.21-.01-.25'\u002F%3E%3C\u002Fsvg%3E",[86,87,90],"tabs-item",{"label":68,"index":88,"icon":89},"1",{"name":76,"src":77,"ratio":78,"mask":16},[37,91,94],{"language":92,"frame":93,"class":40,"wrap":15},"sh","terminal",[42,95,97],{"class":96},"language-sh",[46,98,99,102,106,110],{"class":48,"style":49},[46,100,68],{"style":101},"color:#953800;--shiki-dark:#FFA657",[46,103,105],{"style":104},"color:#0A3069;--shiki-dark:#A5D6FF"," add",[46,107,109],{"style":108},"color:#0550AE;--shiki-dark:#79C0FF"," -g",[46,111,112],{"style":104}," fleetjobs",[86,114,117],{"label":69,"index":115,"icon":116},"2",{"name":80,"src":81,"ratio":78,"mask":16},[37,118,119],{"language":92,"frame":93,"class":40,"wrap":15},[42,120,121],{"class":96},[46,122,123,125,128,130],{"class":48,"style":49},[46,124,69],{"style":101},[46,126,127],{"style":104}," install",[46,129,109],{"style":108},[46,131,112],{"style":104},[86,133,135],{"label":70,"index":66,"icon":134},{"name":83,"src":84,"ratio":78,"mask":16},[37,136,137],{"language":92,"frame":93,"class":40,"wrap":15},[42,138,139],{"class":96},[46,140,141,143,145,147],{"class":48,"style":49},[46,142,70],{"style":101},[46,144,105],{"style":104},[46,146,109],{"style":108},[46,148,112],{"style":104},[33,150,151],{"name":42},[37,152,153],{"language":92,"frame":93,"class":40,"wrap":15},[42,154,155,53,166],{"class":96},[46,156,157,160,163],{"class":48,"style":49},[46,158,159],{"style":101},"heavy",[46,161,162],{"style":104}," pnpm",[46,164,165],{"style":104}," test",[46,167,168,170,173,175],{"class":48,"style":49},[46,169,159],{"style":101},[46,171,172],{"style":108}," --light",[46,174,162],{"style":104},[46,176,177],{"style":104}," lint",[33,179,181],{"name":180},"output",[37,182,183],{"language":39,"class":40,"wrap":15},[42,184,185,53,190,53,195],{"class":44},[46,186,187],{"class":48,"style":49},[46,188,189],{},"job 7 queued in the heavy lane",[46,191,192],{"class":48,"style":49},[46,193,194],{},"job 7 running on this machine",[46,196,197],{"class":48,"style":49},[46,198,199],{},"job 7 exited 0",[201,202,207],"h2",{"id":203,"anchor":204},"two-lanes",{"label":205,"icon":206},"Section titled \"Two lanes\"","#","Two lanes",[29,209,210],{},"Heavy jobs take a slot each and wait their turn. Light jobs run beside them.",[29,212,213,214,217,218,221,222,225],{},"An agent that needs the result calls ",[42,215,216],{},"heavy \u003Ccommand>"," and gets the command's exit code. One that wants to carry on calls ",[42,219,220],{},"heavy submit",", then ",[42,223,224],{},"heavy wait \u003Cid>"," later.",[29,227,228],{},"fleetjobs is at an early version: the commands parse and print, and the queue behind them lands in later releases.",[230],{"id":203,"depth":231,"text":207},2,1796521692728,"b7c410bb-5c5a-4cba-8fe2-6fac86095105"]