Skip to content

ci: fix the scheduled tests on the current runner image - #285

Open
mogita wants to merge 2 commits into
mainfrom
ci/scheduled-test-java-11
Open

mogita wants to merge 2 commits into
mainfrom
ci/scheduled-test-java-11

Conversation

@mogita

@mogita mogita commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Problem

The scheduled tests fail before and during the test run. They use the JDK preinstalled on the runner, and ubuntu-latest now ships Java 25, which Gradle 8.4 cannot run on. They also do not pass the multi-tenant app credentials, so TeamUsageStatsIntegrationTest fails at initialization.

Solution

The workflow sets up Java 11 with the same step the Build workflow uses, and passes STREAM_MULTI_TENANT_KEY and STREAM_MULTI_TENANT_SECRET the same way.

How to verify

  1. Run the "Scheduled tests" workflow on this branch. The tests run and pass.

Note

Low Risk
CI workflow-only change; no application runtime or production behavior affected.

Overview
The Scheduled tests workflow no longer relies on the runner’s default JDK (now incompatible with Gradle 8.4). It pins Java 11 via actions/setup-java@v4 with Corretto, matching the main CI build job.

The Run tests step now injects STREAM_MULTI_TENANT_KEY and STREAM_MULTI_TENANT_SECRET so integration tests that need multi-tenant Stream credentials can initialize, using the same vars/secrets fallback pattern as CI.

Reviewed by Cursor Bugbot for commit 0cd0de8. Bugbot is set up for automated code reviews on this repo. Configure here.

@mogita mogita changed the title ci: set up Java 11 in the scheduled tests ci: fix the scheduled tests on the current runner image Nov 14, 2026

This branch has not been deployed

No deployments
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