CI: matrixed ui-smoke-tests job across Java 17,26 × context paths × samples#167
Merged
vharseko merged 3 commits intoOpenIdentityPlatform:masterfrom May 6, 2026
Merged
Conversation
Agent-Logs-Url: https://github.com/vharseko/OpenIDM/sessions/3de4edfb-e736-4a72-a10d-0e50719e74bc Co-authored-by: vharseko <6818498+vharseko@users.noreply.github.com>
Agent-Logs-Url: https://github.com/vharseko/OpenIDM/sessions/3de4edfb-e736-4a72-a10d-0e50719e74bc Co-authored-by: vharseko <6818498+vharseko@users.noreply.github.com>
maximthomas
approved these changes
May 6, 2026
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.
The Playwright UI smoke tests previously ran inline in
build-mavenonly on Linux, only against the default context path, and only against a vanilla OpenIDM (no samples). Coverage needed to expand across Java versions, context paths, and sample projects without bloating the build job.Changes to
.github/workflows/build.ymlbuild-maven(UI Smoke Tests (Playwright),Start OpenIDM with custom context path /myidm, and the second Playwright run).Test on Unix/Test on Windowsstartup checks are kept, so per-OS startup validation is unaffected.ui-smoke-testsjob (needs: build-maven,fail-fast: false) with a 4 × 2 × 3 = 24-combination matrix:java: [ '17', '21', '25', '26' ]context_path: [ "", "/myidm" ]samples: [ "", "samples/getting-started", "samples/workflow" ]includeentries map each axis value to a slash-free*_labelfor artifact naming.setup-javafor the matrix Java →download-artifactofubuntu-latest-${{ matrix.java }}(built upstream, JRE/bytecode aligned) → unzip → cached Playwright browsers → unified OpenIDM startup that conditionally injectsOPENIDM_OPTS(custom context path) and-p <sample>→ Playwright run withOPENIDM_CONTEXT_PATH/OPENIDM_SAMPLEenv → failure-only artifact upload underfailure-ui-java<J>-<context_label>-<samples_label>.actions/download-artifacttov5to avoid GHSA arbitrary-file-write affecting>= 4.0.0, < 4.1.3.Unified startup snippet
Follow-ups worth considering
e2e/suite readsOPENIDM_CONTEXT_PATH(defaults to/openidm) but does not yet branch onOPENIDM_SAMPLE; sample-specific assertions / skips can be added incrementally.pushon protected branches and trim it forpull_request.