Skip to content
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

0.8.0 release #2169

Merged
merged 8 commits into from
Mar 15, 2023
Merged

0.8.0 release #2169

merged 8 commits into from
Mar 15, 2023

Conversation

swcurran
Copy link
Contributor

Signed-off-by: Stephen Curran [email protected]

Signed-off-by: Stephen Curran <[email protected]>
Signed-off-by: Stephen Curran <[email protected]>
@swcurran swcurran marked this pull request as ready for review March 14, 2023 22:29
WadeBarnes
WadeBarnes previously approved these changes Mar 14, 2023
@swcurran
Copy link
Contributor Author

@ianco — can you help with the PR Tests Failing? Error message is:

FAILED aries_cloudagent/commands/tests/test_upgrade.py::TestUpgrade::test_upgrade_missing_from_version

Do I need to add something specific about the upgrade and the tag?

@swcurran
Copy link
Contributor Author

Add the integration tests failed — @andrewwhitehead — perhaps this is related to the new CredX release? It’s in the credX area. Or sunspots?

@swcurran
Copy link
Contributor Author

Ah — integration tests have now passed. Nevermind.

@andrewwhitehead
Copy link
Contributor

I think the failing test may require a small update to aries_cloudagent/commands/default_version_upgrade_config.yml to add v0.8.0

@swcurran
Copy link
Contributor Author

Thanks @andrewwhitehead — I’ll add that.

@swcurran
Copy link
Contributor Author

v0.8.0 is already in the file:

v0.8.0:
  resave_records:
    base_record_path:
      - "aries_cloudagent.connections.models.conn_record.ConnRecord"
  update_existing_records: false
  .
  .
  .

@swcurran swcurran marked this pull request as draft March 14, 2023 23:13
@swcurran
Copy link
Contributor Author

Need to add a note about the upgrade. But do integration tests also need to be updated?

@swcurran swcurran marked this pull request as ready for review March 14, 2023 23:49
@swcurran
Copy link
Contributor Author

@andrewwhitehead -- please investigate the failed integration test and let us know what you find. I think it is important to get this out there.

@ianco
Copy link
Contributor

ianco commented Mar 14, 2023

Looks like the "upgrade" unit test is failing, "from and to version are the same"

@ianco
Copy link
Contributor

ianco commented Mar 14, 2023

I think the integration tests are ok

@swcurran swcurran marked this pull request as draft March 15, 2023 00:01
@swcurran
Copy link
Contributor Author

What is the semantics of the aries_cloudagent/commands/default_version_upgrade_config.yml.

  • I think @reflectivedevelopment was trying to say — “When you update to 0.8.0, this upgrade process should be run”.
  • However, if the integration process is correct, it’s saying — “There is an upgrade process for 0.8.0, but you are already on 0.8.0”.
  • How do we convey in the file or in the integration test: “I’m already on 0.8.0, so no upgrade is needed”?

Also in the PR #2116, there is a description of an upgrade to be run. I’m going to try to add it to the CHANGELOG.md, but I’m not clear on exactly what someone deploying this version of ACA-Py needs to do. Is it automatic?

@ianco
Copy link
Contributor

ianco commented Mar 15, 2023

I think you just need to run ./aca-py upgrade (or whatever your path to aca-py is). What the upgrade actually does is just update all the connection tags. It looks like the upgrade process itself (and the unit test) weren't updated, just the config file. And the stuff the upgrade process does is the same as was done to upgrade to version 0.7.2.

I'm not sure why that unit test is failing, as @swcurran mentions if the version is already 0.8.0 (and you're upgrading to 0.8.0) then the upgrade should just exit with a message, not an exception.

@swcurran
Copy link
Contributor Author

So this RaiseError call should be changed to a print -- correct?

@swcurran swcurran marked this pull request as ready for review March 15, 2023 13:58
@swcurran
Copy link
Contributor Author

I changed the RaiseError to a print and the tests still failed -- possibly a different test failed, but...

I've reverted the change. I've also added new text to the ChangeLog about the change.

ianco and others added 2 commits March 15, 2023 07:50
Signed-off-by: Ian Costanzo <[email protected]>
Exit if upgrade version is the same as current
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@swcurran
Copy link
Contributor Author

@WadeBarnes -- can you please check the CHANGELOG.md note I added this morning about the upgrade. Is it accurate? Useful? Thanks

@swcurran
Copy link
Contributor Author

@WadeBarnes — not urgent — I got feedback from @reflectivedevelopment so all is well. I’ll merge after my next meeting and get the release out the door.

@swcurran swcurran merged commit dab1f30 into openwallet-foundation:main Mar 15, 2023
@swcurran swcurran deleted the 0.8.0 branch April 5, 2023 22:05
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.

4 participants