Repository navigation
DO NOT REVIEW: fix(check): make GenerateTestLanguage reproduce the test language - #1679
Draft
joaodinissf wants to merge 1 commit into
Draft
joaodinissf wants to merge 1 commit into
joaodinissf wants to merge 1 commit into
Conversation
joaodinissf
force-pushed
the
gen-sync-step-4
branch
from
November 28, 2026 13:32
d6b1e3e to
57354bb
Compare
GenerateTestLanguage.mwe2 now regenerates the committed sources of the test language, and regenerate.sh checks it. The test language keeps the editor features it had: - Content assist moves to the new bundle com.avaloq.tools.ddk.check.test.runtime.ide, where Xtext 2.43 generates the content assist parser (genericIde, XtextAntlrGeneratorFragment2). The UI requires it. - ContentAssistFragment2 and CodetemplatesGeneratorFragment2 generate the proposal provider and the templates bindings; the templates preference page stays in plugin.xml. - DDK's FormatterFragment2 binds TestLanguageFormatter and the DDK node model formatter and streamer, as the legacy FormatFragment did. - Java stubs only (preferXtendStubs = false), and BundleVersionStripperFragment as in the other DDK workflows. org.objectweb.asm keeps the optional version range that TypesGeneratorFragment2 adds. - ValidatorFragment2 binds TestLanguageValidator (formerly TestLanguageJavaValidator) with the ImportUri and NamesAreUnique checks the legacy validator composed, so the GREETING_NAME_PREFIX warning stays. - TestLanguageGeneratorNaming keeps the activator com.avaloq.tools.ddk.check.ui.internal.TestLanguageActivator, which the UI manifest and the tests use. - The metamodel stays in src-gen/com/avaloq/tools/ddk/check, where plugin.xml and build.properties expect it. - TestLanguageGenerator extends AbstractGenerator, as the runtime module binds IGenerator2. The Check output in dsl-gen is not touched by the workflow's cleaners. Fixes #1672 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
joaodinissf
force-pushed
the
gen-sync-step-4
branch
from
November 28, 2026 13:45
57354bb to
df216e3
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.
GenerateTestLanguage.mwe2 regenerates the committed sources of the test language, which leaves
KNOWN_DRIFTempty. The test language keeps its editor features:com.avaloq.tools.ddk.check.test.runtime.ide, where Xtext 2.43 generates the content assist parser (genericIde,XtextAntlrGeneratorFragment2,forceDisableIdeProject = falseas in the other DDK workflows). The UI requires it.ContentAssistFragment2andCodetemplatesGeneratorFragment2generate the proposal provider and the templates bindings; the templates preference page stays inplugin.xml.FormatterFragment2bindsTestLanguageFormatterand the DDK node model formatter and streamer, as the legacyFormatFragmentdid.BundleVersionStripperFragmentas in the other DDK workflows.ValidatorFragment2bindsTestLanguageValidator(formerlyTestLanguageJavaValidator) with the ImportUri and NamesAreUnique checks, so theGREETING_NAME_PREFIXwarning stays.TestLanguageGeneratorNamingkeeps the activator name the UI manifest and tests use..ideproject instead of the removed.generatorone.Verified locally: the workflow's output is stable across runs; check.test.runtime, its
.ideand.ui, check.test.runtime.tests and checkcfg.ui.test pass with PMD, Checkstyle and SpotBugs.Fixes #1672
🤖 Generated with Claude Code