Repository navigation
fix(tests): pin published snapshot and drop invalid github packages repo - #1805
Merged
Merged
Conversation
Signed-off-by: Pat Losoponkul <patextreme@hotmail.com>
Contributor
The previous change replaced the GitHub Packages URL with `https://maven.pkg.github.com/hyperledger-identus/cloud-agent-client/`, but `cloud-agent-client` is a Maven artifact name, not a GitHub repo — the actual repository is `hyperledger-identus/cloud-agent`. The Kotlin client has also been migrated to Sonatype Central snapshots (see branch 1604-migrate-publishing-of-the-cloud-agent-http-client-in-kotlin- to-the-new-maven-central-endpoint), so GitHub Packages is no longer the source for snapshots. Additionally, the pinned version `2.1.1-0dfbcd7-SNAPSHOT` does not exist: the short hash `0dfbcd7` does not correspond to any commit in the repository, and no such snapshot was ever published to Sonatype Central. The latest published snapshot is `2.1.1-e1e8be1-SNAPSHOT` (matching commit `e1e8be1e` on main), so we pin to that. Fixes the `Could not find org.hyperledger.identus:cloud-agent-client: 2.1.1-0dfbcd7-SNAPSHOT` failure in the integration test workflow. Signed-off-by: Pat Losoponkul <patextreme@hotmail.com>
|
Contributor
Integration Test Results (prism-node)1 tests 1 ✅ 3s ⏱️ Results for commit b48a300. |
Contributor
Integration Test Results 23 files 23 suites 3s ⏱️ Results for commit b48a300. |
Yummy-Yums
pushed a commit
to Yummy-Yums/cloud-agent
that referenced
this pull request
Jul 16, 2026
## [2.2.0](hyperledger-identus/cloud-agent@v2.1.0...v2.2.0) (2026-06-09) ### Features * add PRISM VDR driver integration ([hyperledger-identus#1671](hyperledger-identus#1671)) ([f48add8](hyperledger-identus@f48add8)) * add VDR capabilities to the cloud-agent using the prism-node ([hyperledger-identus#1685](hyperledger-identus#1685)) ([9931f22](hyperledger-identus@9931f22)) * support NeoPRISM as node backend ([hyperledger-identus#1693](hyperledger-identus#1693)) ([e1a5af2](hyperledger-identus@e1a5af2)) * token permissions and remove codeql ([hyperledger-identus#1665](hyperledger-identus#1665)) ([2f2f1ca](hyperledger-identus@2f2f1ca)) * VDR driver leftovers and improvements ([hyperledger-identus#1712](hyperledger-identus#1712)) ([679e1b8](hyperledger-identus@679e1b8)) * **vdr:** add NeoPrism REST API as VDR backend ([hyperledger-identus#1728](hyperledger-identus#1728)) ([e7bddd3](hyperledger-identus@e7bddd3)) ### Bug Fixes * add allstar exception for thr binaries ([hyperledger-identus#1683](hyperledger-identus#1683)) ([c5980cb](hyperledger-identus@c5980cb)) * **ci:** update neoprism version and fix VDR cucumber tag ([hyperledger-identus#1729](hyperledger-identus#1729)) ([1224017](hyperledger-identus@1224017)) * correct typos, API endpoint documentation and error responses ([hyperledger-identus#1768](hyperledger-identus#1768)) ([18761bd](hyperledger-identus@18761bd)) * docker image ([hyperledger-identus#1639](hyperledger-identus#1639)) ([7a19081](hyperledger-identus@7a19081)) * **docs:** correct glossary link paths in connectionless present-proof ([hyperledger-identus#1796](hyperledger-identus#1796)) ([e1e8be1](hyperledger-identus@e1e8be1)) * **docs:** correct relative link path in VDR manage tutorial ([hyperledger-identus#1737](hyperledger-identus#1737)) ([55a5e4e](hyperledger-identus@55a5e4e)) * pipeline script ([hyperledger-identus#1676](hyperledger-identus#1676)) ([86ac86f](hyperledger-identus@86ac86f)) * remove checksum bypass and pin java-multibase to v1.1.1 ([hyperledger-identus#1769](hyperledger-identus#1769)) ([dddf7fb](hyperledger-identus@dddf7fb)) * **tests:** pin published snapshot and drop invalid github packages repo ([hyperledger-identus#1805](hyperledger-identus#1805)) ([81d2cb3](hyperledger-identus@81d2cb3)) * token permissions ([hyperledger-identus#1666](hyperledger-identus#1666)) ([518c094](hyperledger-identus@518c094)) * Token-Permissions ([hyperledger-identus#1678](hyperledger-identus#1678)) ([adc81b1](hyperledger-identus@adc81b1)) [skip ci] Signed-off-by: Hyperledger Bot <hyperledger-bot@hyperledger.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Fixes the integration test CI failure (
Could not find org.hyperledger.identus:cloud-agent-client:2.1.1-0dfbcd7-SNAPSHOT). This fails for all PRs that touch the integration tests.Root cause
The previous change had two bugs in
tests/integration-tests/build.gradle.kts:https://maven.pkg.github.com/hyperledger-identus/cloud-agent-client/, butcloud-agent-clientis a Maven artifact name, not a GitHub repository — the actual repository hosting the package ishyperledger-identus/cloud-agent. The Kotlin client has also been migrated to Sonatype Central snapshots (see branch1604-migrate-publishing-of-the-cloud-agent-http-client-in-kotlin-to-the-new-maven-central-endpoint), so GitHub Packages is no longer the source for snapshots.2.1.1-0dfbcd7-SNAPSHOTwas never published: the short hash0dfbcd7does not correspond to any commit in the repository, and no such snapshot is in the Sonatype Central snapshots repository.Changes
https://maven.pkg.github.com/hyperledger-identus/cloud-agent-client/block from the Gradlerepositories(the URL was wrong and the package is no longer published there).2.1.1-e1e8be1-SNAPSHOT, which is the latest snapshot published to Sonatype Central and corresponds to commite1e8be1eonmain("fix(docs): correct glossary link paths in connectionless present-proof").Follow-up
The version string is still hand-pinned. A future improvement would be to either (a) inject the version from a workflow output / generate it from
GITHUB_SHAso PRs always consume the latest published snapshot, or (b) add agradle publishToMavenLocalstep in the integration test workflow so each PR builds and consumes its own client. Both are out of scope for this fix.