Skip to content

Refresh the graalvm-distro-impact skill's snapshot of the GraalVM distro, and fix two stale lines about its boot - #14263

Merged
wu-sheng merged 1 commit into
masterfrom
graalvm-distro-skill-refresh
Nov 23, 2026
Merged

wu-sheng merged 1 commit into
masterfrom
graalvm-distro-skill-refresh

Conversation

@wu-sheng

@wu-sheng wu-sheng commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Refresh the graalvm-distro-impact skill's snapshot of the GraalVM distro

The skill describes skywalking-graalvm-distro as a snapshot,
last taken at distro main f78c20f. Since then the distro:

Every distro fact the refreshed skill states was checked against the distro's code:

  • Replaced classes: 20 runtime replacements (16 shaded, 4 in oap-graalvm-server) plus 3 build-time copies.
    • replacement-source-sha256.properties pins all of them, and 18 more upstream classes the distro mirrors.
    • HierarchyService and the nine config copies are no longer replaced.
  • How replacements behave:
    • MAL DSL, MAL FilterExpression and LAL DSL take the precompiled class by its coordinates. They require the
      name, text or literal, and the types it was compiled from; there is no fallback to the rule name.
    • HierarchyDefinitionService carries its own nested MatchingRule.
    • MeterSystem reads the rule registry.
    • The MAL, LAL and TAL rule loaders pass the packaged rule sources through RuleSetMerger.
    • The native ResourceUtils reads config/ next to the executable only, with no embedded fallback.
  • Config: the distro's generated loader calls a field's setter where its class has one, and writes any other field
    through Field.set, as upstream does. A config class without setters is no distro work.
  • The build-time API the precompiler calls: the OAL listeners and disables, ZabbixMetrics,
    TALFunctionRegistry#instance, DslYamlLineIndex#keyLines, and LogFilterListener.Factory's package-private and
    private members.
  • Metadata coverage: what the native-image metadata covers by itself, and its boundaries: route bodies,
    StreamData, the LAL SPIs.
  • Other distro facts: the runtime-rule read routes the distro's catalog answers, where a new rule-selecting setting
    goes, and the files the distro's tests read.

Two stale lines about the distro's boot:

  • BootstrapFlow's comment named the distro's FixedModuleManager, which the distro has removed.

  • graalvm-distro.md said runtime SPI discovery is unsupported. The image boots the modules application.yml
    selects, through the module SPI.

  • If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #.

  • Update the CHANGES log.

  • GraalVM distro impact:

    • None.
    • Impacted, by:

@wu-sheng
wu-sheng force-pushed the graalvm-distro-skill-refresh branch from 1e9e1be to dc7d06b Compare November 23, 2026 09:03
@wu-sheng wu-sheng added this to the 11.2.0 milestone Nov 23, 2026
@wu-sheng wu-sheng added the documentation Provide documents related issue or pull request only. label Nov 23, 2026
@wu-sheng
wu-sheng merged commit e2c132f into master Nov 23, 2026
1072 of 1083 checks passed
@wu-sheng
wu-sheng deleted the graalvm-distro-skill-refresh branch November 23, 2026 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Provide documents related issue or pull request only.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants