BUILDBOX-WORKER(1)
π buildbox-worker(1) β User Commands π
okay bestie, strap in. this one is A LOT and we are covering every single flag, no skipping, no "you get the idea". you DO get the idea, but you're getting the details anyway. π
πΈ NAME πΈ
buildbox-worker β buildbox-worker.
that's it. that's the description. it's naming itself. queen behavior honestly. π
π¦ SYNOPSIS π¦
buildbox-worker
no arguments on the command line, bestie β everything this thing does, it does through flags. π«Ά
β¨ DESCRIPTION β¨
buildbox-worker is the little engine running your builds, and every knob it has is listed right here in this section. there are like a hundred of them. we're doing all of them. every default, every [optional], every service-specific twin of every flag. no cap. π
π the general / worker-level stuff π
--helpβ shows you the usage and exits. that's it. that's the whole job. π«‘--versionβ prints the version info and peaces out. [optional]--instanceβ the instance name you want handed to the Remote Workers API and the CAS servers. [optional, default =""]--digest-functionβ set a custom digest function. the supported ones areSHA512,SHA384,SHA256,SHA1,MD5. [optional, default ="SHA256"]--concurrent-jobsβ how many jobs run at once. defaults to literally one at a time, which is very "one thing at a time, we're being mindful" of it. [optional, default =1]--stop-afterβ terminate after running the given number of jobs. defaults to non-terminating, i.e. it just. keeps. going. [optional, default =-1]--consecutive-errors-thresholdβ mark the worker asUNHEALTHYafter N consecutive errors. disabled by default, and0means disabled. [optional, default =0]--priorityβ worker priority for job scheduling. lower value = more prioritized than workers with a bigger priority value. so small number, big energy. [optional, default =0]--disk-usage-health-checkβ mark the worker asUNHEALTHYif disk usage goes over the threshold. format is--disk-usage-health-check=/path:80%. you can pass it multiple times for different paths. [optional]
π all-services flags (one flag to rule them all) π
these are the "for all services" versions β set them once and they apply everywhere. π
--remoteβ URL for all services. [optional]--instanceβ instance for all services. [optional] (yep,--instanceshows up twice in this page. we don't make the rules, we just document them π)--server-certβ server TLS certificate for all services, PEM-encoded. [optional]--client-keyβ client private TLS key for all services, PEM-encoded. [optional]--client-certβ client TLS certificate for all services, PEM-encoded. [optional]--access-tokenβ auth token for all services (JWT, OAuth token, whatever you got). it gets included as an HTTPAuthorizationbearer token. [optional]--token-reload-intervalβ default access token refresh timeout. [optional]--googleapi-authβ useGoogleAPIAuthfor all services. [optional]--credential-helperβ credential helper executable for all services. [optional]--retry-limitβ retry limit for gRPC errors for all services. [optional]--retry-delayβ retry delay for gRPC errors for all services. [optional]--retry-on-codeβ gRPC status code(s) as string(s) to retry on for all services, e.g.'UNKNOWN','INTERNAL'. [optional]--request-timeoutβ timeout for gRPC requests for all services. set it to0to disable the timeout entirely. [optional]--min-throughputβ minimum throughput for gRPC requests for all services, in bytes per second. the value can be suffixed withK,M,GorT. [optional]--keepalive-timeβ gRPC keepalive pings period for all services. set it to0to turn keepalive pings off. [optional]--load-balancing-policyβ gRPC load balancing policy for all services. valid options are'round_robin'and'grpclb'. [optional]
π€ Bots service (the --bots- girlies) π€
--bots-remoteβ URL for the Bots service. [optional]--bots-instanceβ name of the Bots instance. [optional]--bots-server-certβ server TLS certificate for Bots, PEM-encoded. [optional]--bots-client-keyβ client private TLS key for Bots, PEM-encoded. [optional]--bots-client-certβ client TLS certificate for Bots, PEM-encoded. [optional]--bots-access-tokenβ auth token for Bots (JWT, OAuth token etc), included as an HTTPAuthorizationbearer token. [optional]--bots-token-reload-intervalβ access token refresh timeout for the Bots service. [optional]--bots-googleapi-authβ useGoogleAPIAuthfor the Bots service. [optional]--bots-credential-helperβ credential helper executable for the Bots service. [optional]--bots-retry-limitβ retry limit for gRPC errors for the Bots service. [optional]--bots-retry-delayβ retry delay for gRPC errors for the Bots service. [optional]--bots-retry-on-codeβ gRPC status code(s) as string(s) to retry on for the Bots service, e.g.'UNKNOWN','INTERNAL'. [optional]--bots-request-timeoutβ timeout for gRPC requests for the Bots service. set it to0to disable the timeout. [optional]--bots-min-throughputβ minimum throughput for gRPC requests for the Bots service, bytes per second. the value can be suffixed withK,M,GorT. [optional]--bots-keepalive-timeβ gRPC keepalive pings period for the Bots service.0disables keepalive pings. [optional]--bots-load-balancing-policyβ gRPC load balancing policy for the Bots service. valid options are'round_robin'and'grpclb'. [optional]
π¦ CAS service (content-addressed, --cas- coded) π¦
--cas-remoteβ URL for the CAS service. [optional]--cas-instanceβ name of the CAS instance. [optional]--cas-server-certβ server TLS certificate for CAS, PEM-encoded. [optional]--cas-client-keyβ client private TLS key for CAS, PEM-encoded. [optional]--cas-client-certβ client TLS certificate for CAS, PEM-encoded. [optional]--cas-access-tokenβ auth token for CAS (JWT, OAuth token etc), included as an HTTPAuthorizationbearer token. [optional]--cas-token-reload-intervalβ access token refresh timeout for the CAS service. [optional]--cas-googleapi-authβ useGoogleAPIAuthfor the CAS service. [optional]--cas-credential-helperβ credential helper executable for the CAS service. [optional]--cas-retry-limitβ retry limit for gRPC errors for the CAS service. [optional]--cas-retry-delayβ retry delay for gRPC errors for the CAS service. [optional]--cas-retry-on-codeβ gRPC status code(s) as string(s) to retry on for the CAS service, e.g.'UNKNOWN','INTERNAL'. [optional]--cas-request-timeoutβ timeout for gRPC requests for the CAS service. set it to0to disable the timeout. [optional]--cas-min-throughputβ minimum throughput for gRPC requests for the CAS service, bytes per second. the value can be suffixed withK,M,GorT. [optional]--cas-keepalive-timeβ gRPC keepalive pings period for the CAS service.0disables keepalive pings. [optional]--cas-load-balancing-policyβ gRPC load balancing policy for the CAS service. valid options are'round_robin'and'grpclb'. [optional]
π§ LogStream service (all the --logstream- things) π§
--logstream-remoteβ URL for the LogStream service. [optional]--logstream-instanceβ name of the LogStream instance. [optional]--logstream-server-certβ server TLS certificate for LogStream, PEM-encoded. [optional]--logstream-client-keyβ client private TLS key for LogStream, PEM-encoded. [optional]--logstream-client-certβ client TLS certificate for LogStream, PEM-encoded. [optional]--logstream-access-tokenβ auth token for LogStream (JWT, OAuth token etc), included as an HTTPAuthorizationbearer token. [optional]--logstream-token-reload-intervalβ access token refresh timeout for the LogStream service. [optional]--logstream-googleapi-authβ useGoogleAPIAuthfor the LogStream service. [optional]--logstream-credential-helperβ credential helper executable for the LogStream service. [optional]--logstream-retry-limitβ retry limit for gRPC errors for the LogStream service. [optional]--logstream-retry-delayβ retry delay for gRPC errors for the LogStream service. [optional]--logstream-retry-on-codeβ gRPC status code(s) as string(s) to retry on for the LogStream service, e.g.'UNKNOWN','INTERNAL'. [optional]--logstream-request-timeoutβ timeout for gRPC requests for the LogStream service. set it to0to disable the timeout. [optional]--logstream-min-throughputβ minimum throughput for gRPC requests for the LogStream service, bytes per second. the value can be suffixed withK,M,GorT. [optional]--logstream-keepalive-timeβ gRPC keepalive pings period for the LogStream service.0disables keepalive pings. [optional]--logstream-load-balancing-policyβ gRPC load balancing policy for the LogStream service. valid options are'round_robin'and'grpclb'. [optional]
π Asset service (these say --ra-, don't ask) π
--ra-remoteβ URL for the Asset service. [optional]--ra-instanceβ name of the Asset instance. [optional]--ra-server-certβ server TLS certificate for Asset, PEM-encoded. [optional]--ra-client-keyβ client private TLS key for Asset, PEM-encoded. [optional]--ra-client-certβ client TLS certificate for Asset, PEM-encoded. [optional]--ra-access-tokenβ auth token for Asset (JWT, OAuth token etc), included as an HTTPAuthorizationbearer token. [optional]--ra-token-reload-intervalβ access token refresh timeout for the Asset service. [optional]--ra-googleapi-authβ useGoogleAPIAuthfor the Asset service. [optional]--ra-credential-helperβ credential helper executable for the Asset service. [optional]--ra-retry-limitβ retry limit for gRPC errors for the Asset service. [optional]--ra-retry-delayβ retry delay for gRPC errors for the Asset service. [optional]--ra-retry-on-codeβ gRPC status code(s) as string(s) to retry on for the Asset service, e.g.'UNKNOWN','INTERNAL'. [optional]--ra-request-timeoutβ timeout for gRPC requests for the Asset service. set it to0to disable the timeout. [optional]--ra-min-throughputβ minimum throughput for gRPC requests for the Asset service, bytes per second. the value can be suffixed withK,M,GorT. [optional]--ra-keepalive-timeβ gRPC keepalive pings period for the Asset service.0disables keepalive pings. [optional]--ra-load-balancing-policyβ gRPC load balancing policy for the Asset service. valid options are'round_robin'and'grpclb'. [optional]
π the last three, and yes they matter π
--max-wait-timeβ sets the maximum amount of time, in seconds, between the worker polling the Bots service. [optional, default =60]--graceful-shutdown-timeoutβ sets how many seconds to wait for ongoing executions to finish during a graceful shutdown before it escalates to a forceful shutdown. if you don't provide it, ongoing executions just run all the way to completion during graceful shutdown. [optional]--preserve-update-bot-sessionβ when an execution is completed, the previousUpdateBotSessionRPC gets preserved. if you don't provide it, the previous RPC gets cancelled instead. [optional, default =false]
not even close to done bestie β this is part 1 and there is MORE. don't go anywhere. π«Ά
--runner-use-job-instanceβ turn this on and the worker does a little βοΈ surgery on the lease ID: it splits at the last/and uses the prefix as the instance name for runner CAS and asset connections. [optional, default =false]--buildbox-runβ the absolute path to the runner executable. bestie this one is required, no skipping it π«Ά [required]--runner-argβ extra args you wanna hand tobuildbox-runwhenever the worker runs a job. super handy if thebuildbox-runimplementation you're using vibes with non-standard options β¨ [optional]--platformβ adds a key-value pair to the'Platform'message the worker sends to the server (peep the Remote Workers API specification for the keys and values you're allowed to use π). the format is literally--platform KEY=VALUE[optional]--metrics-modeβ format is--metrics-mode=MODEwhereMODEis one of:udp://<hostname>:<port>file:///path/to/filestderr
[optional]
--metrics-publish-intervalβ how often metrics get published, the interval itself π [optional]--metrics-statsd-formatβ if you set this to any value, it's the format the statsd publisher uses when tagging is on. it supportsinflux,graphiteanddog, and defaults toinfluxπΆ [optional, default ="influx"]--log-levelβ log verbosity level, aka how chatty this thing is gonna be π’ [optional, default ="info"]--verboseβ sets the log level todebug. full tea, every detail, no secrets π΅ [optional]--log-directoryβ writes logs into this directory, with filenames shaped like<program name>.<hostname>.<user name>.log.<severity level>.<date>.<time>.<pid>β yes it's giving extremely specific and we love that for us πΈ [optional, default =""]--config-fileβ the absolute path to a config file π [optional, default =""]
and that's the last one on the flag roster bestie, but there's one more thing sitting quietly at the end of the list, and it's a positional π
BOT IdPOSITIONAL [optional]
lowkey that's exactly how it shows up in the manpage, so I'm handing it to you character for character β no notes, no edits, periodt π
<h2>okay that's a wrap π</h2>
you just survived the whole thing, iconic behavior honestly π this page is from buildbox-worker 1.4.16, dated August 2026, and it answers to the name BUILDBOX-WORKER(1) when it's out in public π
now go run something, bestie, you've got this π¦β¨
π¦ where this page comes from
- ubuntu stonking: buildbox 1.4.16+dfsg-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms