Skip to content

feat: Add effective map location in AbstractDatesetEvents#2385

Open
diogodanielsoaresferreira wants to merge 2 commits into
TimefoldAI:mainfrom
diogodanielsoaresferreira:feat/effective-map-location-in-events
Open

feat: Add effective map location in AbstractDatesetEvents#2385
diogodanielsoaresferreira wants to merge 2 commits into
TimefoldAI:mainfrom
diogodanielsoaresferreira:feat/effective-map-location-in-events

Conversation

@diogodanielsoaresferreira

Copy link
Copy Markdown
Contributor

Add effective map location in AbstractDatasetEvents, so that we know which effective location was used when auto-select location was enabled.
Fixes: https://github.com/TimefoldAI/timefold-platform/issues/4452

@diogodanielsoaresferreira diogodanielsoaresferreira changed the title Add effective map location in AbstractDatesetEvents feat: Add effective map location in AbstractDatesetEvents Jun 18, 2026
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
42.4% Coverage on New Code (required ≥ 70%)

See analysis details on SonarQube Cloud

}
}

private void enrichResolvedMapLocation(AbstractEvent event) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I don't understand the architecture of how we transfer the resolved map location to the platform.

This code effectively sends the resolved location in every single instance of AbstractDatasetEvent, which includes all intermediate best solution events, and more.

This is a piece of information that gets resolved at enrichment time, but since then, it does not change. Why do we need to keep sending it over and over again?

Which component in the platform needs to know the resolved map location and why?

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