Skip to content

Make ScaffoldTask work with the new metadata format and add tests#1600

Merged
vjovanov merged 1 commit into
masterfrom
jormundur00/gh-1599
Apr 2, 2026
Merged

Make ScaffoldTask work with the new metadata format and add tests#1600
vjovanov merged 1 commit into
masterfrom
jormundur00/gh-1599

Conversation

@jormundur00

Copy link
Copy Markdown
Member

Summary

  • make ScaffoldTask use the new reachability-metadata.json scaffold template and drop the old serialization-config.json template
  • fix ScaffoldTask --update so the highest metadata version becomes the only latest entry in index.json
  • add comprehensive ScaffoldTaskTests coverage for normal scaffolding, --skipTests, --update, and duplicate metadata handling
  • replace deprecated task creation in affected tests with register(...).get()

Testing

  • ./gradlew -p tests/tck-build-logic test --tests org.graalvm.internal.tck.ScaffoldTaskTests --tests org.graalvm.internal.tck.MetadataFilesCheckerTaskTests --tests org.graalvm.internal.tck.harness.tasks.ValidateLibraryStatsTaskTests --stacktrace

Fixes: #1599

@jormundur00 jormundur00 requested review from kimeta and vjovanov April 2, 2026 07:15
@jormundur00 jormundur00 self-assigned this Apr 2, 2026
@jormundur00 jormundur00 added the bug Something isn't working label Apr 2, 2026
@vjovanov vjovanov merged commit a1979c6 into master Apr 2, 2026
36 of 39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: ScaffoldTask doesn't follow the new metadata format

2 participants