Skip to content

fix(tests): pin published snapshot and drop invalid github packages repo - #1805

Merged
patextreme merged 2 commits into
mainfrom
it-fix
Jun 8, 2026
Merged

patextreme merged 2 commits into
mainfrom
it-fix

Conversation

@patextreme

@patextreme patextreme commented Jun 8, 2026 •

Copy link
Copy Markdown
Contributor

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:

  1. Invalid GitHub Packages URL. It pointed to https://maven.pkg.github.com/hyperledger-identus/cloud-agent-client/, but cloud-agent-client is a Maven artifact name, not a GitHub repository — the actual repository hosting the package 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.
  2. Pinned version does not exist. The version 2.1.1-0dfbcd7-SNAPSHOT was never published: the short hash 0dfbcd7 does not correspond to any commit in the repository, and no such snapshot is in the Sonatype Central snapshots repository.

Changes

  • Drop the https://maven.pkg.github.com/hyperledger-identus/cloud-agent-client/ block from the Gradle repositories (the URL was wrong and the package is no longer published there).
  • Pin the dependency to 2.1.1-e1e8be1-SNAPSHOT, which is the latest snapshot published to Sonatype Central and corresponds to commit e1e8be1e on main ("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_SHA so PRs always consume the latest published snapshot, or (b) add a gradle publishToMavenLocal step in the integration test workflow so each PR builds and consumes its own client. Both are out of scope for this fix.

Signed-off-by: Pat Losoponkul <patextreme@hotmail.com>
@patextreme
patextreme requested a review from a team as a code owner June 8, 2026 09:59
@github-actions

github-actions Bot commented Jun 8, 2026 •

Copy link
Copy Markdown
Contributor

Unit Test Results

113 files  ±0  113 suites  ±0   22m 45s ⏱️ + 1m 6s
927 tests ±0  919 ✅ ±0  8 💤 ±0  0 ❌ ±0 
934 runs  ±0  926 ✅ ±0  8 💤 ±0  0 ❌ ±0 

Results for commit b48a300. ± Comparison against base commit e1e8be1.

♻️ This comment has been updated with latest results.

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>
@patextreme patextreme changed the title fix(tests): update maven repositories for integration tests fix(tests): pin published snapshot and drop invalid github packages repo Jun 8, 2026
@sonarqubecloud

sonarqubecloud Bot commented Jun 8, 2026

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Integration Test Results (prism-node)

1 tests   1 ✅  3s ⏱️
1 suites  0 💤
1 files    0 ❌

Results for commit b48a300.

@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Integration Test Results

 23 files   23 suites   3s ⏱️
 58 tests  58 ✅ 0 💤 0 ❌
106 runs  106 ✅ 0 💤 0 ❌

Results for commit b48a300.

@patextreme
patextreme merged commit 81d2cb3 into main Jun 8, 2026
22 of 24 checks passed
@patextreme
patextreme deleted the it-fix branch June 8, 2026 10:59
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>
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.

1 participant