Skip to content

ci: expand backend test matrix and harden build configuration#6876

Open
Ludy87 wants to merge 11 commits into
mainfrom
backendtests_20260703
Open

ci: expand backend test matrix and harden build configuration#6876
Ludy87 wants to merge 11 commits into
mainfrom
backendtests_20260703

Conversation

@Ludy87

@Ludy87 Ludy87 commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

Description of Changes

What was changed

  • Expanded the backend task test, format, and format-check commands to run across multiple Gradle/property combinations:
    • default backend build
    • -PbuildWithFrontend=true
    • -PbuildWithFrontend=true -PprototypesMode=true
    • STIRLING_FLAVOR=core
    • STIRLING_FLAVOR=saas
  • Updated Gradle build files to reference version values from rootProject.ext consistently across app/common, app/core, app/proprietary, and the root build.gradle.
  • Added --enable-native-access=ALL-UNNAMED to test JVM args.
  • Adjusted JaCoCo report lookup paths to use the build directory directly and made restart helper compilation read the Java version from the root project.
  • Updated the cookie consent stylesheet to align toggle styling with Mantine switch tokens and z-index layering.
  • Added .prettierignore for the generated MSW worker file and committed the generated mockServiceWorker.js.
  • Updated the SVG-to-PDF test to use a root-relative local file path.
  • Marked Docker-dependent Valkey integration tests with disabledWithoutDocker = true so they skip cleanly when Docker is unavailable.

Why the change was made

  • To make backend validation more representative of the real build matrix used in this repository.
  • To reduce configuration drift by centralizing dependency/version access through the root project.
  • To improve CI reliability across platforms and prevent Docker-dependent tests from failing on environments without Docker.
  • To keep generated or framework-managed assets from being reformatted unintentionally.
  • To align cookie consent UI behavior and appearance more closely with the existing Mantine design system.

Checklist

General

Documentation

Translations (if applicable)

UI Changes (if applicable)

  • Screenshots or videos demonstrating the UI changes are attached (e.g., as comments or direct attachments in the PR)

Testing (if applicable)

  • I have run task check to verify linters, typechecks, and tests pass
  • I have tested my changes locally. Refer to the Testing Guide for more details.

@dosubot dosubot Bot added the size:L This PR changes 100-499 lines ignoring generated files. label Jul 3, 2026
@stirlingbot stirlingbot Bot added Front End Issues or pull requests related to front-end development Test Testing-related issues or pull requests Gradle Pull requests that update Gradle code ci Changes to CI configuration files and scripts labels Jul 3, 2026
Comment thread app/proprietary/build.gradle
Comment thread app/core/build.gradle
Ludy87 added 9 commits July 3, 2026 20:37
Eliminate platform-specific command duplication in backend.yml by introducing GRADLE/TEST/FORMAT/CLEAN variables. Reorganize test, format, and format:check tasks into matrix patterns that explicitly test all flavor/security combinations. Add PowerShell script for reliable version extraction on Windows.
Add STIRLING_FLAVOR environment variable to licenses:generate task to ensure the SaaS flavor includes all dependencies in the report.

Add new licenses:generate:copy task to copy the generated license report (index.json) to the static resources directory where it can be served by the application. Includes cross-platform support for Linux/macOS (cp) and Windows (PowerShell).
@stirlingbot

stirlingbot Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

✅ Backend License Check Passed

All backend dependencies have valid and allowed licenses.

The backend license report has been updated successfully.

@stirlingbot

stirlingbot Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

🚀 V2 Auto-Deployment Complete!

Your V2 PR with embedded architecture has been deployed!

🔗 Direct Test URL (non-SSL) http://54.175.155.236:6876

🔐 Secure HTTPS URL: https://6876.ssl.stirlingpdf.cloud

This deployment will be automatically cleaned up when the PR is closed.

🔄 Auto-deployed for approved V2 contributors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Changes to CI configuration files and scripts Front End Issues or pull requests related to front-end development Gradle Pull requests that update Gradle code size:L This PR changes 100-499 lines ignoring generated files. Test Testing-related issues or pull requests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant