Skip to content

Fix group DHT watch change handling#36

Merged
tripledoublev merged 6 commits into
mainfrom
codex/watch-changes-investigation
May 31, 2026
Merged

Fix group DHT watch change handling#36
tripledoublev merged 6 commits into
mainfrom
codex/watch-changes-investigation

Conversation

@tripledoublev

Copy link
Copy Markdown
Collaborator

Summary

  • handle group DHT changes from VeilidUpdate::ValueChange instead of repeatedly calling watch_dht_values
  • pass Veilid update receivers into Group instances from backend create/join/load paths
  • add deterministic watch-loop tests and an ignored live Veilid DHT ValueChange verification test

Verification

  • cargo test --lib repo_watch_update -- --test-threads=1
  • cargo test --lib live_dht_valuechange_delivered_for_watched_record -- --ignored --test-threads=1 --nocapture
  • cargo test --lib test_auto_create_repo_on_join_group -- --test-threads=1 --nocapture
  • cargo check
  • git diff --check

- Error instead of panic on malformed join-URL keys and short ciphertext
- Use the repo record's own owner secret as its write credential
- Move nextest.toml to .config/ and use slow-timeout so it actually loads
# Conflicts:
#	src/backend.rs
#	src/common.rs
@tripledoublev tripledoublev merged commit e77651f into main May 31, 2026
1 check passed
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