fabro/lib
Bryan Helmkamp 2a3f550e2e
refactor: simplify metadata snapshot + retro upload paths
- MetadataStore: drop redundant write_files (identical to write_snapshot)
  and the brittle has_projection_data OR-chain in read_run_projection.
- operations: introduce find_run_id_by_prefix_opt using
  META_BRANCH_PREFIX; delete the duplicate find_run_id_by_prefix_in_refs
  helper in rebuild_meta and have it call the shared function.
- rebuild_meta: stop cloning latest_init_snapshot once the init snapshot
  has been written; take() the stored snapshot instead of cloning again.
- retro::upload_data_files: collapse the ten eager *_path variables into
  inline base.join(...) args by making upload_file take &Path; replace
  Vec<String>.join("\n") + "\n" with a streaming String loop.
- Migrate retro_agent test std::fs::read_to_string to tokio::fs to
  satisfy disallowed_methods clippy lint under tokio tests.
- Minor: fork.rs drop misnamed `now` var; metadata.rs doc comment
  describes the unified RunProjection snapshot.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-21 08:27:59 -04:00
..
crates refactor: simplify metadata snapshot + retro upload paths 2026-04-21 08:27:59 -04:00
packages/fabro-api-client refactor: unify run vocabulary and metadata snapshot layout 2026-04-20 22:17:23 -04:00