Repository navigation
Fix Groovy script test order dependency - #198
Merged
vharseko merged 1 commit intoNov 23, 2026
Merged
Conversation
maximthomas
approved these changes
Nov 23, 2026
maximthomas
left a comment
Contributor
There was a problem hiding this comment.
praise: Using the test classpath root gives the shared Groovy engine access to file-backed fixtures when ScriptTest initializes it first. The permission assertions examine the separate cache created by Script.fromSource. Setup at reviewed HEAD
vharseko
added a commit
that referenced
this pull request
Nov 24, 2026
## Summary Use the latest release tag from `OpenIdentityPlatform/OpenIG` in the Docker build. Upstream runs read `tag_name` with `gh api` and the workflow token. Fork pushes use the same public release endpoint and keep their own image repository, so forks without published releases can still run the Docker smoke test. Fail the version lookup step if the API request fails or the tag is missing or empty. In #198, an empty version reached the Docker smoke test and produced `invalid reference format`. ## Validation - Ran the workflow step on Ubuntu 26.04 in upstream and fork contexts with a valid tag, HTTP 403, a missing tag, and an empty tag. - Confirmed that the live public lookup in the fork context returned `6.2.0` and set the image repository to `vharseko/openig`. - Passed `mvn verify` on JDK 11, `actionlint`, and `git diff --check`.
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.
Summary
Use the test classpath root in
ScriptTestso the shared Groovy engine can find file-backed test scripts when the permissions tests run first. This addresses the sixCannot open URLfailures seen in CI for #197.Validation
masterwithScriptTestfirst. After the change, all 40 tests passed in both class orders on JDK 11.mvn -pl openig-core -am verifypassed all 1,072 tests on JDK 11.