[Bug]: Strange peer request behaviour #1
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Pending peer request shows up again after being signed
Steps to Reproduce
Search for nodes:
Request a connection.
On the other node, refresh "Pending peer requests"
You should see the incoming request. Click approve and then click Poll Now. You will see the approved request plus a new pending one. Can be repeated
Expected Behavior
It should only show the approved request
Actual Behavior
Archipelago Version
1.7.56
Hardware
x86_64 (Intel/AMD)
Relevant Logs
No response
Screenshots
No response
[Bug]:to [Bug]: Strange peer request behaviourFixed: the inbound-request dedup now rejects re-syncs for peers that are already
PendingORApproved(core/archipelago/src/federation/pending.rs—insert_inbound), so approving + Poll Now no longer spawns a fresh pending row.Rejectedis intentionally left out so a rejected peer can ask again. Added regression testtest_approved_request_does_not_respawn_pending(passing). Closing.