Repository navigation
feat: job reads, cancel and the queued job number - #55
Merged
Merged
Conversation
Marc-AnthonyG
approved these changes
Oct 14, 2026
- `list_jobs`, `get_job`, `get_job_logs` (byte-offset pages) and `cancel_job` mirror the server's project job routes; responses derive Serialize. - `start_remote_job` returns the queue response, including `job_num` when the server sends it. - `ApiErrorCode::ComputeProviderJob` names a missing job.
- `start_remote_job` becomes `queue_job(namespace, project_name, compute_provider_group_name, digest, command)`, matching the route and the argument order of every other project method.
- `rust-version` is 1.97.0, the lowest toolchain that builds and tests the workspace; the client itself uses `File::lock`, stable since 1.89.
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.
Job wrappers for
tracel jobsandtracel run --remote. Stacked on #54.list_jobs,get_job,get_job_logs(byte-offset pages) andcancel_jobmirror the server's project job routes; responses deriveSerialize.start_remote_jobbecomesqueue_job(namespace, project_name, compute_provider_group_name, digest, command), matching the route and the other project methods, and returns the queue response, includingjob_numwhen the server sends it.ApiErrorCode::ComputeProviderJobnames a missing job, andApiErrorCode::JobLoga job log that isn't there.rust-versionis 1.97.0, the lowest toolchain that builds and tests the workspace.The server returns
job_numwith tracel-ai/tracel-app#1752, and reports a missing log asJOB_LOGwith tracel-ai/tracel-app#1751. tracel-ai/tracel-cli#41 builds against this branch.