Repository navigation
Bring RAX to parity with AX main (f0228f1) - #12
Merged
Merged
Conversation
Port google/ax#532 and google/ax#536. The Reconciler trait drops its phase-driven reconcile for explicit suspend, resume and delete calls that record only what AX stores (task ID, WorkspaceReady, and on failure a False Ready). The service sets the phase: Pending or Failed after a failed create or resume, and cleared after a success so reads take it from the actor, which also cancels a failed delete. rax-server now exits when the Substrate client cannot be built, as ax-server does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0193yhp3enJYXRHihkb8uyNH
Port google/ax#513. A Task that leaves spec.command empty runs one headless `claude --print` session built from spec.config (camelCase keys become claude flags) and the bound Workspace's MCP servers (--mcp-config), with the same arguments AX's runner builds. Dockerfile.claude-code layers it and Claude Code over the task-runner image; `just claude-code-image` builds it, and examples/claude-code is AX's example adapted to rax. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0193yhp3enJYXRHihkb8uyNH
Port google/ax#528: a server that crashes holding a lock leaves its tasks in PostgreSQL, and its lease can be taken once it expires. The README now names the AX commit RAX matches, adds the Claude Code runner, and brings the test counts up to date (167). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0193yhp3enJYXRHihkb8uyNH
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Hoffmann · project thread
Summary
RAX
main(2037585) had fallen behind google/axmain(f0228f1, unchanged as of today). This PR closes the three gaps, one commit each:rax-server'sReconcilertrait drops the phase-driven reconcile for explicitsuspend,resumeanddeletecalls that record only what AX stores (task ID,WorkspaceReady, and a FalseReadyon failure). The service now owns the phase: Pending or Failed after a failed create/resume, cleared after success so reads come from the actor (which also cancels a failed delete).rax-servernow exits when the Substrate client cannot be built, asax-serverdoes.rax-claude-code-runnercrate,Dockerfile.claude-code,examples/claude-code/task.yaml, and ajust claude-code-imagerecipe.rax-storegains a test that the Postgres store survives a restart; the README parity note now points at AX f0228f1.Testing
cargo test --workspacewithRAX_TEST_POSTGRES_URLset against a local PostgreSQL 16: 167 passed, 0 failed.cargo fmt --all -- --checkandcargo clippy --workspace --all-targets -- -D warnings: clean.Not done: a line-by-line comparison against AX's Go code, and the cluster E2E suite (needs a cluster with Agent Substrate).
Generated by Claude Code