Skip to content

fix(desktop): retry agent profile sync#2013

Draft
baxen wants to merge 1 commit into
mainfrom
bumble/onboarding-agent-profile-images
Draft

fix(desktop): retry agent profile sync#2013
baxen wants to merge 1 commit into
mainfrom
bumble/onboarding-agent-profile-images

Conversation

@baxen

@baxen baxen commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Why

Onboarding can leave managed agents with a local avatar but no relay-backed kind:0 profile, so mentions, posts, and profile details fall back to initials.

What

  • Treat HTTP 2xx relay responses with accepted: false as failed profile publications
  • Retry the same signed replaceable profile event up to three times
  • Add hermetic tests for transient acceptance and exhausted retries

Risk Assessment

Low — limited to managed-agent profile publication. Retries reuse the same signed replaceable event and broad profile reconciliation remains disabled, preserving agent-managed profile changes.

References

  • cargo test --manifest-path desktop/src-tauri/Cargo.toml --lib: 1,440 passed, 13 ignored
  • cargo clippy --manifest-path desktop/src-tauri/Cargo.toml --all-targets -- -D warnings
  • cargo fmt --manifest-path desktop/src-tauri/Cargo.toml --all -- --check

Generated with Goose

Treat relay application-level rejection as a failed profile publish and retry the same signed replaceable event during agent creation.

Co-authored-by: npub1t490dek5vslqxv0ft0jlft6j5fjlp74jery2tyj7ngf8ggd0pcnst8w25n <5d4af6e6d4643e0331e95be5f4af52a265f0fab2c8c8a5925e9a127421af0e27@sprout-oss.stage.blox.sqprod.co>
Signed-off-by: npub1t490dek5vslqxv0ft0jlft6j5fjlp74jery2tyj7ngf8ggd0pcnst8w25n <5d4af6e6d4643e0331e95be5f4af52a265f0fab2c8c8a5925e9a127421af0e27@sprout-oss.stage.blox.sqprod.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant