mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-06 08:18:58 +00:00
Mostly consolidation of code added in the recent schema v2 work: - Share a single ActorRef::user() constructor between server control actions and workflow provenance conversions. - Share StageScope::from_context() between current_stage_scope and StageScope::for_handler so the 4-field construction lives in one place. - Collapse RunEvent::to_value's if-let chain into an insert_opt helper. - Use Value::String(id.to_string()) instead of serde_json::to_value for StageId/ParallelBranchId when seeding the parallel branch context. - Share parse_event_envelopes via tests/it/support/mod.rs instead of duplicating the parsing block in two CLI run_events helpers. Also fix parallel-branch git.commit to emit via emit_scoped with a branch-specific StageScope so it carries stage_id / parallel_group_id / parallel_branch_id alongside the other stage-scoped events. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| mod.rs | ||