mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Fix snapshot import doc indentation
Co-authored-by: npub102wg7q285p64ch2fjvstmf2ntn2sz3c4u5hmwatalc76mhsuauysftjtfj <7a9c8f0147a0755c5d499320bda5535cd5014715e52fb7757dfe3dadde1cef09@buzz.block.builderlab.xyz> Signed-off-by: npub102wg7q285p64ch2fjvstmf2ntn2sz3c4u5hmwatalc76mhsuauysftjtfj <7a9c8f0147a0755c5d499320bda5535cd5014715e52fb7757dfe3dadde1cef09@buzz.block.builderlab.xyz>
This commit is contained in:
parent
eb7354dd80
commit
82224daf82
@@ -483,12 +483,12 @@ pub async fn preview_team_snapshot_import(
|
||||
/// If ANY generation fails, return immediately — zero writes.
|
||||
/// 3. Store — inside `managed_agents_store_lock`: write all `AgentDefinition`s
|
||||
/// + all `ManagedAgentRecord`s (with `team_id` set) + `TeamRecord`.
|
||||
/// Both store files are snapshotted (or noted absent) before the first
|
||||
/// write. On any write error the pre-import state is restored — including
|
||||
/// deleting a file that was absent, cleaning minted keyring entries, and
|
||||
/// surfacing rollback failures alongside the original error. This makes
|
||||
/// the store phase all-or-none for ordinary application errors; a process
|
||||
/// crash between atomic file commits is NOT covered.
|
||||
/// Both store files are snapshotted (or noted absent) before the first
|
||||
/// write. On any write error the pre-import state is restored — including
|
||||
/// deleting a file that was absent, cleaning minted keyring entries, and
|
||||
/// surfacing rollback failures alongside the original error. This makes
|
||||
/// the store phase all-or-none for ordinary application errors; a process
|
||||
/// crash between atomic file commits is NOT covered.
|
||||
/// 4. Profile sync — for each member, call `sync_managed_agent_profile`.
|
||||
/// Best-effort; errors are collected per member.
|
||||
/// 5. Memory restore — for each member with non-empty snapshot memory,
|
||||
|
||||
Reference in New Issue
Block a user