Skip to content

Define hosted compute and runner lifecycle contracts - #88

Open
snamber wants to merge 1 commit into
mainfrom
hosted-compute-contracts
Open

snamber wants to merge 1 commit into
mainfrom
hosted-compute-contracts

Conversation

@snamber

@snamber snamber commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Adds hosted configuration and read-only capacity status to existing workflow Cluster CRUD, plus an aggregate guest-runner lifecycle protocol. Task fetching, completion and task leases remain on their existing APIs.

Configuration uses an expected revision for updates. Lifecycle envelopes bind assignment, epoch and guest boot identity; intake requires admission and Drain is irreversible. Status exposes counts and uncertainty, never task IDs or payloads.

Verification: buf lint, buf format --diff --exit-code and git diff --check passed. Generated consumers are exercised in SDK, CLI and backend tests. SDK consumer: tilebox/tilebox-go#232

This PR does not publish the Buf module, provision compute or deploy services. Consumer PRs include generated files and explicit local generation instructions; default registry regeneration needs publication after review. Review with https://github.com/tilebox/core/pull/805, https://github.com/tilebox/cli/pull/51 and https://github.com/tilebox/hosted-compute-infrastructure/pull/10, without merging independently.

Design and approvals: https://ampcode.com/threads/T-01a1973b-8e6b-7672-92ab-0758b1e54779

Keep guest assignments separate from task execution and preserve existing Cluster routing.

Amp-Thread-ID: https://ampcode.com/threads/T-01a1973b-8e6b-7672-92ab-0758b1e54779
Co-authored-by: Amp <amp@ampcode.com>
@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown

The latest Buf updates on your PR. Results from workflow Lint Protobuf / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedNov 1, 2026, 11:11 PM

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