fabro/crates/arc-api
Bryan Helmkamp 501ff3df40 Push metadata branch to origin after checkpoint in Remote (Daytona) mode
After each checkpoint commit, the metadata branch (checkpoint.json, manifest,
graph DOT, artifacts) is now pushed from the host process to the GitHub remote
using a GitHub App installation token. The local custom ref (refs/arc/{run_id})
is mapped to refs/heads/arc/meta/{run_id} on the remote since GitHub rejects
branch names starting with "refs/".

Changes:
- Move ssh_url_to_https to github_app.rs as pub fn for reuse
- Add push_ref() to git.rs for pushing a ref to an explicit URL
- Add github_app field to RunConfig to thread credentials into the engine
- Add git_push_meta_host() async wrapper in engine.rs
- Call git_push_meta_host after each remote checkpoint

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 13:08:49 -05:00
..
src Push metadata branch to origin after checkpoint in Remote (Daytona) mode 2026-03-07 13:08:49 -05:00
tests Add POST /models/{id}/test endpoint for server-mode model testing 2026-03-07 11:17:10 -05:00
Cargo.toml Improve Sessions API schema: discriminated turns, date-time formats, consistent naming 2026-03-06 08:33:51 -05:00