Struo

Changelog

Every user-facing change to Struo, newest first. Subscribe to keep up.

RSS Atom
  1. Lower build-memory overhead and faster cache recovery

    Struo now shares immutable dependency-provider metadata between consumers and defers decoding cached providers until a consumer needs them. Consumer mutations remain isolated. Cached builds also avoid repeated configuration parsing and reject missing outputs before loading their digest maps.

    Linux commands use a process-spawning backend that preserves process-group cancellation and signal handling. Action concurrency and memory limits still govern admission, and cache recovery retains its corruption checks and durable publication guarantees.

    Rust cache integrations can supply exact byte counts through put_stream_sized, put_produced_sized, and put_produced_pipelined_sized to reduce compression workspace allocations. Each method rejects a length mismatch before publishing the blob. See the Rust SDK guide.

  2. Cargo metadata snapshots skip feature-disabled optional dependencies

    A Cargo graph loaded from a checked-in metadata_file snapshot no longer turns optional dependencies that the selected features leave disabled into build targets. Cargo metadata lists every optional dependency of a package, enabled or not, so a crate that depends on sqlx with only its Postgres driver used to pull the SQLite and MySQL drivers into the graph and fail the build compiling them. Struo now keeps an optional dependency only when an enabled feature turns it on, the same way Cargo does. Graphs resolved live from Cargo already behaved this way.

  3. Apple simulators are chosen like the Apple Bazel rules

    struo test no longer runs on whichever iPhone or iPad simulator happens to be booted. Like the Apple Bazel rules' test runner, each test run uses a simulator Struo owns, named after its device type and runtime, such as Struo Apple Watch Series 9 (45mm) (watchOS 26.5). Struo picks the runtime that matches the SDK the bundle was built with, creates the simulator the first time it is needed, and reuses it afterwards. watchOS, tvOS, and visionOS test bundles now run on a simulator of their own platform instead of failing to install on an iPhone.

    struo run follows bazel run: it uses the best existing simulator for the platform, preferring a booted one, an iPhone over an iPad, and newer device types, and creates one only when none fits.

    Set device_type and os_version on apple_test_bundle or apple_application to choose the simulator, such as an iPad on iOS 18.2, or set STRUO_APPLE_SIMULATOR_UDID to run on a specific simulator. See the apple_test_bundle reference.

  4. Info.plist files match Xcode and Bazel's Apple rules

    • Xcode app targets with GENERATE_INFOPLIST_FILE = YES now get every INFOPLIST_KEY_* build setting in their Info.plist, from the project or an .xcconfig, typed as Xcode types it. UILaunchScreen_Generation and UIApplicationSceneManifest_Generation produce the dictionaries Xcode writes, so iOS apps no longer launch letterboxed.
    • When such a target also sets INFOPLIST_FILE, that file is the starting point and the generated keys merge into it, as in Xcode. Version keys come from CURRENT_PROJECT_VERSION and MARKETING_VERSION, and are left out when those are unset.
    • watchOS apps get WKApplication, and UIDeviceFamily covers TV, Watch, and Vision devices. LSRequiresIPhoneOS is added only to generated iOS and tvOS app plists from Xcode projects.
    • apple_application gains info_plist_entries for typed Info.plist keys, plus build_version and short_version_string. families accepts tv, watch, vision, and mac, and defaults to the platform's family.
  5. Smaller Cargo outputs and large Bazel workspaces

    • Rust crates from a Cargo workspace compile without embedded LLVM bitcode unless the profile enables lto, as Cargo does. Build outputs and cache entries are roughly half their previous size.
    • Bazel targets whose action graph exceeds the analysis limit no longer fail. Struo decides whether to run a target itself from a smaller action graph first, and delegated bazel build runs keep the workspace's own configuration, so they reuse Bazel's caches instead of rebuilding.
    • A host command that exceeds the analysis output limit now says so in the error instead of only naming the program.
  6. Discover Dockerfile.<name> images

    Struo now discovers each Dockerfile.<name> and <name>.Dockerfile as a dockerfile_image target named <name>_image, with no struo.toml. A monorepo that keeps one Dockerfile per app at the root, such as Dockerfile.web built with docker build -f Dockerfile.web ., gets a web_image target whose build context is the root. A matching Dockerfile.web.dockerignore applies to that image. Several Dockerfiles in one directory now each get their own target. See Container Images.

  7. Hosted simulator test batches no longer kill each other

    • struo test no longer runs two test bundles hosted by the same app on one simulator at once. Before, both batches launched the same host app and one was killed before it connected. Batches for different host apps and other targets still run in parallel.
    • Actions that name the same run_action resource slot now wait for each other across Struo processes, not only within one, so the parallel batches of struo test respect them too.
  8. Swift package binary targets from artifact bundles

    Swift package binary targets backed by a static library .artifactbundle now build. Struo reads the bundle's info.json, selects the variant for the destination triple, and links its library while exposing its headers and module map to dependents. Previously these targets were treated as XCFrameworks and failed with a missing Info.plist, or, for local bundles, were left out of the graph. See apple_artifact_bundle_import.

  9. Application bundles match Xcode's PkgInfo and Info.plist build keys

    Application bundles now include the PkgInfo file Xcode writes, and their Info.plist carries the build environment keys Xcode adds: DTSDKName, DTSDKBuild, DTPlatformVersion, DTPlatformBuild, DTCompiler, DTXcode, DTXcodeBuild, and BuildMachineOSBuild. Values come from the selected SDK, the Xcode that contains it, and the build machine, and replace stale copies in an authored Info.plist. App extensions get the keys without PkgInfo, as with Xcode.

    The Swift packages guide now explains why package executables build as application bundles.

  10. Discovered projects choose their entry point, or say exactly how to

    When Struo discovers a native project without a struo.toml, its target kind now picks the entry point from an ordered list of patterns. A discovered Xcode project resolves the single .xcworkspace at the top of the directory, the one Xcode opens, so repositories with demo apps, tools, or playground projects no longer fail with "multiple Xcode projects found". Without a workspace, the single top-level .xcodeproj is used. A root that holds only an .xcworkspace, with every project in a subdirectory, is now discovered as one seed for the workspace instead of one seed per nested project.

    When a directory holds several equally preferred entry points, only that seed reports a native_entry_point_ambiguous diagnostic. Each repair is the exact struo.toml target that selects one candidate, and the rest of the graph keeps loading. Module authors can use the same native_entry_point helper for other ecosystems; see the modules reference.

  11. The local cache cleans itself up

    Struo now keeps the local cache under a size cap of 20 GB on its own. At most once an hour, a command that runs actions, such as struo build, struo test, or struo exec, starts a cleanup in the background that removes the least recently used results when the cache is over the cap. Every build that relies on a result counts as a use, including builds that skip their actions because nothing changed. Nothing used within the last hour is removed, so builds running at the same time are unaffected, and anything removed runs again when it is next needed.

    Change the cap with max_size under [local_cache] in the root struo.toml, or with the STRUO_CACHE_MAX_SIZE environment variable, which takes precedence. Both accept a size such as 50GB, and 0 turns automatic cleanup off. struo cache stats reports usage against the cap, and struo cache gc reclaims down to it on demand, or to 20 GB when automatic cleanup is off.

  12. Cargo profiles, outside build-script inputs, and tighter package bounds

    Cargo workspaces imported without configuration now build closer to Cargo:

    • The dev profile, and the test profile for test targets, apply from the root manifest and Cargo configuration, including per-package overrides, package."*", and build-override. A package with opt-level = 3 compiles optimized, its build script sees OPT_LEVEL=3, and procedural macros stay unoptimized as in Cargo.
    • A workspace member's build script can read files outside its package through build_script_data on cargo_workspace. A change to one reruns the script. A script that names an untracked path with rerun-if-changed fails and prints the struo.toml to add, instead of caching output that could go stale.
    • A package no longer includes the local packages nested inside it, its target directory, or, at the workspace root, .git. Running cargo build next to Struo keeps the cache warm, and struo query affected-tests maps root files to the root package's tests.
    • Build scripts that depend on cc, cmake, or autotools receive NUM_JOBS=4 and reserve four CPU slots, so native builds such as protobuf-src compile in parallel. build_script_jobs changes the count.
    • Integration tests link to their package's binaries instead of copying them, and each test binary is stored once.
    • .struo/ writes its own .gitignore.

    See the Rust guide. The Getting Started guide now has a section on building Struo from source.

  13. Action validation reports undeclared reads

    struo query validate-actions and the struo_validate_actions MCP tool now trace the files an action reads. Each undeclared workspace file the action tried to read becomes an undeclared_read diagnostic with a repair, including reads the action recovered from and reads that walked out of its sandbox. The probe stages each one and reruns, so a single validation lists every undeclared read before the action succeeds. On Linux, each action also lists the files it read outside the workspace, such as toolchains and system libraries.

    Tracing works on Linux (x86-64 and arm64) and on macOS. When the probe cannot trace an action's reads, the action reports a trace_unavailable diagnostic and is not valid. Declared inputs that an action never read are not reported.

  14. Tuist shows each remote execution run

    Every action Struo runs through Tuist remote execution now names the run it belongs to, along with the action's kind and target. Tuist's Remote execution page can then show how long actions queued and ran, and list your runs with their remote actions, outcome and timings, linking to each run's page under Build Runs.

  15. Reuse locked build environments on Sprites

    Sprites execution can now reuse a bounded pool of workers prepared from mise.toml, mise.lock, and explicit setup commands. The locked environment is part of action identity, while source edits reuse the same preparation. Changing the lock or setup rotates idle workers within the pool limit.

    Struo installs its pinned, checksum-verified mise once per worker. A native managed service retains verified blobs and read-only tools, while every action runs with copied inputs in a fresh filesystem and process namespace. Successful actions clean up without restoring a checkpoint. Interrupted or uncertain actions retain checkpoint recovery. Exclusive leases work across CLI processes.

    Worker reuse is opt-in and intended for trusted workspace builds. Linux bubblewrap is required; execution fails rather than running without isolation. CPU and memory admission remain bounded, and transfers stream through bounded buffers. Struo sends no idle keepalives, leaving suspension to Sprites. Retained workers continue to incur storage charges. With a Sprites or HTTP cache, workers publish output files directly and downstream workers fetch inputs by digest. The coordinator still restores outputs for inspection and local use. Cache-only credentials stay outside actions, read-only policy is preserved, and unavailable or corrupt shared objects fall back to coordinator transfers.

    Cargo build and test graphs can use these prepared workers for individual crate compilations, build scripts, and whole test targets. Run struo build or struo test --all --jobs 2 with --remote --compute PROVIDER. Struo resolves the Rust compiler in the worker and verifies it against the coordinator's compiler before execution. Both sides must use the same locked toolchain and compatible native dependencies. Test schedules preserve the parent's resolved execution configuration across their subprocesses.

    See the Sprites guide for configuration, supported lockfiles, scope, and cleanup.

  16. Reorganized documentation, and an index for coding agents

    The guides are reorganized so similar pages read the same way. Every toolchain guide now starts with prerequisites and your existing project, then covers declaring targets, dependencies, limitations, and target kinds. Every infrastructure provider guide covers prerequisites, configuration, authentication, usage, and cleanup in that order. Every SDK guide covers installation, a quick start, blobs, action keys, and errors. Pages focus on what you do and see, with less detail about how Struo works inside.

    Coding harnesses and project memory now share a Coding Agents section, and Language Libraries is now SDKs.

    The site now serves /llms.txt, an index of every documentation page with a link to its Markdown source, so coding agents can find the right page directly.

  17. Lazy shared caching on Sprites

    A Sprites infrastructure provider can now supply both remote execution and a retained cache. Bind it to [infrastructure.cache] to create a separate cache Sprite on the first remote cache operation and reuse it across runs. Existing execution-only configurations stay unchanged.

    The retained service restarts on cold wake, uses a cache-only bearer credential, streams uploads atomically, and evicts old objects within a configurable disk budget. Cache Sprites remain separate from disposable action cleanup. The Rust SDK's workspace constructor uses the same configuration.

    Reuse is scoped to a user's local credentials directory and Sprites API credential. Direct execution-sandbox-to-cache transfers are not implemented. Live cache validation covers inter-Sprite access, 8 MiB transfers, cache reuse, service restart, and retrieval after idle. Cold VM wake and larger uploads remain unverified. The execution adapter now accepts the provider's debug events as metadata. Full CLI remote execution is validated with declared binary inputs and outputs, followed by a cache hit from an empty local cache without creating another worker.

    See the Sprites guide for configuration, authentication, retention, and manual cleanup.

    Struo also provides struo cache serve, a native bearer-authenticated HTTP cache server with bounded streaming, atomic writes, restart persistence, and disk eviction. Run it behind a TLS reverse proxy with the HTTP cache provider. Automatic Sprites provisioning still uses the bundled Python service.

  18. Opt-in coverage-assisted test selection with Tuist

    You can publish isolated native test coverage to Tuist and request approximate whole-target exclusion with struo query test-plan --coverage-selection. Graph-based selection remains the strict default.

    The planner discovers current test inventory on fresh workers and retains graph-selected work when history, instrumentation or provider access is insufficient. Native producers cover Go, pytest, RSpec, Minitest, Jest, Vitest, Rust, JVM and Android host tests, ExUnit, CTest, Zig, Bazel, ShellSpec and Apple host test bundles. Toolchains own collection and attribution; shared selection uses one normalized contract. Complete atomic invocation profiles remain distinct from individual native case observations.

    Nx and Turborepo tasks reuse exact Jest or Vitest collection when they resolve to one native test command without task outputs. Native workspace seeds can forward coverage opt-in without redeclaring their discovered test targets.

    Enable coverage_per_test on supported test targets and publish a full observation with struo test --all --coverage-report before using coverage selection. Selected execution does not replace full-run checkpoints.

  19. Infrastructure provider guides

    Find execution and caching integrations together under Infrastructure Providers in the documentation sidebar. Provider guides now state their supported capabilities near the top and use consistent prerequisites, configuration, usage, and limits sections.

    The overview now includes Cloudflare's self-deployed execution bridge and Tuist's remote execution, alongside shared caching, reporting and artifacts. Setup requirements, security boundaries and cleanup caveats remain in the guides; protocol details belong in the provider references.

  20. Run annotated scripts in LangSmith Sandboxes

    Struo supports LangSmith Sandboxes as an execution provider. Configure a prepared v2-runtime snapshot with kind = "langsmith" and snapshot, then select the infrastructure from an annotated script or struo exec --remote --compute.

    Struo stages declared inputs, preserves binary stdout and stderr, and retrieves declared outputs after accepted exits. It deletes the sandbox after completion or cancellation and retains uncertain creation or cleanup records for recovery. This provider does not supply shared caching.

    Read the LangSmith guide for prerequisites, workspace authentication, trusted sandbox origins and limits. Local protocol tests cover the adapter; live provider execution and teardown remain unverified.

  21. Tensorlake remote execution

    Run declared scripts in a prepared Tensorlake image or snapshot with kind = "tensorlake". Struo stages inputs, preserves binary command output, retrieves declared artifacts after accepted exits, and terminates the sandbox.

    The adapter supports ordinary named sandboxes, not warm-pool claims. Lost creation responses without a recorded sandbox ID require manual investigation. Tensorlake retains terminated sandboxes for restartability for 48 hours; cleanup does not imply immediate data erasure. Live provider validation remains pending.

    See the Tensorlake guide for setup and limits.

  22. Browser caching, cross-tab execution and OAuth2

    The JavaScript SDK now supports browsers through @tuist/struo/browser. Initialize its Wasm module, then store blobs and action results in IndexedDB. The browser SDK shares Rust content-digest and action-key logic with native clients, so the same inputs produce the same keys.

    Same-origin tabs can share a named cache, and page reloads preserve its data unless the browser evicts it. You can inspect cache statistics, forget action results without deleting blobs, or clear a demonstration's database.

    Node.js integrations keep their existing native API. The browser API returns Uint8Array and omits filesystem methods and native execution providers. Read the JavaScript SDK guide for initialization, storage limits, and examples.

    The separate @tuist/struo/browser/execution entry point lets applications dispatch named operations to same-origin tabs with explicit memory budgets. Workers exchange cache digests and share payloads through IndexedDB.

    Applications can also authenticate with a public OAuth2 client using S256 PKCE and dispatch GitLab pipelines. The adapter supports polling, cancellation and bounded artifact downloads into the browser cache. It requires a registered OAuth application and a project with a configured CI pipeline; it does not translate native Struo actions or provision runners.

  23. Run annotated scripts in Vercel Sandbox

    Vercel Sandbox is now an execution provider. Select a named kind = "vercel" infrastructure with a runtime such as node24, then run annotated scripts remotely with declared inputs, including local node_modules.

    Struo captures binary stdout and stderr separately, restores declared outputs after accepted exits, and deletes each disposable sandbox. Durable ownership tags support cleanup after interrupted runs. Vercel access credentials and team/project scope are required. Live provider validation remains pending.

    See Vercel Sandbox for setup and limits.

  24. Run annotated scripts in Blaxel Sandboxes

    Struo can now run uncached commands and annotated scripts in fresh Blaxel Sandboxes. Configure a named blaxel infrastructure with a prepared image, then select it with --compute or a script's # struo remote header.

    Struo resolves the workspace before cache lookup, keeping results separate across workspaces even when image names match. Prepared images need Python 3 to preserve literal command arguments and selected environment values.

    Declared inputs, including local node_modules, transfer through bounded multipart archives. Struo retrieves declared outputs after accepted exits, captures binary stdout and stderr separately, and explicitly deletes each sandbox. Journaled operation names and labels support ownership-checked cleanup after interrupted runs.

    See the Blaxel guide for authentication, environment requirements and lifecycle limits.

  25. Run annotated scripts in disposable Boat sandboxes

    Struo now supports Boat as an execution provider. Select a saved snapshot with kind = "boat" and snapshot in a named infrastructure, then use that name from an annotated script or struo exec --remote --compute.

    Struo uploads declared inputs, including local node_modules, captures binary stdout and stderr, and retrieves declared outputs after accepted exits. It requests permanent sandbox deletion after execution and retains failed ownership records for recovery. Boat handles data erasure asynchronously after accepting deletion; TTL alone only stops the sandbox.

    Read the Boat guide for credentials, snapshot preparation, lifecycle behavior, and current limits.

  26. Safer cache credentials and cancelled uploads

    Remote cache uploads retain their resource reservations until the backend finishes, even when the calling action is cancelled. This keeps directory stores and other backends within their transfer budgets while writes finish.

    Object storage errors no longer include raw provider diagnostics or Azure CLI credential-helper output. Rejected Azure and Google OAuth token exchanges fail the command instead of falling back to local execution; unreachable or throttled credential services still allow local work.

  27. Run scripts through a Cloudflare sandbox bridge

    Struo now includes a Cloudflare Sandbox Containers adapter and an authenticated Worker bridge. Configure kind = "cloudflare" to upload declared inputs, including dependency directories, execute a command, capture separate stdout and stderr with its exit code, and retrieve declared outputs.

    You must deploy the Worker and its Durable Object binding in a Workers Paid account before using the provider. Struo does not deploy infrastructure or call a direct Cloudflare sandbox REST API. The bridge uses durable expiry alarms, while the CLI journals ownership and attempts cleanup after execution or cancellation. Local protocol tests and a Wrangler dry-run cover the integration; live Cloudflare validation requires an approved deployment.

    Read the Cloudflare Sandbox guide for setup, the bridge contract and limits.

  28. Share the cache through an HTTP build cache

    Struo can now share cached action results through any HTTP cache that stores values with GET, HEAD, and PUT, such as a WebDAV build cache. Set kind = "http_cache" with the server's url, and name the environment variables that hold its token in token_env, or in username_env and password_env. Credentials never live in struo.toml and are sent only over HTTPS.

    This works from any CI service whose jobs can reach the server. Struo does not use CI services' own cache storage. Read the HTTP Cache guide for setup, hosted runner caches, the setups tested so far, and current limitations.

  29. Run annotated test scripts on Northflank

    You can configure Northflank as an execution provider for annotated scripts. Struo creates a service per uncached action in your selected project, transfers declared inputs including dependency trees, captures stdout and stderr, and retrieves declared outputs after accepted exit codes.

    The adapter uses bounded binary transfers and the shared remote execution quota. Struo deletes services after execution or cancellation and journals ownership for recovery after interrupted creates or failed deletions. Northflank's service expiry provides a fallback pause and scheduled deletion.

    See Northflank execution for setup, project permissions, image requirements, and BYOC isolation configuration.

  30. Share the cache through an object storage bucket

    Struo can now share cached action results through an object storage bucket you already run. Set kind = "object_store" with an s3://, gs://, or az:// URL, or a file:// directory, and every machine keeps its local cache while reusing results published by others. S3-compatible services such as Cloudflare R2 and MinIO work through an endpoint option.

    Credentials come from each service's usual environment variables and ambient identity, never from struo.toml. For S3, Struo uses the AWS SDK credential chain, so AWS_PROFILE or a profile option selects a ~/.aws profile, including SSO sessions and credential_process helpers. Downloads are verified against their digests, outages fall back to local work, and read_only = true or STRUO_CACHE_READ_ONLY=1 stops untrusted jobs from publishing. Read the Object Storage Cache guide for setup, the services tested so far, and current limitations.

  31. Self-hosted execution with OpenSandbox

    You can now select OpenSandbox as an execution provider. Configure a Linux image and your lifecycle API endpoint to run uncached actions on your own sandbox service.

    Struo transfers declared inputs, including dependency directories, captures stdout and stderr, retrieves declared outputs, and deletes the owned sandbox. It forwards the guest access headers returned by endpoint resolution and retains ownership records for cleanup recovery after interrupted runs.

  32. Run tests in Runloop Devboxes

    Run annotated scripts in a fresh Runloop Devbox using a configured Blueprint ID. Struo transfers declared inputs, including local node_modules, captures stdout and stderr, restores declared outputs, and confirms Devbox shutdown after execution.

    The adapter retains resource admission and archive validation, and recovers owned Devboxes through journaled metadata after interrupted runs. See Runloop Devboxes for setup and platform requirements.

  33. Shared transitive inputs and compact build evidence

    Target kinds can pass transitive sets to run_action(inputs = ...) and cmd_args without copying their dependency closures into each declaration. Struo retains shared references in analysis records, including response-file contents. The built-in C family uses these sets for transitive build inputs.

    Input digests compose shared nodes and include resolved file contents, so a generated input changing at the same path still invalidates its consumers. The new digest encoding invalidates older action-cache entries. Set structure also contributes to cache identity, even when two declarations expand to the same execution arguments.

    Struo stores historical input fingerprints as shared components in a packed database and expands them when you query evidence. Existing inline evidence remains readable, and the evidence query format stays unchanged.

    C and Zig link options contribute each library's ordered group once, with shared dependencies after all their dependents so static archives resolve correctly. Cached providers validate their complete referenced set graphs; missing or damaged nodes trigger reanalysis and repair.

  34. Run annotated scripts on Fly.io Sprites

    You can select kind = "sprites" as an execution infrastructure for annotated scripts. Struo creates a disposable Sprite, transfers declared inputs including node_modules, runs the command, retrieves declared outputs, and deletes the Sprite. WebSocket execution preserves separate binary stdout and stderr and the process exit status.

    Struo journals owned Sprite names and immutable IDs for recovery after interrupted runs. Ambiguous creates require manual cleanup rather than risking deletion of a replacement Sprite. Configure SPRITES_TOKEN outside the script and follow the Sprites guide for setup, environment requirements, and cleanup limits.

  35. Run scripts in Together Code Sandbox

    Struo now supports Together Code Sandbox as a named execution provider. Configure kind = "together" with an existing snapshot ID, then select it with struo exec --remote --compute <provider> or a script's remote header.

    Struo transfers declared inputs, including dependency directories, and restores validated declared outputs after a successful command. It preserves binary stdout and stderr through bounded file downloads after execution. Each sandbox gets a TTL and explicit termination, with journaled ownership for recovery after an interrupted run. Cache hits do not create a sandbox.

    Your organization needs Together sandbox access and an API key. Live provider verification remains pending access and credentials. Read the Together guide for snapshot requirements, configuration, and lifecycle limits.

  36. Mixed Kotlin and Java sources, and prebuilt jar imports

    Kotlin JVM libraries, binaries, and tests now compile .java files listed in srcs together with the Kotlin sources, so either language can reference the other, and Java test classes run alongside Kotlin ones. The new java_import target kind puts prebuilt jars, such as Maven artifacts, on Kotlin and Android classpaths. JUnit 4 suites ignored at the class level now report one skipped case per test method, matching Gradle's counts.

  37. Edits to linked workspace packages rebuild their dependents

    In JavaScript workspaces, package managers link each workspace package into node_modules. Struo's change tracker followed those links while watching the workspace and could then report an edit to a package's sources under the linked path instead of the real one. A rebuild after the edit could reuse the previous result. The tracker now reports every change under its real path, and inputs that live behind a linked directory are always checked on disk.

  38. Mise-managed action caches survive HOME changes

    Graph actions that run through the workspace's mise toolchain no longer key their cache on your HOME, Struo's data and cache directories, or the workspace's absolute path. Machines and users with different home or cache directories can now reuse each other's results. Each such action runs once more after upgrading, because its cache key changed.

  39. Mix dependencies with parser grammars stay cached

    Mix compiles .yrl and .xrl grammars into Erlang sources next to them, inside the dependency's own directory. Struo used to count those generated files as inputs, so dependencies such as expo and earmark_parser, and everything that depends on them, compiled again on the next build after a clean checkout. Struo now leaves the generated files out of the cache key, and these dependencies are restored from the cache like the rest.

  40. Nx task caches survive HOME changes

    Nx tasks no longer receive your HOME, so the same workspace checked out by another user or on another machine can reuse their cached results. Tools fall back to the account's home directory as they would without the variable. A task that needs your HOME can declare {"env": "HOME"} among its Nx inputs, which makes it part of the cache key. Each Nx task runs once more after upgrading, because its cache key changed.

  41. Nx task caches survive PATH changes

    Nx tasks no longer inherit your shell's PATH, so activating another tool version manager or opening a different terminal no longer invalidates every cached task. A task's PATH now holds the project's node_modules/.bin directories, the directories of Node.js and of the workspace's package manager, and the system directories. A task that needs a tool installed elsewhere can declare {"env": "PATH"} among its Nx inputs to receive your shell's value as a cached input. Each Nx task runs once more after upgrading, because its cache key changed.

  42. Tuist remote execution follows the service's worker image

    execution_image is now optional for Tuist remote execution. Without it, struo build --remote asks the execution service which worker image it runs and uses that, so a worker image update no longer breaks builds until you repin. Pin execution_image only when you want builds to fail instead of following an image change. Remote Elixir toolchain descriptions no longer need an environment either.

    This release also brings the rest of Struo's Tuist remote execution client work: image-bound Elixir toolchains, client-facing cache discovery, phase timings in the logs, batched output downloads, safe restoration of mixed and linked outputs, and running at the account's advertised concurrency in VMs sized to each action.

  43. Turborepo workspaces

    Struo now loads Turborepo workspaces without a struo.toml. From a directory with turbo.json, struo query targets lists one target per package and task, taken from turbo's own resolution of dependsOn, outputs, cache, and environment variables.

    struo build and struo test run each package script directly instead of going through turbo run. Struo caches the outputs turbo declares and restores them on a cache hit. Every task declares its package, the workspace packages it depends on, installed dependencies, and the outputs of the tasks before it, so struo build --remote can run uncached tasks on any configured execution provider.

    See the Turborepo guide to get started.

  44. Export native graph reproductions without source code

    struo query graph-repro writes a redacted copy of the workspace's native projects to .struo/graph-repro. Native manifests and lockfiles keep their contents, and every other file is empty at the same path, so a graph that fails to load or loads wrong reproduces without any source code. The export records the Struo version, the host platform, and the loaded graph or its loading error. It also drafts an issue for the Struo repository from those facts, packs the export into graph-repro.tar.gz to attach, and prints a link that opens the issue prefilled. Nothing is shared until you open it.

    When a resolver fails in a way it does not explain itself, the error now carries a repair that asks a coding agent to offer this export and its drafted issue instead of changing the project to work around Struo. Agents get the export as the struo_export_graph_repro Model Context Protocol tool as well.

    Resolver failures also report better. Their diagnostics and repairs now reach --format json errors and Model Context Protocol tool errors instead of a generic operation_failed, and human output lists repairs. Building a missing target that a failed resolver owns, or testing a whole workspace whose resolver failed, reports that failure instead of "no target matches" or an empty test plan.

    Module authors declare which files an export copies with the new manifests argument to native_project(...). It defaults to the markers.

  45. Once is now Struo

    Once is now called Struo, Latin for "I build", and its home moves to struo.run. Nothing about how builds work changes, but every name you type does:

    Before After
    once command struo
    once.toml struo.toml
    .once/ cache and output directory .struo/
    # once script headers and #!/usr/bin/env -S once exec shebangs # struo, struo exec
    ONCE_* environment variables STRUO_*
    once_* MCP tools struo_*
    once Rust crate, Once Swift module, buildonce npm and RubyGems packages struo, Struo, @tuist/struo (npm) and struo (RubyGems)
    github:tuist/once in mise github:tuist/struo

    Rename once.toml files to struo.toml, .once/ entries in ignore files to .struo/, and update script headers, environment variables, and mise pins. The first build after upgrading starts from an empty local cache, because cache keys and the local cache directory now carry the new name. Sign in again with struo auth login.

    Live run reporting to Tuist keeps working against servers that have not been updated yet.

  46. WebAssembly Rust libraries link on macOS

    A rust_library with target = "wasm32-unknown-unknown" and crate_type = "cdylib" now links on macOS the way it does under Cargo. Struo gives rustc the toolchain's library directory through DYLD_FALLBACK_LIBRARY_PATH, as rustup does for Cargo, so the bundled rust-lld finds libLLVM.dylib. The variable also survives the shell that applies build script output.

    WebAssembly dynamic libraries are now written as <crate>.wasm instead of lib<crate>.so.

    A first-party crate that sets cargo_package and depends on a cargo_dependencies set now gets that package's Cargo environment, such as CARGO_PKG_NAME, CARGO_PKG_VERSION, and CARGO_MANIFEST_DIR, so macros such as #[wasm_bindgen] compile without setting them in rustc_env. Values in rustc_env still win.

  47. Application icons and Android labels in published artifacts

    Exported apple_application and android_binary artifacts now carry the application's own icon as an icon PNG payload, named through spec.icon_payload on their install interface. Android metadata also records display_name from the APK's default application label, so previews show the app's name instead of its application ID. Apple applications use the icon their bundle declares, or the source images of their app_icon asset catalog set. Applications without a usable icon publish exactly as before.

    Artifact providers can declare a payload as optional. When its output is empty, the payload and the interface spec entries ending in _payload that name it are left out of the exported artifact.

  48. CMake arguments keep their boundaries

    cmake_project and cmake_test now pass each configure_args, build_targets, and build_args item to CMake as exactly one argument. A configure argument such as -DFLAGS=-i100;-t1 sets a CMake list instead of being split at its semicolons. Backslashes and unbalanced brackets are also preserved as written.

    Native configure and build still bypass the cache.

  49. Android major and minor SDK platform discovery

    Android targets now recognize installed SDK platforms such as API 37.0, in addition to integer API versions. Automatic selection compares release versions numerically and skips preview and canary platforms. An explicit compile_sdk = 37 also finds the 37.0 platform when the integer platform is not installed.

    The selected platform version remains part of the action cache identity, while resource linking uses the integer API level for the default target SDK.

  50. Declare Bazel environments and test selection

    Bazel workspace seeds now accept an env map in struo.toml. The declared environment follows discovery, analysis, and generated build and test targets. Empty values override inherited host variables, so an unrelated SDK installation does not have to affect repository analysis.

    Struo also finds bazelisk when the default bazel executable is missing. Custom executable selections are preserved. Declaring an environment alone does not enable spawn caching.

    The new test_query attribute selects default test roots without removing build targets. This lets a workspace declare a test suite matching its native tag filters while keeping benchmarks and other excluded tests available to build.

  51. Cache owned Bazel actions

    Struo can cache supported Bazel action closures with declared inputs, outputs and environments. Declare complete implicit host toolchain dependencies through toolchain_inputs to enable spawn caching. Fresh spawns remove their declared outputs before execution; cache hits restore them instead.

    Command directory setup no longer captures existing sibling files as cache artifacts. Only declared outputs are captured after the command runs. Directory inputs assembled from generated files restore their cached children before hashing, so cold builds and deleted-output restores publish the same complete tree. Output parent directories are created only when actions execute, not during cache probes.

    File writes, materialized aliases and manifest-mapped runfiles use cacheable Struo actions. External executable snapshots preserve their permissions; older snapshot declarations retain their default file-creation permissions. Owned tests consume Bazel's expanded arguments once and use native shards and environment, with additional runtime environment declared through test_env; test execution remains uncached.

    Required unsupported action contracts still delegate to Bazel and remain uncached by Struo. These changes do not provide hermetic remote execution or cross-host cache portability.

  52. Native CMake test targets

    cmake_test now supports test_targets for projects that expose custom native test targets rather than CTest entries. Struo invokes those targets through cmake --build, retains suite-level results and logs, and reports native failures and timeouts without inventing a JUnit report.

    The default still uses CTest and fails when no tests are found. Native builds and test execution remain uncached until external toolchain selections can be fingerprinted safely. Content-addressed product staging is unchanged.

  53. Run JavaScript suites with duplicate test names

    Jest and Vitest targets no longer fail an ordinary complete run just because multiple assertions share a full test name in the same file. Struo keeps the complete native report and reports one whole-target result instead, preserving native failures and successful action caching.

    Inventories with ambiguous names stay whole targets on subsequent runs rather than advertising exact case selection or sharding. Explicitly filtered runs still reject ambiguity. Runner output now streams directly into the action log so large snapshot failure reports cannot exhaust the adapter's output buffer.

  54. Build JavaScript workspace packages

    The new javascript_build target runs package scripts against a private copy of a locked dependency installation and caches their declared products. Use it for React Native library builds and Expo exports, independently of dependency installation and native application compilation.

    React Native build staging now preserves nested workspace dependency trees and relative package links. Declare all workspace manifests, package-manager configuration, and installation inputs to keep frozen installs reproducible.

  55. Native JUnit 4 execution for JVM tests

    Kotlin JVM and Android local test targets can now set test_framework = "junit4" to run through native JUnit 4 with declared runtime dependencies. This preserves setup and teardown, rules, expected exceptions, assumptions, and custom runners such as Robolectric while retaining cacheable execution and normalized per-case Struo results. Aggregate suites do not rerun their child classes, and malformed annotated tests report initialization failures. The default convention-based reflection runner is unchanged.

  56. Run macOS XCTest bundles with the Xcode harness

    Unhosted macOS XCTest bundles now use Xcode's test-without-building harness, matching the runtime used by native Xcode tests without handing compilation back to Xcode. Struo still caches compilation, linking, and generated test-run configurations, while test execution runs fresh.

    Completed failed XCTest suites also retain their observed case inventory and failure counts. Platform-conditional declarations no longer inflate a completed failed run or cause the scheduler to replace its results with an unknown-runner placeholder.

  57. Nx plugin executors and cacheable test suites

    Struo can now invoke installed Nx plugin executors directly, while retaining ownership of dependency scheduling, action caching, and output restoration. Discovery retains the full project graph, including external package metadata needed by compiler executors such as Nx 17's TypeScript compiler. Resolved command tasks preserve the activated host toolchain path, so package manager shims and SDK commands remain available.

    Native Nx discovery now exposes application and library tests as cacheable suite batches with normalized status, duration, and logs. Run them with struo test. Suite-level reporting does not yet provide individual case listing, filtering, or sharding.

    Workspace source hashing includes shared configuration and cross-project sources, while excluding declared generated outputs. Nested output tokens resolve against the default task configuration before caching.

  58. Reliable ShellSpec result reports

    ShellSpec test reports now escape descriptions and paths correctly, so quotes, backslashes, and control characters no longer prevent Struo from saving results. Repeated example descriptions receive distinct case IDs based on their spec path and declaration line. These IDs remain stable across unchanged runs.

  59. Test startup failures retain fresh evidence

    Scheduled whole-target tests no longer reuse results from an earlier run when dependency resolution or another startup step fails before the test runner starts. The retained normalized failure includes a bounded startup diagnostic, so missing dependencies are visible when inspecting test results later.

    Nested Mix projects remain independently discovered test suites. Fetch their locked dependencies and provision required services before running them; native test aliases, including database setup, are preserved.

  60. Declare generated Zig modules

    The new zig_generated_library target kind runs a declared host executable to produce an importable Zig module. Code generators, input files, generated outputs, and module dependencies are explicit graph edges and cache inputs. Generators run directly, without shell wrappers or a nested zig build.

    Set emit_docs = false on Zig binaries or compiled libraries to omit automatic documentation generation. Existing targets continue to generate documentation by default. This lets binary-only graphs match native builds without including Zig's timestamp-bearing documentation source archives in their outputs.

  61. Reliable runtime session status reads

    Runtime sessions now publish complete status records atomically. Polling struo runtime status while a session starts, stops, or exits no longer reads an empty or partially written record. Runtime log queries and JSON-RPC session inspection use the same complete records.

  62. Match native Apple resources and test inventories

    Swift package .process resource directories now flatten ordinary files into their resource bundle, matching SwiftPM. Explicit .copy directories keep their hierarchy, and compiler-managed resources keep their bundle roots.

    Swift package tests can invoke first-party package executables staged beside their bundle. Packages using native alternate source layouts such as Source/<target> retain Swift Package Manager's computed target paths. Xcode products using PROJECT_NAME keep their native names, including projects resolved through a workspace. Xcode seeds also accept explicit native build_settings overrides, such as a deployment target shared by framework and test targets.

    Completed XCTest runs use native case completions and a matching successful suite total instead of treating platform-conditional source declarations as unexecuted tests. Missing or inconsistent native summaries still fail closed.

    Xcode shared schemes now contribute test exclusions. An unhosted macOS XCTest bundle honors those exclusions through native runner selection, and exclusions that differ between shared schemes do not silently suppress tests.

    Static libraries built on macOS now use deterministic archive metadata rather than recording the current time in archive members. Framework links also use the native linker's reproducible-output mode. Compiler actions explicitly select the resolved SDK so linked binaries retain its SDK version instead of falling back to their minimum deployment target. On macOS, Swift package manifests use the host SDK independently of the package's destination platform. Stable action keys and bitwise-identical artifacts remain separate properties; independent cold-build verification reports the artifacts it actually observes.

  63. Remove obsolete objects from C and C++ archives

    Removing a source from a c_library target now removes its object from the rebuilt static archive. Uncached archive actions recreate the library from the current object set instead of retaining members from an earlier build.

    Cached builds continue to restore the declared archive and object outputs.

  64. Preserve Cargo workspace checksums, features, and procedural-macro tests

    Cargo workspace discovery now accepts registry checksums stored in legacy lockfiles without requiring a lockfile format upgrade. Registry dependencies still require a checksum from the lockfile.

    Terminal color settings no longer introduce Cargo tree display markers into resolved features or action keys. Procedural-macro unit tests can import the compiler-provided proc_macro crate, matching native Cargo test compilation.

    Cargo workspace seeds can explicitly configure generated tests with test_env, test_env_inherit, and test_cacheable. Host-dependent suites can opt into required tools and configuration with test-result caching disabled, while compilation remains cacheable and the default test environment stays restricted.

  65. Run native CTest suites through typed graph targets

    The new cmake_test target configures and builds an existing CMake project, then runs CTest with normalized suite-level results, a retained log, and native JUnit. Failing tests and empty suites fail Struo. Native case filtering and sharding are explicitly unsupported.

    Native configure/build actions for both cmake_test and cmake_project now bypass caching. CMake can select external compilers, toolchains, and SDKs that Struo cannot safely fingerprint, so every invocation cleans and rebuilds rather than risking stale executables. Product staging remains content-addressed. Relocated sandbox and remote execution of cmake_test fail explicitly because native build trees contain absolute paths.

    Tests always run uncached. A positive timeout_ms enforces a suite deadline, excluding configure and build, and retains normalized failure on timeout. Debug information is preserved.

  66. Deterministic JVM archive metadata

    Android JAR and AAR packaging and APK additions now use fixed entry timestamps, preventing filesystem modification times from changing cached artifacts.

    Kotlin JVM libraries can declare a JAR manifest input for publication metadata required by downstream compiler plugins. Struo compiles a declared classes tree and packages it with the supplied manifest using JDK 17 or newer jar. The manifest contents and archive tool identity are included in caching. Libraries without a manifest keep their existing compiler-produced archive behavior.

  67. Respect ignored JVM tests

    Kotlin JVM and Android local test targets now honor method-level and class-level Ignore annotations. Ignored tests are reported as skipped, without running their bodies or initializing ignored test suites.

  68. Discover nested JVM test suites

    Kotlin JVM and Android local tests now discover static nested test suites, including failures that were previously omitted. Anonymous and non-static inner helper classes remain excluded from independent test discovery.

    Public inherited test methods also run on concrete suites. Overridden methods are selected once, instead of executing a shadowed base implementation.

    Kotlin JVM test results now use the standard test output location, so struo query test-results can read them after a run.

  69. Compile against multiple Kotlin friend modules

    Kotlin JVM targets can now access internal declarations from multiple associates, including a friend library that has transitive dependencies. Friend module paths use the Kotlin compiler's list format independently of the host platform's classpath separator.

  70. Improve native Mix test discovery and dependency caching

    Native Mix projects now report their test targets explicitly, so struo test also selects tests in projects without shared development and test dependencies.

    Mix dependencies expose bytecode, private resources, and headers as separately fingerprinted outputs while retaining their complete native application directories. Compiler-manifest timestamps no longer change consumer cache keys when the consumed outputs are unchanged.

  71. Native pytest collection and JavaScript suite units

    Pytest targets now preserve native collection rules such as collect_ignore while restricting collection to declared sources. Exact case selection happens after collection, so it cannot bring ignored modules back into a run. Package-local configuration is discovered from the source paths, and project ignore hooks cannot admit undeclared test files.

    Vitest and Jest targets can opt into unit = "suite" for suites with duplicate full test names. Struo records one suite result and preserves every assertion in the native report. This mode does not support case listing, filtering, or automatic sharding. The default case mode still rejects ambiguous names.

  72. More reliable Nx tasks and Bazel tests

    Nx task filters now retain transitive prerequisites, such as a build's compile task, while ignoring prerequisites that the project does not define. Commands find installed package tools such as tsc through the nearest node_modules/.bin directory. Declared outputs are excluded from project source inputs, so deleting generated files does not change the cache key and those files can be restored from the Struo cache.

    Nx prerequisite discovery also crosses projects without the requested task. Package scripts run from their project directory, and command executors preserve forwarded arguments such as a production build mode. Optional outputs, including coverage directories, are cached only when present; ordinary Struo action outputs remain required. Generated Vite timing caches no longer cause unchanged tests to miss the cache.

    Bazel tests with TestRunner actions now use Bazel's native test strategy instead of invoking an incomplete test command from the action graph. This preserves Bazel's test environment, runfiles setup, and failed-test status. Bazel owns cache reuse for delegated commands; these are not Struo action-cache hits.

  73. Opt into private native Mix test workspaces

    Mix test targets can now opt into a fresh private workspace with the native _build/test/lib layout. Cwd-relative test writes and application resource lookup use the same copied application trees, without changing developer build outputs. Native compiler metadata is retained.

    Set staged_workspace = true on an elixir_test target, or test_staged_workspace = true on an explicit mix_workspace seed. Only declared inputs are staged. The default original-package cwd is unchanged. The opt-in changes runtime cwd, not compiled source locations, and rejects symbolic links and shell setup. See the test target reference for details.

  74. Preserve React Native install outputs on cache hits

    React Native dependency targets now cache the complete staged installation workspace. Files generated by package lifecycle scripts outside node_modules are restored on cache hits instead of disappearing after a successful warm build. Declare lifecycle scripts and their local inputs in the target's srcs so changes invalidate the installation.

  75. RSpec reports without application CLI collisions

    RSpec targets now select their JSON formatter by its fully qualified class name. Tests that inspect command-line arguments no longer mistake Struo's reporting option for an application's --format json option. Native reports, exact example selection, and failing-test propagation are preserved.

  76. Reliable home directories for test runners

    Python, Ruby, and JavaScript test targets now receive an absolute private home directory at execution time. This fixes tools such as SimpleCov that expand ~ and reject relative home paths, while keeping action identities independent of the checkout location. Explicit environment overrides continue to work.

  77. Use LLVM for cacheable Zig compilation

    Zig targets now select the LLVM backend by default. This avoids differing executable bytes observed with Zig 0.16's self-hosted backend when compiling identical inputs with fresh compiler caches.

    The selected Zig compiler must include LLVM support for the requested target. Explicit -fno-llvm options remain supported, but compilation and documentation actions bypass the cache rather than treating a stable action key as evidence of byte reproducibility. Compiler failures are reported without silently switching backends.

    Unstripped compilation also bypasses caching because LLVM debug and symbol metadata can differ across identical builds. Debug information remains enabled by default. Explicitly enabling stripping permits caching with LLVM; Struo does not remove debugging information automatically.

  78. Explicit sibling source inputs for Cargo build scripts

    Cargo build scripts can now declare individual source files from other locked packages through build_script_sources on cargo_workspace and cargo_dependencies. Struo snapshots these files into a per-target sibling layout alongside the consumer's own sources. Versioned vendor directories and Cargo's local source cache remain unchanged.

    The declared files participate in action caching and sandbox inputs. Warm builds also revalidate observed host files and source trees, including changes outside the workspace. See the Rust guide.

  79. Match Rust build-script debug assertions to their crates

    Rust build scripts now use the same effective debug-assertions setting as the crate they generate code for. This fixes optimized builds that consume files generated only when debug assertions are disabled, including GPUI's Windows shader bindings.

    Explicit debug-assertions overrides take precedence over optimization defaults, including when flags are repeated. Build scripts still compile for the host and retain the default unwind panic strategy rather than inheriting arbitrary target compiler flags.

  80. More reliable local memory budgets and change tracking

    On Linux, automatic memory budgeting now uses the current process's readable cgroup limits, including visible ancestor limits, instead of relying only on host memory. Memory detection also preserves inherited open-file limits. Explicit memory overrides keep their existing behavior. The budget remains an invocation-local scheduling estimate, not a hard operating-system ceiling or a host-wide reservation pool. See memory limits.

    The change tracker now starts without depending on shell-specific descriptor syntax and closes inherited descriptors before starting its runtime. Read-only file access no longer invalidates otherwise unchanged inputs; writes and uncertain watcher events still invalidate conservatively.

  81. Inspect retained test cases and producer attempts

    struo query test-results and the read-only struo_query_test_results MCP tool now accept an exact retained case id and an optional one-based producer attempt position. Without a position, Struo selects the last attempt in the retained array. Full reports and summary queries are unchanged.

    The focused response keeps target, case, and attempt statuses distinct, preserves producer attempt fields, and identifies the retained file bytes with a digest. Artifact paths remain unchecked target metadata. Inspection never evaluates the current graph or refreshes discovery, and its rerun suggestion applies only to the whole target under the current configuration.

    Focused reads have explicit file and logical projection limits with structured repair diagnostics. See retained case evidence for the limits and CLI/MCP contract.

  82. Bound session log retention

    Struo now prunes its per-invocation session logs automatically. Each command keeps the newest 100 logs, up to 500 megabytes in total, and deletes older ones. The three newest logs and the current session are always kept, so one large session cannot erase the history around it.

    Set STRUO_LOG_RETAINED_SESSIONS or STRUO_LOG_RETAINED_BYTES to change either bound. A directory that accumulated logs before this change drains over the next few commands rather than stalling the first one.

  83. Run build actions on Tuist remote execution

    struo build --remote can now place graph command actions on a Tuist project's remote execution workers. Struo builds each action's input tree from its declared inputs, uploads only the blobs the project cache is missing, runs the action through the Remote Execution API, and installs validated outputs from the same cache. A later build on any machine restores those results without running the actions again.

    Set execution_image on the Tuist infrastructure to the worker image the project's execution service runs. Mismatched images, missing capacity, and mismatched projects fail before any upload. A lost operation is submitted again, and a broken stream reattaches to its operation, because the service may run an action more than once. Struo keeps no more actions in flight than the account's execution concurrency and waits when the service's queue is full. This needs a Tuist server that advertises where its workers run actions.

    Workers run linux/amd64, so commands must find their tools inside the worker image. See Tuist.

  84. Development signing for Apple device builds

    apple_application now accepts signing = "development" with a signing_identity and provisioning_profile. Struo embeds the profile, derives the application identifier, team, and get-task-allow entitlements from it, rejects entitlements the profile does not grant, and signs embedded frameworks and resource bundles with the same identity before the application.

    PKCS #12 and PEM identities sign with rcodesign, on Linux and macOS alike. On macOS, a keychain identity name or fingerprint signs with codesign, keyed by the resolved certificate fingerprint so renewals re-sign. Identity files stay in place: they are never copied into the cache, and only their digest enters cache keys.

    Rebuilding an application into an existing output directory no longer seals files an earlier build left behind, such as a removed resource or an old provisioning profile, into its signature.

    On Linux, network = "deny" now names the missing kernel feature, such as seccomp filter mode, when the host cannot enforce it. Linux release binaries are built against glibc 2.35 instead of 2.39.

  85. Dispatch build actions through Docker

    struo build --remote --compute <provider> can dispatch declared graph command actions through an execution provider while Struo retains dependency scheduling and caching. The new Docker provider makes that boundary testable locally: each uncached command receives its declared inputs in a fresh container, and validated outputs return to the coordinator for downstream actions.

    Docker requires an already prepared immutable image ID. Worker CPU and memory limits follow both coordinator and actual Docker daemon admission budgets, and action containers receive no host workspace or Docker socket mount. Target kinds can declare command resource requests through run_action. Selecting remote execution partitions build configuration and cached results; unsupported requirements fail rather than silently falling back to a local command.

    Remote transfers reject symlink chains that escape declared trees and refuse symlinked parent traversal on the coordinator. Ordered graph dependencies, response files in cleaned scratch directories, and hard-linked outputs retain their expected behavior through Docker execution. Secure archive-backed remote transfer currently supports Linux and Apple coordinators; other platforms fail closed with an explicit unsupported error.

    An image-bound Apple toolchain description lets a Mac resolve an original Xcode project and send C/Swift compilation inputs and dependency outputs to Linux workers without exporting the graph. Linux-compatible compilers, Darwin SDK resources, and ad-hoc signing tools must already be installed in the image. This does not make arbitrary Xcode projects or Mac-only build tools portable.

    Failed cleanup retains host and worker reservations, including exclusive slots, until reconciliation confirms deletion. Docker archive transfers now honor progress-stall and post-upload acknowledgement deadlines as well as the total artifact-transfer deadline.

    The initial backend does not maintain running worker pools or transfer intermediates directly between workers. See Docker execution for setup and limits.

    Linux Apple builds also fingerprint complete SDK bundles so valid internal cross-directory links remain usable, and select the SDK's Darwin compiler runtime for Swift's Clang link step instead of the Linux host runtime.

  86. Native script caching and app extension bundles

    Native Xcode script phases inherit the caller's environment and receive dSYM location settings. Unresolved build-setting expressions in either $(NAME) or ${NAME} form no longer become literal filesystem inputs. Application compiler actions track their declared inputs independently, so an unrelated directory output from an always-run script does not disable compile-cache reuse.

    Swift application module actions assign explicit per-source intermediate paths inside build outputs. App extensions build as .appex bundles and are embedded in their host's PlugIns directory before signing.

    Local Swift package paths that refer to the same directory are accepted even when their spelling differs on a case-insensitive filesystem. Repository acquisition failures identify the checkout and repository without exposing URL credentials, query strings, or Git output.

  87. Reuse Swift package layout discovery

    Warm Xcode graph loads now reuse successful Swift package layout descriptions as well as manifest dumps. Packages using layouts such as Source/ no longer restart SwiftPM on every unchanged graph query.

    Manifest and source changes, added or removed files, compiler changes, and environment changes invalidate the saved answer. Layout discovery stays offline, and failed queries are retried rather than cached.

  88. Cached fallback discovery and parallel package acquisition

    Xcode's fallback search for local Swift package products now reuses successful manifest dumps across graph loads. Manifest and source edits, added or removed files, tool changes and environment changes invalidate the saved answer. Invalid templates still produce a warning and are retried rather than saved as failures.

    Xcode and native Swift package workspaces acquire independent pinned Git repositories concurrently before reading their manifests. Acquisition shares Struo's CPU and memory admission budget with build execution, including --cpu-limit and --memory-limit. Shared repository locking, offline reuse, pinned revisions and ordinary-fetch fallback remain unchanged.

  89. Immutable artifacts and explicit publication

    Struo can now export immutable, content-addressed build artifacts and publish them independently of its action cache. Artifacts can contain arbitrary data with optional versioned consumption contracts. Infrastructure owns distribution and how people use the content.

    Use struo query artifacts, struo artifact export, and struo artifact publish, or their matching MCP tools. The built-in artifact target packages selected files; Apple application targets export bundles and native metadata. Local publication retains self-contained packages. The Tuist compatibility adapter uploads supported application payloads to Tuist.

    Publishing does not start compute. Tuist's current API does not support generic artifact storage, atomic variant sets or idempotent republishing. Read Artifacts for examples and the current boundaries.

  90. Native Xcode and Swift package compatibility fixes

    Pinned Swift package checkouts now reuse commits already present locally and fall back to a full fetch when a Git server rejects shallow clients. The xcodebuild wrapper accepts custom configuration names when they match the Struo seed, including Development.

    Native package lowering now honors linked libraries, frameworks, unsafe linker flags, and per-language warning policies. Manifest evaluation tracks a hash of the inherited environment so changes to manifest switches invalidate cached resolution without recording their values.

    Discovery skips invalid local package templates with a warning. Resolver failures make struo query targets and its MCP equivalent fail rather than present an incomplete graph as successful. Literal directory exclusions prune descendants, and nested targets validate workspace runtime sources correctly.

    Swift package build-tool plugins now run during native builds, including source-built host tools, prebuild output discovery, generated resources, and commands that declare no outputs. Plugin failures fail the build. Plugin planning and execution run locally and bypass caching; native compilation remains cacheable. Xcode workspace fixtures exercise application builds, XCTest execution, environment changes, and regeneration after outputs are removed.

  91. Consistent package settings in custom Xcode configurations

    Swift packages imported from Xcode now follow Swift Build's configuration mapping: names containing debug or development, ignoring case, select Debug; all other names select Release. Native project optimization settings and compilation conditions do not change that mapping.

    The automatic DEBUG definition and conditional Swift and C-family package settings now agree, including macro targets and their host dependencies. For example, Development enables debug-only package settings, while Staging selects release-only settings.

  92. Reliable local package discovery and shared source reuse

    Xcode package discovery now follows explicit local package dependency paths before searching the workspace. Duplicate products or conflicting package identities report both candidate paths and explain how to select the intended dependency, instead of silently choosing a stale copy.

    Remote Swift packages reuse a shared Git repository across worktrees while keeping their source checkout workspace-local. Pinned commits remain available to other worktrees, and failed acquisitions do not publish partial checkouts. Servers that reject shallow fetches still work through an ordinary-fetch fallback.

    Warm graph loads reuse successful manifest dumps for referenced packages. Manifest edits, source changes, added or removed package files, tool changes and environment changes invalidate the saved metadata.

  93. Swift package asset catalogs at runtime

    Struo now compiles processed Swift package asset catalogs into Assets.car, so package images and colors resolve through Bundle.module at runtime. Multiple catalogs in one target are compiled together without colliding on their metadata files.

    Native package discovery also recognizes implicit Apple resources, while respecting explicit copy rules and excluded paths.

  94. Infrastructure provider integration guide and contracts

    Infrastructure teams can now start with a top-to-bottom provider integration guide and use separate cache and execution references while implementing their service adapters.

    The references cover content and action-result formats, the existing REAPI cache transport, command preparation, resource limits, tenant isolation, and machine ownership and cleanup. They link to current implementations and regression tests and include acceptance checks for remote reuse and failures.

    The documentation distinguishes contracts available today from adapter work required for a new service. It does not introduce a new provider plug-in API or add support for another hosted service.

  95. Restore cached build outputs with less overhead

    Remote cache hits reuse the blob availability established by their lookup, avoiding redundant requests. Output restoration submits known digest collections in bounded, deduplicated windows, packing small blobs into size-limited batch requests. Large blobs and servers without batching support keep streaming.

    Read-only staging pins raw blobs with a file handle and avoids synchronizing ephemeral decoded scratch files. Persistent cache contents and mutable output copies retain their existing durability guarantees, and all staged content is verified before it becomes readable.

    Batch responses are structurally bounded before decoding. Stalled responses time out, and cancelling one reader releases its resources without waiting for other readers in the same batch.

  96. Hosted test sharding through native Struo commands

    Create a hosted CI matrix with struo query test-plan --shards and run each assignment with struo test --shard-plan --shard-index. Struo uses its existing native Tuist authentication and configuration, without launching the Tuist CLI.

    Hosted assignments preserve portable batch and fixture boundaries, including on fresh workers. Each partition submits one immutable report with native target/suite/name identities, ordered case retries, and explicit attempt and revision counters. Empty assignments run nothing; missing evidence, failed processes, and cancellation cannot produce a successful partition report.

    This requires a release containing the hosted commands. Struo 0.71.0 supports portable plans only.

  97. Build runnable native macOS application bundles

    macOS applications now use the native Contents layout. Executables live in Contents/MacOS, resources and compiled asset catalogs in Contents/Resources, and embedded frameworks in Contents/Frameworks. The framework runpath is set automatically, and generated property lists use macOS deployment metadata. iOS bundle paths are unchanged. Struo rebuilds legacy flat macOS products without leaving obsolete files beside the new bundle contents.

    Native Xcode script phases receive the matching executable, property-list, and resource-directory settings. Scripts that previously assumed a flat macOS bundle must update their paths.

    The apple-application-macos starter is discoverable through the CLI and MCP. It includes a SwiftUI application and a bundled resource, ready for struo run. The Apple guide also explains how to sign and notarize a private release copy without exposing release credentials or changing cached build products. Builds remain ad-hoc signed; Developer ID signing and provisioning are separate release responsibilities.

  98. Correct cache invalidation for embedded Rust inputs

    Rust compilation now fingerprints every file declared by srcs, including non-Rust files embedded at compile time. Changing an embedded template, schema, or other declared data file rebuilds the crate and its affected consumers instead of restoring an outdated artifact from cache.

  99. Cache Rust compilation by generated output content

    Rust compilation can now reuse cached artifacts after a generator rebuilds without changing its generated files or compiler directives, provided every other compiler input is unchanged.

    Build-script output directories also participate in downstream cache keys and input materialization. Changing a generated native library now relinks its consumers even when the Rust sources and build-script directives stay the same. Restoring a cached build includes those generated artifacts.

    Build scripts keep conservative package-wide input tracking. Generated files that contain changing timestamps still invalidate their consumers.

  100. Select graph capabilities with experimental triggers

    Root struo.toml triggers bind exact source refs to existing build, test, and run capabilities with explicit target configurations. An existing CI worker can execute those selections without maintaining another dependency graph. Inspection, validation, atomic editing, explicit activation, planning, and simulation are available through matching CLI and MCP interfaces.

    Activation uses a separately chosen committed definition, so a candidate that deletes or narrows its declaration does not silently remove its own selected work. Simulations require the exact clean checkout and use a dedicated local cache. CI still owns authenticated event delivery, worker isolation, resource ceilings, and required-check publication. This is not a native controller or an immutable replay facility.

    Read Event-Driven Automation for the service integration model and current support status. A Buildkite example adapter generates worker jobs from approved triggers through dynamic JSON pipelines. Tuist orchestration support is coming; no native service adapter is released yet.

  101. Improve native Apple build and test compatibility

    Struo handles more existing Xcode projects and Swift packages without changing their sources or delegating compilation to Xcode.

    Swift packages use single-worker batch compilation by default, avoiding repeated frontend startup and parsing for each source file. Whole-module optimization and explicit package compiler flag overrides remain supported.

    Swift package dependency resources are installed in the macOS test bundle's resources directory, and generated Bundle.module accessors find them there. Package C and C++ targets honor conditional header search paths.

    Frameworks that import XCTest receive its Swift overlay search path. Objective-C-only test bundles link through Clang, avoiding unnecessary Swift runtime compatibility libraries. Swift compilation and linking no longer load those libraries twice when a target requests all archive members.

    Embedded framework signing preserves versioned macOS layouts instead of creating a signature directory at the framework root. Resource bundles and help books also retain their complete directory trees. Synchronized groups preserve explicit resource folders and include web resources and scripting dictionaries. AppleScript sources compile into .scpt resources.

    Explicit macOS CODE_SIGNING_ALLOWED=NO configurations omit entitlement-bearing signing while retaining an ad-hoc bundle seal for local integrity checks. Capabilities that require authorized signing remain disabled in this mode.

    Xcode imports accept build phase scripts stored as arrays of lines, normalize relative script paths, and resolve package tool dependencies declared through target dependencies. Linked framework dependency matching also handles spaces in target names. Scripts receive transitive framework products and selected developer and toolchain paths.

    Swift builds honor native regular-expression and concurrency defaults. String catalogs compile into localized runtime resources and generate Swift symbols when the target enables them. Application-hosted macOS tests use Xcode's test runner without asking Xcode to build the products.

    Test execution uses each scheme's default plan instead of combining exclusions and arguments from its alternative plans.

    Test discovery preserves the enclosing suite across nested helper types, comments, strings, and local declarations, preventing duplicate test identities from corrupting the reported results. Source discovery does not imply execution: tests without an observed result remain unknown.

  102. Portable test batches for hosted CI sharding

    Every struo query test-plan --format json export is portable and replayable. Fresh CI workers can execute assigned opaque batches with struo test --plan plan.json --batch <id> without transferring private discovery caches or reconstructing runner filters. Matching checkouts and tool versions can live at different paths. Changed discovery inputs or configuration fail validation; file fixtures and exact-result checks remain intact.

    Portable execution returns all assigned batch outcomes, including failed tests, with explicit completeness and success fields. External coordinators can attach a test-run group and partition index to authenticated native diagnostics and submit one consolidated test report per CI partition without duplicating each batch's cases.

  103. Inspectable repeated-trial checks for builds and scripts

    Use struo build --verify-reproducible <target> to compare two fresh builds, including their dependency closure. Script checks with struo exec --verify-reproducible now snapshot the whole workspace and rerun needs dependencies and fingerprint commands inside each private trial. Both trials start from the same snapshot at the same private path, with separate, initially empty local Struo caches. Struo retains trial artifacts without replacing outputs in your original workspace.

    Execution status, declared artifacts, and captured logs are reported separately. Two identical failures never pass. Artifact differences fail the check; log-only differences are advisory when declared artifacts match. When there are no declared artifacts, captured logs determine the comparison.

    Every completed check returns an ID for struo query verification <ID>, also available with --format json. Reports, per-trial results, decoded artifacts, captured logs, and local trial caches remain under .struo/verifications/<ID>/. File-level differences include bounded text excerpts and first differing byte offsets when available, so you can inspect what changed instead of comparing digests alone. These files remain local and are not automatically published as project evidence.

    Coding harnesses can request the same checks with verify_reproducible: true on struo_build_target and struo_exec_script. The read-only struo_query_verification tool retrieves a retained report without running commands again. Script --network deny now also applies to needs dependencies. Fingerprint commands that cannot enforce that policy fail closed instead of silently running online.

    A passing check means agreement under that artifact/log policy in two trials, not proof of reproducibility. Struo does not perturb or control clocks, randomness, or thread scheduling. Host toolchains, host tool caches, absolute paths, network services, and external side effects are not isolated. The snapshot excludes Struo runtime state and known declared script outputs, but other pre-existing generated files remain. Only start a check when repeated execution of the selected work and its dependencies is authorized.

  104. Safer exit policies and cache reuse

    Commands now fail when they exit with 0 but their success_exit_codes list excludes it. Accepted nonzero exits continue to count as success, and failures retain their captured diagnostics. After upgrading, affected actions run again rather than reusing results recorded under the earlier behavior.

    Cache validation no longer trusts mutable timestamps where reliable change markers are unavailable. Content-based action caches continue to work, while unsafe metadata-only analysis and build shortcuts are disabled on those platforms. Rebuild checks on Windows may take longer as a result.

    Very deep build graphs no longer risk stack exhaustion while scheduling. Action plans validate dependencies in linear time, tolerate repeated dependency entries, and report worker panics instead of waiting indefinitely. SDK action keys keep their existing format while hashing inputs without buffering a second copy.

    Garbage collection remains a best-effort filesystem snapshot. Concurrent publication can cause a cache miss, which execution safely repairs by running the action again. Files disappearing during a collection pass no longer make the scan fail.

  105. Keep building through transient cache outages

    Struo can now continue executing scripts and build actions when the remote cache remains unavailable after bounded retries. Fresh results stay in the local cache and can be reused by later runs while the remote service recovers.

    If a deferred output becomes unavailable, a build can run its recorded producer again to reconstruct the exact expected bytes. Existing resource admission, repair limits, and digest verification still apply.

    Outages are logged and remain distinct from confirmed missing content. Cache reuse and restoration do not hide credential refusals, corruption, malformed cache records, or local filesystem failures. Explicit cache and SDK reads keep their existing error semantics.

  106. Reproducible test batches with stricter result validation

    Struo can rerun one semantic test batch without changing its file or fixture scope. Copy a batch ID from struo query test-plan --target <target> and run struo test <target> --test-batch <id>. The same selector is available through the test planning and execution MCP tools. Unknown or obsolete IDs fail before execution and suggest current batches.

    Automatic batches remain independent of worker count. Before scheduling a complete target scope, Struo checks that batches do not overlap and cover every discovered unit. Exact results now reject duplicate or unrequested cases and require passing evidence in isolated batch outputs. A successful process exit alone cannot turn missing evidence or reported failures into a passing batch.

    Custom test adapters that previously reported extra cases for exact requests must honor the selected IDs. Keep setup diagnostics in runner metadata or artifacts, and give parameterized cases distinct discovered IDs. Use target-level batching when repeated startup or fixture setup outweighs parallelism.

  107. Terminal status, live links, and smoother progress

    Struo now reports whether a build, test, lint, or run command is working, finished, or failed to supporting terminals. Terminals can display that state without interpreting spinner characters or command output, and status reporting works without a reporting account or network connection.

    Live dashboard links are now clickable in interactive terminals and appear as soon as the reporting service returns the run's URL, so you can open the dashboard while work is still running. Links and log messages stay coordinated with the progress panel, and synchronized redraws reduce flicker on supporting terminals.

    Terminal integration uses portable protocols and is enabled automatically for interactive human output. Machine-output formats, redirected stderr, dumb terminals, and CI do not receive these controls. Disable them explicitly with --terminal-controls=never, independently of your color settings.

    See Terminal integration for quiet-mode behavior, cancellation, and output compatibility details.

  108. Build iOS applications on Linux

    Struo can cross-compile native Apple libraries, frameworks, applications, and executables on Linux using Swift and xtool's Darwin SDK. Compilation, linking, resource packaging, and ad-hoc signing remain declared Struo actions, with the same caching and memory-budgeted scheduling as other builds.

    Linux iOS device builds default to ARM64, including on x86_64 hosts. Struo uses the active Swift toolchain's Clang, the SDK's Mach-O linker and archiver, omarchy-apple-dev's installed resource compatibility tools, and rcodesign. You supply the Apple SDK through xtool; Struo does not redistribute it.

    A Linux application starter is available through target-kind discovery:

    struo edit materialize-example apple_application apple-application-linux
    struo build Hello
    

    The output is ad-hoc signed, not provisioned for device installation or App Store submission. Simulator execution, Apple test runtimes, Xcode and Swift package workspace resolution, and Xcode app thinning still require macOS. See Build iOS Applications on Linux for setup, SDK repair after toolchain switches, and deployment boundaries.

  109. Safer cached output restoration

    Struo now stages cached files before replacing their workspace outputs. A concurrent reader keeps its complete original file instead of seeing it truncated during restoration. If a cached file cannot be read completely, the existing output stays intact.

    File permissions are applied before replacement, and restoration continues to stream through bounded buffers rather than loading whole artifacts into memory.

  110. More resilient cache discovery and consistent analysis limits

    Struo now reuses the last known remote cache endpoints when a discovery connection drops while receiving the response body. Without saved endpoints, the interruption becomes a cache miss instead of stopping the build. Malformed responses and authentication failures still surface as errors.

    Host discovery commands also keep their output limits separate in the analysis cache. A command previously run with a larger limit can no longer bypass a later caller's smaller standard-error limit.

  111. More precise environment evidence

    Declared graph actions now record a separate fingerprint for each environment variable. When two builds have different action identities, you can compare their evidence to identify which variable changed without exposing its value.

    The additional evidence does not change action cache keys or invalidate existing cached results.

  112. Stable managed tool resolution

    Struo no longer treats developer-installed mise shims as concrete executables when resolving a workspace's declared tools. If workspace resolution is unavailable, it finds the underlying host tool instead of routing the action through a second mise installation.

    This keeps parallel builds from alternating between shim and host-tool search paths. Cached tool-path records that point at mise shims are rejected; valid records remain reusable.

  113. Preserve generated Mix dependency resources

    Struo now preserves compiler-generated priv and include files when building Mix dependencies, including native libraries produced by dependency compilers.

    Static package resources are combined with generated resources inside the compilation action instead of replacing them afterward. Both are captured in the cached application output, so cached builds retain the files needed to start dependent applications.

  114. Keep release publication running

    New pushes no longer cancel release publication that is already in progress. New release runs wait instead, allowing artifact builds and package publication to finish while development continues.

  115. Resilient Swift package analysis and host tool fallbacks

    Swift package analysis no longer fails when SwiftPM cannot fully describe a package, for example when a local binary artifact has not been produced yet or a declared test directory is missing from a downloaded dependency. Struo keeps the manifest it already read and only asks SwiftPM for computed target paths when a target is not in its default location.

    When a workspace's declared tools fall back to the host toolchain, Struo no longer remembers those host paths for later runs, so the next build tries workspace resolution again.

  116. Clearer documentation and safer cache storage

    The documentation now offers a more direct path from your first cacheable script to a typed build graph. The getting-started example demonstrates both output restoration and input invalidation, and explains what you need to declare for cache reuse to be correct.

    A compact documentation home and previous/next links make the guides easier to follow on desktop and mobile. The target-kind reference now includes container composition, Dockerfile builds, Apple command-line tools, ShellSpec tests, and script adapters. Navigation also includes previously missing Elixir, Rust, and React Native reference pages.

    Cache storage cleans up temporary files after failed writes and streamed-blob installation. Host-tree hashing preserves literal Unix backslashes and rejects non-UTF-8 paths rather than assigning ambiguous identities. Existing metadata digest caches are refreshed automatically. Package-relative source paths now reject absolute paths before joining them to a package directory.

  117. Create and connect a project with struo connect

    struo connect provisions a project with an infrastructure provider and writes the binding into your repository. With Tuist as the provider it signs you in when needed, creates the project, and records the account and project in the root struo.toml, so a local project reaches a shared remote project in one command. The workflow is provider neutral: it reuses the same provider resolution as struo auth login and writes the same configuration the rest of Struo reads.

  118. Container images without Docker or scripts

    Native container images are assembled by Struo itself. oci_image can extend a base image, name several tags, and combine with other platforms through the new oci_index. oci_pull fetches a base by content digest, so it is immutable and cached. oci_push publishes an image or multi-platform index with the same digest Struo built, and can sign it with cosign. oci_import brings in an image archive exported elsewhere. oci_load loads an archive into Docker or Podman. Layers can be gzip-compressed and carry symbolic links.

    Dockerfile images no longer need Python. Each instruction is a single Docker build step, and ARG and ENV values are resolved up front. A Dockerfile can use native executables and pinned images as named build contexts, instead of copying files into its context.

    Two correctness fixes reach beyond containers. Changing only a file's permission bits, such as making a script executable, now invalidates cached results built from it. Copied directory trees keep their empty directories.

  119. More reliable Tuist cache uploads

    Struo now retries temporary failures when checking or uploading blobs and publishing action results to the Tuist cache. Normal HTTP/2 connection retirement no longer immediately abandons an upload or cache entry.

    Retries are limited to three attempts. Interrupted uploads restart from the beginning with a fresh upload resource. Authentication failures, permission refusals, quota refusals, invalid requests, requests that exceed the request timeout, and local file errors still fail without retrying.

  120. Dockerfile instructions as individual actions

    Struo now translates existing Dockerfiles into individual image snapshot actions. Earlier instructions can reuse cached snapshots when later sources change, and cross-stage copies declare their dependencies explicitly. Container and remote BuildKit builders execute each instruction. Struo also discovers a Dockerfile as an image target without struo.toml. When Docker's built-in builder is the default, Struo provisions a reusable container builder automatically.

    Dockerfile targets also expose advisory lint findings for inputs that may change outside the declared action contract. Findings include source locations and suggested repairs for agent review, without changing caching policy.

    Dockerfiles that use heredocs, ONBUILD, or a # syntax= frontend build as a single whole-file BuildKit action automatically, and struo lint reports why. Cacheable images now require base images pinned by digest, so a moving tag cannot serve a stale cached image.

  121. Portable Dockerfile layer caches

    Dockerfile image targets can export intermediate BuildKit layers as declared outputs and reuse them through target dependencies. Struo can store and restore those layers with image archives, including Docker archives built with a container or remote builder.

    Registry cache imports and exports let independent builders share layers. Select a remote BuildKit builder to run Dockerfile instructions away from the local host while Struo tracks the context inputs and exported artifacts.

  122. Rule-neutral build and test reporting

    Struo now keeps build and test reporting independent from target-kind names. Native compatibility commands select declared capabilities, tools, and resolver metadata, while test runners communicate through the normalized test-results contract. Toolchain names remain opaque in shared argument telemetry unless a workspace explicitly marks a value safe.

  123. Native Apple test outcomes in Struo reports

    Apple test bundles run by the XCTest host now translate completed test cases from the native runner output into Struo results, including their outcome and duration. This also covers Swift Testing cases in a bundle that uses both runners. Source discovery still records cases that the runner did not reach, but leaves their outcome unknown instead of treating a passing process as proof that every discovered case passed.

  124. Read the Xcode 27.2 project.xcproj JSON manifest

    Struo now recognizes the JSON-based project.xcproj manifest that Xcode 27.2 writes alongside, or in place of, the classic OpenStep project.pbxproj. A converted project resolves through the same xcode_workspace target kind as before, so target names, discovery, and downstream build actions stay unchanged. Projects that ship both manifests prefer the JSON form; projects that ship only project.pbxproj keep working exactly as they did.

    The reader handles the shape choices that Xcode 27.2 uses in real projects, including grouped and file-system synchronized folders with per-target inclusion and exclusion lists, per-configuration setting suffixes such as ENABLE_TESTABILITY[config=Debug], per-configuration xcconfig links, string and object build phases, remote and local Swift package references with their product members, and short product-type spellings such as framework or bundle.unit-test.

    Two long-standing gaps that surfaced while validating the reader against Alamofire, Kingfisher, RxSwift, MovieSwiftUI, and Ice Cubes are fixed in the same release and benefit the classic manifest reader as well. Frameworks whose hosted tests use @testable import now compile the dependency for testing, so test bundles resolve the module they import. Frameworks that themselves import XCTest, such as RxTest, are given the platform's Developer framework and library search paths so they compile. Build settings that nest one variable inside another, such as Alamofire's $(MACOSX_DEPLOYMENT_TARGET_XCODE_$(XCODE_VERSION_MAJOR)), now resolve to a concrete deployment target using the current Xcode's version.

  125. Explicit modules for native Apple builds

    Struo can now use the Swift compiler's dependency scan to build imported Swift and Clang modules as separate cacheable actions. Enable explicit_modules on an Apple target or a native Xcode or Swift package workspace. Native Xcode projects also honor SWIFT_ENABLE_EXPLICIT_MODULES = YES.

    Shared module work reuses the action cache, and independent declared actions can run concurrently within the build's memory budget. Module identity includes compiler and development-kit contents. Existing builds keep their implicit-module behavior unless explicit modules are selected.

    An optional dependency_check = "error" rejects source imports of workspace modules that are not declared dependencies. Errors include the target and a suggested repair. Xcode's inferred import edges do not satisfy this check.

    The module authoring contract now includes deferred action planning and host directory digests. These are ecosystem-neutral primitives that other target kinds can use. This release also fixes signing for standalone Apple executables. Parent-relative dependency references now resolve correctly in nested Apple packages.

    See Apple builds for configuration and current limits.

  126. Correct local and multi-platform Apple dependency graphs

    Struo now follows transitive local Swift package dependencies without requiring a lockfile for an entirely local graph. Remote dependencies introduced by local packages still use the root package's dependency resolution.

    Xcode projects with both macOS and iPhone targets now get distinct dependency graphs for each destination, including package targets and binary frameworks. Manifest parsing is shared across destinations and local product discovery.

    Package product dependencies retain every module in the product, even when a module shares the product's name. Native application attributes and system library dependencies also remain consistent with their graph contracts.

    These improvements came from exercising Vapor and NetNewsWire. Small, offline acceptance fixtures preserve their graph patterns and check dependency edges, source membership, settings, selective builds, cache restoration, and changes to transitive inputs without compiling the full applications.

    Read about Swift packages and Xcode projects.

  127. Run native Xcode script phases with reconciled build settings

    Struo now retains Xcode script phases without source or archive outputs, including validation and product-processing scripts. Preparation runs before compilation, resource generators can run between linking and packaging, and product scripts run after assembly and before final signing. Later scripts consume the bundle produced by earlier scripts, including undeclared resources created by always-run phases. Deleted resources stay deleted, and restoring a captured bundle no longer overwrites newer outputs inside it.

    Scripts receive native build settings mapped to Struo's workspace, product, and intermediate directories, including input and output file-list variables. Fully declared scripts can reuse cached results. Always-run scripts and scripts with untracked inputs bypass the cache while allowing individual compilation actions to remain cached. Installation-only phases remain excluded from ordinary builds.

    Native shell phases execute in the workspace so absolute build-setting paths and in-place edits address the same products. Caching relies on complete input and output declarations, not filesystem isolation.

  128. Test results that follow the run

    Swift Testing bundles now report every test and what actually became of it. The testing library keeps a record of the run, and Struo turns that record into its normalized results instead of listing what the sources declare and crediting each one with the run's exit status. A test that was filtered out, skipped, or never reached is reported as such rather than as a pass, and an issue a test marks as known no longer counts as a failure.

    Where results still have to come from the XCTest host, that host reports the run's outcome rather than each test's. Struo lists the cases it finds so a shard can address them, but lists them without a verdict, so a green run never carries verdicts nothing produced.

    Test bundles that depend on a Swift macro can now import it. Code behind canImport of a macro module used to compile away, which quietly emptied the test targets that exercise macro implementations. Such a bundle builds for the host along with its dependencies, matching how a macro itself is built.

  129. Preserve Swift dependency traits

    Native Swift package builds now preserve traits requested by dependencies. Struo combines requests across the package graph and expands traits that enable other traits before compiling libraries and macros. This fixes missing types when a dependency exposes functionality behind an opt-in trait.

    Explicit trait lists, disabled defaults, and conditional trait requests follow the package declarations. The same resolved traits control compiler settings and optional target dependencies.

  130. Builds with a Swift toolchain outside Xcode

    A Swift toolchain installed beside Xcode contributes the compiler, but the linker and the software development kit still come from Xcode. Apple builds now resolve those separately and pass the linker's location to every compile and link, so a package that needs a newer compiler than the one Xcode ships builds without falling back to whatever the surrounding shell happened to expose.

    Swift Testing follows the same rule. A macro plugin only matches the testing library from its own toolchain, and the two ship on different schedules, so test targets now compile and link against the copy the selected compiler provides when it has one, and against the version Xcode publishes otherwise. Test bundles that previously failed to expand @Test and @Suite build again.

    Swift package libraries are also force-loaded into what depends on them, the way Swift Package Manager links every object file a target produced. A source file whose only contribution is a protocol conformance is no longer dropped, so conformances declared in an extension are found at runtime.

  131. Explainable input fingerprints

    Evidence records now explain why a build's inputs changed, not only that they changed. Alongside the input digest it already tracked, Struo records a versioned input fingerprint that breaks the digest down into labeled components for sources, generated inputs, dependencies, module code, toolchains, command shape, and environment configuration.

    Each component carries a category, a stable label, and its own digest, so two runs can be compared to see exactly which part of the input moved. Targets that run several actions aggregate their per-action fingerprints into a single target-level view.

    The fingerprint is available from both command and agent evidence queries, and older evidence stays readable because the field is optional. Raw command arguments, toolchain identities, and environment values are represented only by their digests and are never stored in plain text, so the fingerprint stays safe to share.

  132. Faster native project discovery

    Struo now discovers native Cargo, Mix, and future ecosystem projects with one shared filesystem pass. Workspace include and exclude patterns prune unrelated directories before Struo enters them, reducing startup work in large repositories without changing the targets that discovery produces.

    Discovery also keeps its own memory usage predictable. Project kinds that own nested packages retain only their shallowest matching roots, while kinds that recognize every nested project have a 16 mebibyte retained-result limit. Struo stops with guidance for narrowing the workspace if that limit is reached, instead of allowing the number of matching directories to cause unbounded memory growth.

  133. Infrastructure favicons in the documentation sidebar

    The documentation sidebar now shows the Microsandbox, E2B, Daytona, and Tuist favicons next to their infrastructure guides, matching the visual treatment used for supported ecosystems.

  134. Near-instant unchanged builds

    Struo now returns almost immediately when nothing relevant has changed. A build that already matches the cache no longer revalidates the whole graph on every invocation. Instead, Struo records what changed since the last successful build and reuses the previous result when the sources, declared outputs, environment, and tools it observed are all unchanged.

    Input checking is also cheaper. Struo validates unchanged files by their metadata rather than rereading their contents, so a repeat build no longer pays to rehash the entire dependency tree. When a cached result is reused, only the outputs that actually differ are restored. Together these reduce both the time and the memory an unchanged or lightly changed build needs.

    Correctness is preserved conservatively: any change to a watched source or output, a relevant environment variable, or an observed tool on disk falls back to a full validation before the fast path is trusted again.

  135. Native Cargo project graphs

    Struo can now read an existing Cargo.toml and turn it into a typed, cacheable build graph. Rust developers can build, run, and test a workspace without first translating it into struo.toml.

    Native discovery understands Cargo workspaces and the locked dependency closure from Cargo.lock, including registry, Git, and path packages. Each workspace member and locked dependency compiles as its own action, so unchanged work can be restored independently from a local or remote cache. Procedural macros and build scripts are modeled as their own targets so they rebuild only when their own inputs change.

    Struo keeps Cargo.toml and Cargo.lock authoritative and uses the Rust toolchain selected by the project's configuration. Test targets report their results through the same normalized shape as the other ecosystems, so scheduled runs, change-scoped selection, and summaries work the same way.

    Start by running struo query targets, then use struo build, struo run, and struo test with the target identifiers Struo reports.

  136. Bounded memory scheduling for local actions

    Struo now schedules concurrent local actions against a memory budget. The default is two thirds of the memory visible to the host or container, while the new global --memory-limit option lets constrained machines choose a smaller budget.

    Builds, lint targets, run targets, literal commands, scripts, and test workers share the same limit. Actions without a declared estimate receive a conservative default, and oversized actions run alone instead of waiting forever.

    Large command streams, file outputs, directory outputs, and cache uploads or downloads now move through bounded buffers and temporary files instead of requiring complete artifacts in memory.

  137. Native Mix project graphs

    Struo can now read an existing mix.exs and turn it into a typed, cacheable build graph. Elixir developers can build an application, run formatting and dependency checks, execute tests and Mix tasks, and assemble releases without first translating the project into struo.toml.

    Native discovery understands locked Hex, Git, path, Mix, and Rebar 3 dependencies. Each package compiles as its own action, so unchanged dependency work can be restored independently from a local or remote cache. The graph also keeps development, test, and production environments separate.

    Struo uses the Elixir and Erlang versions selected by the project's toolchain configuration while keeping mix.exs and mix.lock authoritative. Umbrella applications and nested Mix projects receive package-qualified targets, and structured diagnostics explain unsupported dependency build managers or missing materialized sources.

    Start by running struo query targets, then use struo build, struo run, and struo test with the target identifiers Struo reports.

  138. Device-specific Apple app size analysis

    Struo can now produce ad-hoc signed app archives for one Apple device model at a time with apple_thinned_package. Keeping each model in its own target makes the variants independently cacheable and ready for size-analysis services such as Sentry without the noise of a universal build.

    The target validates device builds, uses Xcode's thinning tool, re-signs embedded bundles, and writes a deterministic archive plus a stable manifest. Existing apple_application bundles now include the supported-platform metadata that Xcode requires for thinning.

  139. New blog post: Automation needs a git

    The first post on the Struo blog is live. "Automation needs a git" is Pedro's account of why Struo exists: the search for a shared substrate for automation, the incremental shell-based API for decorating existing scripts, and native support for ecosystems starting with Rust. Read it under the blog.

  140. A blog for ideas from the Struo team

    The Struo website now has a blog for longer-form notes about build graphs, reusable automation, and the ideas shaping the project.

    Posts include their authors and Gravatar portraits. The list is paginated, each post has its own generated Open Graph image with author portraits, and readers can subscribe through Really Simple Syndication or Atom feeds. Markdown is compiled with MDEx, with highlighted code windows built from Noora components.

  141. Cacheable linting with normalized findings

    Struo can now run lint targets through the same graph, cache, evidence, and remote-execution model used by builds and tests. The first integrations cover Ruff, golangci-lint, ESLint, RuboCop, Credo, detekt, and SwiftLint.

    struo lint keeps each analyzer's native configuration authoritative while presenting one finding model and failure policy to humans, automation, and coding agents. Project modules can add another analyzer through the documented lint provider and portable report contract.

    The bundled ESLint starter includes its required flat configuration, Credo limits analysis to declared sources, and RuboCop prepares Ruby for portable report conversion. Invalid custom lint providers now return structured repair diagnostics before their actions run.

  142. Documentation now lives in the Struo app

    The documentation moved from a separate static site into the Struo web application, served under /docs. It is rendered natively with the Noora design system, so the docs and the marketing site now share one look and feel.

    This unlocks upcoming interactive features like a package registry and live content, and lets the docs run on the same infrastructure as the rest of Struo.

  143. Refreshed marketing site and a changelog

    The Struo home page was rebuilt around the idea of build once, reuse everywhere, with a new hero, tabbed build examples for iOS, Android, Rust, and Zig, and the list of natively supported languages and ecosystems.

    This changelog is new too. Every user-facing change to Struo will show up here, and you can subscribe over RSS or Atom.