-
Notifications
You must be signed in to change notification settings - Fork 513
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
Fixes for credential details in issue-credential webhook responses #1668
Fixes for credential details in issue-credential webhook responses #1668
Conversation
…ntial 2.0 Signed-off-by: Andrew Whitehead <cywolf@gmail.com>
9416b42
to
9c65346
Compare
Codecov Report
@@ Coverage Diff @@
## main #1668 +/- ##
=======================================
Coverage 95.50% 95.50%
=======================================
Files 528 528
Lines 32736 32752 +16
=======================================
+ Hits 31264 31280 +16
Misses 1472 1472 |
AFAIK - this does not fix the problem. The AATH error was introduced with the refactor done on March 2 (12 days ago). It some of the tests were fixed with the change 4 days ago, but many tests are still failing. See this reporting from Allure on the ACA-Py tests: https://allure.vonx.io/api/allure-docker-service/projects/acapy-aip20/reports/latest/index.html I used current ACA-Py main and Andrew's fork (after a rebuild) with AATH and this command
|
You can drill into Allure to see all the tests that are failing and where. I think we need to focus on getting back to all the tests running as per before the March 2 PR. |
The test is failing here because there is no revocation info returned when the credential is created:
I'll drill down but just in case this rings a bell ... I tried rewinding aca-py to just before March 2 and this code works ( Maybe something in the webhook has changed? |
For the "old" code the issue credential webhook includes this:
For the latest code:
The revocation info is missing |
(Confirmed that both cred defs had revocation enabled, and the credentials were issued with a revocation id) |
@ianco I added a potential fix for the missing revocation_id, although rev_reg_id was still present. |
Still failing from my AATH test. |
you can run the AATH test against your aca-py:
|
If you point the requirements-main to this then everything runs fine:
|
Test output:
|
This is from the
|
@ianco -- I changed the file to this: What is the commit that you are pointing to in your example -- the one before March 2, or Andrew's current PR? |
The example that "works" is just before we merged the PR on March 2 |
Signed-off-by: Andrew Whitehead <cywolf@gmail.com>
043ad3c
to
ac3f21c
Compare
I think it's related to this change here: (It's in (OK never mind looks like Andrew has fixed it lol) |
That worked! However -- the Circle CI tests are now failing. Back to you @andrewwhitehead . In the meantime, I'll run all the tests with this version vs. just the one so far. |
All the tests pass on AATH. Once the CircleCI and Integration Tests get fixed I think we're good to go. Does the change you had to make look correct, Andrew, or do you think it is an AATH bug? |
Signed-off-by: Andrew Whitehead <cywolf@gmail.com>
Looking good. One AATH test run and passed, now running the rest of them. CircleCI passed, integration tests in progress. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All AATH tests passing. w00t!
Attempt to fix an issue with blank credential values seen in the test harness.