Skip to content

[stable33] fix(setup): reuse verified Java after config reset - #9382

Merged
vitormattos merged 2 commits into
stable33from
backport/9379/stable33
Nov 7, 2026
Merged

vitormattos merged 2 commits into
stable33from
backport/9379/stable33

Conversation

@vitormattos

Copy link
Copy Markdown
Member

Summary

  • Backport of fix(setup): reuse verified Java after Behat config reset #9379 adapted to the stable33 installer architecture (the stable branches resolve dependencies in SignSetupService::getInstallPath(), not SetupInstallPathResolver).
  • Resolve the versioned JRE directory when java_path has been cleared by the scenario configuration reset.
  • Preserve signed SHA-512 integrity validation; do not modify reset behavior, database setup, or the Behat lifecycle.
  • Update Java-version-dependent fixtures and add regression tests for x86_64/aarch64, Linux/Alpine, missing releases, valid installations, modified hashes, and missing files.

Validation

  • Signed commit with DCO verified.
  • Targeted PHPUnit and CI on stable33: pending. Do not merge until the branch checks succeed and the change is reviewed.

Origin

#9379 (merged into main). The automatic cherry-pick backport failed because the original resolver and test paths do not exist on stable33.

Backport of #9379, adapted to the stable installation service.
Preserve signed hash validation when AppConfig no longer contains java_path.
Add regression tests for distro, architecture, valid files, and tampering.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@vitormattos
vitormattos requested a review from a team as a code owner November 7, 2026 16:29
@vitormattos vitormattos added this to the Next Patch (33) milestone Nov 7, 2026 — with ChatGPT Codex Connector
@github-actions github-actions Bot changed the title fix(setup): reuse verified Java after config reset [stable33] [stable33] fix(setup): reuse verified Java after config reset Nov 7, 2026
…le33

Align Java installer regression tests with repository formatting checks.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@vitormattos
vitormattos merged commit eaa0c59 into stable33 Nov 7, 2026
64 checks passed
@vitormattos
vitormattos deleted the backport/9379/stable33 branch November 7, 2026 17:19
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