-
Notifications
You must be signed in to change notification settings - Fork 2
perf(server): reuse generated client build outputs #1529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
FelixTJDietrich
wants to merge
13
commits into
main
Choose a base branch
from
1527-server-verification-hardening
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,734
−2,236
Open
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
08a2b8d
perf(ci): compile server production classes once
FelixTJDietrich 21a5b02
fix(ci): restore compiled class reuse
FelixTJDietrich 962c696
refactor(server): isolate generated clients
FelixTJDietrich 8a19fee
fix(ci): target the application module
FelixTJDietrich 069ad45
fix(ci): bootstrap generated clients for images
FelixTJDietrich cb64849
fix(ci): keep Maven dependency fallback restores
FelixTJDietrich 22aabe9
test(webapp): avoid dialog animation race
FelixTJDietrich 9e1ffd4
docs(server): clarify local override location
FelixTJDietrich c0c4bf6
fix(server): apply upstream security releases
FelixTJDietrich 14d172f
fix(ci): harden generated-client reuse
FelixTJDietrich 7f3e6fa
refactor(server): remove build configuration theatre
FelixTJDietrich ac6eb0b
docs(server): align reactor guidance
FelixTJDietrich 96337db
docs(server): clarify reactor verification workflows
FelixTJDietrich File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "hephaestus": patch | ||
| --- | ||
|
|
||
| Updates Spring Boot to 4.0.7 for CVE-2026-40992 and the PostgreSQL driver to 42.7.12 for CVE-2026-54291. | ||
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
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
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
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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,87 @@ | ||
| name: Server Phase Reference | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| schedule: | ||
| - cron: "23 3 * * 2" | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| concurrency: | ||
| group: server-clean-reference | ||
| cancel-in-progress: false | ||
|
|
||
| jobs: | ||
| verify: | ||
| name: Profile clean server phases | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 30 | ||
| steps: | ||
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| with: | ||
| persist-credentials: false | ||
|
|
||
| - uses: actions/setup-java@dd06d9cba3e5552c54d9f8ea23572deb30010f7c # v6.0.0 | ||
| with: | ||
| distribution: temurin | ||
| java-version: "21" | ||
| cache: maven | ||
| cache-dependency-path: "server/**/pom.xml" | ||
|
|
||
| - name: Profile generated clients | ||
| working-directory: server | ||
| run: | | ||
| mkdir -p ../ci-metrics/generated | ||
| ./mvnw clean install -pl generated-clients -am -DskipTests \ | ||
| -Dmaven.build.cache.enabled=false -Dprofile=generated-clients -DprofileFormat=JSON \ | ||
| -Dmaven-profiler-report-directory=../ci-metrics/generated --batch-mode | ||
| cp generated-clients/target/hephaestus-generated-clients-*.jar ../ci-metrics/generated-clients-first.jar | ||
|
|
||
| - name: Verify generated artifact reproducibility | ||
| working-directory: server | ||
| run: | | ||
| mkdir -p ../ci-metrics/reproducibility | ||
| ./mvnw clean package -pl generated-clients -am -DskipTests \ | ||
| -Dmaven.build.cache.enabled=false -Dprofile=reproducibility -DprofileFormat=JSON \ | ||
| -Dmaven-profiler-report-directory=../ci-metrics/reproducibility --batch-mode | ||
| cmp ../ci-metrics/generated-clients-first.jar generated-clients/target/hephaestus-generated-clients-*.jar | ||
| sha256sum ../ci-metrics/generated-clients-first.jar \ | ||
| generated-clients/target/hephaestus-generated-clients-*.jar \ | ||
| > ../ci-metrics/generated-clients-sha256.txt | ||
|
|
||
| - name: Profile application and test compilation | ||
| working-directory: server | ||
| run: | | ||
| mkdir -p ../ci-metrics/compilation | ||
| ./mvnw -f application/pom.xml test-compile -DskipTests \ | ||
| -Dmaven.build.cache.enabled=false -Dprofile=compilation -DprofileFormat=JSON \ | ||
| -Dmaven-profiler-report-directory=../ci-metrics/compilation --batch-mode | ||
|
|
||
| - name: Profile unit and architecture execution | ||
| working-directory: server | ||
| run: | | ||
| mkdir -p ../ci-metrics/unit-architecture | ||
| ./mvnw -f application/pom.xml test -Parchitecture-tests \ | ||
| -Dsurefire.includedGroups=unit,architecture -DskipCoverage=false \ | ||
| -Dmaven.build.cache.enabled=false -Dprofile=unit-architecture -DprofileFormat=JSON \ | ||
| -Dmaven-profiler-report-directory=../ci-metrics/unit-architecture --batch-mode | ||
|
|
||
| - name: Profile integration execution | ||
| working-directory: server | ||
| run: | | ||
| mkdir -p ../ci-metrics/integration | ||
| ./mvnw -f application/pom.xml test -Dsurefire.includedGroups=integration -Dparallel=none \ | ||
| -Dmaven.build.cache.enabled=false -Dprofile=integration -DprofileFormat=JSON \ | ||
| -Dmaven-profiler-report-directory=../ci-metrics/integration --batch-mode | ||
|
|
||
| - name: Upload phase profiles | ||
| if: always() | ||
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0 # v7.0.1 | ||
| with: | ||
| name: server-phase-reference-${{ github.run_id }} | ||
| path: | | ||
| ci-metrics | ||
| server/application/target/surefire-reports | ||
| if-no-files-found: error | ||
| retention-days: 30 |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.