Skip to content

Compile and run tests in Claude cloud environment #3644

Open
luis100 wants to merge 55 commits intodevelopmentfrom
claude/compile-run-tests-XQfGl
Open

Compile and run tests in Claude cloud environment #3644
luis100 wants to merge 55 commits intodevelopmentfrom
claude/compile-run-tests-XQfGl

Conversation

@luis100
Copy link
Copy Markdown
Member

@luis100 luis100 commented Apr 6, 2026

No description provided.

hmiguim and others added 30 commits March 13, 2026 15:22
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6 to 7.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](docker/build-push-action@v6...v7)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 5 to 6.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](docker/metadata-action@v5...v6)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [docker/login-action](https://github.com/docker/login-action) from 3 to 4.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](docker/login-action@v3...v4)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Miguel Guimarães <mguimaraes@keep.pt>
…3590)

Snyk has created this PR to upgrade org.apache.pekko:pekko-cluster_2.13 from 1.1.4 to 1.4.0.

See this package in maven:
org.apache.pekko:pekko-cluster_2.13

See this project in Snyk:
https://app.snyk.io/org/luis100/project/d4f34799-92b4-4ac4-9760-afd88ae499a6?utm_source=github&utm_medium=referral&page=upgrade-pr

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
carlosjepard and others added 23 commits March 16, 2026 10:57
Documents codebase structure, build workflow, test setup, architecture,
code style conventions, CI/CD, release process, and critical gotchas
for AI coding assistants working in this repository.

https://claude.ai/code/session_01DKVBL81YZps5hRHFjCPMG6
Previously, tests required a running stack of Docker services (ZooKeeper,
Solr, PostgreSQL, LDAP, MailHog) either via docker-compose or pre-started
GitHub Actions service containers. LDAP was already managed via
Testcontainers; this change extends the same pattern to the remaining services.

Key changes:
- TestContainersManager: singleton that starts ZooKeeper, Solr (Cloud mode),
  and PostgreSQL containers once per test suite run, then sets the system
  properties that ConfigurationManager and Spring Boot read for connection URLs.
- RodaContainersLifecycleListener: TestNG ISuiteListener registered in
  testng.xml so containers start (and system properties are set) before any
  test class is instantiated or any Spring context is initialised.
- ConfigurationManager.getConfigurationString: now checks System.getProperty
  as a fallback between the OS environment variable and the config file,
  allowing test helpers to override settings without forking the JVM.
- CI.yml: removes the ZooKeeper, Solr, PostgreSQL, and MailHog service
  container definitions and their corresponding environment variable overrides;
  the test suite now self-provisions all required infrastructure via
  Testcontainers.

https://claude.ai/code/session_01KuXDU1UWFJrTiZWK2hqPVj
Creates ~/.m2/settings.xml using GITHUB_MAVEN_USER and GITHUB_MAVEN_PASSWORD
for GitHub Packages authentication, needed before running Maven builds.

https://claude.ai/code/session_01C16yKTzMvrJbwSNTVAWLRK
…ZEa1

Add script to configure Maven settings from environment variables
…ries, and refactor DefaultModelService for hybrid persistence
…aven repository from pom list of repositories
The default zkConnectTimeout of 15s in SolrJ causes SolrZkClient to call
ZooKeeper.close() if the ZK session isn't established in time. That close()
sends a CLOSESESSION packet then waits indefinitely in Object.wait() with
no timeout, because the ZK background threads are already gone — hanging
the test JVM forever.

Changes:
- RodaCoreFactory.instantiateSolr(): add withZkConnectTimeout(300s) to the
  CloudSolrClient.Builder so SolrZkClient has enough time to establish the
  ZK session before panicking
- roda-core.properties: raise connect timeout to 300s, document zk.client.timeout_ms
- TestContainersManager: set zkConnectTimeout and RODA_CORE_SOLR_CLOUD_ZK_CONNECT_TIMEOUT_MS
  system properties as belt-and-suspenders fallback
- roda-core-tests/pom.xml: add 172.*/192.* to http.nonProxyHosts in surefire
  argLine so Docker container IPs bypass the HTTPS proxy
- testng-single.xml: single-class TestNG suite file for fast targeted test runs
- CLAUDE.md: document cloud environment workflow (Docker startup, build commands,
  single-test shortcut, proxy quirks, ZK/Solr notes, pre-PR checklist)

Verified: IndexServiceTest 17/17 tests pass with this fix.

https://claude.ai/code/session_01XRhDcKRQtCBua46PGom5dx
@dosubot dosubot bot added the size:XXL This PR changes 1000+ lines, ignoring generated files. label Apr 6, 2026
@luis100 luis100 changed the title Add httpcore dependency Compile and run tests in Claude cloud environment Apr 6, 2026
@luis100 luis100 changed the base branch from master to development April 6, 2026 20:37
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. dependencies Pull requests that update a dependency file and removed size:XXL This PR changes 1000+ lines, ignoring generated files. labels Apr 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants