Skip to content

Run pinned job plans on macOS and Windows - #72

Merged
sj26 merged 7 commits into
mainfrom
all-platform-pinned-runtime
Nov 11, 2026
Merged

sj26 merged 7 commits into
mainfrom
all-platform-pinned-runtime

Conversation

@sj26

@sj26 sj26 commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

🤖

Why

run.runtime.platform: darwin/arm64 and windows/amd64 cannot use the pinned launcher. Server-side producers also need to deliver a plan without an importer job or a local file.

What

Run pinned plans on all four released platforms, keeping Linux runner setup, macOS's current user and tool cache, and native Windows execution. Namespace images retain their PATH, hostname and Docker behavior.

run:
  plan:
    digest: sha256:<plan digest>
    inline: <base64 plan JSON>
  event:
    env: BUILDKITE_GHA_EVENT_PAYLOAD
  runtime:
    platform: linux/amd64
    url: https://example.com/pinned-runtime
    sha256: <runtime digest>
  namespace: true

Plan sources are exclusive: inline bytes, a local path, or an exact producer UUID. Events can use inline bytes or the existing separate payload variable; both are checked against the verified plan and published by the real execution job. The runtime API stays unchanged.

The importer advertises expanded launcher support explicitly so newer CLIs can preserve legacy delivery for older plugin pins. This plugin must ship before importers select the expanded contract. Opt-in native-agent proofs exercise released runtimes and normal plugin installation; they deliberately replace legacy delivery for this consumer gate, not claim unchanged importer emission.

Preserve native setup and accept digest-bound inline plans and events without changing the runtime ABI.

Amp-Thread-ID: https://ampcode.com/threads/T-3784262c-5fe0-4e2f-99ad-8443940d75a8
Co-authored-by: Amp <amp@ampcode.com>
buildsworth-bk-app[bot]
buildsworth-bk-app Bot previously approved these changes Nov 11, 2026
sj26 and others added 5 commits November 11, 2026 07:23
Accept the bound proof repository and separate event payload source. Use the installed base64 path in portable tests.

Amp-Thread-ID: https://ampcode.com/threads/T-3784262c-5fe0-4e2f-99ad-8443940d75a8
Co-authored-by: Amp <amp@ampcode.com>
Restore the agent umask before creating host directories. Exercise the native Namespace target in scheduled platform proofs.

Amp-Thread-ID: https://ampcode.com/threads/T-3784262c-5fe0-4e2f-99ad-8443940d75a8
Co-authored-by: Amp <amp@ampcode.com>

@buildsworth-bk-app buildsworth-bk-app Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Want to dig deeper?

Paste this into your agent to explore the findings from this review's Buildkite build:

Download the buildsworth logs from build 52384, then answer my questions about the findings.

Install the reading-buildsworth-logs skill to run this.

Comment thread tests/command.bats Resolved
@buildsworth-bk-app
buildsworth-bk-app Bot dismissed their stale review November 11, 2026 07:45

Superseded by a newer Buildsworth review.

@sj26
sj26 merged commit b62c09f into main Nov 11, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant