Skip to content

fix: return the sdkVersion to ModelBuildInfo - #2547

Merged
triceo merged 5 commits into
TimefoldAI:mainfrom
rsynek:fix/return-sdk-version
Jul 31, 2026
Merged

fix: return the sdkVersion to ModelBuildInfo#2547
triceo merged 5 commits into
TimefoldAI:mainfrom
rsynek:fix/return-sdk-version

Conversation

@rsynek

@rsynek rsynek commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Putting back the SDK version since it breaks the platform. Removal needs to be properly planned.

@rsynek
rsynek requested a review from triceo as a code owner July 30, 2026 15:56
Copilot AI review requested due to automatic review settings July 30, 2026 15:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Ready to approve

The change is narrowly scoped to restoring a previously expected metadata field and all in-repo instantiations were updated consistently.

This review doesn't count toward merge requirements. Sign up for the private preview to control whether Copilot approvals count.

Pull request overview

Restores the sdkVersion field in ModelBuildInfo and ensures it is emitted into timefold/build-info.json during Quarkus build-time processing, re-establishing compatibility with downstream platform consumers that rely on this metadata.

Changes:

  • Reintroduced sdkVersion into the ModelBuildInfo record (including updating empty()).
  • Updated Quarkus deployment build-step to populate sdkVersion (currently set to the same value as solverVersion) when generating build-info.json.
File summaries
File Description
service/quarkus/deployment/src/main/java/ai/timefold/solver/service/quarkus/deployment/TimefoldModelDescriptorProcessor.java Writes build-info.json with the restored sdkVersion field populated at build time.
service/definition/src/main/java/ai/timefold/solver/service/definition/internal/descriptor/ModelBuildInfo.java Adds sdkVersion back to the metadata record and updates the empty() factory accordingly.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Low

We're testing this review assessment. Please use 👍 or 👎 to tell us if it's correct.

Copilot AI review requested due to automatic review settings July 31, 2026 07:39
@rsynek
rsynek force-pushed the fix/return-sdk-version branch from d4a98b5 to c36ec8c Compare July 31, 2026 07:39

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Ready to approve

The change is small, locally contained, and preserves the previous constructor signature while restoring the missing field.

This review doesn't count toward merge requirements. Sign up for the private preview to control whether Copilot approvals count.

Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

We're testing this review assessment. Please use 👍 or 👎 to tell us if it's correct.

Copilot AI review requested due to automatic review settings July 31, 2026 09:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Not ready to approve

The EMPTY constant currently calls a non-existent 5-arg constructor and will fail compilation after adding the sixth record component.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

This review doesn't count toward merge requirements. Sign up for the private preview to control whether Copilot approvals count.

Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

We're testing this review assessment. Please use 👍 or 👎 to tell us if it's correct.

@triceo triceo added this to the v2.5.0 milestone Jul 31, 2026
Copilot AI review requested due to automatic review settings July 31, 2026 10:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Ready to approve

The change cleanly restores the expected field while preserving the previous constructor signature and aligns with existing Quarkus record patterns in the module.

This review doesn't count toward merge requirements. Sign up for the private preview to control whether Copilot approvals count.

Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

We're testing this review assessment. Please use 👍 or 👎 to tell us if it's correct.

@sonarqubecloud

Copy link
Copy Markdown

@triceo
triceo merged commit 184d0d9 into TimefoldAI:main Jul 31, 2026
27 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants