Repository navigation
DO NOT REVIEW: ci: check the Check builder's output of the repository's catalogs - #1680
Draft
joaodinissf wants to merge 2 commits into
Draft
joaodinissf wants to merge 2 commits into
joaodinissf wants to merge 2 commits into
Conversation
joaodinissf
force-pushed
the
gen-sync-step-5
branch
from
November 28, 2026 13:32
b5b06fa to
6cec7e4
Compare
… exists The Check builder added a checkcfgproject preference scope, implemented by com.avaloq.tools.targetdefinition.check.configuration.CheckConfigurationPreferences, to the preferences extension of every catalog. DDK has no such class, so a clean build put an unresolvable scope back into the plugin.xml of check.test.runtime and sample.helloworld, which efabc6f had removed by hand. The scope is now declared only if the class is on the Java build path of the catalog's project, as the old TODO asked, and an update removes a scope whose class is not available. Projects that have the class keep it. Part of #1673 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
com.avaloq.tools.ddk.check.regenerate is an unpublished test bundle whose test regenerates the Check output as Eclipse does: it imports every project with Check settings (check.test.runtime and sample.helloworld) into a workbench at its location in the repository, cleans and builds it, and fails on build errors. The output is the IDE builder's own, so there is no second Check generator to keep in line with it. regenerate.sh runs it after the MWE2 workflows, and the generated-sources job runs the script under xvfb-run, so the job also fails when a catalog's Java, documentation pages, service registry or plugin.xml extensions differ from what the builder writes. The test is skipped unless check.regenerate.skip=false, which only the script sets, so check-surefire-reports.sh leaves it out. Fixes #1673 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
joaodinissf
force-pushed
the
gen-sync-step-5
branch
from
November 28, 2026 13:45
6cec7e4 to
8c7eae4
Compare
This branch has not been deployed
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 generated-sources check now covers the Check builder's output, produced by the builder Eclipse runs, not by a second generator.
com.avaloq.tools.ddk.check.regenerateis an unpublished test bundle. Its test imports every project with Check settings (check.test.runtime and sample.helloworld) into a workbench at its location in the repository, cleans and builds it, and fails on build errors. That is what cleaning the projects in a runtime workbench does.regenerate.shruns it after the MWE2 workflows, and the generated-sources job runs the script underxvfb-run. The job therefore also fails when a catalog's Java, documentation pages, service registry orplugin.xmlextensions differ from what the builder writes.check.regenerate.skip=false, which only the script sets;check-surefire-reports.shleaves it out.checkcfgprojectpreference scope, implemented by a class DDK doesn't have, on every clean build, soplugin.xmlof check.test.runtime and sample.helloworld kept getting it back after efabc6f removed it. The scope is now declared only ifCheckConfigurationPreferencesis on the project's build path, and an update removes it otherwise;CheckPreferencesExtensionTestcovers both.AGENTS.mddescribes regenerating Check output in a runtime workbench and with the script.Verified locally: with all 24 committed Check output files deleted,
regenerate.shrestores them byte-identical; hand edits to a generated class and a documentation page are overwritten; the full build passes (553 tests, PMD, CPD, Checkstyle, SpotBugs).Fixes #1673
🤖 Generated with Claude Code