-
Notifications
You must be signed in to change notification settings - Fork 516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OOB Multiuse invitations not emitting expected done webhook #2859
Comments
@ianco — do you have some time to investigate this? |
I will take a look! |
Would be nice if the integration tests also tested for receipt of webhooks ... I added a ticket for that awhile back (#2675) |
Needed for 0.12.0 |
@dbluhm can you confirm everything was working properly in I can only find 2 commits that may have impacted this, one of yours (to oob_manager) (I don't think this is causing an issue): And (the more likely one) of mine, dealing with a different webhook issue: ... although I can't see where a webhook that had been previously emitted has been removed ... I'll pull the |
I can do a quick test run and should be able to provide a link to an easy to run example |
Minimal reproducible example of it working on 0.11.0 found here: https://github.com/Indicio-tech/acapy-minimal-example/tree/test/oob-0.11.0/examples/simple git clone https://github.com/Indicio-tech/acapy-minimal-example.git
cd acapy-minimal-example/examples/simple
git checkout test/oob-0.11.0
docker-compose run example
# cleaning up
docker-compose down -v |
A quick log of the output from that branch attached. Hopefully it's easy enough to parse! |
@dbluhm thanks looking at this now ... |
Might be relevant, I recently realized that in order for the queued events to be emitted from a transaction, the transaction must be explicitly committed; e.g.: async with profile.transaction() as txn:
# do some stuff...
await rec.save(txn)
await txn.commit() Discovered this while doing the multi-use respond in kind fix |
With the aca-py With the latest aca-py Alice receives an So there's a new |
Yes this is my commit that I referenced above. |
Yes, the With the open question of whether we should suppress the new webhook. Originally, the logic was resulting in a race condition that we worked around by adding a transaction for saving the conn rec and attaching the request. |
Aha this commit is what caused this issue: 76a1d26 In I'll update the oob_processor to always emit the |
Sometime between main and 0.11.0, we've lost a webhook of topic
out_of_band
, statedone
being emitted from ACA-Py when a connection has been completed through multiuse OOB invitations.This is a breaking change that makes it difficult for controllers to determine when a connection was formed through an invitation intended to trigger a flow (e.g. with goal codes).
The text was updated successfully, but these errors were encountered: