Features act has that runthrough did not. Check an item off when it lands.
Sources (2026-10-16): act cmd/root.go on master for flags; act's
not supported page; runthrough at bcba319.
Items marked (unverified) come from general knowledge of act, not from those pages.
Tests: cargo test covers the host-runnable items; cargo test -- --ignored (outside a
sandbox) covers the servers, Docker and Apple container.
- Docker actions:
runs.using: docker(Dockerfile ordocker://image,args,env,pre-entrypoint,post-entrypoint) anduses: docker://…steps (with.args,with.entrypoint); act builds them (its--rebuildflag rebuilds local action Docker images). Run as sibling containers sharing the job's directories and network - Service containers (
jobs.<id>.services) — on a per-job network with the service id as host name,job.services.<id>.{id,network,ports}, waits for--health-cmd. Applecontainerhas neither network aliases nor health checks, so services are added to the job container's/etc/hostsand--health-cmdis polled withcontainer exec(act support unverified) - Reusable workflows (
jobs.<id>.uses) — local andowner/repo/path@ref, typedwithinputs and defaults,secretsmapping orinherit,on.workflow_call.outputs, matrix callers (act support unverified) -
actions/checkoutof another repository — shallow clone ofrepositoryatrefintopath, withtokenpassed as a header - Artifact server (
--artifact-server-path,--artifact-server-addr,--artifact-server-port) — the@actions/artifactv2 API used byupload-artifact@v4/download-artifact@v4; the v3 actions' API is not served - Cache server for
actions/cache(--no-cache-server,--cache-server-path,--cache-server-external-url,--cache-server-addr,--cache-server-port) — the@actions/cachev1 API (ACTIONS_CACHE_URL) and the v2 API used byactions/cache@v4(ACTIONS_CACHE_SERVICE_V2), sharing one store, on by default and persisted under~/.cache/runthrough/cache. v2 details: the toolkit uses v2 only when the job'sGITHUB_SERVER_URLhost isgithub.com,*.ghe.comor*.localhost, and v1 otherwise; jobs getACTIONS_CACHE_SERVICE_V2=truewhile the cache server runs, except that when runthrough's own environment sets a non-emptyACTIONS_RUNTIME_TOKEN(every job then gets that token, which carries no cache-mode, so the v2 server takes it aswrite), jobs whosecache-modeis notwritegetACTIONS_CACHE_SERVICE_V2set to the empty string, which overrides a value inherited from runthrough's environment and by default keeps them on v1, whose URL carries their mode (a workflow or job that setsACTIONS_CACHE_SERVICE_V2itself overrides it, and v2 then treats the job aswrite; an empty caller token counts as none: runthrough signs its own); the injected value is overridden by a workflow, job or stepenv:and by--env, so a job-levelenv: { ACTIONS_CACHE_SERVICE_V2: "" }keeps one job on v1; the Twirp calls need the run'sACTIONS_RUNTIME_TOKEN, while blob uploads and downloads are authorized by their signed URLs alone; the toolkit drops the path ofACTIONS_RESULTS_URL, so with the cache server only it points at the cache server's origin (with--cache-server-external-url, that URL's origin; a proxy must forward/twirp/and/cache-v2/at its root), and with--artifact-server-pathit stays at the artifact port, which forwards the cache calls;--no-cache-serversets neitherACTIONS_CACHE_SERVICE_V2nor a cache-derivedACTIONS_RESULTS_URL. BuildKit'stype=ghacache (docker/build-push-action, buildx; Go clienttonistiigi/go-actions-cache) switches to the v2 API too when the job hasACTIONS_CACHE_SERVICE_V2=true; the v2 routes serve what that client needs: byte-range downloads (x-ms-rangeorRange,bytes=N-/bytes=N-M, answered206when the range has data and416when it starts at or beyond the end),HEADon the signed download URL, anx-ms-request-idheader on every answer, and a 409already_existsanswer to aCreateCacheEntryfor a key and version that exist or are being uploaded, which the client takes as "already exists". This is built from the client's source and tested at the handler level, not confirmed with a real BuildKit run (seedocs/specs/cache-v2.md, section 5)
-
--watch— rerun when files change -
--matrix— run only matching matrix combinations -
--concurrent-jobs— cap concurrent jobs (default: number of CPUs) -
--detect-event— use the workflows' first event -
--reuse— keep job containers and their directories under~/.cache/runthrough/reuseand reattach on the next run -
--rm— accepted for compatibility; containers are always removed unless--reuse(act keeps failed ones without--rm)
-
--graph— draw the workflow graph -
--json— JSON logs -
--quiet— hide step output -
--log-prefix-job-id— prefix logs with the job ID only -
--man-page -
--bug-report -
--list-options
-
--input-file(default.input) -
--actor(defaultgit config user.name) -
--defaultbranch(default fromrefs/remotes/<remote>/HEAD, elsemain) -
--remote-name -
--insecure-secrets— print secrets unmasked
- Recurse into subdirectories of
-W(act's default;--no-recursedisables it) - Without
-W, read.runthrough/workflowsas well as.github/workflows(runthrough addition)
-
--privileged -
--userns— passed through; not exercised (Docker Desktop has no user namespaces) -
--container-cap-add -
--container-cap-drop— passed through like--container-cap-add -
--network -
--container-daemon-socket— mount a host socket at/var/run/docker.sockin job containers (opt-in; act mounts it by default) -
--daemon-socket-job ID(runthrough only) — mount the socket only into the named jobs (repeatable; without--container-daemon-socket,/var/run/docker.sock), so.actrccan give it to adocker composejob without handing every job the engine and the host network -
--simulated-token-job ID(runthrough only) — give the named jobs a placeholderGITHUB_TOKENwhen none is set (repeatable), for actions that only require one to be present (anchore/sbom-actionuploading to the artifact server); GitHub's API rejects it, even for public data, so it is not given to every job -
--rebuild— rebuild Dockerfile action images (otherwise reused by a tag stable across runs)
-
--use-gitignore—--use-gitignore falsecopies ignored files too -
--no-skip-checkout— run the realactions/checkout(it needs-s GITHUB_TOKEN=…, as on act) -
--local-repository— mapowner/repo@refto a local folder, for actions and reusable workflows -
--use-new-action-cache— not applicable, no flag added: runthrough's cache already keeps one clone perowner/repo@refand works offline (--offline, alias--action-offline-mode)
-
--github-instance—github.server_url/api_url/graphql_urland the host actions are fetched from; fetching from a real GHES instance is not exercised -
--replace-ghe-action-with-github-com -
--replace-ghe-action-token-with-github-com
-
--validate— load every workflow and check its job graph -
--strict— reject keys outside the workflow, job and step schema
Sources: nektosact.com usage guide,
runners,
custom container engine,
GitHub Enterprise,
schema; act cmd/root.go flag help; runthrough at 60955c4.
"Confirmed" means the gap was reproduced with runthrough.
-
.actrc— default arguments (one per line;--flag valuesplits in two) from$XDG_CONFIG_HOME/act/actrc,~/.actrc, then./.actrc, before the command line -
--var NAME/--env NAMEwithout a value take it from the environment -
-s NAMEwithNAMEunset prompts on the terminal with echo off (stty -echo); without a terminal it fails with a clear error - An
"inputs"object in the-eevent payload sets inputs (precedence: defaults < payload <--input) - For
workflow_dispatch,github.event.inputsholds the resolved inputs
-
ACT(andRUNTHROUGH) are in theenvcontext, soif: ${{ !env.ACT }}skips a step
-
--pulldefaults to true and accepts--pull=false -
--action-offline-modekeeps cached actions and present images (no pull) and still fetches missing ones;--offlinestays strict - Version-specific default images:
ubuntu-<version>→catthehacker/ubuntu:act-<version>;ubuntu-lateststaysact-latest - A remote engine through
DOCKER_HOST(ssh://…,tcp://…) — copy mode: the job root and action cache live in volumes synced withdocker cp, Docker actions mount the same volumes;--bindand Docker actions in host jobs are refused. Exercised by forcing it on a local Docker (RUNTHROUGH_REMOTE_ENGINE=1); a real remote host is not
-
upload-artifact/download-artifactv3 (ACTIONS_RUNTIME_URL), gzipped chunks included — round-tripped with the real v3 and v4 actions
- Schema validation on every run: required keys (
on,jobs,runs-on/uses,steps,runxoruses) and value types; unknown keys only with--strict. Narrower than act's full JSON schema
Sources: act master — pkg/model/github_context.go, pkg/model/workflow.go,
pkg/runner/run_context.go, pkg/runner/step.go, pkg/runner/command.go,
pkg/exprparser/functions.go; runthrough at 60d9c96. "Confirmed" means the gap was
reproduced with runthrough; "code" means it was read from runthrough's source.
Left out on purpose: act turns input names into INPUT_* by replacing every character
outside A-Z0-9- with _, but @actions/core (and runthrough) replace only spaces, so
copying act would break dotted inputs. hashFiles (SHA-256 over the per-file SHA-256
digests) is believed to match GitHub's runner rather than act; not verified against GitHub.
-
github.ref/shafrom the event payload:pull_request*→refs/pull/<number>/merge,pull_request_target→refs/heads/<base ref>and base SHA,release→refs/tags/<tag_name>,deployment*→deployment.ref/.sha,push/create/workflow_dispatch→refandafter(whendeletedis false);head_ref/base_reffrompull_request -
ref_typeempty forrefs/pull/…refs,ref_namefrom the derived ref -
GITHUB_ACTION_REFforuses:steps;github.action_ref/github.action_repositoryinside remote composite actions -
ImageOSfrom the job container's/etc/os-releasewhen it is Ubuntu (socatthehacker/ubuntu:act-latestfollows GitHub'subuntu-latestas it moves to Ubuntu 26), else from the label (ubuntu-22.04→ubuntu22;ubuntu-latest→ubuntu24, where act saysubuntu20),RUNNER_PERFLOG=/dev/null,RUNNER_TRACKING_ID,GITHUB_RETENTION_DAYS, andLANG=C.UTF-8in job containers -
GITHUB_SERVER_URL/GITHUB_API_URL/GITHUB_GRAPHQL_URLandACTIONS_RUNTIME_URL/ACTIONS_RUNTIME_TOKENfrom the caller's environment override the generated values; an explicit--github-instancewins over the URL variables, which are always set inside a GitHub Actions job - A tool cache that survives runs: job containers get
~/.cache/runthrough/toolcache/linuxat/opt/hostedtoolcache(arunthrough-toolcachevolume with a remote engine); host jobs a per-OS directory beside it
-
::set-envand::add-pathonly when the job setsACTIONS_ALLOW_UNSECURE_COMMANDS=true(as on GitHub); otherwise an error line points toGITHUB_ENV/GITHUB_PATH - Azure DevOps syntax
##[command key=value;]message
-
container.credentials/services.<id>.credentials(username,password), falling back to theDOCKER_USERNAME/DOCKER_PASSWORDsecrets for the job container:docker logininto a throwaway config, so~/.dockeris untouched. Docker only (Apple'sregistry loginwrites the keychain). A failed login is exercised; a successful pull from a private registry is not - Not adopted: the engine socket stays opt-in (
--container-daemon-socket PATH;-is accepted and mounts nothing), since mounting it by default hands every job control of the host's engine - Jobs without
container:that have services, or that get the engine's socket (--container-daemon-socket, narrowed by--daemon-socket-job), share the host network (Docker), as act does for services and as GitHub's runner VM reaches services and the containers it starts itself (docker compose up) onlocalhost; other jobs keep the engine's default network. Apple's engine has no host network, so there services are reached by name - Jobs that publish the same host port (a service's fixed
ports: [5432:5432]) run one at a time, as on GitHub each job has its own runner VM; here they share one engine, where the second-p 5432:5432fails with "port is already allocated"; a job given the engine's socket may publish anything (docker compose up), so it waits for, and holds off, every job publishing a fixed host port and every other job given the socket - Not adopted: containers are removed after every job so failed runs do not pile up;
--reusekeeps them,--keepkeeps the job directory
-
runs-on: {group, labels}addsgroupto the labels (so-P <group>=…maps it) - A matrix
excludekey that is not a matrix key is an error (as on GitHub) - Not adopted:
strategy.max-parallelkeeps GitHub's default (no limit);--concurrent-jobscaps jobs overall
Sources: act master — pkg/model/planner.go, pkg/exprparser/interpreter.go,
pkg/runner/action.go, pkg/runner/reusable_workflow.go, pkg/runner/step_action_remote.go,
pkg/artifactcache/handler.go; runthrough at f50934a. "Confirmed" means reproduced with
runthrough; "code" means read from runthrough's source.
Already on par, so not listed: missing needs and cycles fail the
plan, null == 0 / 'true' == true coercion, a[0] / a['x'] indexing, case-insensitive
context names, empty objects and arrays being truthy, the status-function default for if,
owner/repo/path@ref actions, --replace-ghe-action-with-github-com, and the skipped
actions/checkout emulation.
- Job IDs must match
^[A-Za-z_][A-Za-z0-9_-]*$(as on GitHub) - A workflow that fails to load is reported on stderr and skipped while the others run; the run then exits 1 (2 when nothing loads)
- Workflows triggered by the same event run side by side (each keeps its own stage order;
--concurrent-jobsbounds jobs across them)
- Objects and arrays never compare equal: values are copies here, so no two are the same instance (GitHub's rule); act raises an error instead
- A Docker action's
with.args/with.entrypointoverrideruns.args/runs.entrypoint(as on GitHub) - A directory with a
Dockerfilebut noaction.ymlruns as a Docker action - Remote actions and reusable workflows are cloned with
secrets.GITHUB_TOKENwhen it is set (sent as a header, not stored), so private repositories work; not exercised against a private repository
- Cache keys are case-insensitive (stored lowercased, as in act)
- Old entries are collected when the server starts and after each upload: unused for 7 days, created over 30 days ago, superseded versions of a key, and uploads abandoned for 5 minutes
- The cache API sits under a random per-run path (
ACTIONS_CACHE_URL=http://host:port/<token>/); requests outside it get 404
Sources: act master — pkg/runner/step_run.go, pkg/runner/job_executor.go,
pkg/artifacts/server.go, pkg/artifacts/artifacts_v4.go, pkg/container/docker_run.go;
runthrough at dad8e91. Already on par: pre → main → post
order with post steps in reverse, job result from step failures, the v3 artifact routes,
.gz__ storage and missing authorization (runthrough's artifact server had none either; it now checks the job's token, below).
act keeping failed jobs' containers is the "not adopted" item above.
- PowerShell scripts get
$ErrorActionPreference = 'stop'and end withexit $LASTEXITCODE(GitHub's wrapper) — reproduced before the fix: a failing native command left the step green -
cmdshell (cmd /D /E:ON /V:OFF /S /C "CALL "{0}"", script prefixed with@echo off) and PowerShell as the default shell for host jobs on Windows (pwsh, elsepowershell); not exercised, as no Windows host was available - v4 upload/download URLs are signed (HMAC-SHA256 with a per-run key) and expire after 60 minutes; a bad or stale signature gets 401 — previously
sig=runthroughwas never checked - Images that run as a non-root user can write outputs and the workspace: copy mode creates and copies as root, then opens the files (
chmod a+rwX); with bind mounts the job's own scratch directories are opened on the host (act chowns instead; the user's repository under--bindis never touched) — reproduced before the fix in copy mode - The artifact API (Twirp calls and the v3 routes) needs
Authorization: Bearerwith a token this run issued:ACTIONS_RUNTIME_TOKENis an HS256 JWT signed with a per-run key, or the caller's ownACTIONS_RUNTIME_TOKEN; other calls get 401. act's server checks nothing, so with0.0.0.0(Applecontainer) anyone on the network could read or replace artifacts — round-tripped with the real v3 and v4 actions - Exit code 127 is explained as "command not found"
- The job container gets its job ID as a network alias on user-defined networks, so services can reach it
- Not adopted: act allocates a TTY for
execwhen the terminal is one; runthrough parses step output line by line, and a TTY would merge stderr and add carriage returns
scripts/act_suite.py runs act's runner integration tests from pkg/runner/runner_test.go
through runthrough with act's test settings (--no-recurse, --actor nektos/act,
node:24-bookworm-slim, each case's event.json and config/config.yml) and compares the
outcome with act's expected success or failure: the TestRunEvent table (jobs in
containers), the TestRunEventHostEnvironment tables (jobs on the host) and the
single-workflow tests (secrets, inputs, pull_request, --matrix, masking, post-step and
pull failures):
git clone --depth 1 https://github.com/nektos/act.git /path/to/act
python3 -I scripts/act_suite.py /path/to/act target/debug/runthrough "$TMPDIR/act-suite"First run (TestRunEvent only): 59/87. Last run on macOS (all tables): 137/137. The
script swaps the image for three cases that failed for reasons outside runthrough:
docker-action-host-env: its Dockerfile buildsFROM debian:bullseye-slim, whose security archive returns 404 (a plaindocker buildfails the same way). The script runs a copy of the case under<out dir>/patchedwith the base imagedebian:bookworm-slim.- Host
shells/pwshandshells/sh: macOS has nopwshand its/bin/shis bash; act runs the host tables on Linux only. Off Linux the script runs these two incatthehacker/ubuntu:pwsh-latestandnode:24-bookworm-slim(dash as/bin/sh). Run on Linux (adebian:12-slimcontainer with PowerShell, Node and a runthrough built inrust:1-bookworm), their host jobs pass as-is.
Differences the suite exposed, all fixed:
-
defaults.run.shellexpressions (${{ env.MY_SHELL }}) were run unevaluated - A Docker action's
entrypoint: /bin/sh -cis split: the first word is the entrypoint, the rest go before the args -
${{ insert }}mapping keys merge an object into the mapping; instrategy.matrix, a list item that is one expression yielding a list is spliced in - State saved by
prereachesmainandpost;pre-if/post-ifsee the action'sinputs - Remote actions'
prehooks run before the first step (local actions only exist after checkout, so theirs run in place) - An absolute
working-directorysuch as/rootis created inside the job container, not on the host - A Docker action's build context is its Dockerfile's directory (
image: ../Dockerfile) - Running a workflow for
workflow_calluseson.workflow_call.inputsdefaults;boolean/numberinputs are converted from strings -
job.containeris null for jobs withoutcontainer:, sojob.container && 'sh' || 'bash'picks bash - Step
env:is evaluated with the job's env context intact, sowith:still seesGITHUB_ENVadditions -
--local-repositorydirectories are mounted into job containers; keys may start withhttps://github.com/ - With a host-network job, services keep a bridge network and publish their ports to the host
- A service container whose start fails is removed (it was left behind as
Created) - Remote actions are fetched before the job container starts: cloned into the mounted cache afterwards, they were sometimes not visible inside the container on Docker Desktop (
Cannot find module 'which', 3 of 5 fresh runs; 0 of 8 after the fix) - A job whose runs-on labels map to no platform is skipped with a hint, as in act, instead of failing (found running the host tables on Linux, where
macos-latesthas no platform); a job whose matrix legs are all skipped reportsskipped
Source: Workflow syntax for GitHub Actions. Keys runthrough accepted but did not act on, or did not know:
-
on.<event>filters (branches,branches-ignore,tags,tags-ignore,paths,paths-ignore,types,workflow_run.workflows) decide whether a workflow runs, as on GitHub. Differs from act, which selects by event name only;-jor a single workflow file still bypasses them. Changed files come from the payload'scommitsorbefore..after(pull_request:base.sha...head.sha); without thempathspasses. Without-e, apushpayload'sbeforeis<remote>/<branch>when HEAD is ahead of it (what pushing now would send), sopathsand actions such asdorny/paths-filtersee the unpushed commits; an up-to-date, behind or new branch gets nobefore, and the checkout'sorigin/<branch>points at the commit being run, as after the push on GitHub -
steps[*].background,wait,wait-all,cancel,parallel: background steps run on their own threads (at most 10 at once), their outputs,GITHUB_ENV/GITHUB_PATHadditions and post steps apply when waited for, an implicitwait-allprecedes the post steps, andcancel(or the job being cancelled, also while it waits for them) sends SIGTERM to the step's process group, then SIGKILL after 5s (a timeout kills the group; on Windows the process tree is ended withtaskkill); on the host that group also ends when runthrough exits;parallelchildren'sprehooks run in the job's pre phase; rejected inside composite actions -
concurrency(workflow and job): one holder per group (case-insensitive), the default queue replaces the pending run,queue: maxkeeps up to 100 in order,cancel-in-progresscancels the holder; a group an enclosing workflow or calling job already holds is cancelled as a deadlock (as GitHub does), and a called workflow's ownconcurrencyapplies (inside itgithub.workflowis the caller's, as on GitHub);queue: maxwithcancel-in-progressis a validation error. Groups span one runthrough invocation, and a cancelled holder stops before its next step -
cache-mode(workflow and job:read,write,write-only,none) is enforced by the cache server: a denied restore is a miss, a denied save gets 403, which@actions/cachelogs as "Failed to save" without failing the step; the upload, commit and download endpoints check the mode too, and only a pending reservation takes data. The v2 API is limited the same way for jobs that carry a token runthrough signed, which names the job's mode: a denied restore is a miss, a denied save isok: falsewith a message, which@actions/cachelogs as a warning without failing the step. The caller's ownACTIONS_RUNTIME_TOKENnames no mode, so the v2 server cannot tell the jobs apart and treats every call aswrite; non-writejobs are then kept on the v1 API by default, which enforces their mode (see the cache server above) -
jobs.<id>.environment: the name is reported at job start andurlafter the steps (it may usesteps); no deployments, environment secrets or protection rules -
services.<id>.commandandentrypoint -
run-nameis evaluated and printed -
permissionsvalues andjobs.<id>.snapshotare validated and otherwise ignored (noGITHUB_TOKENis minted locally, no images are built)
Sources: GitHub's workflow syntax,
expressions,
reusing workflows
and the runner's problem matcher format; runthrough at cc0cf17. All gaps were reproduced
with runthrough before the fix.
- A reusable workflow that calls itself (directly or through others) failed with a thread panic; cycles and more than 10 levels (the caller plus nine) are now a job error naming the chain
- Calls are checked against
on.workflow_call: an input or secret the called workflow does not declare, or a required one not given (inputs with adefaultcount as given), fails the calling job;secrets: inheritis not checked.GITHUB_TOKENreaches the called workflow with asecrets:mapping too (it was dropped) -
case(pred1, val1, ..., default): predicates are tested for truthiness (the docs do not say whether non-boolean predicates are an error) and only the chosen value is evaluated -
workflow_dispatchinputs are validated before the run: a missingrequiredinput, achoiceoutside itsoptions, or aboolean/numbervalue of the wrong type exits 2. Inputs a workflow does not declare are not refused, since--inputapplies to every workflow of the run. Both checks follow GitHub's documented input and secret declarations; the exact errors GitHub reports were not compared - Problem matchers:
::add-matcher::<file>(a path relative to the workspace, read on the host, so in copy mode a file only present in the job container cannot be read) and::remove-matcher owner=…::, job-wide, replacing a matcher of the same owner; single- and multi-line patterns withloop,severityfrom a group or the matcher's default. Matching lines are logged as annotations (❗/⚠️/ℹ️withfile:line:col). Patterns use theregexcrate, so .NET-only syntax (look-around, back-references) is rejected when added;fromPathis parsed but not used to resolvefile